1 2013-11-21 Roland McGrath <roland@hack.frob.com>
3 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8 2013-11-21 Meador Inge <meadori@codesourcery.com>
11 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12 (encrypt_r): Likewise.
13 * malloc/obstack.h (obstack_free): Likewise.
14 * posix/unistd.h (encrypt): Likewise.
16 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20 DL_CALL_DT_FINI() that call the functions directly.
21 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23 * elf/dl-fini.c: Likewise.
25 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27 * malloc/hooks.c (memalign_check): Add alignment rounding.
28 * malloc/malloc.c (_mid_memalign): New function.
29 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30 Implement by calling _mid_memalign.
31 * manual/probes.texi (Memory Allocation Probes): Remove
32 memory_valloc_retry and memory_pvalloc_retry.
34 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36 * locale/programs/locarchive.c (open_archive): Add const
37 qualifier to ARCHIVEFNAME and copy default fname to
41 * libio/tst-widetext.input: Rename Oriya to Odia.
42 * locale/iso-639.def: Likewise.
44 * manual/probes.texi (Mathematical Function Probes): Add
45 documentation for sin, cos, asin and acos probes.
46 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47 (__sin32): Add slowasin probe.
48 (__cos32): Add slowacos probe.
49 (__mpsin): Add slowsin probe.
50 (__mpcos): Add slowcos probe.
52 2013-11-19 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
56 thread-local __sim_exceptions_thread and global
57 __sim_exceptions_global.
58 (__sim_disabled_exceptions): Change to thread-local
59 __sim_disabled_exceptions_thread and global
60 __sim_disabled_exceptions_global.
61 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
62 and global __sim_round_mode_global.
63 (__simulate_exceptions): Use thread-local floating-point state and
64 set global state from it as needed.
65 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
66 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
67 __sim_round_mode_thread.
68 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
69 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
70 and global __sim_exceptions_global.
71 (__sim_disabled_exceptions): Change to thread-local
72 __sim_disabled_exceptions_thread and global
73 __sim_disabled_exceptions_global.
74 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
75 and global __sim_round_mode_global.
76 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
77 (SIM_SET_GLOBAL): Likewise.
78 * sysdeps/powerpc/soft-fp/sfp-machine.h
79 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
80 __sim_round_mode_thread.
81 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
82 __sim_disabled_exceptions_thread.
83 (__sim_exceptions): Change to __sim_exceptions_thread.
84 (__sim_disabled_exceptions): Change to
85 __sim_disabled_exceptions_thread.
86 (__sim_round_mode): Change to __sim_round_mode_thread.
87 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
88 thread-local floating-point state and set global state from it as
90 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
91 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
92 (__sim_disabled_exceptions): Remove extern declaration.
93 (feenableexcept): Use thread-local floating-point state and set
94 global state from it as needed.
95 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
97 (__sim_disabled_exceptions): Likewise.
98 (__sim_round_mode): Likewise.
99 (__fegetenv): Use thread-local floating-point state.
100 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
101 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
102 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
103 floating-point state and set global state from it as needed.
104 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
105 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
106 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
108 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
109 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
111 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
112 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
113 Use __sim_round_mode_thread.
114 * math/test-fenv-tls.c: New file.
115 * math/Makefile (tests): Add test-fenv-tls.
116 ($(objpfx)test-fenv-tls): Depend on
117 $(common-objpfx)nptl/libpthread.so.
119 2013-11-19 Andreas Schwab <schwab@suse.de>
121 * locale/programs/locale.c (show_info): Decode wordarray elements.
122 * locale/categories.def (LC_MONETARY): Add element for
123 _NL_MONETARY_CRNCYSTR.
124 * locale/C-monetary.c (conversion_rate): New variable.
125 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
128 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
130 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
131 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
133 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
135 * elf/Makefile (tst-auxv): New test.
136 * elf/tst-auxv.c: New
137 * elf/rtld.c (dl_main): Adjust AT_EXECFN
139 2013-11-18 Joseph Myers <joseph@codesourcery.com>
141 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
142 (hidden_proto): Caller changed.
143 (hidden_tls_proto): New macro.
144 (libc_hidden_tls_proto): Likewise.
145 (rtld_hidden_tls_proto): Likewise.
146 (libm_hidden_tls_proto): Likewise.
147 (libresolv_hidden_tls_proto): Likewise.
148 (librt_hidden_tls_proto): Likewise.
149 (libdl_hidden_tls_proto): Likewise.
150 (libnss_files_hidden_tls_proto): Likewise.
151 (libnsl_hidden_tls_proto): Likewise.
152 (libnss_nisplus_hidden_tls_proto): Likewise.
153 (libutil_hidden_tls_proto): Likewise.
155 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
158 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
159 (decompose_rpath): Defer expansion to fillin_rpath.
160 (_dl_init_paths): Pass linkmap to fillin_rpath.
162 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
164 * benchtests/Makefile: Add strsep.
165 * benchtests/bench-strsep.c: New file: strsep benchtest.
166 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
168 2013-11-18 Andreas Schwab <schwab@suse.de>
170 * locale/programs/locale.c (show_info) [case byte]: Check for
171 '\377' instead of '\177'.
172 * locale/C-monetary.c (not_available): Always use "\377".
173 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
174 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
175 detect unavailable sign_posn locale elements.
176 * locale/localeconv.c (__localeconv): For grouping and
177 mon_grouping handle "\177" and "\377" like no grouping.
178 (INT_ELEM): New macro. Use it to set all numeric members.
179 * locale/programs/ld-monetary.c (monetary_read)
180 <tok_mon_grouping>: Normalize single -1 to the empty string.
181 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
184 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
187 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
189 * stdio-common/tst-sscanf.c (struct test): Add testcase.
191 2013-11-16 Joseph Myers <joseph@codesourcery.com>
193 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
194 (NO_TEST_INLINE): Update value.
195 (ERRNO_UNCHANGED): Likewise.
196 (ERRNO_EDOM): Likewise.
197 (ERRNO_ERANGE): Likewise.
198 (IGNORE_RESULT): Likewise.
199 (check_float_internal): Check signs of NaN results if
201 (check_complex): Pass TEST_NAN_SIGN flag through to second
202 check_float_internal call.
203 (copysign_test_data): Add tests with quiet NaNs as second
204 argument. Use TEST_NAN_SIGN.
205 (fabs_test_data): Add test of negative quiet NaN argument. Use
207 (signbit_test_data): Add tests of quiet NaN argument.
208 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
210 * math/gen-libm-test.pl (show_exceptions): Take extra argument
212 (parse_args): Handle function results specified as IGNORE.
213 * math/libm-test.inc (IGNORE_RESULT): New macro.
214 (check_float_internal): Do not check numerical result if flag
216 (check_complex): Pass through IGNORE_RESULT to second
217 check_float_internal call.
218 (check_int): Do not check numerical result if flag IGNORE_RESULT
220 (check_long): Likewise.
221 (check_bool): Likewise.
222 (check_longlong): Likewise.
223 (lrint_test_data): Add tests of infinite and NaN arguments.
224 (lrint_tonearest_test_data): Likewise.
225 (lrint_towardzero_test_data): Likewise.
226 (lrint_downward_test_data): Likewise.
227 (lrint_upward_test_data): Likewise.
228 (llrint_test_data): Likewise.
229 (llrint_tonearest_test_data): Likewise.
230 (llrint_towardzero_test_data): Likewise.
231 (llrint_downward_test_data): Likewise.
232 (llrint_upward_test_data): Likewise.
233 (lround_test_data): Likewise.
234 (llround_test_data): Likewise.
236 * math/libm-test.inc (NO_TEST_INLINE): New macro.
237 (ERRNO_UNCHANGED): Update value.
238 (ERRNO_EDOM): Likewise.
239 (ERRNO_ERANGE): Likewise.
240 (NO_TEST_INLINE_FLOAT): New macro.
241 (NO_TEST_INLINE_DOUBLE): Likewise.
242 (enable_test): New function.
243 (RUN_TEST_f_f): Check enable_test before running test.
244 (RUN_TEST_2_f): Likewise.
245 (RUN_TEST_fff_f): Likewise.
246 (RUN_TEST_c_f): Likewise.
247 (RUN_TEST_f_f1): Likewise.
248 (RUN_TEST_fF_f1): Likewise.
249 (RUN_TEST_fI_f1): Likewise.
250 (RUN_TEST_ffI_f1): Likewise.
251 (RUN_TEST_c_c): Likewise.
252 (RUN_TEST_cc_c): Likewise.
253 (RUN_TEST_f_i): Likewise.
254 (RUN_TEST_f_i_tg): Likewise.
255 (RUN_TEST_ff_i_tg): Likewise.
256 (RUN_TEST_f_b): Likewise.
257 (RUN_TEST_f_b_tg): Likewise.
258 (RUN_TEST_f_l): Likewise.
259 (RUN_TEST_f_L): Likewise.
260 (RUN_TEST_fFF_11): Likewise.
261 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
263 (cosh_test_data): Likewise.
264 (exp_test_data): Likewise.
265 (expm1_test_data): Likewise.
266 (hypot_test_data): Likewise.
267 (pow_test_data): Likewise.
268 (sinh_test_data): Likewise.
269 (tanh_test_data): Likewise.
270 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
273 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
274 tests with quiet NaN input and output.
275 (acosh_test_data): Likewise.
276 (asin_test_data): Likewise.
277 (asinh_test_data): Likewise.
278 (atan_test_data): Likewise.
279 (atanh_test_data): Likewise.
280 (atan2_test_data): Likewise.
281 (cbrt_test_data): Likewise.
282 (cos_test_data): Likewise.
283 (cosh_test_data): Likewise.
284 (erf_test_data): Likewise.
285 (erfc_test_data): Likewise.
286 (exp_test_data): Likewise.
287 (exp10_test_data): Likewise.
288 (exp2_test_data): Likewise.
289 (expm1_test_data): Likewise.
290 (hypot_test_data): Likewise.
291 (j0_test_data): Likewise.
292 (j1_test_data): Likewise.
293 (jn_test_data): Likewise.
294 (lgamma_test_data): Likewise.
295 (log_test_data): Likewise.
296 (log10_test_data): Likewise.
297 (log1p_test_data): Likewise.
298 (log2_test_data): Likewise.
299 (pow_test_data): Likewise.
300 (scalb_test_data): Likewise.
301 (sin_test_data): Likewise.
302 (sincos_test_data): Likewise.
303 (sinh_test_data): Likewise.
304 (tan_test_data): Likewise.
305 (tanh_test_data): Likewise.
306 (tgamma_test_data): Likewise.
307 (y0_test_data): Likewise.
308 (y1_test_data): Likewise.
309 (yn_test_data): Likewise.
312 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
313 argument being NaN and avoid computations with second argument in
315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
316 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
317 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
319 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
321 * locale/iso-639.def: Add Chitwani Tharu (the).
323 2013-11-14 Andreas Schwab <schwab@suse.de>
325 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
326 word instead of empty string.
328 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
331 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
333 (__fe_nomask_env): Likewise.
335 2013-11-13 Steve Ellcey <sellcey@mips.com>
337 * benchtests/bench-timing.h: Include time.h.
339 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
342 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
344 * sysdeps/unix/sysv/linux/configure: Regenerated.
346 2013-11-13 Joseph Myers <joseph@codesourcery.com>
349 * stdlib/strtod_l.c (round_and_return): Do not consider
350 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
351 exponent one less than half the least subnormal exponent.
352 * stdlib/test-strtod-round-data: Add more tests.
353 * stdlib/tst-strtod-round.c (tests): Regenerated.
355 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
359 (__fe_mask_env): Likewise.
360 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
361 libm_hidden_proto and add function prototype.
362 (__fe_mask_env): Add function prototype.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
364 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
366 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
368 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
370 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
372 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
373 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
375 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
377 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
380 2013-11-11 David S. Miller <davem@davemloft.net>
383 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
384 symbol in the non-vis3 case in static builds.
385 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
386 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
387 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
388 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
390 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
393 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
396 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
398 * benchtests/Makefile: Add bench-strtod.
399 * benchtests/bench-strtod.c: New file: strtod benchtest
401 2013-11-11 Andreas Schwab <schwab@suse.de>
404 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
405 terminating NUL in key length.
407 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
410 Add artificial ODP entry for vDSO symbol for PPC64.
411 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
412 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
414 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
417 * nss/getent.c (services_keys): Recognize services starting with digit.
419 2013-11-06 David S. Miller <davem@davemloft.net>
422 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
423 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
425 2013-11-06 Will Newton <will.newton@linaro.org>
427 * manual/memory.texi (Malloc Examples): Remove register
428 keyword from examples.
430 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
432 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
434 2013-11-04 Joseph Myers <joseph@codesourcery.com>
436 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
437 depending on [__GCC_IEC_559 > 0].
438 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
439 depending on [__GCC_IEC_559_COMPLEX > 0].
441 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
443 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
446 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
448 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
450 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
453 * malloc/malloc (malloc_info): Do not handle first bin as
456 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
458 * locale/iso-639.def: Add Central Nahuatl (nhn).
460 2013-11-01 Bruno Haible <bruno@clisp.org>
463 * manual/math.texi (BSD Random): Specify range upper bound as
466 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
468 * locale/iso-639.def: Add Meadow Mari (mhr).
470 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
472 [BZ #14752], [BZ #15763]
473 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
475 * rt/tst_shm.c: Add test for escaping directory.
477 2013-10-31 Andreas Schwab <schwab@suse.de>
480 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
481 followed by 'x' as part of digit sequence.
482 * stdio-common/tst-sscanf.c (double_tests2): New tests.
484 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
487 * configure.ac: allow GNU Make 4.0 and greater.
488 * configure: Regenerated.
490 2013-10-30 Will Newton <will.newton@linaro.org>
493 * malloc/hooks.c (memalign_check): Limit alignment to the
494 maximum representable power of two.
495 * malloc/malloc.c (__libc_memalign): Likewise.
496 * malloc/tst-memalign.c (do_test): Add test for very
497 large alignment values.
498 * malloc/tst-posix_memalign.c (do_test): Likewise.
500 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
503 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
504 (munmap_chunk): Likewise.
505 (mremap_chunk): Likewise.
507 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
510 * stdlib/div.c (div): Remove obsolete code.
511 * stdlib/ldiv.c (ldiv): Likewise.
512 * stdlib/lldiv.c (lldiv): Likewise.
514 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
517 * nss/nss_files/files-XXX.c (get_contents_ret): New
519 (get_contents): New function.
520 (internal_getent): Use it. Expand size of LINEBUFLEN.
522 2013-10-30 Mike Frysinger <vapier@gentoo.org>
524 * configure.in: Moved to ...
525 * configure.ac: ... here. Change reference to configure.in
527 * sysdeps/arm/preconfigure.ac: ... here.
528 configure.in to configure.ac.
529 * sysdeps/gnu/configure.in: Moved to ...
530 * sysdeps/gnu/configure.ac: ... here.
531 * sysdeps/i386/configure.in: Moved to ...
532 * sysdeps/i386/configure.ac: ... here.
533 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
534 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
535 * sysdeps/mach/configure.in: Moved to ...
536 * sysdeps/mach/configure.ac: ... here.
537 * sysdeps/mach/hurd/configure.in: Moved to ...
538 * sysdeps/mach/hurd/configure.ac: ... here.
539 * sysdeps/powerpc/configure.in: Moved to ...
540 * sysdeps/powerpc/configure.ac: ... here.
541 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
542 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
543 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
544 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
545 * sysdeps/s390/s390-32/configure.in: Moved to ...
546 * sysdeps/s390/s390-32/configure.ac: ... here.
547 * sysdeps/s390/s390-64/configure.in: Moved to ...
548 * sysdeps/s390/s390-64/configure.ac: ... here.
549 * sysdeps/sh/configure.in: Moved to ...
550 * sysdeps/sh/configure.ac: ... here.
551 * sysdeps/sparc/configure.in: Moved to ...
552 * sysdeps/sparc/configure.ac: ... here.
553 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
554 * sysdeps/unix/sysv/linux/configure.ac: ... here.
555 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
556 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
557 * sysdeps/x86_64/configure.in: Moved to ...
558 * sysdeps/x86_64/configure.ac: ... here.
559 * sysdeps/x86_64/preconfigure.in: Moved to ...
560 * sysdeps/x86_64/preconfigure.ac: ... here.
561 * aclocal.m4: Change reference to configure.in to configure.ac.
562 * config.h.in: Likewise.
563 * manual/install.texi: Likewise.
564 * manual/maint.texi: Likewise.
565 * Makefile: Likewise.
566 * malloc/Makefile: Likewise.
567 * nscd/Makefile: Likewise.
568 * Makeconfig: Change reference to configure.in and
569 preconfigure.in to configure.ac and preconfigure.ac
571 * INSTALL: Regenerated.
572 * configure: Likewise.
573 * sysdeps/gnu/configure: Likewise.
574 * sysdeps/i386/configure: Likewise.
575 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
576 * sysdeps/mach/configure: Likewise.
577 * sysdeps/mach/hurd/configure: Likewise.
578 * sysdeps/powerpc/configure: Likewise.
579 * sysdeps/powerpc/powerpc32/configure: Likewise.
580 * sysdeps/powerpc/powerpc64/configure: Likewise.
581 * sysdeps/s390/s390-32/configure: Likewise.
582 * sysdeps/s390/s390-64/configure: Likewise.
583 * sysdeps/sh/configure: Likewise.
584 * sysdeps/sparc/configure: Likewise.
585 * sysdeps/unix/sysv/linux/configure: Likewise.
586 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
587 * sysdeps/x86_64/configure: Likewise.
588 * sysdeps/x86_64/preconfigure: Likewise.
590 2013-10-29 Andreas Schwab <schwab@suse.de>
592 * stdio-common/Makefile (tst-swscanf-ENV): Define.
594 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
596 * benchtests/pow-inputs: Add new inputs.
598 * benchtests/exp-inputs: Add new inputs.
600 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
601 conditional check for return value.
604 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
606 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
607 to provide a boost for large inputs with word alignment.
608 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
609 implementation based on optimized PPC64 strcpy.
610 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
611 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
612 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
613 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
615 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
618 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
620 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
623 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
624 * time/tst-strptime.c (day_tests): Add testcase.
626 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
629 * manual/pattern.texi: Acknowledge that fnmatch can fail.
631 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
634 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
637 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
640 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
641 heap for large requests.
643 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
646 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
647 result if the result has no associated interface.
648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
649 interface for all 127.X.Y.Z addresses.
651 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
653 * locale/iso-639.def: Add Ligurian (lij)
655 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
658 * sunrpc/rpc_main.c: Document rpcgen -5.
660 2013-10-19 Michael Stahl <mstahl@redhat.com>
662 * elf/rtld.c (do_preload): Print the reason why preloading failed.
664 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
667 * posix/glob.c: Match only directories when trailing slash is present.
668 * posix/tst-gnuglob.c (my_opendir): Do not open files.
669 (main): Add testcase.
671 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
674 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
676 2013-10-18 Carlos O'Donell <carlos@redhat.com>
678 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
679 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
680 AUTH_DES and cindex for FIPS 140-2.
681 (DES Encryption): Add cindex FIPS 46-3.
683 * locale/locarchive.h (struct locarhandle): Add fname.
684 * locale/programs/localedef.c (main): Pass ARGV[remaining]
685 if an optional argument was specified to --list-archive,
687 * locale/programs/locarchive.c (show_archive_content): Take new
688 argument fname and pass it via ah.fname to open_archive.
689 * locale/programs/localedef.h: Update decl.
690 (open_archive): If AH->fname is non-null, open that file
691 rather than the default file name, and don't ignore ENOENT.
692 (create_archive): Set AH.fname to NULL.
693 (delete_locales_from_archive): Likewise.
694 (add_locales_to_archive): Likewise.
695 * locale/programs/locfile.c (write_all_categories): Likewise.
697 2013-10-18 Joseph Myers <joseph@codesourcery.com>
698 Aldy Hernandez <aldyh@redhat.com>
700 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
701 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
702 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
703 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
704 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
705 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
706 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
708 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
709 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
710 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
711 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
712 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
713 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
714 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
716 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
718 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
720 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
722 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
723 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
725 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
726 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
727 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
728 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
730 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
731 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
732 * sysdeps/powerpc/preconfigure: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
735 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
736 Replace contents of file by #include of <fenv_libc.h>.
737 * sysdeps/powerpc/soft-fp/sfp-machine.h
738 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
740 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
743 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
748 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
749 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
750 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
751 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
753 Allow copysignl PLT reference to be missing.
755 2013-10-18 Richard Sandiford <richard@codesourcery.com>
756 Joseph Myers <joseph@codesourcery.com
759 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
761 (add_to_tablewc): Assert sequence of wide characters is nonempty.
763 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
765 * elf/tst-tls-dlinfo.c: Don't include tls.h.
766 * elf/tst-tls1.c: Likewise.
767 * elf/tst-tls10.h: Likewise.
768 * elf/tst-tls14.c: Likewise.
769 * elf/tst-tls2.c: Likewise.
770 * elf/tst-tls3.c: Likewise.
771 * elf/tst-tls4.c: Likewise.
772 * elf/tst-tls5.c: Likewise.
773 * elf/tst-tls6.c: Likewise.
774 * elf/tst-tls7.c: Likewise.
775 * elf/tst-tls8.c: Likewise.
776 * elf/tst-tls9.c: Likewise.
777 * elf/tst-tlsmod1.c: Likewise.
778 * elf/tst-tlsmod13.c: Likewise.
779 * elf/tst-tlsmod13a.c: Likewise.
780 * elf/tst-tlsmod14a.c: Likewise.
781 * elf/tst-tlsmod16a.c: Likewise.
782 * elf/tst-tlsmod16b.c: Likewise.
783 * elf/tst-tlsmod2.c: Likewise.
784 * elf/tst-tlsmod3.c: Likewise.
785 * elf/tst-tlsmod4.c: Likewise.
786 * elf/tst-tlsmod5.c: Likewise.
787 * elf/tst-tlsmod6.c: Likewise.
789 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
792 * malloc/malloc.c: remove checks for statistics.
794 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
797 * inet/inet_net.c (inet_network): Detect additional invalid strings.
798 * inet/tst-network.c: Add testcase.
800 2013-10-17 Andreas Schwab <schwab@suse.de>
803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
804 to determine canonical name.
806 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
808 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
809 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
810 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
811 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
812 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
813 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
814 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
815 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
816 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
817 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
818 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
819 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
821 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
822 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
823 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
824 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
825 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
826 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
827 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
830 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
831 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
832 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
833 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
834 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
835 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
836 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
837 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
838 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
840 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
841 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
842 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
843 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
844 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
845 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
846 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
847 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
848 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
849 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
850 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
851 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
852 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
853 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
854 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
855 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
856 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
857 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
858 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
859 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
860 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
861 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
862 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
863 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
865 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
867 2013-10-17 Joseph Myers <joseph@codesourcery.com>
870 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
871 make result into a quiet NaN.
873 2013-10-16 Joseph Myers <joseph@codesourcery.com>
875 * soft-fp/adddf3.c: Fix horizontal whitespace.
876 * soft-fp/addsf3.c: Likewise.
877 * soft-fp/addtf3.c: Likewise.
878 * soft-fp/divdf3.c: Likewise.
879 * soft-fp/divsf3.c: Likewise.
880 * soft-fp/divtf3.c: Likewise.
881 * soft-fp/double.h: Likewise.
882 * soft-fp/eqdf2.c: Likewise.
883 * soft-fp/eqsf2.c: Likewise.
884 * soft-fp/eqtf2.c: Likewise.
885 * soft-fp/extenddftf2.c: Likewise.
886 * soft-fp/extended.h: Likewise.
887 * soft-fp/extendsfdf2.c: Likewise.
888 * soft-fp/extendsftf2.c: Likewise.
889 * soft-fp/extendxftf2.c: Likewise.
890 * soft-fp/fixdfdi.c: Likewise.
891 * soft-fp/fixdfsi.c: Likewise.
892 * soft-fp/fixdfti.c: Likewise.
893 * soft-fp/fixsfdi.c: Likewise.
894 * soft-fp/fixsfsi.c: Likewise.
895 * soft-fp/fixsfti.c: Likewise.
896 * soft-fp/fixtfdi.c: Likewise.
897 * soft-fp/fixtfsi.c: Likewise.
898 * soft-fp/fixtfti.c: Likewise.
899 * soft-fp/fixunsdfdi.c: Likewise.
900 * soft-fp/fixunsdfsi.c: Likewise.
901 * soft-fp/fixunsdfti.c: Likewise.
902 * soft-fp/fixunssfdi.c: Likewise.
903 * soft-fp/fixunssfsi.c: Likewise.
904 * soft-fp/fixunssfti.c: Likewise.
905 * soft-fp/fixunstfdi.c: Likewise.
906 * soft-fp/fixunstfsi.c: Likewise.
907 * soft-fp/fixunstfti.c: Likewise.
908 * soft-fp/floatdidf.c: Likewise.
909 * soft-fp/floatdisf.c: Likewise.
910 * soft-fp/floatditf.c: Likewise.
911 * soft-fp/floatsidf.c: Likewise.
912 * soft-fp/floatsisf.c: Likewise.
913 * soft-fp/floatsitf.c: Likewise.
914 * soft-fp/floattidf.c: Likewise.
915 * soft-fp/floattisf.c: Likewise.
916 * soft-fp/floattitf.c: Likewise.
917 * soft-fp/floatundidf.c: Likewise.
918 * soft-fp/floatundisf.c: Likewise.
919 * soft-fp/floatunditf.c: Likewise.
920 * soft-fp/floatunsidf.c: Likewise.
921 * soft-fp/floatunsisf.c: Likewise.
922 * soft-fp/floatunsitf.c: Likewise.
923 * soft-fp/floatuntidf.c: Likewise.
924 * soft-fp/floatuntisf.c: Likewise.
925 * soft-fp/floatuntitf.c: Likewise.
926 * soft-fp/fmadf4.c: Likewise.
927 * soft-fp/fmasf4.c: Likewise.
928 * soft-fp/fmatf4.c: Likewise.
929 * soft-fp/gedf2.c: Likewise.
930 * soft-fp/gesf2.c: Likewise.
931 * soft-fp/getf2.c: Likewise.
932 * soft-fp/ledf2.c: Likewise.
933 * soft-fp/lesf2.c: Likewise.
934 * soft-fp/letf2.c: Likewise.
935 * soft-fp/muldf3.c: Likewise.
936 * soft-fp/mulsf3.c: Likewise.
937 * soft-fp/multf3.c: Likewise.
938 * soft-fp/negdf2.c: Likewise.
939 * soft-fp/negsf2.c: Likewise.
940 * soft-fp/negtf2.c: Likewise.
941 * soft-fp/op-1.h: Likewise.
942 * soft-fp/op-2.h: Likewise.
943 * soft-fp/op-4.h: Likewise.
944 * soft-fp/op-8.h: Likewise.
945 * soft-fp/op-common.h: Likewise.
946 * soft-fp/quad.h: Likewise.
947 * soft-fp/single.h: Likewise.
948 * soft-fp/soft-fp.h: Likewise.
949 * soft-fp/sqrtdf2.c: Likewise.
950 * soft-fp/sqrtsf2.c: Likewise.
951 * soft-fp/sqrttf2.c: Likewise.
952 * soft-fp/subdf3.c: Likewise.
953 * soft-fp/subsf3.c: Likewise.
954 * soft-fp/subtf3.c: Likewise.
955 * soft-fp/truncdfsf2.c: Likewise.
956 * soft-fp/trunctfdf2.c: Likewise.
957 * soft-fp/trunctfsf2.c: Likewise.
958 * soft-fp/trunctfxf2.c: Likewise.
959 * soft-fp/unorddf2.c: Likewise.
960 * soft-fp/unordsf2.c: Likewise.
961 * soft-fp/unordtf2.c: Likewise.
963 2013-10-15 Joseph Myers <joseph@codesourcery.com>
965 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
966 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
968 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
970 * elf/dl-libc.c: Clear initfini list after freeing.
972 2013-10-14 Joseph Myers <joseph@codesourcery.com>
974 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
975 * soft-fp/addsf3.c: Likewise.
976 * soft-fp/addtf3.c: Likewise.
977 * soft-fp/divdf3.c: Likewise.
978 * soft-fp/divsf3.c: Likewise.
979 * soft-fp/divtf3.c: Likewise.
980 * soft-fp/double.h: Likewise.
981 * soft-fp/eqdf2.c: Likewise.
982 * soft-fp/eqsf2.c: Likewise.
983 * soft-fp/eqtf2.c: Likewise.
984 * soft-fp/extenddftf2.c: Likewise.
985 * soft-fp/extended.h: Likewise.
986 * soft-fp/extendsfdf2.c: Likewise.
987 * soft-fp/extendsftf2.c: Likewise.
988 * soft-fp/extendxftf2.c: Likewise.
989 * soft-fp/fixdfdi.c: Likewise.
990 * soft-fp/fixdfsi.c: Likewise.
991 * soft-fp/fixdfti.c: Likewise.
992 * soft-fp/fixsfdi.c: Likewise.
993 * soft-fp/fixsfsi.c: Likewise.
994 * soft-fp/fixsfti.c: Likewise.
995 * soft-fp/fixtfdi.c: Likewise.
996 * soft-fp/fixtfsi.c: Likewise.
997 * soft-fp/fixtfti.c: Likewise.
998 * soft-fp/fixunsdfdi.c: Likewise.
999 * soft-fp/fixunsdfsi.c: Likewise.
1000 * soft-fp/fixunsdfti.c: Likewise.
1001 * soft-fp/fixunssfdi.c: Likewise.
1002 * soft-fp/fixunssfsi.c: Likewise.
1003 * soft-fp/fixunssfti.c: Likewise.
1004 * soft-fp/fixunstfdi.c: Likewise.
1005 * soft-fp/fixunstfsi.c: Likewise.
1006 * soft-fp/fixunstfti.c: Likewise.
1007 * soft-fp/floatdidf.c: Likewise.
1008 * soft-fp/floatdisf.c: Likewise.
1009 * soft-fp/floatditf.c: Likewise.
1010 * soft-fp/floatsidf.c: Likewise.
1011 * soft-fp/floatsisf.c: Likewise.
1012 * soft-fp/floatsitf.c: Likewise.
1013 * soft-fp/floattidf.c: Likewise.
1014 * soft-fp/floattisf.c: Likewise.
1015 * soft-fp/floattitf.c: Likewise.
1016 * soft-fp/floatundidf.c: Likewise.
1017 * soft-fp/floatundisf.c: Likewise.
1018 * soft-fp/floatunsidf.c: Likewise.
1019 * soft-fp/floatunsisf.c: Likewise.
1020 * soft-fp/floatuntidf.c: Likewise.
1021 * soft-fp/floatuntisf.c: Likewise.
1022 * soft-fp/floatuntitf.c: Likewise.
1023 * soft-fp/fmadf4.c: Likewise.
1024 * soft-fp/fmasf4.c: Likewise.
1025 * soft-fp/fmatf4.c: Likewise.
1026 * soft-fp/gedf2.c: Likewise.
1027 * soft-fp/gesf2.c: Likewise.
1028 * soft-fp/getf2.c: Likewise.
1029 * soft-fp/ledf2.c: Likewise.
1030 * soft-fp/lesf2.c: Likewise.
1031 * soft-fp/letf2.c: Likewise.
1032 * soft-fp/muldf3.c: Likewise.
1033 * soft-fp/mulsf3.c: Likewise.
1034 * soft-fp/multf3.c: Likewise.
1035 * soft-fp/negdf2.c: Likewise.
1036 * soft-fp/negsf2.c: Likewise.
1037 * soft-fp/negtf2.c: Likewise.
1038 * soft-fp/op-1.h: Likewise.
1039 * soft-fp/op-2.h: Likewise.
1040 * soft-fp/op-4.h: Likewise.
1041 * soft-fp/op-8.h: Likewise.
1042 * soft-fp/op-common.h: Likewise.
1043 * soft-fp/quad.h: Likewise.
1044 * soft-fp/single.h: Likewise.
1045 * soft-fp/soft-fp.h: Likewise.
1046 * soft-fp/sqrtdf2.c: Likewise.
1047 * soft-fp/sqrtsf2.c: Likewise.
1048 * soft-fp/sqrttf2.c: Likewise.
1049 * soft-fp/subdf3.c: Likewise.
1050 * soft-fp/subsf3.c: Likewise.
1051 * soft-fp/subtf3.c: Likewise.
1052 * soft-fp/truncdfsf2.c: Likewise.
1053 * soft-fp/trunctfdf2.c: Likewise.
1054 * soft-fp/trunctfsf2.c: Likewise.
1055 * soft-fp/trunctfxf2.c: Likewise.
1056 * soft-fp/unorddf2.c: Likewise.
1057 * soft-fp/unordsf2.c: Likewise.
1058 * soft-fp/unordtf2.c: Likewise.
1060 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1063 * misc/error.c (error_tail): Fix possible buffer overflow.
1065 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1068 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1071 2013-10-14 P. J. McDermott <pj@pehjota.net>
1074 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1075 testing pipefail option.
1077 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1079 * soft-fp/double.h: Indent preprocessor directives inside #if.
1080 * soft-fp/extended.h: Likewise.
1081 * soft-fp/op-2.h: Likewise.
1082 * soft-fp/op-4.h: Likewise.
1083 * soft-fp/op-common.h: Likewise.
1084 * soft-fp/quad.h: Likewise.
1085 * soft-fp/single.h: Likewise.
1086 * soft-fp/soft-fp.h: Likewise.
1088 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1090 * iconv/iconv_prog.c: Fix typos.
1091 * stdio-common/psiginfo-data.h: Likewise.
1093 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1096 * locale/setlocale.c: Fix typo.
1098 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1101 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1102 signaling NaN arguments.
1103 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1104 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1107 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1109 * soft-fp/gesf2.c (__gesf2): Likewise.
1110 * soft-fp/getf2.c (__getf2): Likewise.
1111 * soft-fp/ledf2.c (__ledf2): Likewise.
1112 * soft-fp/lesf2.c (__lesf2): Likewise.
1113 * soft-fp/letf2.c (__letf2): Likewise.
1115 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1116 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1117 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1118 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1119 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1120 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1121 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1122 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1123 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1124 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1125 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1126 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1127 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1128 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1129 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1130 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1131 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1132 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1133 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1134 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1135 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1136 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1137 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1138 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1139 * soft-fp/floattidf.c (__floattidf): Likewise.
1140 * soft-fp/floattisf.c (__floattisf): Likewise.
1141 * soft-fp/floattitf.c (__floattitf): Likewise.
1142 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1143 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1144 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1145 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1146 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1147 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1148 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1149 * soft-fp/gesf2.c (__gesf2): Likewise.
1150 * soft-fp/getf2.c (__getf2): Likewise.
1151 * soft-fp/ledf2.c (__ledf2): Likewise.
1152 * soft-fp/lesf2.c (__lesf2): Likewise.
1153 * soft-fp/letf2.c (__letf2): Likewise.
1155 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1156 Undefine and redefine.
1157 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1158 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1159 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1160 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1161 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1162 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1163 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1164 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1165 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1166 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1167 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1168 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1169 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1170 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1171 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1174 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1175 without decrementing exponent if mantissa >= that for the
1177 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1178 denominator, not >. Decrement exponent in < case instead of
1179 incrementing in >= case.
1180 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1181 without decrementing exponent if mantissa >= that for the
1184 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1185 computing saturated result for unsigned overflow.
1187 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1188 Jeff Law <law@redhat.com>
1190 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1191 (atan2Mp): Add systemtap probe marker.
1192 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1193 (__ieee754_log): Add systemtap probe marker.
1194 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1195 (atanMp): Add systemtap probe marker.
1196 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1197 (tanMp): Add systemtap probe marker.
1198 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1199 (__slowexp): Add systemtap probe marker.
1200 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1201 (__slowpow): Add systemtap probe marker.
1202 * manual/probes.texi: Document probes.
1204 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1207 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1209 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1211 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1212 written to buffer but not flushed.
1213 * libio/iofwrite_u.c: Likewise.
1214 * libio/iopadn.c: Return bytes returned even if EOF was
1216 * libio/iowpadn.c: Likewise.
1217 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1218 if _IO_padn does not write the whole buffer.
1219 [!COMPILE_WPRINTF] (PAD): Likewise.
1221 2013-10-10 David S. Miller <davem@davemloft.net>
1223 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1226 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1228 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1229 instead of FSF address.
1230 * soft-fp/fixdfti.c: Likewise.
1231 * soft-fp/fixsfti.c: Likewise.
1232 * soft-fp/fixtfti.c: Likewise.
1233 * soft-fp/fixunsdfti.c: Likewise.
1234 * soft-fp/fixunssfti.c: Likewise.
1235 * soft-fp/fixunstfti.c: Likewise.
1236 * soft-fp/floattidf.c: Likewise.
1237 * soft-fp/floattisf.c: Likewise.
1238 * soft-fp/floattitf.c: Likewise.
1239 * soft-fp/floatuntidf.c: Likewise.
1240 * soft-fp/floatuntisf.c: Likewise.
1241 * soft-fp/floatuntitf.c: Likewise.
1242 * soft-fp/trunctfxf2.c: Likewise.
1244 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1245 * soft-fp/fixdfti.c: Likewise.
1246 * soft-fp/fixsfti.c: Likewise.
1247 * soft-fp/fixtfti.c: Likewise.
1248 * soft-fp/fixunsdfti.c: Likewise.
1249 * soft-fp/fixunssfti.c: Likewise.
1250 * soft-fp/fixunstfti.c: Likewise.
1251 * soft-fp/floattidf.c: Likewise.
1252 * soft-fp/floattisf.c: Likewise.
1253 * soft-fp/floattitf.c: Likewise.
1254 * soft-fp/floatuntidf.c: Likewise.
1255 * soft-fp/floatuntisf.c: Likewise.
1256 * soft-fp/floatuntitf.c: Likewise.
1257 * soft-fp/trunctfxf2.c: Likewise.
1259 2013-10-10 David S. Miller <davem@davemloft.net>
1261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1263 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1265 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1266 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1267 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1268 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1269 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1270 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1271 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1274 for NaNs before doing comparisons on argument.
1275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1278 2013-10-10 Will Newton <will.newton@linaro.org>
1280 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1281 passed to _int_memalign does not overflow.
1283 2013-10-10 Torvald Riegel <triegel@redhat.com>
1285 * scripts/bench.pl: Add include-sources directive.
1286 * benchtests/README: Update documentation.
1288 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1290 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1291 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1292 instead of FP_INIT_ROUNDMODE.
1293 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1294 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1297 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1298 copy class of input value.
1299 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1300 not handle exceptions.
1301 * soft-fp/negsf2.c (__negsf2): Likewise.
1302 * soft-fp/negtf2.c (__negtf2): Likewise.
1303 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1305 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1307 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1308 semicolon. From Linux kernel.
1310 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1312 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1314 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1317 * manual/socket.texi: Added statement about buffer
1318 for gethostbyname2_r.
1320 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1322 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1323 Use .p2align directive instead, throughout.
1324 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1325 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1326 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1329 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1330 * sysdeps/x86_64/strchr.S: Likewise.
1331 * sysdeps/x86_64/strrchr.S: Likewise.
1333 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1335 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1337 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1339 * sysdeps/generic/math_private.h (__mpsin1): Remove
1341 (__mpcos1): Likewise.
1342 (__mpsin): New argument __range_reduce.
1343 (__mpcos): Likewise.
1344 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1345 (slow): Use __mpsin and __mpcos.
1352 (bsloww1): Likewise.
1353 (bsloww2): Likewise.
1356 (csloww1): Likewise.
1357 (csloww2): Likewise.
1358 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1359 range_reduce. Merge in __mpsin1.
1360 (__mpcos): Likewise.
1362 (__mpcos1): Likewise.
1364 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1366 * locale/loadlocale.c (_nl_intern_locale_data): Use
1368 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1369 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1370 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1371 obstack data is appropriately aligned.
1372 (obstack_int32_grow_fast): Likewise.
1373 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1374 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1375 (add_locale_uint32_array): Likewise.
1377 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1379 * benchtests/Makefile: Remove ARGLIST and RET variables.
1380 ($(objpfx)bench-%.c): Pass only function name to the script.
1381 * benchtests/README: Update documentation.
1382 * benchtests/acos-inputs: Add new directives.
1383 * benchtests/acosh-inputs: Likewise.
1384 * benchtests/asin-inputs: Likewise.
1385 * benchtests/asinh-inputs: Likewise.
1386 * benchtests/atan-inputs: Likewise.
1387 * benchtests/atanh-inputs: Likewise.
1388 * benchtests/cos-inputs: Likewise.
1389 * benchtests/cosh-inputs: Likewise.
1390 * benchtests/exp-inputs: Likewise.
1391 * benchtests/log-inputs: Likewise.
1392 * benchtests/pow-inputs: Likewise.
1393 * benchtests/rint-inputs: Likewise.
1394 * benchtests/sin-inputs: Likewise.
1395 * benchtests/sinh-inputs: Likewise.
1396 * benchtests/tan-inputs: Likewise.
1397 * benchtests/tanh-inputs: Likewise.
1398 * scripts/bench.pl: Add support for new directives.
1400 2013-10-07 Alan Modra <amodra@gmail.com>
1402 * README: Fix careless merge.
1404 2013-10-05 Alan Modra <amodra@gmail.com>
1406 * NEWS: Mention powerpc64le support and bugs fixed.
1407 * README: Both big-endian and little-endian powerpc64 supported.
1409 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1411 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1412 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1413 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1414 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1416 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1418 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1421 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1423 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1424 Move -mhard-float appending from
1425 ports/sysdeps/powerpc/powerpc32/Makefile.
1426 [$(with-fp) = yes] (ASFLAGS): Likewise.
1427 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1428 * sysdeps/powerpc/nofpu: Move directory from
1429 ports/sysdeps/powerpc/nofpu.
1430 * sysdeps/powerpc/soft-fp: Move directory from
1431 ports/sysdeps/powerpc/soft-fp.
1432 * sysdeps/powerpc/powerpc32/405: Move directory from
1433 ports/sysdeps/powerpc/powerpc32/405.
1434 * sysdeps/powerpc/powerpc32/440: Move directory from
1435 ports/sysdeps/powerpc/powerpc32/440.
1436 * sysdeps/powerpc/powerpc32/464: Move directory from
1437 ports/sysdeps/powerpc/powerpc32/464.
1438 * sysdeps/powerpc/powerpc32/476: Move directory from
1439 ports/sysdeps/powerpc/powerpc32/476.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1441 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1443 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1445 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1447 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1449 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1450 * README: Update for powerpc-*-linux-gnu software floating point
1453 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1454 case to powerpc/powerpc32*.
1455 * sysdeps/unix/sysv/linux/configure: Regenerated.
1457 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1458 (_FPU_MASK_OM): Define as 0x04.
1459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1467 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1470 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1473 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1474 and setcontext_e500.
1476 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1478 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1480 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1482 * manual/threads.texi (Default Thread Attributes): Fix typo.
1484 2013-10-04 Will Newton <will.newton@linaro.org>
1486 * malloc/Makefile: Add tst-memalign.
1487 * malloc/tst-memalign.c: New file.
1489 * malloc/tst-posix_memalign.c: Add comments.
1490 (do_test): Add comments and call free on all potentially
1491 allocated pointers. Add space after cast.
1493 * malloc/tst-pvalloc.c: Add comments.
1494 (do_test): Add comments and call free on all potentially
1495 allocated pointers. Remove duplicate check for NULL pointer.
1496 Add space after cast.
1498 * malloc/tst-valloc.c: Add comments.
1499 (do_test): Add comments and call free on all potentially
1500 allocated pointers. Remove duplicate check for NULL pointer.
1501 Add space after cast.
1503 2013-10-04 Alan Modra <amodra@gmail.com>
1505 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1506 Use stdint types in rather than __attribute__((mode())).
1507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1509 2013-10-04 Alan Modra <amodra@gmail.com>
1511 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1512 Correct handling of unaligned relocs for little-endian.
1513 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1515 2013-10-04 Alan Modra <amodra@gmail.com>
1517 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1518 * configure: Regenerate.
1519 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1520 * shlib-versions: Likewise.
1522 2013-10-04 Alan Modra <amodra@gmail.com>
1524 * string/tester.c (test_memrchr): Increment reported test cycle.
1526 2013-10-04 Alan Modra <amodra@gmail.com>
1528 * string/test-memcpy.c (do_one_test): When reporting errors, print
1529 string address and don't overrun end of string.
1531 2013-10-04 Alan Modra <amodra@gmail.com>
1533 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1534 insrdi. Make better use of reg selection to speed exit slightly.
1535 Schedule entry path a little better. Remove useless "are we done"
1536 checks on entry to main loop. Handle wrapping around zero address.
1537 Correct main loop count. Handle single left-over word from main
1538 loop inline rather than by using loop_small. Remove extra word
1539 case in loop_small caused by wrong loop count. Add little-endian
1541 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1545 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1546 support. Avoid rlwimi.
1547 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1549 2013-10-04 Alan Modra <amodra@gmail.com>
1551 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1553 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1554 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1555 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1560 2013-10-04 Alan Modra <amodra@gmail.com>
1562 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1563 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1566 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1568 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1571 use of regs. Use power7 mtocrf. Tidy function tails.
1573 2013-10-04 Alan Modra <amodra@gmail.com>
1575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1576 Formatting. Consistently use rXXX register defines or rN defines.
1577 Use early exit labels that avoid restoring unused non-volatile regs.
1578 Make cr field use more consistent with rWORDn compares. Rename
1579 regs used as shift registers for unaligned loop, using rN defines
1580 for short lifetime/multiple use regs.
1581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1582 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1583 addi 1,1,64 to pop stack frame. Simplify return value code.
1584 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1586 2013-10-04 Alan Modra <amodra@gmail.com>
1588 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1589 support. Correct typos, formatting. Optimize tail. Use insrdi
1591 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1593 little-endian support. Correct typos.
1594 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1596 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1597 in loop and entry code to keep "and." results.
1598 (strchr): Add little-endian support. Comment. Move cntlzd
1600 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1602 2013-10-04 Alan Modra <amodra@gmail.com>
1604 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1605 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1606 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1607 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1609 2013-10-04 Alan Modra <amodra@gmail.com>
1611 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1612 (rTMP): Define as r11.
1613 (strcmp): Add little-endian support. Optimise tail.
1614 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1615 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1616 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1617 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1618 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1620 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1622 2013-10-04 Alan Modra <amodra@gmail.com>
1624 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1625 little-endian support. Remove unnecessary "are we done" tests.
1626 Handle "s" wrapping around zero and extremely large "size".
1627 Correct main loop count. Handle single left-over word from main
1628 loop inline rather than by using small_loop. Correct comments.
1629 Delete "zero" tail, use "end_max" instead.
1630 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1632 2013-10-04 Alan Modra <amodra@gmail.com>
1634 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1635 support. Don't branch over align.
1636 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1637 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1638 support. Rearrange tmp reg use to suit. Comment.
1639 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1641 2013-10-04 Alan Modra <amodra@gmail.com>
1643 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1645 2013-10-04 Alan Modra <amodra@gmail.com>
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1648 conditional form of branch and link when obtaining pc.
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1651 2013-10-04 Alan Modra <amodra@gmail.com>
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1658 2013-10-04 Alan Modra <amodra@gmail.com>
1660 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1661 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1662 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1663 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1664 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1665 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1666 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1667 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1668 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1669 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1671 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1672 Alistair Popple <alistair@ozlabs.au.ibm.com>
1673 Alan Modra <amodra@gmail.com>
1676 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1678 _dl_hwcap access for little-endian.
1679 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1680 destroy vmx regs when saving unaligned.
1681 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1682 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1683 destroy vmx regs when saving unaligned.
1685 2013-10-04 Alan Modra <amodra@gmail.com>
1687 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1688 Don't use a union to pack hi/low value.
1690 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1692 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1694 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1695 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1697 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1698 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1700 2013-10-04 Alan Modra <amodra@gmail.com>
1702 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1703 constants to usual value for .cst8 section, and remove redundant
1705 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1706 constant for 0x1p52. Load little-endian words of double from
1707 correct stack offsets.
1709 2013-10-04 Alan Modra <amodra@gmail.com>
1711 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1712 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1713 words of double from correct stack offsets.
1714 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1715 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1719 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1721 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1722 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1723 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1727 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1728 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1729 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1730 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1732 2013-10-04 Alan Modra <amodra@gmail.com>
1734 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1735 64-bit int/double union.
1736 (_FPU_SETCW): Likewise.
1737 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1738 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1740 2013-10-04 Alan Modra <amodra@gmail.com>
1742 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1743 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1745 2013-10-04 Alan Modra <amodra@gmail.com>
1747 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1748 use vector int constants.
1749 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1751 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1753 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1754 array with long long.
1755 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1756 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1757 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1758 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1759 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1760 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1761 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1762 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1763 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1764 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1765 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1766 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1767 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1769 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1771 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1772 (__signbit): Likewise. Correct for little-endian.
1773 (__signbitl): Call __signbit.
1774 (lrint): Correct for little-endian.
1775 (lrintf): Call lrint.
1777 2013-10-04 Alan Modra <amodra@gmail.com>
1779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1780 union 32-bit int array member with 64-bit int array.
1781 (t515, tm256): Double rather than long double.
1782 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1784 2013-10-04 Alan Modra <amodra@gmail.com>
1786 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1788 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1790 version of math_ldbl.h.
1792 2013-10-04 Alan Modra <amodra@gmail.com>
1794 [BZ #15734], [BZ #15735]
1795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1796 all uses of ieee875 long double macros and unions. Simplify test
1797 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1798 ldbl_extract_mantissa value for ix,iy exponents. Properly
1799 normalize after ldbl_extract_mantissa, and don't add hidden bit
1800 already handled. Don't treat low word of ieee854 mantissa like
1801 low word of IBM long double and mask off bit when testing for
1803 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1804 all uses of ieee875 long double macros and unions. Simplify tests
1805 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1806 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1807 two1022, instead use their values. Recognise that tests for large
1808 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1809 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1810 Rewrite all uses of ieee875 long double macros and unions. Simplify
1811 test for 0.0L and nan. Correct negation.
1812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1813 ieee875 long double macros and unions. Correct output for large
1814 magnitude x. Correct absolute value calculation.
1815 (__erfcl): Likewise.
1816 * math/libm-test.inc: Add tests for errors discovered in IBM long
1817 double versions of fmodl, remainderl, erfl and erfcl.
1819 2013-10-04 Alan Modra <amodra@gmail.com>
1821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1822 all uses of ieee854 long double macros and unions. Simplify tests
1823 for long doubles that are fully specified by the high double.
1824 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1826 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1827 Remove dead code too.
1828 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1829 (__ieee754_ynl): Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1833 Remove dead code too.
1834 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1844 Comment on variable precision.
1845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1848 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1850 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1852 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1854 2013-10-04 Alan Modra <amodra@gmail.com>
1856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1858 all uses of ieee854 long double macros and unions.
1859 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1872 Simplify sign and nan test too.
1873 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1878 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1882 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1883 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1884 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1885 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1888 2013-10-04 Alan Modra <amodra@gmail.com>
1890 * stdio-common/printf_size.c (__printf_size): Don't use
1891 union ieee854_long_double in fpnum union.
1892 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1893 signbit macro to retrieve sign from long double.
1894 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1895 retrieve sign from long double.
1896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1897 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1899 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1900 * math/test-misc.c (main): Don't use union ieee854_long_double.
1902 2013-10-04 Alan Modra <amodra@gmail.com>
1905 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1906 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1907 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1908 calculation. Remove unnecessary test for denormal exponent.
1909 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1910 Correct handling of denormals. Avoid undefined shift behaviour.
1911 Correct normalisation of low mantissa when low double is denormal.
1912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1913 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1914 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1915 Correct normalisation of low mantissa. Test for overflow of high
1916 mantissa and normalise.
1917 (ldbl_nearbyint): Use more readable constant for two52.
1918 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1919 (__mpn_construct_long_double): Fix test for overflow of high
1920 mantissa and correct normalisation. Avoid undefined shift.
1922 2013-10-04 Alan Modra <amodra@gmail.com>
1924 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1925 (union ibm_extended_long_double): Define as an array of ieee754_double.
1926 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1927 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1928 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1929 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1938 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1940 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1941 page size instead of calling getpagesize.
1943 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1944 (LOCFILE_ALIGN_MASK): Likewise.
1945 (LOCFILE_ALIGN_UP): Likewise.
1946 (LOCFILE_ALIGNED_P): Likewise.
1947 * locale/programs/ld-collate.c (collate_output): Use the new
1948 macros instead of __alignof__ (int32_t).
1949 * locale/weight.h (findidx): Likewise.
1951 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1954 * manual/string.texi: Fix strncat and wcsncat.
1956 2013-10-03 Brooks Moses <bmoses@google.com>
1959 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1960 * Makerules: ...here, and adjust associated comments.
1962 2013-10-02 Will Newton <will.newton@linaro.org>
1964 * malloc/Makefile: Add tst-pvalloc.
1965 * malloc/tst-pvalloc.c: New file.
1967 2013-10-02 Will Newton <will.newton@linaro.org>
1969 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1970 improve test coverage.
1972 2013-10-02 Will Newton <will.newton@linaro.org>
1974 * malloc/Makefile: Add tst-posix_memalign.
1975 * malloc/tst-posix_memalign.c: New file.
1977 2013-10-01 Eric Blake <eblake@redhat.com>
1979 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1980 Use __THROWNL rather than __THROW on static functions.
1982 2013-09-30 Petr Machata <pmachata@redhat.com>
1984 * elf/elf.h (R_AARCH64_ABS16): New macro.
1985 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1986 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1987 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1988 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1989 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1990 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1991 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1992 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1993 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1994 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1995 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1996 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1997 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1998 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1999 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2000 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2001 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2002 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2003 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2004 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2005 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2006 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2007 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2008 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2009 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2010 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2011 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2012 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2013 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2014 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2015 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2016 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2017 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2018 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2019 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2020 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2021 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2022 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2023 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2024 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2025 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2026 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2027 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2028 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2029 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2030 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2031 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2032 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2033 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2034 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2035 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2036 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2037 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2038 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2039 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2040 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2041 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2042 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2043 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2044 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2045 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2046 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2047 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2048 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2049 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2050 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2051 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2052 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2053 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2054 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2055 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2056 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2057 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2058 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2059 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2060 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2061 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2062 (R_AARCH64_TLSDESC_LDR): Likewise.
2063 (R_AARCH64_TLSDESC_ADD): Likewise.
2064 (R_AARCH64_TLSDESC_CALL): Likewise.
2066 2013-09-30 Andreas Schwab <schwab@suse.de>
2069 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2070 the nss database lookup.
2071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2074 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2076 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2078 2013-09-28 P. J. McDermott <pj@pehjota.net>
2080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2081 ${Bash-specific parameter/pattern/string} parameter expansion.
2082 * sysdeps/unix/make-syscalls.sh: Likewise.
2084 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2086 * sysdeps/sh/stackguard-macros.h: New file.
2088 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2092 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2093 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2094 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2095 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2097 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2099 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2100 Fix thread ID register.
2102 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2104 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2105 [POSIX || UNIX98]: Require rather than permitting all symbols from
2107 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2108 element of struct sched_param.
2109 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2110 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2111 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2112 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2115 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2117 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2118 argument calculation.
2120 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2122 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2124 [POSIX] (pthread_attr_t): Do not require type.
2125 [POSIX] (pthread_cond_t): Likewise.
2126 [POSIX] (pthread_condattr_t): Likewise.
2127 [POSIX] (pthread_key_t): Likewise.
2128 [POSIX] (pthread_mutex_t): Likewise.
2129 [POSIX] (pthread_mutexattr_t): Likewise.
2130 [POSIX] (pthread_once_t): Likewise.
2131 [POSIX] (pthread_t): Likewise.
2132 [POSIX-based standards] (pthread_atfork): Expect function.
2134 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2135 Richard Sandiford <richard@codesourcery.com>
2137 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2138 (swap_endianness_p): New extern variable.
2139 (set_big_endian): New inline function.
2140 (maybe_swap_uint32): Likewise.
2141 (maybe_swap_uint32_array): Likewise.
2142 (maybe_swap_uint32_obstack): Likewise.
2143 * locale/programs/locfile.c: Include <stdbool.h>.
2144 (swap_endianness_p): New variable.
2145 (add_locale_uint32): Call maybe_swap_uint32.
2146 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2147 (write_locale_data): Call maybe_swap_uint32_array.
2148 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2150 (obstack_int32_grow_fast): Likewise.
2151 (output_weightwc): Call maybe_swap_uint32_obstack.
2152 (collate_output): Likewise.
2153 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2154 (OPT_LITTLE_ENDIAN): Likewise.
2155 (options): Add --little-endian and --big-endian options.
2156 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2157 * locale/programs/locarchive.c: Include "locfile.h".
2161 (create_archive): Use the new macros to access fields of
2162 structures directly mapped from or written to locale archives.
2163 (oldlocrecentcmp): Likewise.
2164 (enlarge_archive): Likewise.
2165 (insert_name): Likewise.
2166 (add_alias): Likewise.
2167 (add_locale): Likewise.
2168 (delete_locales_from_archive): Likewise.
2169 (show_archive_content): Likewise.
2170 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2173 2013-09-24 Roland McGrath <roland@hack.frob.com>
2175 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2176 http://www.gnu.org/doc/freemanuals.texi.
2177 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2179 2013-09-24 Will Newton <will.newton@linaro.org>
2181 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2184 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2186 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2189 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2191 * manual/threads.texi (POSIX Threads): Fix a typo.
2193 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2196 * string/tst-strcoll-overflow.c: New test case.
2197 * string/Makefile (xtests): Add tst-strcoll-overflow.
2198 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2199 cache if string sizes may cause integer overflow.
2202 * string/strcoll_l.c (coll_seq): New members rule, idx,
2203 save_idx and back_us.
2204 (get_next_seq_nocache): New function.
2205 (do_compare_nocache): New function.
2206 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2209 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2212 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2213 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2214 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2217 * elf/Makefile (tests): Add tst-ptrguard1.
2218 (tests-static): Add tst-ptrguard1-static.
2219 (tst-ptrguard1-ARGS): Define.
2220 (tst-ptrguard1-static-ARGS): Define.
2221 * elf/tst-ptrguard1.c: New file.
2222 * elf/tst-ptrguard1-static.c: New file.
2223 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2224 * sysdeps/i386/stackguard-macros.h: Likewise.
2225 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2226 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2227 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2228 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2229 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2230 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2232 2013-09-23 Hector Marco <hecmargi@upv.es>
2233 Ismael Ripoll <iripoll@disca.upv.es>
2234 Carlos O'Donell <carlos@redhat.com>
2237 * sysdeps/generic/stackguard-macros.h: Define
2238 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2239 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2240 Define __pointer_chk_guard_local.
2241 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2242 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2244 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2247 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2249 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2251 * include/string.h (__ffs): Declare as hidden.
2252 * string/ffs.c (__ffs): Define as hidden.
2253 * sysdeps/i386/ffs.c (__ffs): Likewise.
2254 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2255 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2256 * sysdeps/s390/ffs.c (__ffs): Likewise.
2257 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2259 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2261 * NEWS: Mention malloc probes.
2263 * malloc/arena.c (new_heap): New memory_heap_new probe.
2264 (grow_heap): New memory_heap_more probe.
2265 (shrink_heap): New memory_heap_less probe.
2266 (heap_trim): New memory_heap_free probe.
2267 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2268 (systrim): New memory_sbrk_less probe.
2269 * manual/probes.texi: Document them.
2271 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2272 * manual/probes.texi: Document it.
2274 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2275 (__libc_realloc): Add memory_realloc_retry probe.
2276 (__libc_memalign): Add memory_memalign_retry probe.
2277 (__libc_valloc): Add memory_valloc_retry probe.
2278 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2279 (__libc_calloc): Add memory_calloc_retry probe.
2280 * manual/probes.texi: Document them.
2282 * malloc/arena.c (get_free_list): Add probe
2283 memory_arena_reuse_free_list.
2284 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2285 and memory_arena_reuse.
2286 (arena_get2) [!PER_THREAD]: Likewise.
2287 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2288 memory_arena_reuse_realloc.
2289 * manual/probes.texi: Document them.
2291 * malloc/malloc.c (__libc_free): Add
2292 memory_mallopt_free_dyn_thresholds probe.
2293 (__libc_mallopt): Add multiple memory_mallopt probes.
2294 * manual/probes.texi: Document them.
2296 * malloc/malloc.c: Include stap-probe.h.
2297 (__libc_mallopt): Add memory_mallopt probe.
2298 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2299 * manual/probes.texi: New.
2300 * manual/Makefile (chapters): Add probes.
2301 * manual/threads.texi: Set next node.
2303 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2306 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2307 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2308 Add `Chinese' to `nan' entry name.
2310 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2312 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2313 (POLYNOMIAL): Likewise.
2314 (TAYLOR_SINCOS): Likewise.
2315 (TAYLOR_SLOW): Likewise.
2316 (__sin): Use TAYLOR_SINCOS.
2318 (slow): Use TAYLOR_SLOW.
2323 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2325 * stdlib/strtod_l.c: Fix buffer overrun.
2327 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2329 * benchtests/Makefile (bench): Add sincos.
2330 * benchtests/bench-sincos.c: New file.
2332 * math/libm-test.inc (cos_test_data): New test inputs.
2333 (sin_test_data): Likewise.
2335 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2343 (bsloww1): Likewise.
2344 (bsloww2): Likewise.
2346 (csloww1): Likewise.
2347 (csloww2): Likewise.
2349 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2358 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2360 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2361 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2362 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2363 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2364 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2365 * elf/cache.c (print_entry): Handle the new cache flags.
2367 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2368 Aldy Hernandez <aldyh@redhat.com>
2370 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2371 Change condition to [_SOFT_FLOAT].
2372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2381 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2384 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2387 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2390 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2392 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2393 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2394 (__longjmp): Use LOAD_GP to load saved GPRs.
2395 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2396 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2397 (__sigsetjmp): Use SAVE_GP to save GPRs.
2399 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2400 Do not append -msoft-float.
2401 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2403 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2405 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2407 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2410 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2411 (_FPU_GETCW): Use initial "__" on variable and field names but not
2412 on macro parameter name.
2413 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2414 parentheses around reference to macro parameter.
2416 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2418 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2420 (ctype_startup): Use uint32_t in cast and sizeof for
2423 2013-09-11 Jia Liu <proljc@gmail.com>
2425 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2427 [__FreeBSD__]: Likewise.
2429 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2432 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2433 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2434 (strchr): Remove __strchr_sse42 ifunc selection.
2435 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2436 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2438 2013-09-11 Will Newton <will.newton@linaro.org>
2440 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2441 parameter to RES. Remove hardcoded 1000 value.
2442 * benchtests/bench-skeleton.c (main): Pass RES parameter
2443 to TIMING_INIT and multiply result by 1000.
2445 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2449 2013-09-11 Andreas Schwab <schwab@suse.de>
2451 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2453 (O_TMPFILE) [__USE_GNU]: Define.
2454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2457 2013-09-11 Will Newton <will.newton@linaro.org>
2460 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2463 2013-09-11 Will Newton <will.newton@linaro.org>
2466 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2469 2013-09-11 Will Newton <will.newton@linaro.org>
2472 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2475 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2477 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2478 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2479 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2480 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2481 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2483 2013-09-10 Allan McRae <allan@archlinux.org>
2486 * manual/arith.texi (Parsing of Floats): Clarify
2490 * manual/install.texi (Running make install): Mention
2492 * INSTALL: Regenerated.
2494 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2496 * csu/init-first.c (_init): Remove the !SHARED condition around
2497 FPU control word initialization.
2498 * elf/dl-support.c (_dl_fpu_control): New variable.
2499 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2500 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2501 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2502 * math/test-fpucw-static.c: New file.
2503 * math/test-fpucw-ieee.c: New file.
2504 * math/test-fpucw-ieee-static.c: New file.
2505 * math/Makefile (tests): Add `test-fpucw-ieee' and
2507 (tests-static): New variable.
2508 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2510 [($(build-shared),yes)]
2511 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2513 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2516 2013-09-09 Allan McRae <allan@archlinux.org>
2519 * manual/string.texi (Collation Functions): Fix typo in
2521 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2524 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2527 * libio/memstream.c (open_memstream): Fix memory leak.
2528 * libio/wmemstream.c (open_wmemstream): Likewise.
2531 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2533 2013-09-09 Will Newton <will.newton@linaro.org>
2535 * malloc/Makefile: Add tst-realloc to tests.
2536 * malloc/tst-realloc.c: New file.
2538 2013-09-09 Allan McRae <allan@archlinux.org>
2541 * COPYING: Update from GNU website to fix FSF address.
2542 * COPYING.LIB: Likewise.
2544 2013-09-06 David S. Miller <davem@davemloft.net>
2546 * po/zh_TW.po: Update Chinese (traditional) translation from
2547 translation project.
2549 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2550 Joseph Myers <joseph@codesourcery.com>
2552 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2554 (obstack_chunk_alloc): New macro.
2555 (obstack_chunk_free): Likewise.
2556 (record_offset): New function.
2557 (init_locale_data): Likewise.
2558 (align_locale_data): Likewise.
2559 (add_locale_empty): Likewise.
2560 (add_locale_raw_data): Likewise.
2561 (add_locale_raw_obstack): Likewise.
2562 (add_locale_string): Likewise.
2563 (add_locale_wstring): Likewise.
2564 (add_locale_uint32): Likewise.
2565 (add_locale_uint32_array): Likewise.
2566 (add_locale_char): Likewise.
2567 (start_locale_structure): Likewise.
2568 (end_locale_structure): Likewise.
2569 (start_locale_prelude): Likewise.
2570 (end_locale_prelude): Likewise.
2571 (write_locale_data): Take locale_file structure rather than an
2573 * locale/programs/locfile.h: Include "obstack.h".
2574 (struct locale_file): Change to store locale file contents instead
2576 (init_locale_data): New prototype.
2577 (align_locale_data): Likewise.
2578 (add_locale_empty): Likewise.
2579 (add_locale_raw_data): Likewise.
2580 (add_locale_raw_obstack): Likewise.
2581 (add_locale_string): Likewise.
2582 (add_locale_wstring): Likewise.
2583 (add_locale_uint32): Likewise.
2584 (add_locale_uint32_array): Likewise.
2585 (add_locale_char): Likewise.
2586 (start_locale_structure): Likewise.
2587 (end_locale_structure): Likewise.
2588 (start_locale_prelude): Likewise.
2589 (end_locale_prelude): Likewise.
2590 (write_locale_data): Update prototype.
2591 * locale/programs/3level.h (struct TABLE): Remove result field.
2592 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2593 Use new locale_file interface.
2594 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2595 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2596 * locale/programs/ld-address.c (address_output): Use new
2597 locale_file interface.
2598 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2600 (collate_finish): Don't call collseq_table_finalize.
2601 (collate_output): Use new locale_file interface.
2602 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2604 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2605 (TABLE): Move defines earlier in file.
2606 (ELEMENT): Likewise.
2607 (DEFAULT): Likewise.
2608 (wctrans_table_add): Move macro and inline function earlier in
2610 (struct wctype_table): Move type earlier in file.
2611 (add_locale_wctype_table): New static prototype.
2612 (struct locale_ctype_t): Use logical types instead of struct iovec
2613 pointers for members.
2614 (ctype_output): Use new locale_file interface.
2615 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2616 new locale_file interface.
2617 (allocate_arrays): Update for use of new locale_file interface.
2618 * locale/programs/ld-identification.c (identification_output): Use
2619 new locale_file interface.
2620 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2621 * locale/programs/ld-messages.c (messages_output): Likewise.
2622 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2623 * locale/programs/ld-name.c (name_output): Likewise.
2624 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2625 * locale/programs/ld-paper.c (paper_output): Likewise.
2626 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2627 * locale/programs/ld-time.c (time_output): Likewise.
2629 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631 * benchtests/Makefile: Add memrchr benchmark.
2632 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2633 benchmark as memrchr.
2634 * benchtests/bench-memrchr-ifunc.c: New file.
2635 * benchtests/bench-memrchr.c: New file.
2637 2013-09-06 Will Newton <will.newton@linaro.org>
2639 * benchtests/Makefile (string-bench): Add memcpy.
2641 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2642 Cong Wang <amwang@redhat.com>
2644 * sysdeps/unix/sysv/linux/bits/in.h
2645 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2646 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2647 before __USE_KERNEL_IPV6_DEFS uses.
2648 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2650 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2651 sockaddr_in6, or ipv6_mreq.
2653 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2655 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2656 memory access for final bytes in some large inputs.
2657 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2659 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2661 * string/test-memrchr.c: New file.
2662 * string/test-memrchr-ifunc.c: New file.
2663 * string/Makefile: Add new memrchr testcase.
2665 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2667 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2668 fanotify_init returns EPERM.
2670 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2672 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2674 (top level): Treat second token from macro or constant entries for
2675 allowed headers as allowed.
2676 * include/complex.h: Condition internal declarations on
2678 * include/fenv.h: Condition include of <stdbool.h> and internal
2679 declarations on [!_ISOMAC].
2681 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2684 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2686 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2688 * configure.in (--enable-versioning): Remove configure option.
2689 (libc_cv_asm_symver_directive): Remove configure test.
2690 (libc_cv_ld_version_script_option): Likewise.
2691 (VERSIONING): Remove variable and AC_SUBST.
2692 (DO_VERSIONING): Remove AC_DEFINE.
2693 * configure: Regenerated.
2694 * config.h.in (DO_VERSIONING): Remove macro.
2695 * Makerules [$(versioning) = yes]: Change conditionals to
2696 [$(build-shared) = yes].
2697 * config.make.in (versioning): Remove variable.
2698 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2699 [$(build-shared) = yes].
2700 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2701 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2702 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2703 [$(build-shared) = yes].
2704 * extra-lib.mk [$(versioning) = yes]: Likewise.
2705 * hurd/Makefile [$(versioning) = yes]: Likewise.
2706 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2708 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2710 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2711 [SHARED && !NO_HIDDEN].
2712 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2714 [SHARED && DO_VERSIONING]: Likewise..
2715 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2716 [$(build-shared) = yes].
2717 * manual/install.texi (--disable-versioning): Remove
2719 * INSTALL: Regenerated.
2720 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2722 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2723 [$(build-shared) = yes].
2724 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2725 * sysdeps/i386/i686/multiarch/strstr-c.c
2726 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2727 [SHARED && !NO_HIDDEN].
2728 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2729 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2730 * sysdeps/powerpc/powerpc32/dl-machine.c
2731 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2732 * sysdeps/powerpc/powerpc32/sysdep.h
2733 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2734 to [SHARED && PIC && !NO_HIDDEN].
2735 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2736 conditional to [SHARED].
2738 2013-09-04 Will Newton <will.newton@linaro.org>
2740 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2741 * benchtests/bench-string.h: Include bench-timing.h instead
2742 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2743 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2744 call to HP_TIMING_DIFF_INIT.
2745 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2746 instead of hp-timing.h macros.
2747 * benchtests/bench-memchr.c: Likewise.
2748 * benchtests/bench-memcmp.c: Likewise.
2749 * benchtests/bench-memcpy.c: Likewise.
2750 * benchtests/bench-memmem.c: Likewise.
2751 * benchtests/bench-memmove.c: Likewise.
2752 * benchtests/bench-memset.c: Likewise.
2753 * benchtests/bench-rawmemchr.c: Likewise.
2754 * benchtests/bench-strcasecmp.c: Likewise.
2755 * benchtests/bench-strcasestr.c: Likewise.
2756 * benchtests/bench-strcat.c: Likewise.
2757 * benchtests/bench-strchr.c: Likewise.
2758 * benchtests/bench-strcmp.c: Likewise.
2759 * benchtests/bench-strcpy.c: Likewise.
2760 * benchtests/bench-strcpy_chk.c: Likewise.
2761 * benchtests/bench-strlen.c: Likewise.
2762 * benchtests/bench-strncasecmp.c: Likewise.
2763 * benchtests/bench-strncat.c: Likewise.
2764 * benchtests/bench-strncmp.c: Likewise.
2765 * benchtests/bench-strncpy.c: Likewise.
2766 * benchtests/bench-strnlen.c: Likewise.
2767 * benchtests/bench-strpbrk.c: Likewise.
2768 * benchtests/bench-strrchr.c: Likewise.
2769 * benchtests/bench-strspn.c: Likewise.
2770 * benchtests/bench-strstr.c: Likewise.
2772 2013-09-04 Will Newton <will.newton@linaro.org>
2774 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2776 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2780 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2781 * math/libm-test.inc (lgamma_test_data): Add more tests.
2782 * sysdeps/i386/fpu/libm-test-ulps: Update.
2783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2785 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2787 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2791 Add strcmp-sse2-unaligned
2792 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2794 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2796 * Versions.def (libc): Add GLIBC_2.19.
2798 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2800 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2801 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2803 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2806 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2807 intermediate calculations in recurrence.
2808 (__ieee754_ynf): Likewise.
2809 * math/libm-test.inc (jn_test_data): Do not allow spurious
2810 underflow exception. Add more tests.
2811 (yn_test_data): Add more tests.
2812 * sysdeps/i386/fpu/libm-test-ulps: Update.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2815 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2819 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2821 * csu/init-first.c: Fix then/than typos.
2822 * locale/programs/ld-collate.c: Likewise.
2823 * locale/programs/linereader.h: Likewise.
2824 * manual/charset.texi: Likewise.
2825 * manual/filesys.texi: Likewise.
2826 * manual/stdio.texi: Likewise.
2827 * manual/string.texi: Likewise.
2828 * stdlib/fmtmsg.c: Likewise.
2829 * sysdeps/i386/stpncpy.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2833 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2835 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2837 * elf/dl-open.c: Fix typos.
2838 * iconvdata/gbbig5.c: Likewise.
2839 * iconvdata/iso-2022-jp.c: Likewise.
2840 * iconv/gconv_int.h: Likewise.
2841 * iconv/loop.c: Likewise.
2842 * nis/rpcsvc/nis.h: Likewise.
2843 * resolv/ns_name.c: Likewise.
2844 * stdio-common/vfscanf.c: Likewise.
2845 * streams/stropts.h: Likewise.
2846 * sunrpc/rpc_thread.c: Likewise.
2847 * sysdeps/i386/strpbrk.S: Likewise.
2848 * sysdeps/ieee754/k_standard.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2851 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2852 * sysdeps/mach/hurd/profil.c: Likewise.
2853 * sysdeps/s390/dl-procinfo.h: Likewise.
2854 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2857 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2860 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2862 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2865 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2869 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2876 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2878 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2879 Roland McGrath <roland@hack.frob.com>
2881 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2882 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2884 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2886 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2887 __executable_start symbol instead of _start.
2889 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2891 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2892 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2894 * sysdeps/gnu/ldsodefs.h: ... this new file.
2896 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2897 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2898 instead of ELFOSABI_LINUX.
2900 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2901 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2902 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2903 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2905 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2906 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2909 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2910 (ibm_extended_long_double): Add ieee_nan member.
2911 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2912 (do_test): New function.
2914 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2916 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2917 functions, renamed from truncdfsf_test, trunctfsf_test,
2919 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2921 (do_test): Run all these.
2923 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2925 * argp/argp-help.c: Fix typos.
2926 * argp/argp-parse.c: Likewise.
2927 * debug/backtracesyms.c: Likewise.
2928 * elf/elf.h: Likewise.
2929 * malloc/malloc.c: Likewise.
2930 * nis/nis_print.c: Likewise.
2931 * resolv/res_comp.c: Likewise.
2932 * stdlib/stdlib.h: Likewise.
2933 * sunrpc/clnt_tcp.c: Likewise.
2934 * sunrpc/clnt_udp.c: Likewise.
2935 * sunrpc/clnt_unix.c: Likewise.
2936 * sysdeps/unix/bsd/ptsname.c: Likewise.
2937 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2938 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2945 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2947 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2949 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2952 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2955 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2956 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2957 ($(objpfx)bug-dl-leaf): New rule.
2958 ($(objpfx)bug-dl-leaf.so): Likewise.
2959 ($(objpfx)bug-dl-leaf.out): Likewise.
2960 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2961 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2962 * dlfcn/bug-dl-leaf.c: New test.
2963 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2964 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2965 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2966 (dlclose): Likewise.
2967 (dlmopen): Likewise.
2969 2013-08-27 Roland McGrath <roland@hack.frob.com>
2971 * include/netdb.h [!_ISOMAC]:
2972 Don't include <tls.h>.
2973 (h_errno, __libc_h_errno): Move declaration and macros out of
2976 * include/resolv.h [_RESOLV_H_]:
2977 Don't include <tls.h>.
2978 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2979 * resolv/res_libc.c: Don't include <tls.h>.
2980 (_res): Use __attribute__ ((nocommon)) in place of
2981 __attribute__ ((section (".bss"))).
2983 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2984 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2986 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2988 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2989 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2991 * resolv/res_mkquery.c: Include <sys/time.h>.
2993 * inet/ifreq.c: Moved to ...
2994 * sysdeps/unix/ifreq.c: ... here.
2995 * inet/ifreq.c: New file, true stub version.
2997 * socket/sa_len.c: New file.
2998 * socket/Makefile (aux): Add it.
2999 * sysdeps/unix/sysv/linux/Makefile
3000 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3001 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3002 and #include <socket/sa_len.c>.
3003 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3004 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3007 * bits/socket.h: ... here.
3009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3010 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3011 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3013 2013-08-27 Andreas Schwab <schwab@suse.de>
3016 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3017 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3018 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3019 * string/test-strcasecmp.c (test_main): Run tests in several
3021 * string/test-strncasecmp.c (test_main): Likewise.
3023 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3024 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3025 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3027 (__strncasecmp_ssse3) [PIC]: Likewise.
3029 2013-08-26 Roland McGrath <roland@hack.frob.com>
3031 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3033 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3034 instead of explicitly declaring xdecrypt.
3035 * nis/nss_nis/nis-publickey.c: Likewise.
3037 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3040 * nscd/aicache.c: Include res_hconf.h.
3041 (addhstaiX): Initialize res_hconf.
3043 2013-08-26 Andreas Schwab <schwab@suse.de>
3045 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3046 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3048 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3050 * nscd/aicache.c (addhstaiX): Fix indentation.
3052 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3054 * configure.ac: Quote $build_pt_chown test.
3055 * configure: Regenerated.
3057 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3060 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3061 * math/s_cexpf.c (__cexpf): Likewise.
3062 * math/s_cexpl.c (__cexpl): Likewise.
3063 * math/libm-test.inc (cexp_test_data): Correct expected return
3064 value for NaN + i0. Add another test.
3066 2013-08-22 David S. Miller <davem@davemloft.net>
3068 * po/ca.po: Update Catalan translation from translation project.
3069 * po/uk.po: Add Ukrainian translations from translation project.
3071 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3074 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3075 is infinite, not alongside NaN test.
3076 * math/s_fdimf.c (__fdimf): Likewise.
3077 * math/s_fdiml.c (__fdiml): Likewise.
3078 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3081 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3083 * argp/argp-help.c: Fix typos.
3084 * crypt/speeds.c: Likewise.
3085 * csu/check_fds.c: Likewise.
3086 * elf/dl-load.c: Likewise.
3087 * elf/dl-open.c: Likewise.
3088 * elf/reldep3.c: Likewise.
3089 * elf/reldep.c: Likewise.
3090 * elf/sprof.c: Likewise.
3091 * iconv/iconv_charmap.c: Likewise.
3092 * iconv/skeleton.c: Likewise.
3093 * iconv/strtab.c: Likewise.
3094 * io/lockf64.c: Likewise.
3095 * libio/libioP.h: Likewise.
3096 * resolv/gai_notify.c: Likewise.
3097 * resolv/ns_name.c: Likewise.
3098 * resolv/ns_samedomain.c: Likewise.
3099 * resolv/res_send.c: Likewise.
3100 * stdlib/random.c: Likewise.
3101 * sunrpc/rpc/xdr.h: Likewise.
3102 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3103 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3107 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3110 * sysdeps/mach/hurd/check_fds.c: Likewise.
3111 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3112 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3113 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3114 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3115 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3117 * sysdeps/pthread/aio_notify.c: Likewise.
3118 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3119 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3120 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3122 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3124 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3126 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3127 version if bit_Slow_SSE4_2 is set.
3128 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3131 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3135 trampoline stack frame information.
3136 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3137 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3138 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3139 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3140 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3141 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3142 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3143 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3145 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3146 interrupting a syscall and set with option SA_SIGINFO.
3148 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3151 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3152 argument is infinite.
3153 * math/s_cprojf.c (__cprojf): Likewise.
3154 * math/s_cprojl.c (__cprojl): Likewise.
3155 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3156 * math/libm-test.inc (cproj_test_data): Add more tests.
3158 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3160 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3161 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3162 size. Use __ffs to determine corresponding shift.
3164 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3165 Roland McGrath <roland@hack.frob.com>
3167 * Makefile (INSTALL): Remove trailing blank lines from output of
3170 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3172 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3173 Align 32 bit compat elf_greg to 8 bytes.
3175 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3177 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3179 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3181 * string/strcoll_l.c (coll_seq): New structure.
3182 (get_next_seq_cached): New function.
3183 (get_next_seq): New function.
3184 (do_compare): New function.
3185 (STRCOLL): Use GNU style definition. Simplify implementation
3186 by using get_next_seq, get_next_seq_cached and do_compare.
3188 2013-08-16 Florian Weimer <fweimer@redhat.com>
3192 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3194 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3196 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3197 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3198 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3200 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3201 GETDENTS_64BIT_ALIGNED.
3202 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3203 * manual/filesys.texi (Reading/Closing Directory): Document
3204 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3206 * manual/conf.texi (Limits for Files): Add portability note to
3208 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3210 2013-08-13 Andreas Schwab <schwab@suse.de>
3213 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3215 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3216 LDBL_MAX_EXP >= 16384]: Add tests for it.
3218 2013-08-12 David S. Miller <davem@davemloft.net>
3220 * version.h (RELEASE): Set to "development".
3221 (VERSION): Set to "2.18.90".
3222 * NEWS: Add 2.19 section.
3224 2013-08-03 David S. Miller <davem@davemloft.net>
3226 * po/ko.po: Update Korean translation from translation project.
3228 2013-08-01 David S. Miller <davem@davemloft.net>
3230 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3231 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3234 2013-07-30 David S. Miller <davem@davemloft.net>
3236 * po/fr.po: Update French translation from translation project.
3238 2013-07-28 David S. Miller <davem@davemloft.net>
3240 * po/cs.po: Update Czech translation from translation project.
3242 * po/sv.po: Update Swedish translation from translation project.
3244 2013-07-27 David S. Miller <davem@davemloft.net>
3246 * po/eo.po: Update Esperanto translation from translation project.
3248 * po/vi.po: Update Vietnamese translation from translation project.
3250 * po/de.po: Update German translation from translation project.
3252 2013-07-26 David S. Miller <davem@davemloft.net>
3254 * po/bg.po: Update Bulgarian translation from translation project.
3256 * po/nl.po: Update Dutch translation from translation project.
3257 * po/pl.po: Update Polish translation from translation project.
3258 * po/ru.po: Update Russian translation from translation project.
3260 2013-07-24 David S. Miller <davem@davemloft.net>
3262 * po/libc.pot: Update.
3264 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3266 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3268 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3270 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3272 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3274 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3276 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3277 Andreas Schwab <schwab@suse.de>
3278 Roland McGrath <roland@hack.frob.com>
3279 Joseph Myers <joseph@codesourcery.com>
3280 Carlos O'Donell <carlos@redhat.com>
3283 * config.h.in: Define HAVE_PT_CHOWN.
3284 * config.make.in (build-pt-chown): New variable.
3285 * configure.in (--enable-pt_chown): New configure option.
3286 * configure: Regenerate.
3287 * login/Makefile: Include Makeconfig. Build pt_chown only if
3288 build-pt-chown is enabled.
3289 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3290 pt_chown to fix pty ownership.
3291 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3293 * manual/install.texi (Configuring and compiling): Mention
3294 --enable-pt_chown. Add @findex for grantpt.
3295 * INSTALL: Regenerate.
3297 2013-07-20 David S. Miller <davem@davemloft.net>
3299 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3300 difference between 32-bit and 64-bit.
3302 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3305 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3306 Avoid system header dependency with -ffreestanding.
3307 ($(objpfx)bits/syscall%d): Likewise.
3309 2013-07-13 David S. Miller <davem@davemloft.net>
3311 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3312 underflows from atanl/atan2l due to bug 15319.
3313 (casinh_test_data): Likewise.
3315 2013-07-07 David S. Miller <davem@davemloft.net>
3317 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3319 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3321 * sysdeps/i386/fpu/libm-test-ulps: Update.
3322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3324 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3326 * configure.in (--enable-lock-elision): Fix message text.
3327 * INSTALL: Regenerate.
3328 * configure: Regenerate.
3330 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3334 2013-07-03 Andreas Jaeger <aj@suse.de>
3336 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3338 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3339 (ptrace_peeksiginfo_args): Add.
3340 (__ptrace_peeksiginfo_flags): Add.
3341 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3342 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3343 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3345 2013-07-03 Allan McRae <allan@archlinux.org>
3347 * sysdeps/i386/fpu/libm-test-ulps: Update.
3349 2013-07-02 David S. Miller <davem@davemloft.net>
3351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3353 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3357 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3359 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3362 2013-07-02 Andi Kleen <ak@linux.intel.com>
3364 * config.h.in (ENABLE_LOCK_ELISION): Add.
3365 * configure.in (--enable-lock-elision): Add option.
3366 * manual/install.texi: Document --enable lock elision.
3367 * configure: Regenerate
3368 * INSTALL: Regenerate.
3370 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3372 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3373 SSE4.2 strcasecmp for libc.a.
3374 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3376 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3379 * soft-fp/op-common.h (_FP_FMA): New macro.
3380 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3381 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3382 (_FP_MUL_MEAT_1_imm): ... here.
3383 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3384 (_FP_MUL_MEAT_1_wide): ... here.
3385 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3386 (_FP_MUL_MEAT_1_hard): ... here.
3387 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3388 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3389 (_FP_MUL_MEAT_2_wide): ... here.
3390 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3391 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3392 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3393 (_FP_MUL_MEAT_2_gmp): ... here.
3394 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3395 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3396 (_FP_MUL_MEAT_4_wide): ... here.
3397 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3398 (_FP_MUL_MEAT_4_gmp): ... here.
3399 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3400 (_FP_WFRACBITS_DW_S): Likewise.
3401 (_FP_WFRACXBITS_DW_S): Likewise.
3402 (_FP_HIGHBIT_DW_S): Likewise.
3403 (FP_FMA_S): Likewise.
3404 (_FP_FRAC_HIGH_DW_S): Likewise.
3405 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3406 (_FP_WFRACBITS_DW_D): Likewise.
3407 (_FP_WFRACXBITS_DW_D): Likewise.
3408 (_FP_HIGHBIT_DW_D): Likewise.
3409 (FP_FMA_D): Likewise.
3410 (_FP_FRAC_HIGH_DW_D): Likewise.
3411 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3412 (_FP_WFRACBITS_DW_E): Likewise.
3413 (_FP_WFRACXBITS_DW_E): Likewise.
3414 (_FP_HIGHBIT_DW_E): Likewise.
3415 (FP_FMA_E): Likewise.
3416 (_FP_FRAC_HIGH_DW_E): Likewise.
3417 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3418 (_FP_WFRACBITS_DW_Q): Likewise.
3419 (_FP_WFRACXBITS_DW_Q): Likewise.
3420 (_FP_HIGHBIT_DW_Q): Likewise.
3421 (FP_FMA_Q): Likewise.
3422 (_FP_FRAC_HIGH_DW_Q): Likewise.
3423 * soft-fp/fmasf4.c: New file.
3424 * soft-fp/fmadf4.c: Likewise.
3425 * soft-fp/fmatf4.c: Likewise.
3427 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3430 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3434 (index_Slow_SSE4_2): Likewise.
3435 (index_Prefer_PMINUB_for_stringop): Likewise.
3436 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3437 bit_Slow_SSE4_2 is set.
3438 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3439 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3441 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3443 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3444 rtld_global._dl_hwcap2.
3445 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3447 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3448 POWER8 feature descriptions defined in _dl_hwcap2.
3449 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3450 string handling for POWER8 feature bits.
3451 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3452 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3453 _dl_powerpc_cap_flags.
3454 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3455 * sysdeps/powerpc/rtld-global-offsets.sym
3456 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3457 _dl_hwcap2 in the rtld_global_ro structure.
3459 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3461 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3462 hardware capabilities in support of AT_HWCAP2.
3463 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3464 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3466 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3467 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3468 explicitly the unknown a_type display mechanism is used.
3469 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3470 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3472 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3473 to macro prototype for AT_HWCAP2 support.
3474 * sysdeps/i386/dl-procinfo.h: Likewise.
3475 * sysdeps/s390/dl-procinfo.h: Likewise.
3476 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3477 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3478 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3479 return -1 for unknown a_type display fallback.
3480 * sysdeps/sparc/dl-procinfo.h: Likewise.
3481 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3482 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3484 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3486 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3487 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3489 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3492 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3493 mprotect making __stack_prot writable.
3495 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3496 Joseph Myers <joseph@codesourcery.com>
3498 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3499 as being properly aligned.
3501 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3503 * dlfcn/modstatic5.c: New file.
3504 * dlfcn/tststatic5.c: New file.
3505 * dlfcn/Makefile (tests): Add tststatic5.
3506 (tests-static): Likewise.
3507 (modules-names): Add modstatic5.
3508 (tststatic5-ENV): New variable.
3509 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3512 * elf/dl-support.c (_dl_main_map): New variable.
3513 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3514 (_dl_nns, _dl_load_adds): Set to 1.
3515 (_dl_initial_searchlist): Refer to _dl_main_map.
3516 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3517 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3518 call to _dl_get_origin.
3519 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3521 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3522 * dlfcn/modstatic3.c: New file.
3523 * dlfcn/tststatic3.c: New file.
3524 * dlfcn/tststatic4.c: New file.
3525 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3526 (tests-static): Likewise.
3527 (modules-names): Add modstatic3.
3528 (tststatic3-ENV, tststatic4-ENV): New variables.
3529 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3530 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3532 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3534 * configure.in (CC): Require GCC version 4.4 or later.
3535 * configure: Regenerated.
3536 * manual/install.texi (Tools for Compilation): Update GCC version
3538 * INSTALL: Regenerated.
3540 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3543 * string/test-memcmp.c (check2): New.
3544 (main): Call check2.
3546 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3548 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3551 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3553 (dl_open_worker) [!SHARED]: ... here.
3555 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3557 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3559 2013-06-25 Richard Henderson <rth@redhat.com>
3561 * locale/programs/locarchive.c: Include <libc-internal.h>
3563 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3565 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3566 trailing whitespace removed.
3568 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3571 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3572 * locale/programs/locarchive.c: Include libc-mmap.h.
3573 (prepare_address_space): Take two new outputs (the mmap base and len).
3574 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3576 (create_archive): Declare new mmap base and len values for
3577 prepare_address_space, and store the result in ah.
3578 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3579 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3580 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3581 Declare new mmap base and len values for
3582 prepare_address_space, and store the result in new_ah.
3583 (open_archive): Declare new mmap base and len values for
3584 prepare_address_space, and store the result in ah.
3585 (close_archive): If ah->mmap_base is not NULL, use that and
3586 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3587 * sysdeps/generic/libc-mmap.h: New file.
3589 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3591 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3592 (ALIGN_UP): Likewise.
3593 (PTR_ALIGN_DOWN): Likewise.
3594 (PTR_ALIGN_UP): Likewise.
3596 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3598 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3599 entry mapped to PPC_PLATFORM_POWER8.
3600 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3602 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3603 (_dl_string_platform): Add case for exporting platform position for
3605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3606 search path to sysdeps/powerpc/powerpc32/power8 directory.
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3608 search path to sysdeps/powerpc/powerpc64/power8 directory.
3609 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3611 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3614 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3616 * INSTALL: Regenerate.
3618 * nscd/connections.c (nscd_init): Fix comment.
3620 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3622 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3625 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3626 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3628 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3630 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3632 (DL_DST_REQ_STATIC): Remove macro.
3634 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3637 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3638 with a shift of 0 bits.
3640 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3642 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3645 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3648 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3650 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3653 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3654 accepts -fno-tree-loop-distribute-patterns.
3655 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3656 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3658 * string/memset.c (memset): Likewise.
3659 * string/test-memmove.c (simple_memmove): Disable loop transformation
3661 * string/test-memset.c (simple_memset): Likewise.
3662 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3663 * benchtests/bench-memset.c (simple_memset): Likewise.
3664 * configure: Regenerated.
3666 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3668 * math/test-misc.c (main): Ignore fesetround failure when failures
3669 of subsequent rounding tests would be ignored.
3672 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3673 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3674 * math/fegetenv.c (__fegetenv): Return 0.
3675 * math/fegetexcept.c (fegetexcept): Return 0.
3676 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3678 * math/feholdexcpt.c (feholdexcept): Return 0.
3679 * math/fesetenv.c (__fesetenv): Return 0.
3680 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3681 argument FE_TONEAREST.
3682 * math/feupdateenv.c (__feupdateenv): Return 0.
3683 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3685 2013-06-18 Roland McGrath <roland@hack.frob.com>
3687 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3688 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3689 ($(objpfx)rtld-%.os rules): Use them.
3691 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3693 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3696 2013-06-17 Roland McGrath <roland@hack.frob.com>
3698 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3699 length of target pattern, then descending length of dependency pattern.
3700 * configure.in (AWK): Require gawk 3.1.2 or newer.
3701 * manual/install.texi (Tools for Compilation): Say that we do.
3702 * configure: Regenerated.
3704 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3705 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3706 * scripts/sysd-rules.awk: ... this new script.
3707 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3708 than a glob-style pattern.
3710 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3712 * math/test-misc.c (main): Do not treat incorrectly rounded
3713 conversions as failure unless ROUNDING_TESTS passes.
3715 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3718 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3719 restore exception state around main square root computation, then
3720 check for inexactness explicitly.
3722 * math/libm-test.inc (fma_test_data): Add another test.
3724 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3726 * manual/threads.texi (Non-POSIX Extensions): New document
3727 node. Document pthread_getattr_default_np and
3728 pthread_setattr_default_np.
3730 * Versions.def (libpthread): Add GLIBC_2.18.
3731 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3740 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3751 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3754 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3756 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3757 H.J. Lu <hjl.tools@gmail.com>
3760 * sysdeps/x86_64/rtld-memset.c: Remove file.
3761 * sysdeps/x86_64/rtld-memset.S: New file.
3763 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3765 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3766 (test_in_one_mode): Take arguments for whether the rounding mode
3767 is supported for each floating-point type.
3768 (do_test): Pass new arguments to test_in_one_mode using
3771 2013-06-13 Roland McGrath <roland@hack.frob.com>
3773 * posix/tst-waitid.c (do_test): Distinguish different instances of
3774 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3775 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3776 before entering the kernel for waitpid.
3778 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3780 * NEWS: Fix note on clock function precision. Text by Roland
3783 2013-06-13 Roland McGrath <roland@hack.frob.com>
3785 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3786 it into place only when and if the sanity check passes.
3788 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3790 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3791 output for whether conversion result is exact. Take argument
3792 indicating whether type is IBM long double.
3793 (round_for_all): Change need_exact field to ibm_ld.
3794 * stdlib/tst-strtod-round.c (struct exactness): New type.
3795 (struct test): Change bool ld_ok field to struct exactness exact.
3796 (TEST): Update all definitions for change to field.
3797 (tests): Regenerate array contents.
3798 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3799 field value. Check for IBM long double here.
3800 (do_test): Update calls to test_in_one_mode.
3802 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3805 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3806 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3808 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3812 generated by the compiler on loop optimizations.
3813 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3814 general definitions.
3816 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3818 * math/bug-nextafter.c: Include <math-tests.h>.
3819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3821 * math/bug-nexttoward.c: Include <math-tests.h>.
3822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3824 * math/test-misc.c: Include <math-tests.h>.
3825 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3828 2013-06-12 Andreas Jaeger <aj@suse.de>
3830 * po/ia.po: Update Interlingua translation from translation
3833 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3835 * include/fenv.h: Include stdbool.h.
3836 (struct rm_ctx): New structure.
3837 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3839 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3840 (SET_RESTORE_ROUNDF): Likewise.
3841 (SET_RESTORE_ROUNDL): Likewise.
3842 (SET_RESTORE_ROUND_NOEX): Likewise.
3843 (SET_RESTORE_ROUND_NOEXF): Likewise.
3844 (SET_RESTORE_ROUND_NOEXL): Likewise.
3845 (SET_RESTORE_ROUND_53BIT): Likewise.
3846 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3847 (libc_feresetround_noexf_ctx): Likewise.
3848 (libc_feresetround_noexl_ctx): Likewise.
3849 (libc_feholdsetround_53bit_ctx): Likewise.
3850 (libc_feresetround_53bit_ctx): Likewise.
3851 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3852 (libc_feholdexcept_setround_sse_ctx): New function.
3853 (libc_fesetenv_sse_ctx): Likewise.
3854 (libc_feupdateenv_sse_ctx): Likewise.
3855 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3856 (libc_feholdexcept_setround_387_ctx): Likewise.
3857 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3858 (libc_feholdsetround_387_prec_ctx): Likewise.
3859 (libc_feholdsetround_387_ctx): Likewise.
3860 (libc_feholdsetround_387_53bit_ctx): Likewise.
3861 (libc_feholdsetround_sse_ctx): Likewise.
3862 (libc_feresetround_sse_ctx): Likewise.
3863 (libc_feresetround_387_ctx): Likewise.
3864 (libc_feupdateenv_387_ctx): Likewise.
3865 (libc_feholdexcept_setroundf_ctx): Define macro.
3866 (libc_fesetenvf_ctx): Likewise.
3867 (libc_feupdateenvf_ctx): Likewise.
3868 (libc_feholdsetroundf_ctx): Likewise.
3869 (libc_feresetroundf_ctx): Likewise.
3870 (libc_feholdexcept_setround_ctx): Likewise.
3871 (libc_fesetenv_ctx): Likewise.
3872 (libc_feupdateenv_ctx): Likewise.
3873 (libc_feholdsetround_ctx): Likewise.
3874 (libc_feresetround_ctx): Likewise.
3875 (libc_feholdexcept_setroundl_ctx): Likewise.
3876 (libc_feupdateenvl_ctx): Likewise.
3877 (libc_feholdsetroundl_ctx): Likewise.
3878 (libc_feresetroundl_ctx): Likewise.
3879 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3880 (libc_feresetround_53bit_ctx): Likewise.
3882 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 * locale/iso-639.def: Convert to UTF-8.
3886 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3888 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3889 (EXCEPTION_TESTS_double): Likewise.
3890 (EXCEPTION_TESTS_long_double): Likewise.
3891 (EXCEPTION_TESTS): Likewise.
3892 * math/libm-test.inc (test_exceptions): Only test exceptions if
3893 EXCEPTION_TESTS (FLOAT).
3895 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3897 * benchtests/Makefile (string-bench): Add strcpy_chk and
3899 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3900 * benchtests/bench-stpcpy_chk.c: New file.
3901 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3902 * benchtests/bench-strcpy_chk.c: New file.
3903 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3905 (do_test): Likewise.
3907 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3909 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3910 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3911 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3912 with tabs where appropriate.
3913 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3915 [PPC_PLATFORM_PPC440]: Likewise.
3916 [PPC_PLATFORM_PPC464]: Likewise.
3917 [PPC_PLATFORM_PPC476]: Likewise.
3918 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3919 ppc464, and ppc476 platform strings merging from ports/
3922 2013-06-11 Andreas Schwab <schwab@suse.de>
3925 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3926 (from_ucs4_idx): Regenerate.
3927 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3928 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3929 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3930 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3931 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3932 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3933 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3934 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3935 from FROM_LOOP and TO_LOOP specific macros.
3936 (BODY): Handle combining characters.
3937 * iconvdata/BIG5HKSCS.irreversible: Update.
3938 * iconvdata/BIG5HKSCS.precomposed: New file.
3939 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3941 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3943 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3945 * include/sys/time.h: Fix indentation and add copyright header.
3947 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3948 (do_test): Likewise.
3949 * string/test-memchr.c (do_one_test): Likewise.
3950 (do_test): Likewise.
3951 * string/test-memcmp.c (do_one_test): Likewise.
3952 (do_test): Likewise.
3953 * string/test-memcpy.c (do_one_test): Likewise.
3954 (do_test): Likewise.
3955 * string/test-memmem.c (do_one_test): Likewise.
3956 (do_test): Likewise.
3957 (do_random_tests): Likewise.
3958 * string/test-memmove.c (do_one_test): Likewise.
3959 (do_test): Likewise.
3960 * string/test-memset.c (do_one_test): Likewise.
3961 (do_test): Likewise.
3962 * string/test-rawmemchr.c (do_one_test): Likewise.
3963 (do_test): Likewise.
3964 * string/test-strcasecmp.c (do_one_test): Likewise.
3965 (do_test): Likewise.
3966 * string/test-strcasestr.c (do_one_test): Likewise.
3967 (do_test): Likewise.
3968 * string/test-strcat.c (do_one_test): Likewise.
3969 (do_test): Likewise.
3970 * string/test-strchr.c (do_one_test): Likewise.
3971 (do_test): Likewise.
3972 * string/test-strcmp.c (do_one_test): Likewise.
3973 (do_test): Likewise.
3974 * string/test-strcpy.c (do_one_test): Likewise.
3975 (do_test): Likewise.
3976 * string/test-string.h: Likewise.
3977 (test_init): Likewise.
3978 * string/test-strlen.c (do_one_test): Likewise.
3979 (do_test): Likewise.
3980 * string/test-strncasecmp.c (do_one_test): Likewise.
3981 (do_test): Likewise.
3982 * string/test-strncat.c (do_one_test): Likewise.
3983 (do_test): Likewise.
3984 * string/test-strncmp.c (do_one_test): Likewise.
3985 (do_test_limit): Likewise.
3986 (do_test): Likewise.
3987 * string/test-strncpy.c (do_one_test): Likewise.
3988 (do_test): Likewise.
3989 * string/test-strnlen.c (do_one_test): Likewise.
3990 (do_test): Likewise.
3991 * string/test-strpbrk.c (do_one_test): Likewise.
3992 (do_test): Likewise.
3993 * string/test-strrchr.c (do_one_test): Likewise.
3994 (do_test): Likewise.
3995 * string/test-strspn.c (do_one_test): Likewise.
3996 (do_test): Likewise.
3997 * string/test-strstr.c (do_one_test): Likewise.
3998 (do_test): Likewise.
4000 * benchtests/Makefile (string-bench): Add string benchmarks.
4001 * benchtests/bench-bcopy-ifunc.c: New file.
4002 * benchtests/bench-bcopy.c: New file.
4003 * benchtests/bench-bzero-ifunc.c: New file.
4004 * benchtests/bench-bzero.c: New file.
4005 * benchtests/bench-memccpy-ifunc.c: New file.
4006 * benchtests/bench-memccpy.c: New file.
4007 * benchtests/bench-memchr-ifunc.c: New file.
4008 * benchtests/bench-memchr.c: New file.
4009 * benchtests/bench-memcmp-ifunc.c: New file.
4010 * benchtests/bench-memcmp.c: New file.
4011 * benchtests/bench-memmem-ifunc.c: New file.
4012 * benchtests/bench-memmem.c: New file.
4013 * benchtests/bench-memmove-ifunc.c: New file.
4014 * benchtests/bench-memmove.c: New file.
4015 * benchtests/bench-mempcpy-ifunc.c: New file.
4016 * benchtests/bench-mempcpy.c: New file.
4017 * benchtests/bench-memset-ifunc.c: New file.
4018 * benchtests/bench-memset.c: New file.
4019 * benchtests/bench-rawmemchr-ifunc.c: New file.
4020 * benchtests/bench-rawmemchr.c: New file.
4021 * benchtests/bench-stpcpy-ifunc.c: New file.
4022 * benchtests/bench-stpcpy.c: New file.
4023 * benchtests/bench-stpncpy-ifunc.c: New file.
4024 * benchtests/bench-stpncpy.c: New file.
4025 * benchtests/bench-strcasecmp-ifunc.c: New file.
4026 * benchtests/bench-strcasecmp.c: New file.
4027 * benchtests/bench-strcasestr-ifunc.c: New file.
4028 * benchtests/bench-strcasestr.c: New file.
4029 * benchtests/bench-strcat-ifunc.c: New file.
4030 * benchtests/bench-strcat.c: New file.
4031 * benchtests/bench-strchr-ifunc.c: New file.
4032 * benchtests/bench-strchr.c: New file.
4033 * benchtests/bench-strchrnul-ifunc.c: New file.
4034 * benchtests/bench-strchrnul.c: New file.
4035 * benchtests/bench-strcmp-ifunc.c: New file.
4036 * benchtests/bench-strcmp.c: New file.
4037 * benchtests/bench-strcpy-ifunc.c: New file.
4038 * benchtests/bench-strcpy.c: New file.
4039 * benchtests/bench-strcspn-ifunc.c: New file.
4040 * benchtests/bench-strcspn.c: New file.
4041 * benchtests/bench-strlen-ifunc.c: New file.
4042 * benchtests/bench-strlen.c: New file.
4043 * benchtests/bench-strncasecmp-ifunc.c: New file.
4044 * benchtests/bench-strncasecmp.c: New file.
4045 * benchtests/bench-strncat-ifunc.c: New file.
4046 * benchtests/bench-strncat.c: New file.
4047 * benchtests/bench-strncmp-ifunc.c: New file.
4048 * benchtests/bench-strncmp.c: New file.
4049 * benchtests/bench-strncpy-ifunc.c: New file.
4050 * benchtests/bench-strncpy.c: New file.
4051 * benchtests/bench-strnlen-ifunc.c: New file.
4052 * benchtests/bench-strnlen.c: New file.
4053 * benchtests/bench-strpbrk-ifunc.c: New file.
4054 * benchtests/bench-strpbrk.c: New file.
4055 * benchtests/bench-strrchr-ifunc.c: New file.
4056 * benchtests/bench-strrchr.c: New file.
4057 * benchtests/bench-strspn-ifunc.c: New file.
4058 * benchtests/bench-strspn.c: New file.
4059 * benchtests/bench-strstr-ifunc.c: New file.
4060 * benchtests/bench-strstr.c: New file.
4062 * benchtests/Makefile: Disable parallel execution of targets.
4063 (string-bench): Add memcpy.
4064 (benchset): New variable to store a list of benchmark sets.
4065 (bench-func): Renamed from bench.
4066 (bench-set): New target.
4067 (bench): Depend on bench-func and bench-set.
4068 * benchtests/README: Add section on benchmark sets.
4069 * benchtests/bench-memcpy-ifunc.c: New file.
4070 * benchtests/bench-memcpy.c: New file.
4071 * benchtests/bench-string.h: New file.
4073 2013-06-11 Andreas Schwab <schwab@suse.de>
4076 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4077 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4078 values in the triple.
4079 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4080 terminator in the group key.
4082 2013-06-11 Andreas Jaeger <aj@suse.de>
4084 * po/zh_TW.po: Update Chinese (traditional) translation from
4085 translation project.
4087 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4089 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4090 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4091 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4092 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4093 (clock_getcpuclockid): Likewise.
4094 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4095 Add weak_alias and libc_hidden_def.
4096 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4097 * rt/clock_gettime.c (clock_gettime): Rename to
4098 __clock_gettime. Add weak_alias and libc_hidden_def.
4099 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4100 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4101 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4102 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4103 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4105 * rt/clock_settime.c (clock_settime): Rename to
4106 __clock_settime. Add weak_alias and libc_hidden_def.
4107 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4109 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4111 * mach/err_boot.sub: Remove trailing whitespace.
4112 * mach/err_ipc.sub: Likewise.
4113 * mach/err_mach.sub: Likewise.
4115 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4116 (ROUNDING_TESTS_double): Likewise.
4117 (ROUNDING_TESTS_long_double): Likewise.
4118 (ROUNDING_TESTS): Likewise.
4119 * math/libm-test.inc: Include <math-tests.h>.
4120 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4121 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4122 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4123 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4125 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4127 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4130 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4132 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4133 otherwise empty TRANS lines.
4134 * sysdeps/gnu/errlist.c: Regenerated.
4136 * catgets/gencat.c (error_print): Use (void) in function
4138 * crypt/crypt_util.c (__init_des): Likewise.
4139 * crypt/speeds.c (Stop): Likewise.
4141 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4142 * inet/ruserpass.c (token): Likewise.
4143 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4144 * intl/localealias.c (extend_alias_table): Likewise.
4145 * intl/plural-exp.c (init_germanic_plural): Likewise.
4146 * libio/fcloseall.c (__fcloseall): Likewise.
4147 * libio/genops.c (_IO_flush_all): Likewise.
4148 (_IO_flush_all_linebuffered): Likewise.
4149 (_IO_cleanup): Likewise.
4150 (_IO_iter_begin): Likewise.
4151 (_IO_iter_end): Likewise.
4152 (_IO_list_lock): Likewise.
4153 (_IO_list_unlock): Likewise.
4154 (_IO_list_resetlock): Likewise.
4155 * libio/getchar.c (getchar): Likewise.
4156 * libio/getchar_u.c (getchar_unlocked): Likewise.
4157 * libio/getwchar.c (getwchar): Likewise.
4158 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4159 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4160 * login/getpt.c (__getpt): Likewise.
4161 * login/tst-utmp.c (main): Likewise.
4162 * malloc/hooks.c (__malloc_check_init): Likewise.
4163 * malloc/malloc.c (__malloc_stats): Likewise.
4164 * malloc/mtrace.c (tr_break): Likewise.
4166 (muntrace): Likewise.
4167 * misc/fstab.c (endfsent): Likewise.
4168 * misc/getclktck.c (__getclktck): Likewise.
4169 * misc/getdtsz.c (__getdtablesize): Likewise.
4170 * misc/gethostid.c (gethostid): Likewise.
4171 * misc/getpagesize.c (__getpagesize): Likewise.
4172 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4173 (__get_nprocs): Likewise.
4174 (__get_phys_pages): Likewise.
4175 (__get_avphys_pages): Likewise.
4176 * misc/getttyent.c (getttyent): Likewise.
4177 (setttyent): Likewise.
4178 (endttyent): Likewise.
4179 * misc/getusershell.c (getusershell): Likewise.
4180 (endusershell): Likewise.
4181 (setusershell): Likewise.
4182 (initshells): Likewise.
4183 * misc/hsearch.c (__hdestroy): Likewise.
4184 * misc/sync.c (sync): Likewise.
4185 * misc/syslog.c (closelog_internal): Likewise.
4186 (closelog): Likewise.
4187 * misc/ttyslot.c (ttyslot): Likewise.
4188 * misc/vhangup.c (vhangup): Likewise.
4189 * posix/fork.c (__fork): Likewise.
4190 * posix/getegid.c (__getegid): Likewise.
4191 * posix/geteuid.c (__geteuid): Likewise.
4192 * posix/getgid.c (__getgid): Likewise.
4193 * posix/getpid.c (__getpid): Likewise.
4194 * posix/getppid.c (__getppid): Likewise.
4195 * posix/getuid.c (__getuid): Likewise.
4196 * posix/pause.c (pause): Likewise.
4197 * posix/setpgrp.c (setpgrp): Likewise.
4198 * posix/setsid.c (__setsid): Likewise.
4199 * posix/test-vfork.c (noop): Likewise.
4200 * resolv/gethnamaddr.c (_endhtent): Likewise.
4201 (_gethtent): Likewise.
4202 (ht_endhostent): Likewise.
4203 (gethostent): Likewise.
4204 (dns_service): Likewise.
4205 * stdlib/drand48.c (drand48): Likewise.
4206 * stdlib/lrand48.c (lrand48): Likewise.
4207 * stdlib/mrand48.c (mrand48): Likewise.
4208 * stdlib/rand.c (rand): Likewise.
4209 * stdlib/random.c (__random): Likewise.
4210 * stdlib/setenv.c (clearenv): Likewise.
4211 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4212 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4213 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4214 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4215 (__get_nprocs): Likewise.
4216 (__get_phys_pages): Likewise.
4217 (__get_avphys_pages): Likewise.
4218 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4219 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4220 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4221 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4222 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4223 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4224 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4225 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4226 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4227 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4228 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4229 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4230 * sysdeps/posix/clock.c (clock): Likewise.
4231 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4232 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4233 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4234 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4235 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4237 (__get_nprocs_conf): Likewise.
4238 (__get_phys_pages): Likewise.
4239 (__get_avphys_pages): Likewise.
4240 * time/clock.c (clock): Likewise.
4241 * time/tzset.c (__tzname_max): Likewise.
4243 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4245 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4246 (__bswap_32): Do not use "register".
4247 * crypt/crypt.c (_ufc_doit_r): Likewise.
4248 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4249 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4250 * gmon/gmon.c (__monstartup): Likewise.
4251 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4252 * hurd/hurdmalloc.c (more_memory): Likewise.
4255 (realloc): Likewise.
4256 (malloc_fork_prepare): Likewise.
4257 (malloc_fork_parent): Likewise.
4258 (malloc_fork_child): Likewise.
4259 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4260 (_svcauth_des): Likewise.
4261 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4262 * inet/inet_net.c (inet_network): Likewise.
4263 * inet/inet_netof.c (inet_netof): Likewise.
4264 * inet/rcmd.c (__validuser2_sa): Likewise.
4265 * io/fts.c (fts_open): Likewise.
4266 (fts_load): Likewise.
4267 (fts_close): Likewise.
4268 (fts_read): Likewise.
4269 (fts_children): Likewise.
4270 (fts_build): Likewise.
4271 (fts_stat): Likewise.
4272 (fts_sort): Likewise.
4273 (fts_alloc): Likewise.
4274 (fts_lfree): Likewise.
4275 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4276 (_IO_file_xsgetn): Likewise.
4277 (_IO_file_xsgetn_mmap): Likewise.
4278 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4279 (_IO_cookie_write): Likewise.
4280 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4281 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4282 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4283 * malloc/obstack.c (_obstack_begin): Likewise.
4284 (_obstack_begin_1): Likewise.
4285 (_obstack_newchunk): Likewise.
4286 (_obstack_allocated_p): Likewise.
4287 (obstack_free): Likewise.
4288 (_obstack_memory_used): Likewise.
4289 * misc/getttyent.c (getttynam): Likewise.
4290 (getttyent): Likewise.
4293 * misc/getusershell.c (initshells): Likewise.
4294 * misc/syslog.c (__vsyslog_chk): Likewise.
4295 * misc/ttyslot.c (ttyslot): Likewise.
4296 * nis/nis_hash.c (__nis_hash): Likewise.
4297 * posix/fnmatch_loop.c (FCT): Likewise.
4298 * posix/getconf.c (print_all): Likewise.
4300 * posix/getopt.c (exchange): Likewise.
4301 * posix/glob.c (globfree): Likewise.
4302 (prefix_array): Likewise.
4303 (__glob_pattern_type): Likewise.
4304 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4305 (NS_GET32): Likewise.
4306 (NS_PUT16): Likewise.
4307 (NS_PUT32): Likewise.
4308 * resolv/gethnamaddr.c (getanswer): Likewise.
4309 (gethostbyname2): Likewise.
4310 (gethostbyaddr): Likewise.
4311 (_gethtent): Likewise.
4312 (_gethtbyname2): Likewise.
4313 (_gethtbyaddr): Likewise.
4314 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4315 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4316 * resolv/res_init.c (__res_vinit): Likewise.
4317 (net_mask): Likewise.
4318 * resolv/res_mkquery.c (outchar): Likewise.
4320 * stdio-common/printf_fp.c (outchar): Likewise.
4322 * stdio-common/printf_fphex.c (outchar): Likewise.
4324 * stdio-common/printf_size.c (outchar): Likewise.
4326 * stdio-common/test_rdwr.c (main): Likewise.
4327 * stdio-common/tfformat.c (matches): Likewise.
4328 * stdio-common/vfprintf.c (outchar): Likewise.
4329 (printf_unknown): Likewise.
4330 (buffered_vfprintf): Likewise.
4331 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4332 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4333 (ReadFile): Likewise.
4334 * stdlib/qsort.c (SWAP): Likewise.
4335 (_quicksort): Likewise.
4336 * stdlib/setenv.c (__add_to_environ): Likewise.
4337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4338 * stdlib/strtol_l.c (__strtol_l): Likewise.
4339 * stdlib/tst-strtod.c (main): Likewise.
4340 * stdlib/tst-strtol.c (main): Likewise.
4341 * stdlib/tst-strtoll.c (main): Likewise.
4342 * string/bits/string2.h (__strcmp_cc): Likewise.
4343 (__strcmp_cg): Likewise.
4344 (__strcspn_c1): Likewise.
4345 (__strcspn_c2): Likewise.
4346 (__strcspn_c3): Likewise.
4347 (__strspn_c1): Likewise.
4348 (__strspn_c2): Likewise.
4349 (__strspn_c3): Likewise.
4350 (__strsep_1c): Likewise.
4351 (__strsep_2c): Likewise.
4352 (__strsep_3c): Likewise.
4353 * string/memccpy.c (__memccpy): Likewise.
4354 * string/stpcpy.c (__stpcpy): Likewise.
4355 * string/strcmp.c (strcmp): Likewise.
4356 * string/strrchr.c (strrchr): Likewise.
4357 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4359 * sysdeps/mach/hurd/getcwd.c
4360 (_hurd_canonicalize_directory_name_internal): Likewise.
4361 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4362 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4363 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4364 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4365 Likewise, in both definitions.
4366 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4368 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4369 64] (__bswap_64): Likewise.
4370 * time/test_time.c (main): Likewise.
4371 * time/tzfile.c (__tzfile_read): Likewise.
4372 (__tzfile_compute): Likewise.
4373 * time/tzset.c (__tzset_parse_tz): Likewise.
4374 (tzset_internal): Likewise.
4375 (compute_change): Likewise.
4376 * wcsmbs/wcscat.c (__wcscat): Likewise.
4377 * wcsmbs/wcschr.c (wcschr): Likewise.
4378 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4379 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4380 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4381 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4382 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4383 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4384 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4385 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4386 * wcsmbs/wmemset.c (wmemset): Likewise.
4388 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4390 * scripts/config.guess: Update to version 2013-05-16.
4391 * scripts/config.sub: Update to version 2013-04-24.
4392 * scripts/install-sh: Update to version 2011-11-20.07.
4393 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4394 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4396 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4398 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4399 * elf/sln.c: Likewise.
4400 * hurd/hurd/ioctl.h: Likewise.
4401 * hurd/hurdmalloc.c: Likewise.
4402 * hurd/xattr.c: Likewise.
4403 * include/shlib-compat.h: Likewise.
4404 * inet/ruserpass.c: Likewise.
4405 * libio/iofgets_u.c: Likewise.
4406 * libio/iofgetws_u.c: Likewise.
4407 * locale/programs/ld-identification.c: Likewise.
4408 * locale/programs/ld-time.c: Likewise.
4409 * mach/msg-destroy.c: Likewise.
4410 * nss/nss_files/files-netgrp.c: Likewise.
4411 * resolv/res_data.c: Likewise.
4412 * soft-fp/op-1.h: Likewise.
4413 * soft-fp/op-2.h: Likewise.
4414 * soft-fp/op-4.h: Likewise.
4415 * soft-fp/op-common.h: Likewise.
4416 * stdio-common/printf_fphex.c: Likewise.
4417 * stdlib/strtod_l.c: Likewise.
4418 * sunrpc/rpc/clnt.h: Likewise.
4419 * sysdeps/generic/framestate.c: Likewise.
4420 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4421 * sysdeps/i386/bsd-setjmp.S: Likewise.
4422 * sysdeps/i386/__longjmp.S: Likewise.
4423 * sysdeps/i386/setjmp.S: Likewise.
4424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4425 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4440 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4442 * sysdeps/ieee754/support.c: Likewise.
4443 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4444 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4445 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4446 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4447 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4448 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4449 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4450 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4451 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4452 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4453 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4454 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4455 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4456 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4457 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4458 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4459 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4462 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4464 * posix/transbug.c: Remove executable mode.
4466 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4468 * crypt/speeds.c: Remove trailing whitespace.
4469 * dlfcn/default.c: Likewise.
4470 * elf/ifuncdep2.c: Likewise.
4471 * elf/ifuncmain1.c: Likewise.
4472 * elf/ifuncmain1vis.c: Likewise.
4473 * elf/testobj.h: Likewise.
4474 * elf/tst-stackguard1.c: Likewise.
4475 * gmon/sys/gmon.h: Likewise.
4476 * hurd/hurdmsg.c: Likewise.
4477 * hurd/new-fd.c: Likewise.
4478 * hurd/ports-get.c: Likewise.
4479 * iconvdata/ibm1008_420.c: Likewise.
4480 * inet/tst-getni1.c: Likewise.
4481 * inet/tst-getni2.c: Likewise.
4482 * libio/ioungetc.c: Likewise.
4483 * libio/wfiledoalloc.c: Likewise.
4484 * manual/libm-err-tab.pl: Likewise.
4485 * math/w_dremf.c: Likewise.
4486 * misc/ftruncate.c: Likewise.
4487 * posix/bug-glob2.c: Likewise.
4488 * posix/tst-pcre.c: Likewise.
4489 * posix/wait4.c: Likewise.
4490 * resolv/README: Likewise.
4491 * resolv/res_debug.h: Likewise.
4492 * resolv/tst-inet_ntop.c: Likewise.
4493 * setjmp/bug269-setjmp.c: Likewise.
4494 * soft-fp/extended.h: Likewise.
4495 * soft-fp/op-1.h: Likewise.
4496 * soft-fp/op-2.h: Likewise.
4497 * soft-fp/op-4.h: Likewise.
4498 * soft-fp/op-8.h: Likewise.
4499 * soft-fp/testit.c: Likewise.
4500 * stdio-common/bug16.c: Likewise.
4501 * stdlib/random.c: Likewise.
4502 * sunrpc/rpcsvc/rquota.x: Likewise.
4503 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4504 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4506 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4507 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4512 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4513 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4532 * sysdeps/ieee754/s_lib_version.c: Likewise.
4533 * sysdeps/mach/hurd/check_fds.c: Likewise.
4534 * sysdeps/mach/hurd/getsockname.c: Likewise.
4535 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4536 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4537 * sysdeps/powerpc/bits/link.h: Likewise.
4538 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4539 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4540 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4541 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4542 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4543 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4544 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4545 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4546 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4548 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4553 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4560 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4566 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4567 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4568 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4569 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4570 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4571 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4572 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4573 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4574 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4576 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4579 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4580 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4581 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4583 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4585 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4586 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4587 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4588 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4591 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4592 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4593 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4594 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4595 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4596 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4597 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4598 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4599 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4600 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4601 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4602 * sysdeps/powerpc/sysdep.h: Likewise.
4603 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4604 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4605 * sysdeps/sh/dl-trampoline.S: Likewise.
4606 * sysdeps/sh/memset.S: Likewise.
4607 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4608 * sysdeps/sh/strlen.S: Likewise.
4609 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4610 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4611 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4612 * sysdeps/sparc/sparc32/rem.S: Likewise.
4613 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4614 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4615 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4616 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4617 * sysdeps/sparc/sparc32/urem.S: Likewise.
4618 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4619 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4620 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4621 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4622 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4623 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4624 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4625 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4626 * sysdeps/unix/bsd/times.c: Likewise.
4627 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4628 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4632 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4633 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4635 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4636 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4637 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4638 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4639 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4642 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4645 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4646 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4647 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4648 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4649 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4651 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4652 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4655 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4656 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4657 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4658 * sysdeps/x86_64/strcspn.S: Likewise.
4660 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4662 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4663 generated file. Regenerate properly from gen-translit.pl.
4664 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4665 locale/C-translit.h.
4667 2013-06-05 Andreas Schwab <schwab@suse.de>
4670 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4671 week as 6 instead of -1.
4672 * time/tst-strptime.c (day_tests): Add test case.
4674 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4676 * sysdeps/generic/math_private.h
4677 (libc_feholdexcept_setround_53bit): Replace with
4678 libc_feholdsetround_53bit.
4679 (libc_feupdateenv_53bit): Replace with
4680 libc_feresetround_53bit.
4681 (SET_RESTORE_ROUND_53BIT): Adjust.
4683 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4685 * string/test-strchrnul.c: Add copyright header.
4687 * posix/tst-getaddrinfo4.c: Increase test timeout.
4689 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4692 * math/libm-test.inc (MAX_EXP): Remove
4694 (ulp): Use MIN_EXP - MANT_DIG.
4695 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4697 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4699 * po/be.po: Revert last change.
4700 * po/zh_CN.po: Likewise.
4701 * po/header.pot: Likewise.
4703 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4705 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4706 link-libc-deps to empty as target-specific variable.
4707 * Makerules (link-libc-args): New variable.
4708 (libc-for-link): Likewise.
4709 (link-libc-deps): Likewise.
4710 (lib%.so): Depend on $(link-libc-deps). Link with
4712 (build-module): Link with $(link-libc-args).
4713 (build-module-asneeded): Likewise.
4714 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4716 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4717 target-specific variable.
4718 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4719 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4720 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4722 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4724 ($(objpfx)libpcprofile.so): Likewise.
4725 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4727 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4728 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4729 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4731 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4732 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4733 * login/Makefile ($(objpfx)libutil.so): Likewise.
4734 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4735 * math/Makefile ($(objpfx)libm.so): Likewise.
4736 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4737 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4738 variable instead of depending directly on libc.
4739 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4740 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4742 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4744 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4745 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4746 ($(objpfx)libanl.so): Likewise.
4747 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4749 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4751 * sysdeps/i386/fpu/Makefile: Remove file.
4752 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4753 ($(objpfx)libm.so): Remove dependency on ld.so.
4755 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4758 * nis/yp_xdr.c (XDRMAXNAME): Define.
4759 (XDRMAXRECORD): Define.
4760 (xdr_domainname): Use XDRMAXNAME.
4761 (xdr_mapname): Likewise.
4762 (xdr_peername): Likewise.
4763 (xdr_keydat): Use XDRMAXRECORD.
4764 (xdr_valdat): Likewise.
4766 2013-05-30 Jeff Law <law@redhat.com>
4769 * manual/errno.texi (ESTALE): Update to account for more than
4770 just NFS file systems.
4771 * sysdeps/gnu/errlist.c: Regenerated.
4773 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4776 * elf/Makefile (tests): Add tst-null-argv.
4777 (modules-names): Add tst-null-argv-lib.
4778 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4779 (tst-null-argv-ENV): Set environment for tst-null-argv.
4780 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4781 (RTLD_PROGNAME): New macro.
4782 * elf/tst-null-argv.c: New test case.
4783 * elf/tst-null-argv-lib.c: Library for test case.
4784 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4785 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4786 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4787 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4788 * elf/dl-init.c (call_init): Likewise.
4789 (_dl_init): Likewise.
4790 * elf/dl-load.c (print_search_path): Likewise.
4791 (_dl_map_object): Likewise.
4792 * elf/dl-lookup.c (do_lookup_x): Likewise.
4793 (add_dependency): Likewise.
4794 (_dl_lookup_symbol_x): Likewise.
4795 (_dl_debug_bindings): Likewise.
4796 * elf/dl-open.c (_dl_show_scope): Likewise.
4797 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4798 * elf/dl-version.c (match_symbol): Likewise.
4799 (_dl_check_map_versions): Likewise.
4800 * elf/rtld.c (dl_main): Likewise.
4801 (print_unresolved): Use RTLD_PROGNAME.
4802 (print_missing_version): Likewise.
4803 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4804 (elf_machine_rela): Likewise.
4805 * sysdeps/powerpc/powerpc32/dl-machine.c
4806 (__process_machine_rela): Likewise.
4807 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4809 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4811 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4813 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4814 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4816 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4820 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4822 * po/be.po: Add descriptive title.
4823 * po/zh_CN.po: Likewise.
4824 * po/header.pot: Likewise.
4826 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4828 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4830 (enlarge_archive): Likewise.
4832 2013-05-28 Ben North <ben@redfrontdoor.org>
4834 * manual/arith.texi (frexp): It is the magnitude of the return
4835 value which lies in [0.5, 1), not the return value itself.
4837 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4841 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4843 * stdio-common/bug26.c (main): Correct fscanf template.
4845 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4846 declare _dl_skip_args.
4848 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4851 * manual/platform.texi: Add missing @end deftypefun.
4853 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4856 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4857 bit of mantissa of 2^16382.
4858 * math/libm-test.inc (hypot_test_data): Add more tests.
4860 * math/libm-test.inc: Add drem and pow10 to list of tested
4862 (pow10_test): New function.
4863 (drem_test): Likewise.
4864 (drem_test_tonearest): Likewise.
4865 (drem_test_towardzero): Likewise.
4866 (drem_test_downward): Likewise.
4867 (drem_test_upward): Likewise.
4868 (main): Call the new functions.
4870 * math/libm-test.inc (finite_test_data): Remove.
4871 (finite_test): Run tests from isfinite_test_data.
4872 (gamma_test_data): Remove.
4873 (gamma_test): Run tests from lgamma_test_data.
4874 * sysdeps/i386/fpu/libm-test-ulps: Update.
4875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4877 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4879 * manual/platform.texi: Add PowerPC PPR function set documentation.
4880 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4883 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4885 * math/libm-test.inc (MAX_EXP): Define.
4887 (ulp): New function.
4888 (check_float_internal): Use ULPDIFF.
4889 (cpow_test): Disable failing test.
4890 (check_ulp): Test ulp() implemetnation.
4891 (main): Call check_ulp before starting tests.
4893 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4895 * math/gen-libm-test.pl (generate_testfile): Do not handle
4896 START_DATA and END_DATA.
4897 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4899 (acos_tonearest_test_data): Likewise.
4900 (acos_towardzero_test_data): Likewise.
4901 (acos_downward_test_data): Likewise.
4902 (acos_upward_test_data): Likewise.
4903 (acosh_test_data): Likewise.
4904 (asin_test_data): Likewise.
4905 (asin_tonearest_test_data): Likewise.
4906 (asin_towardzero_test_data): Likewise.
4907 (asin_downward_test_data): Likewise.
4908 (asin_upward_test_data): Likewise.
4909 (asinh_test_data): Likewise.
4910 (atan_test_data): Likewise.
4911 (atanh_test_data): Likewise.
4912 (atan2_test_data): Likewise.
4913 (cabs_test_data): Likewise.
4914 (cacos_test_data): Likewise.
4915 (cacosh_test_data): Likewise.
4916 (carg_test_data): Likewise.
4917 (casin_test_data): Likewise.
4918 (casinh_test_data): Likewise.
4919 (catan_test_data): Likewise.
4920 (catanh_test_data): Likewise.
4921 (cbrt_test_data): Likewise.
4922 (ccos_test_data): Likewise.
4923 (ccosh_test_data): Likewise.
4924 (ceil_test_data): Likewise.
4925 (cexp_test_data): Likewise.
4926 (cimag_test_data): Likewise.
4927 (clog_test_data): Likewise.
4928 (clog10_test_data): Likewise.
4929 (conj_test_data): Likewise.
4930 (copysign_test_data): Likewise.
4931 (cos_test_data): Likewise.
4932 (cos_tonearest_test_data): Likewise.
4933 (cos_towardzero_test_data): Likewise.
4934 (cos_downward_test_data): Likewise.
4935 (cos_upward_test_data): Likewise.
4936 (cosh_test_data): Likewise.
4937 (cosh_tonearest_test_data): Likewise.
4938 (cosh_towardzero_test_data): Likewise.
4939 (cosh_downward_test_data): Likewise.
4940 (cosh_upward_test_data): Likewise.
4941 (cpow_test_data): Likewise.
4942 (cproj_test_data): Likewise.
4943 (creal_test_data): Likewise.
4944 (csin_test_data): Likewise.
4945 (csinh_test_data): Likewise.
4946 (csqrt_test_data): Likewise.
4947 (ctan_test_data): Likewise.
4948 (ctan_tonearest_test_data): Likewise.
4949 (ctan_towardzero_test_data): Likewise.
4950 (ctan_downward_test_data): Likewise.
4951 (ctan_upward_test_data): Likewise.
4952 (ctanh_test_data): Likewise.
4953 (ctanh_tonearest_test_data): Likewise.
4954 (ctanh_towardzero_test_data): Likewise.
4955 (ctanh_downward_test_data): Likewise.
4956 (ctanh_upward_test_data): Likewise.
4957 (erf_test_data): Likewise.
4958 (erfc_test_data): Likewise.
4959 (exp_test_data): Likewise.
4960 (exp_tonearest_test_data): Likewise.
4961 (exp_towardzero_test_data): Likewise.
4962 (exp_downward_test_data): Likewise.
4963 (exp_upward_test_data): Likewise.
4964 (exp10_test_data): Likewise.
4965 (exp2_test_data): Likewise.
4966 (expm1_test_data): Likewise.
4967 (fabs_test_data): Likewise.
4968 (fdim_test_data): Likewise.
4969 (finite_test_data): Likewise.
4970 (floor_test_data): Likewise.
4971 (fma_test_data): Likewise.
4972 (fma_towardzero_test_data): Likewise.
4973 (fma_downward_test_data): Likewise.
4974 (fma_upward_test_data): Likewise.
4975 (fmax_test_data): Likewise.
4976 (fmin_test_data): Likewise.
4977 (fmod_test_data): Likewise.
4978 (fpclassify_test_data): Likewise.
4979 (frexp_test_data): Likewise.
4980 (gamma_test_data): Likewise.
4981 (hypot_test_data): Likewise.
4982 (ilogb_test_data): Likewise.
4983 (isfinite_test_data): Likewise.
4984 (isgreater_test_data): Likewise.
4985 (isgreaterequal_test_data): Likewise.
4986 (isinf_test_data): Likewise.
4987 (isless_test_data): Likewise.
4988 (islessequal_test_data): Likewise.
4989 (islessgreater_test_data): Likewise.
4990 (isnan_test_data): Likewise.
4991 (isnormal_test_data): Likewise.
4992 (issignaling_test_data): Likewise.
4993 (isunordered_test_data): Likewise.
4994 (j0_test_data): Likewise.
4995 (j1_test_data): Likewise.
4996 (jn_test_data): Likewise.
4997 (ldexp_test_data): Likewise.
4998 (lgamma_test_data): Likewise.
4999 (lrint_test_data): Likewise.
5000 (lrint_tonearest_test_data): Likewise.
5001 (lrint_towardzero_test_data): Likewise.
5002 (lrint_downward_test_data): Likewise.
5003 (lrint_upward_test_data): Likewise.
5004 (llrint_test_data): Likewise.
5005 (llrint_tonearest_test_data): Likewise.
5006 (llrint_towardzero_test_data): Likewise.
5007 (llrint_downward_test_data): Likewise.
5008 (llrint_upward_test_data): Likewise.
5009 (log_test_data): Likewise.
5010 (log10_test_data): Likewise.
5011 (log1p_test_data): Likewise.
5012 (log2_test_data): Likewise.
5013 (logb_test_data): Likewise.
5014 (logb_downward_test_data): Likewise.
5015 (lround_test_data): Likewise.
5016 (llround_test_data): Likewise.
5017 (modf_test_data): Likewise.
5018 (nearbyint_test_data): Likewise.
5019 (nextafter_test_data): Likewise.
5020 (nexttoward_test_data): Likewise.
5021 (pow_test_data): Likewise.
5022 (pow_tonearest_test_data): Likewise.
5023 (pow_towardzero_test_data): Likewise.
5024 (pow_downward_test_data): Likewise.
5025 (pow_upward_test_data): Likewise.
5026 (remainder_test_data): Likewise.
5027 (remainder_tonearest_test_data): Likewise.
5028 (remainder_towardzero_test_data): Likewise.
5029 (remainder_downward_test_data): Likewise.
5030 (remainder_upward_test_data): Likewise.
5031 (remquo_test_data): Likewise.
5032 (rint_test_data): Likewise.
5033 (rint_tonearest_test_data): Likewise.
5034 (rint_towardzero_test_data): Likewise.
5035 (rint_downward_test_data): Likewise.
5036 (rint_upward_test_data): Likewise.
5037 (round_test_data): Likewise.
5038 (scalb_test_data): Likewise.
5039 (scalbn_test_data): Likewise.
5040 (scalbln_test_data): Likewise.
5041 (signbit_test_data): Likewise.
5042 (sin_test_data): Likewise.
5043 (sin_tonearest_test_data): Likewise.
5044 (sin_towardzero_test_data): Likewise.
5045 (sin_downward_test_data): Likewise.
5046 (sin_upward_test_data): Likewise.
5047 (sincos_test_data): Likewise.
5048 (sinh_test_data): Likewise.
5049 (sinh_tonearest_test_data): Likewise.
5050 (sinh_towardzero_test_data): Likewise.
5051 (sinh_downward_test_data): Likewise.
5052 (sinh_upward_test_data): Likewise.
5053 (sqrt_test_data): Likewise.
5054 (tan_test_data): Likewise.
5055 (tan_tonearest_test_data): Likewise.
5056 (tan_towardzero_test_data): Likewise.
5057 (tan_downward_test_data): Likewise.
5058 (tan_upward_test_data): Likewise.
5059 (tanh_test_data): Likewise.
5060 (tgamma_test_data): Likewise.
5061 (trunc_test_data): Likewise.
5062 (y0_test_data): Likewise.
5063 (y1_test_data): Likewise.
5064 (yn_test_data): Likewise.
5065 (significand_test_data): Likewise.
5067 * math/gen-libm-test.pl (@functions): Remove variable.
5068 (generate_testfile): Don't handle START and END lines.
5069 * math/libm-test.inc (START): New macro.
5071 (END_COMPLEX): Likewise.
5072 (acos_test): Use END macro without arguments.
5073 (acos_test_tonearest): Likewise.
5074 (acos_test_towardzero): Likewise.
5075 (acos_test_downward): Likewise.
5076 (acos_test_upward): Likewise.
5077 (acosh_test): Likewise.
5078 (asin_test): Likewise.
5079 (asin_test_tonearest): Likewise.
5080 (asin_test_towardzero): Likewise.
5081 (asin_test_downward): Likewise.
5082 (asin_test_upward): Likewise.
5083 (asinh_test): Likewise.
5084 (atan_test): Likewise.
5085 (atanh_test): Likewise.
5086 (atan2_test): Likewise.
5087 (cabs_test): Likewise.
5088 (cacos_test): Use END_COMPLEX macro without arguments.
5089 (cacosh_test): Likewise.
5090 (carg_test): Use END macro without arguments.
5091 (casin_test): Use END_COMPLEX macro without arguments.
5092 (casinh_test): Likewise.
5093 (catan_test): Likewise.
5094 (catanh_test): Likewise.
5095 (cbrt_test): Use END macro without arguments.
5096 (ccos_test): Use END_COMPLEX macro without arguments.
5097 (ccosh_test): Likewise.
5098 (ceil_test): Use END macro without arguments.
5099 (cexp_test): Use END_COMPLEX macro without arguments.
5100 (cimag_test): Use END macro without arguments.
5101 (clog_test): Use END_COMPLEX macro without arguments.
5102 (clog10_test): Likewise.
5103 (conj_test): Likewise.
5104 (copysign_test): Use END macro without arguments.
5105 (cos_test): Likewise.
5106 (cos_test_tonearest): Likewise.
5107 (cos_test_towardzero): Likewise.
5108 (cos_test_downward): Likewise.
5109 (cos_test_upward): Likewise.
5110 (cosh_test): Likewise.
5111 (cosh_test_tonearest): Likewise.
5112 (cosh_test_towardzero): Likewise.
5113 (cosh_test_downward): Likewise.
5114 (cosh_test_upward): Likewise.
5115 (cpow_test): Use END_COMPLEX macro without arguments.
5116 (cproj_test): Likewise.
5117 (creal_test): Use END macro without arguments.
5118 (csin_test): Use END_COMPLEX macro without arguments.
5119 (csinh_test): Likewise.
5120 (csqrt_test): Likewise.
5121 (ctan_test): Likewise.
5122 (ctan_test_tonearest): Likewise.
5123 (ctan_test_towardzero): Likewise.
5124 (ctan_test_downward): Likewise.
5125 (ctan_test_upward): Likewise.
5126 (ctanh_test): Likewise.
5127 (ctanh_test_tonearest): Likewise.
5128 (ctanh_test_towardzero): Likewise.
5129 (ctanh_test_downward): Likewise.
5130 (ctanh_test_upward): Likewise.
5131 (erf_test): Use END macro without arguments.
5132 (erfc_test): Likewise.
5133 (exp_test): Likewise.
5134 (exp_test_tonearest): Likewise.
5135 (exp_test_towardzero): Likewise.
5136 (exp_test_downward): Likewise.
5137 (exp_test_upward): Likewise.
5138 (exp10_test): Likewise.
5139 (exp2_test): Likewise.
5140 (expm1_test): Likewise.
5141 (fabs_test): Likewise.
5142 (fdim_test): Likewise.
5143 (finite_test): Likewise.
5144 (floor_test): Likewise.
5145 (fma_test): Likewise.
5146 (fma_test_towardzero): Likewise.
5147 (fma_test_downward): Likewise.
5148 (fma_test_upward): Likewise.
5149 (fmax_test): Likewise.
5150 (fmin_test): Likewise.
5151 (fmod_test): Likewise.
5152 (fpclassify_test): Likewise.
5153 (frexp_test): Likewise.
5154 (gamma_test): Likewise.
5155 (hypot_test): Likewise.
5156 (ilogb_test): Likewise.
5157 (isfinite_test): Likewise.
5158 (isgreater_test): Likewise.
5159 (isgreaterequal_test): Likewise.
5160 (isinf_test): Likewise.
5161 (isless_test): Likewise.
5162 (islessequal_test): Likewise.
5163 (islessgreater_test): Likewise.
5164 (isnan_test): Likewise.
5165 (isnormal_test): Likewise.
5166 (issignaling_test): Likewise.
5167 (isunordered_test): Likewise.
5168 (j0_test): Likewise.
5169 (j1_test): Likewise.
5170 (jn_test): Likewise.
5171 (ldexp_test): Likewise.
5172 (lgamma_test): Likewise.
5173 (lrint_test): Likewise.
5174 (lrint_test_tonearest): Likewise.
5175 (lrint_test_towardzero): Likewise.
5176 (lrint_test_downward): Likewise.
5177 (lrint_test_upward): Likewise.
5178 (llrint_test): Likewise.
5179 (llrint_test_tonearest): Likewise.
5180 (llrint_test_towardzero): Likewise.
5181 (llrint_test_downward): Likewise.
5182 (llrint_test_upward): Likewise.
5183 (log_test): Likewise.
5184 (log10_test): Likewise.
5185 (log1p_test): Likewise.
5186 (log2_test): Likewise.
5187 (logb_test): Likewise.
5188 (logb_test_downward): Likewise.
5189 (lround_test): Likewise.
5190 (llround_test): Likewise.
5191 (modf_test): Likewise.
5192 (nearbyint_test): Likewise.
5193 (nextafter_test): Likewise.
5194 (nexttoward_test): Likewise.
5195 (pow_test): Likewise.
5196 (pow_test_tonearest): Likewise.
5197 (pow_test_towardzero): Likewise.
5198 (pow_test_downward): Likewise.
5199 (pow_test_upward): Likewise.
5200 (remainder_test): Likewise.
5201 (remainder_test_tonearest): Likewise.
5202 (remainder_test_towardzero): Likewise.
5203 (remainder_test_downward): Likewise.
5204 (remainder_test_upward): Likewise.
5205 (remquo_test): Likewise.
5206 (rint_test): Likewise.
5207 (rint_test_tonearest): Likewise.
5208 (rint_test_towardzero): Likewise.
5209 (rint_test_downward): Likewise.
5210 (rint_test_upward): Likewise.
5211 (round_test): Likewise.
5212 (scalb_test): Likewise.
5213 (scalbn_test): Likewise.
5214 (scalbln_test): Likewise.
5215 (signbit_test): Likewise.
5216 (sin_test): Likewise.
5217 (sin_test_tonearest): Likewise.
5218 (sin_test_towardzero): Likewise.
5219 (sin_test_downward): Likewise.
5220 (sin_test_upward): Likewise.
5221 (sincos_test): Likewise.
5222 (sinh_test): Likewise.
5223 (sinh_test_tonearest): Likewise.
5224 (sinh_test_towardzero): Likewise.
5225 (sinh_test_downward): Likewise.
5226 (sinh_test_upward): Likewise.
5227 (sqrt_test): Likewise.
5228 (tan_test): Likewise.
5229 (tan_test_tonearest): Likewise.
5230 (tan_test_towardzero): Likewise.
5231 (tan_test_downward): Likewise.
5232 (tan_test_upward): Likewise.
5233 (tanh_test): Likewise.
5234 (tgamma_test): Likewise.
5235 (trunc_test): Likewise.
5236 (y0_test): Likewise.
5237 (y1_test): Likewise.
5238 (yn_test): Likewise.
5239 (significand_test): Likewise.
5241 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5244 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5246 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5249 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5250 __ppc_mdoio and __ppc_mdoom.
5251 * manual/platform.texi: Document new functions __ppc_yield,
5252 __ppc_mdoio and __ppc_mdoom.
5254 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5256 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5257 (main): Mention "tls" pseudo-hwcap is legacy.
5258 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5260 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5262 * math/gen-libm-test.pl (parse_args): Output only string of
5263 arguments as text for test name, not full call or descriptions of
5264 tests for extra outputs.
5265 (generate_testfile): Do not pass function name to parse_args.
5266 Generate this_func variable from START.
5267 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5269 (struct test_ff_f_data): Likewise.
5270 (test_ff_f_data_nexttoward): Likewise.
5271 (struct test_fi_f_data): Likewise.
5272 (struct test_fl_f_data): Likewise.
5273 (struct test_if_f_data): Likewise.
5274 (struct test_fff_f_data): Likewise.
5275 (struct test_c_f_data): Likewise.
5276 (struct test_f_f1_data): Likewise. Remove field extra_name.
5277 (struct test_fF_f1_data): Likewise.
5278 (struct test_ffI_f1_data): Likewise.
5279 (struct test_c_c_data): Rename test_name field to arg_str.
5280 (struct test_cc_c_data): Likewise.
5281 (struct test_f_i_data): Likewise.
5282 (struct test_ff_i_data): Likewise.
5283 (struct test_f_l_data): Likewise.
5284 (struct test_f_L_data): Likewise.
5285 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5287 (COMMON_TEST_SETUP): New macro.
5288 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5289 (COMMON_TEST_CLEANUP): Likewise.
5290 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5291 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5293 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5294 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5296 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5297 (RUN_TEST_fff_f): Take argument string. Call new setup and
5299 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5300 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5302 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5303 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5305 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5306 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5308 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5309 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5311 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5312 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5314 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5315 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5317 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5318 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5320 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5321 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5323 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5324 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5326 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5327 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5329 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5330 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5332 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5333 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5335 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5336 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5338 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5339 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5341 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5342 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5344 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5346 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5348 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5349 to _sifields.sigfault.
5350 (si_addr_lsb): Define new macro.
5351 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5353 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5355 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5358 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5360 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5362 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5365 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5367 * math/gen-libm-test.pl (parse_args): Do not include expected
5368 result in test name.
5369 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5370 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5371 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5373 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5378 * benchtests/Makefile: Sort function entries.
5380 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5381 tanh, asinh, acosh, atanh.
5382 * benchtests/acos-inputs: New file.
5383 * benchtests/acosh-inputs: New file.
5384 * benchtests/asin-inputs: New file.
5385 * benchtests/asinh-inputs: New file.
5386 * benchtests/atanh-inputs: New file.
5387 * benchtests/cosh-inputs: New file.
5388 * benchtests/log-inputs: New file.
5389 * benchtests/sinh-inputs: New file.
5390 * benchtests/tanh-inputs: New file.
5392 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5395 * posix/tst-getaddrinfo4.c: New test.
5396 * posix/Makefile (tests): Add it.
5398 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5401 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5402 when no services were used.
5403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5404 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5406 2013-05-21 Andreas Schwab <schwab@suse.de>
5409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5410 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5412 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5413 redundant variable declarations and reallocation of buffer when
5414 parsing as IPv6 address. Always set NSS status when called from
5415 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5416 buffer too small. Correct computation of needed size.
5417 * nss/Makefile (tests): Add test-digits-dots.
5418 * nss/test-digits-dots.c: New test.
5420 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * benchtests/Makefile: Remove instructions for adding
5424 * benchtests/README: New file to explain how to execute and
5425 enhance the benchmark tests.
5427 2013-05-21 Andreas Schwab <schwab@suse.de>
5430 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5431 * setjmp/tst-sigsetjmp.c: New test.
5433 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5435 * sysdeps/x86_64/memset.S (memset): New implementation.
5436 (__bzero): Likewise.
5437 (__memset_tail): New function.
5439 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5441 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5442 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5443 __memcpy_sse2_unaligned ifunc selection.
5444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5445 Add memcpy-sse2-unaligned.S.
5446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5447 Add: __memcpy_sse2_unaligned.
5449 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5452 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5453 math_force_eval before restoring floating-point envrionment.
5454 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5457 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5459 (__nearbyintl): Use math_force_eval before restoring
5460 floating-point environment.
5461 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5463 * math/gen-libm-test.pl (special_functions): Remove.
5464 (parse_args): Don't handle TEST_extra. Handle functions with no
5466 * math/libm-test.inc (struct test_sincos_data): Replace with
5467 struct test_fFF_11_data.
5468 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5469 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5470 (sincos_test_data): Change element type to struct
5471 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5472 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5473 RUN_TEST_LOOP_sincos.
5474 * math/README.libm-test: Don't mention special handling of
5475 individual functions.
5476 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5477 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5478 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5479 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5480 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483 * math/gen-libm-test.pl (get_variable): Remove function.
5484 (parse_args): Don't show pointer parameters to call in test
5485 names. Use "extra output N" in test names for extra outputs
5486 rather than naming variables.
5488 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5491 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5492 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5493 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5495 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5497 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5500 * math/gen-libm-test.pl (@tests): Remove variable.
5502 (new_test): Remove function.
5503 (show_exceptions): New function.
5504 (special_functions): Use show_exceptions instead of new_test.
5505 (parse_args): Likewise.
5506 (generate_testfile): Pass only function name in generated call to
5507 print_max_error or print_complex_max_error.
5508 (get_ulps): Do not handle complex tests specially.
5509 (output_test): Rename to ...
5510 (get_all_ulps_for_test): ... this. Return a string rather than
5511 printing to a file. Require ulps to be present.
5512 (output_ulps): Generate arrays rather than #defines.
5513 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5514 (struct ulp_data): New type.
5515 (BUILD_COMPLEX_ULP): Remove macro.
5516 (compare_ulp_data): New function.
5517 (find_ulps): Likewise.
5518 (find_test_ulps): Likewise.
5519 (find_function_ulps): Likewise.
5520 (find_complex_function_ulps): Likewise.
5521 (print_max_error): Determine allowed ulps using
5523 (print_complex_max_error): Determine allowed ulps using
5524 find_complex_function_ulps.
5525 (check_float_internal): Determine max ulps using find_test_ulps.
5526 (check_float): Do not take max_ulp parameter. Update call to
5527 check_float_internal.
5528 (check_complex): Likewise.
5529 (check_int): Do not take max_ulp parameter.
5530 (check_long): Likewise.
5531 (check_bool): Likewise.
5532 (check_longlong): Likewise.
5533 (struct test_f_f_data): Remove max_ulp field.
5534 (struct test_ff_f_data): Likewise.
5535 (struct test_ff_f_data_nexttoward): Likewise.
5536 (struct test_fi_f_data): Likewise.
5537 (struct test_fl_f_data): Likewise.
5538 (struct test_if_f_data): Likewise.
5539 (struct test_fff_f_data): Likewise.
5540 (struct test_c_f_data): Likewise.
5541 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5542 (struct test_fF_f1_data): Likewise.
5543 (struct test_ffI_f1_data): Likewise.
5544 (struct test_c_c_data): Remove max_ulp field.
5545 (struct test_cc_c_data): Likewise.
5546 (struct test_f_i_data): Likewise.
5547 (struct test_ff_i_data): Likewise.
5548 (struct test_f_l_data): Likewise.
5549 (struct test_f_L_data): Likewise.
5550 (struct test_sincos_data): Likewise.
5551 (RUN_TEST_f_f): Do not handle ulps.
5552 (RUN_TEST_LOOP_f_f): Likewise.
5553 (RUN_TEST_2_f): Likewise.
5554 (RUN_TEST_LOOP_2_f): Likewise.
5555 (RUN_TEST_fff_f): Likewise.
5556 (RUN_TEST_LOOP_fff_f): Likewise.
5557 (RUN_TEST_c_f): Likewise.
5558 (RUN_TEST_LOOP_c_f): Likewise.
5559 (RUN_TEST_f_f1): Likewise.
5560 (RUN_TEST_LOOP_f_f1): Likewise.
5561 (RUN_TEST_fF_f1): Likewise.
5562 (RUN_TEST_LOOP_fF_f1): Likewise.
5563 (RUN_TEST_fI_f1): Likewise.
5564 (RUN_TEST_LOOP_fI_f1): Likewise.
5565 (RUN_TEST_ffI_f1): Likewise.
5566 (RUN_TEST_LOOP_ffI_f1): Likewise.
5567 (RUN_TEST_c_c): Likewise.
5568 (RUN_TEST_LOOP_c_c): Likewise.
5569 (RUN_TEST_cc_c): Likewise.
5570 (RUN_TEST_LOOP_cc_c): Likewise.
5571 (RUN_TEST_f_i): Likewise.
5572 (RUN_TEST_LOOP_f_i): Likewise.
5573 (RUN_TEST_f_i_tg): Likewise.
5574 (RUN_TEST_LOOP_f_i_tg): Likewise.
5575 (RUN_TEST_ff_i_tg): Likewise.
5576 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5577 (RUN_TEST_f_b): Likewise.
5578 (RUN_TEST_LOOP_f_b): Likewise.
5579 (RUN_TEST_f_b_tg): Likewise.
5580 (RUN_TEST_LOOP_f_b_tg): Likewise.
5581 (RUN_TEST_f_l): Likewise.
5582 (RUN_TEST_LOOP_f_l): Likewise.
5583 (RUN_TEST_f_L): Likewise.
5584 (RUN_TEST_LOOP_f_L): Likewise.
5585 (RUN_TEST_sincos): Likewise.
5586 (RUN_TEST_LOOP_sincos): Likewise.
5588 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5592 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5593 main case of finite arguments, set rounding mode to FE_TONEAREST
5594 and discard exceptions.
5595 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5597 (remainder_tonearest_test_data): New variable.
5598 (remainder_test_tonearest): New function.
5599 (remainder_towardzero_test_data): New variable.
5600 (remainder_test_towardzero): New function.
5601 (remainder_downward_test_data): New variable.
5602 (remainder_test_downward): New function.
5603 (remainder_upward_test_data): New variable.
5604 (remainder_test_upward): New function.
5605 (main): Call the new test functions.
5607 * math/libm-test.inc (struct test_f_f1_data): Remove field
5609 (struct test_fF_f1_data): Likewise.
5610 (struct test_ffI_f1_data): Likewise.
5611 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5612 based on value of EXTRA_EXPECTED.
5613 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5614 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5615 EXTRA_VAR based on value of EXTRA_EXPECTED.
5616 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5617 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5618 EXTRA_VAR based on value of EXTRA_EXPECTED.
5619 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5620 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5621 EXTRA_VAR based on value of EXTRA_EXPECTED.
5622 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5623 * math/gen-libm-test.pl (parse_args): Don't output initializers
5624 for extra output values.
5626 * math/libm-test.inc (check_int): Expect result to be exactly
5627 equal to expected value and do not handle ulps.
5628 (check_long): Likewise.
5629 (check_longlong): Likewise.
5631 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5633 (cimag_test_data): Likewise.
5634 (conj_test_data): Likewise.
5635 (copysign_test_data): Likewise.
5636 (cproj_test_data): Likewise.
5637 (creal_test_data): Likewise.
5638 (fabs_test_data): Likewise.
5639 (fdim_test_data): Likewise.
5640 (finite_test_data): Likewise.
5641 (floor_test_data): Likewise.
5642 (fmax_test_data): Likewise.
5643 (fmin_test_data): Likewise.
5644 (fmod_test_data): Likewise.
5645 (fpclassify_test_data): Likewise.
5646 (frexp_test_data): Likewise.
5647 (ilogb_test_data): Likewise.
5648 (isfinite_test_data): Likewise.
5649 (isgreater_test_data): Likewise.
5650 (isgreaterequal_test_data): Likewise.
5651 (isinf_test_data): Likewise.
5652 (isless_test_data): Likewise.
5653 (islessequal_test_data): Likewise.
5654 (islessgreater_test_data): Likewise.
5655 (isnan_test_data): Likewise.
5656 (isnormal_test_data): Likewise.
5657 (issignaling_test_data): Likewise.
5658 (isunordered_test_data): Likewise.
5659 (ldexp_test_data): Likewise.
5660 (lrint_test_data): Likewise.
5661 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5662 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5663 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5664 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5665 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5666 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5668 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5669 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5670 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5671 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5673 (lrint_downward_test_data): Test for "inexact" exceptions.
5674 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5675 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5676 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5678 (lrint_upward_test_data): Test for "inexact" exceptions.
5679 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5681 (llrint_test_data): Test for "inexact" exceptions.
5682 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5683 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5684 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5685 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5686 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5687 (llrint_downward_test_data): Test for "inexact" exceptions.
5688 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5689 (llrint_upward_test_data): Test for "inexact" exceptions.
5690 (logb_test_data): Likewise.
5691 (logb_downward_test_data): Likewise.
5692 (nextafter_test_data): Likewise.
5693 (nexttoward_test_data): Likewise.
5694 (remainder_test_data): Likewise.
5695 (remquo_test_data): Likewise.
5696 (scalbn_test_data): Likewise.
5697 (scalbln_test_data): Likewise.
5698 (signbit_test_data): Likewise.
5699 (sqrt_test_data): Likewise.
5700 (significand_test_data): Likewise.
5702 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5705 * benchtests/bench-modf.c (struct args): Mark arg0 as
5707 * scripts/bench.pl: Mark members of struct args as volatile.
5709 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5712 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5713 negative infinity on POWER6 or lower.
5714 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5716 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5719 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5720 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5721 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5722 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5723 (_FP_SETQNAN): New macro.
5724 (_FP_SETQNAN_SEMIRAW): Likewise.
5725 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5726 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5727 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5728 (FP_EXTEND): Use _FP_FRAC_SNANP.
5729 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5730 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5732 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5734 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5737 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5739 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5740 with DIVIDE_BY_ZERO_EXCEPTION.
5741 (gamma_test_data): Likewise.
5742 (lgamma_test_data): Likewise.
5743 (log_test_data): Likewise.
5744 (log10_test_data): Likewise.
5745 (log2_test_data): Likewise.
5746 (tgamma_test_data): Likewise.
5748 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5749 (acos_test_tonearest): Likewise.
5750 (acos_test_towardzero): Likewise.
5751 (acos_test_downward): Likewise.
5752 (acos_test_upward): Likewise.
5753 (acosh_test): Likewise.
5754 (asin_test): Likewise.
5755 (asin_test_tonearest): Likewise.
5756 (asin_test_towardzero): Likewise.
5757 (asin_test_downward): Likewise.
5758 (asin_test_upward): Likewise.
5759 (asinh_test): Likewise.
5760 (atan_test): Likewise.
5761 (atanh_test): Likewise.
5762 (atan2_test): Likewise.
5763 (cabs_test): Likewise.
5764 (cacos_test): Likewise.
5765 (cacosh_test): Likewise.
5766 (casin_test): Likewise.
5767 (casinh_test): Likewise.
5768 (catan_test): Likewise.
5769 (catanh_test): Likewise.
5770 (cbrt_test): Likewise.
5771 (ccos_test): Likewise.
5772 (ccosh_test): Likewise.
5773 (cexp_test): Likewise.
5774 (clog_test): Likewise.
5775 (clog10_test): Likewise.
5776 (cos_test): Likewise.
5777 (cos_test_tonearest): Likewise.
5778 (cos_test_towardzero): Likewise.
5779 (cos_test_downward): Likewise.
5780 (cos_test_upward): Likewise.
5781 (cosh_test): Likewise.
5782 (cosh_test_tonearest): Likewise.
5783 (cosh_test_towardzero): Likewise.
5784 (cosh_test_downward): Likewise.
5785 (cosh_test_upward): Likewise.
5786 (cpow_test): Likewise.
5787 (csin_test): Likewise.
5788 (csinh_test): Likewise.
5789 (csqrt_test): Likewise.
5790 (ctan_test): Likewise.
5791 (ctan_test_tonearest): Likewise.
5792 (ctan_test_towardzero): Likewise.
5793 (ctan_test_downward): Likewise.
5794 (ctan_test_upward): Likewise.
5795 (ctanh_test): Likewise.
5796 (ctanh_test_tonearest): Likewise.
5797 (ctanh_test_towardzero): Likewise.
5798 (ctanh_test_downward): Likewise.
5799 (ctanh_test_upward): Likewise.
5800 (erf_test): Likewise.
5801 (erfc_test): Likewise.
5802 (exp_test): Likewise.
5803 (exp_test_tonearest): Likewise.
5804 (exp_test_towardzero): Likewise.
5805 (exp_test_downward): Likewise.
5806 (exp_test_upward): Likewise.
5807 (exp10_test): Likewise.
5808 (exp2_test): Likewise.
5809 (expm1_test): Likewise.
5810 (fmod_test): Likewise.
5811 (gamma_test): Likewise.
5812 (hypot_test): Likewise.
5813 (j0_test): Likewise.
5814 (j1_test): Likewise.
5815 (jn_test): Likewise.
5816 (lgamma_test): Likewise.
5817 (log_test): Likewise.
5818 (log10_test): Likewise.
5819 (log1p_test): Likewise.
5820 (log2_test): Likewise.
5821 (logb_test_downward): Likewise.
5822 (pow_test): Likewise.
5823 (pow_test_tonearest): Likewise.
5824 (pow_test_towardzero): Likewise.
5825 (pow_test_downward): Likewise.
5826 (pow_test_upward): Likewise.
5827 (remainder_test): Likewise.
5828 (remquo_test): Likewise.
5829 (sin_test): Likewise.
5830 (sin_test_tonearest): Likewise.
5831 (sin_test_towardzero): Likewise.
5832 (sin_test_downward): Likewise.
5833 (sin_test_upward): Likewise.
5834 (sincos_test): Likewise.
5835 (sinh_test): Likewise.
5836 (sinh_test_tonearest): Likewise.
5837 (sinh_test_towardzero): Likewise.
5838 (sinh_test_downward): Likewise.
5839 (sinh_test_upward): Likewise.
5840 (sqrt_test): Likewise.
5841 (tan_test): Likewise.
5842 (tan_test_tonearest): Likewise.
5843 (tan_test_towardzero): Likewise.
5844 (tan_test_downward): Likewise.
5845 (tan_test_upward): Likewise.
5846 (tanh_test): Likewise.
5847 (tgamma_test): Likewise.
5848 (y0_test): Likewise.
5849 (y1_test): Likewise.
5850 (yn_test): Likewise.
5852 * math/gen-libm-test.pl (adjust_arg): Remove function.
5853 (special_function): Remove argument $in_func. Only handle
5854 generating output for tables of tests, not inside functions.
5855 (parse_args): Likewise.
5856 (generate_testfile): Remove variable $in_func. Update call to
5858 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5859 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5860 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5861 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5862 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5863 (MAX_VALUE_INIT): Rename macro to max_value.
5864 (MIN_VALUE_INIT): Rename macro to min_value.
5865 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5866 (plus_zero): Remove variable.
5867 (minus_zero): Likewise.
5868 (plus_infty): Likewise.
5869 (minus_infty): Likewise.
5870 (qnan_value): Likewise.
5871 (max_value): Likewise.
5872 (min_value): Likewise.
5873 (min_subnorm_value): Likewise.
5875 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5877 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5878 uint64_t or uint32_t usage.
5879 * crypt/sha256-block.c: Likewise.
5880 * crypt/sha256-crypt.c: Likewise.
5881 * crypt/sha256.c: Likewise.
5882 * crypt/sha512-block.c: Likewise.
5883 * crypt/sha512-crypt.c: Likewise.
5884 * crypt/sha512.c: Likewise.
5885 * debug/backtrace-tst.c: Likewise.
5886 * debug/pcprofiledump.c: Likewise.
5887 * elf/cache.c: Likewise.
5888 * elf/dl-cache.c: Likewise.
5889 * elf/dl-misc.c: Likewise.
5890 * elf/dl-profile.c: Likewise.
5891 * elf/dl-support.c: Likewise.
5892 * elf/ldconfig.c: Likewise.
5893 * elf/sprof.c: Likewise.
5894 * iconv/dummy-repertoire.c: Likewise.
5895 * iconv/iconv_charmap.c: Likewise.
5896 * iconv/skeleton.c: Likewise.
5897 * iconvdata/8bit-generic.c: Likewise.
5898 * iconvdata/cp737.h: Likewise.
5899 * iconvdata/cp775.h: Likewise.
5900 * iconvdata/ibm1008.h: Likewise.
5901 * iconvdata/ibm1025.h: Likewise.
5902 * iconvdata/ibm1046.h: Likewise.
5903 * iconvdata/ibm1097.h: Likewise.
5904 * iconvdata/ibm1112.h: Likewise.
5905 * iconvdata/ibm1122.h: Likewise.
5906 * iconvdata/ibm1123.h: Likewise.
5907 * iconvdata/ibm1124.h: Likewise.
5908 * iconvdata/ibm1129.h: Likewise.
5909 * iconvdata/ibm1130.h: Likewise.
5910 * iconvdata/ibm1132.h: Likewise.
5911 * iconvdata/ibm1133.h: Likewise.
5912 * iconvdata/ibm1137.h: Likewise.
5913 * iconvdata/ibm1140.h: Likewise.
5914 * iconvdata/ibm1141.h: Likewise.
5915 * iconvdata/ibm1142.h: Likewise.
5916 * iconvdata/ibm1143.h: Likewise.
5917 * iconvdata/ibm1144.h: Likewise.
5918 * iconvdata/ibm1145.h: Likewise.
5919 * iconvdata/ibm1146.h: Likewise.
5920 * iconvdata/ibm1147.h: Likewise.
5921 * iconvdata/ibm1148.h: Likewise.
5922 * iconvdata/ibm1149.h: Likewise.
5923 * iconvdata/ibm1153.h: Likewise.
5924 * iconvdata/ibm1154.h: Likewise.
5925 * iconvdata/ibm1155.h: Likewise.
5926 * iconvdata/ibm1156.h: Likewise.
5927 * iconvdata/ibm1157.h: Likewise.
5928 * iconvdata/ibm1158.h: Likewise.
5929 * iconvdata/ibm1160.h: Likewise.
5930 * iconvdata/ibm1161.h: Likewise.
5931 * iconvdata/ibm1162.h: Likewise.
5932 * iconvdata/ibm1163.h: Likewise.
5933 * iconvdata/ibm1164.h: Likewise.
5934 * iconvdata/ibm1166.h: Likewise.
5935 * iconvdata/ibm1167.h: Likewise.
5936 * iconvdata/ibm12712.h: Likewise.
5937 * iconvdata/ibm1390.h: Likewise.
5938 * iconvdata/ibm1399.h: Likewise.
5939 * iconvdata/ibm16804.h: Likewise.
5940 * iconvdata/ibm4517.h: Likewise.
5941 * iconvdata/ibm4899.h: Likewise.
5942 * iconvdata/ibm4909.h: Likewise.
5943 * iconvdata/ibm4971.h: Likewise.
5944 * iconvdata/ibm5347.h: Likewise.
5945 * iconvdata/ibm803.h: Likewise.
5946 * iconvdata/ibm856.h: Likewise.
5947 * iconvdata/ibm901.h: Likewise.
5948 * iconvdata/ibm902.h: Likewise.
5949 * iconvdata/ibm9030.h: Likewise.
5950 * iconvdata/ibm9066.h: Likewise.
5951 * iconvdata/ibm921.h: Likewise.
5952 * iconvdata/ibm922.h: Likewise.
5953 * iconvdata/ibm9448.h: Likewise.
5954 * iconvdata/isiri-3342.h: Likewise.
5955 * iconvdata/jis0201.h: Likewise.
5956 * include/link.h: Likewise.
5957 * include/netdb.h: Likewise.
5958 * inet/check_native.c: Likewise.
5959 * inet/check_pf.c: Likewise.
5960 * inet/getipv4sourcefilter.c: Likewise.
5961 * inet/getnameinfo.c: Likewise.
5962 * inet/getsourcefilter.c: Likewise.
5963 * inet/htonl.c: Likewise.
5964 * inet/setipv4sourcefilter.c: Likewise.
5965 * inet/setsourcefilter.c: Likewise.
5966 * inet/test-inet6_opt.c: Likewise.
5967 * inet/tst-network.c: Likewise.
5968 * locale/C-collate.c: Likewise.
5969 * locale/C-ctype.c: Likewise.
5970 * locale/C-time.c: Likewise.
5971 * locale/C-translit.h: Likewise.
5972 * locale/loadarchive.c: Likewise.
5973 * locale/programs/3level.h: Likewise.
5974 * locale/programs/charmap.c: Likewise.
5975 * locale/programs/charmap.h: Likewise.
5976 * locale/programs/ld-address.c: Likewise.
5977 * locale/programs/ld-collate.c: Likewise.
5978 * locale/programs/ld-ctype.c: Likewise.
5979 * locale/programs/ld-identification.c: Likewise.
5980 * locale/programs/ld-measurement.c: Likewise.
5981 * locale/programs/ld-messages.c: Likewise.
5982 * locale/programs/ld-monetary.c: Likewise.
5983 * locale/programs/ld-name.c: Likewise.
5984 * locale/programs/ld-numeric.c: Likewise.
5985 * locale/programs/ld-paper.c: Likewise.
5986 * locale/programs/ld-telephone.c: Likewise.
5987 * locale/programs/ld-time.c: Likewise.
5988 * locale/programs/linereader.c: Likewise.
5989 * locale/programs/locale.c: Likewise.
5990 * locale/programs/locarchive.c: Likewise.
5991 * locale/programs/locfile.h: Likewise.
5992 * locale/programs/repertoire.c: Likewise.
5993 * locale/programs/simple-hash.c: Likewise.
5994 * locale/programs/simple-hash.h: Likewise.
5995 * malloc/memusage.c: Likewise.
5996 * malloc/memusagestat.c: Likewise.
5997 * nis/nis_defaults.c: Likewise.
5998 * nis/nis_hash.c: Likewise.
5999 * nis/nis_print.c: Likewise.
6000 * nis/nis_xdr.c: Likewise.
6001 * nscd/connections.c: Likewise.
6002 * nscd/hstcache.c: Likewise.
6003 * nscd/nscd_gethst_r.c: Likewise.
6004 * nscd/nscd_getserv_r.c: Likewise.
6005 * nscd/nscd_helper.c: Likewise.
6006 * nscd/servicescache.c: Likewise.
6007 * nss/makedb.c: Likewise.
6008 * nss/nss_db/db-XXX.c: Likewise.
6009 * nss/nss_db/db-initgroups.c: Likewise.
6010 * nss/nss_db/db-netgrp.c: Likewise.
6011 * nss/nss_files/files-network.c: Likewise.
6012 * nss/nss_files/files-parse.c: Likewise.
6013 * posix/bug-regex5.c: Likewise.
6014 * posix/fnmatch_loop.c: Likewise.
6015 * posix/regcomp.c: Likewise.
6016 * posix/regexec.c: Likewise.
6017 * posix/tst-rfc3484-2.c: Likewise.
6018 * posix/tst-rfc3484-3.c: Likewise.
6019 * posix/tst-rfc3484.c: Likewise.
6020 * resolv/nss_dns/dns-canon.c: Likewise.
6021 * resolv/nss_dns/dns-network.c: Likewise.
6022 * resolv/res_init.c: Likewise.
6023 * resolv/res_mkquery.c: Likewise.
6024 * resolv/tst-aton.c: Likewise.
6025 * stdlib/cxa_atexit.c: Likewise.
6026 * stdlib/cxa_finalize.c: Likewise.
6027 * stdlib/gen-fpioconst.c: Likewise.
6028 * stdlib/strtol_l.c: Likewise.
6029 * string/tst-endian.c: Likewise.
6030 * sunrpc/auth_des.c: Likewise.
6031 * sunrpc/clnt_udp.c: Likewise.
6032 * sunrpc/rtime.c: Likewise.
6033 * sunrpc/svcauth_des.c: Likewise.
6034 * sunrpc/xdr.c: Likewise.
6035 * sunrpc/xdr_intXX_t.c: Likewise.
6036 * sunrpc/xdr_rec.c: Likewise.
6037 * sysdeps/generic/ldconfig.h: Likewise.
6038 * sysdeps/generic/ldsodefs.h: Likewise.
6039 * sysdeps/generic/memusage.h: Likewise.
6040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6050 * sysdeps/posix/getaddrinfo.c: Likewise.
6051 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6053 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6054 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6055 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6056 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6057 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6058 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6059 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6061 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6062 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6063 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6064 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6066 * sysdeps/x86_64/dl-tls.h: Likewise.
6067 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6068 * time/alt_digit.c: Likewise.
6069 * time/era.c: Likewise.
6070 * wcsmbs/tst-c16c32-1.c: Likewise.
6072 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6074 * math/libm-test.inc (struct test_sincos_data): New type.
6075 (RUN_TEST_LOOP_sincos): New macro.
6076 (sincos_test_data): New variable.
6077 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6079 2013-05-16 Richard Henderson <rth@redhat.com>
6081 * math/atest-exp2.c (LIMB64): New macro.
6082 (CONSTSZ): New macro.
6083 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6085 (print_mpn_fp): ... to function scope.
6086 (read_mpn_hex): Remove.
6088 (exp2_mpn): Use mp_log2.
6089 (main): Use mp_exp1.
6091 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6093 * math/libm-test.inc: Remove comment about not testing "inexact"
6095 (INEXACT_EXCEPTION): New macro.
6096 (NO_INEXACT_EXCEPTION): Likewise.
6097 (INVALID_EXCEPTION_OK): Update value.
6098 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6099 (OVERFLOW_EXCEPTION_OK): Likewise.
6100 (UNDERFLOW_EXCEPTION_OK): Likewise.
6101 (IGNORE_ZERO_INF_SIGN): Likewise.
6102 (ERRNO_UNCHANGED): Likewise.
6103 (ERRNO_EDOM): Likewise.
6104 (ERRNO_ERANGE): Likewise.
6105 (test_exceptions): Handle testing "inexact" exceptions.
6106 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6107 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6108 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6109 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6111 (rint_towardzero_test_data): Likewise.
6112 (rint_downward_test_data): Likewise.
6113 (rint_upward_test_data): Likewise.
6115 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6116 with OVERFLOW_EXCEPTION.
6117 (exp10_test_data): Likewise.
6118 (exp2_test_data): Likewise.
6119 (expm1_test_data): Likewise.
6120 (lgamma_test_data): Likewise.
6121 (pow_test_data): Likewise.
6122 (tgamma_test_data): Likewise.
6123 (yn_test_data): Remove duplicate test of overflow.
6125 * math/libm-test.inc (struct test_cc_c_data): New type.
6126 (RUN_TEST_LOOP_cc_c): New macro.
6127 (cpow_test_data): New variable.
6128 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6130 * math/libm-test.inc (struct test_f_L_data): New type.
6131 (RUN_TEST_LOOP_f_L): New macro.
6132 (llrint_test_data): New variable.
6133 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6134 (llrint_tonearest_test_data): New variable.
6135 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6136 (llrint_towardzero_test_data): New variable.
6137 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6138 (llrint_downward_test_data): New variable.
6139 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6140 (llrint_upward_test_data): New variable.
6141 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6142 (llround_test_data): New variable.
6143 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6145 2013-05-13 Peter Collingbourne <pcc@google.com>
6147 * math/atest-exp2.c (get_log2): Remove const attribute.
6149 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6151 * math/libm-test.inc (struct test_f_l_data): New type.
6152 (RUN_TEST_LOOP_f_l): New macro.
6153 (lrint_test_data): New variable.
6154 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6155 (lrint_tonearest_test_data): New variable.
6156 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6157 (lrint_towardzero_test_data): New variable.
6158 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6159 (lrint_downward_test_data): New variable.
6160 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6161 (lrint_upward_test_data): New variable.
6162 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6163 (lround_test_data): New variable.
6164 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6166 2013-05-15 Peter Collingbourne <pcc@google.com>
6168 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6169 (EXTRACT_WORDS64) Use where appropriate.
6170 (INSERT_WORDS64) Likewise.
6172 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6173 constraints with x constraints.
6174 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6176 * malloc/obstack.c (_obstack_compat): Add initializer.
6178 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6180 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6181 si_trapno and add si_addr_lsb to _sifields.sigfault.
6182 (si_trapno): Remove macro.
6183 (si_addr_lsb): Define new macro.
6184 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6186 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6188 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6189 instead of TEST_f_l.
6190 (llrint_test_tonearest): Likewise.
6191 (llrint_test_towardzero): Likewise.
6192 (llrint_test_downward): Likewise.
6193 (llrint_test_upward): Likewise.
6194 (llround_test): Likewise.
6196 * math/libm-test.inc (struct test_f_i_data): Add comment.
6197 (RUN_TEST_LOOP_f_b): New macro.
6198 (RUN_TEST_LOOP_f_b_tg): Likewise.
6199 (finite_test_data): New variable.
6200 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6201 (isfinite_test_data): New variable.
6202 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6203 (isinf_test_data): New variable.
6204 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6205 (isnan_test_data): New variable.
6206 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6207 (isnormal_test_data): New variable.
6208 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6209 (issignaling_test_data): New variable.
6210 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6211 (signbit_test_data): New variable.
6212 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6214 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6215 with INVALID_EXCEPTION.
6216 (acosh_test_data): Likewise.
6217 (asin_test_data): Likewise.
6218 (atanh_test_data): Likewise.
6219 (fmod_test_data): Likewise.
6220 (log_test_data): Likewise.
6221 (log10_test_data): Likewise.
6222 (log2_test_data): Likewise.
6223 (pow_test_data): Likewise.
6224 (sqrt_test_data): Likewise.
6225 (y0_test_data): Likewise.
6226 (y1_test_data): Likewise.
6227 (yn_test_data): Likewise.
6229 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6232 * math/libm-test.inc (struct test_ff_i_data): New type.
6233 (RUN_TEST_LOOP_ff_i_tg): New macro.
6234 (isgreater_test_data): New variable.
6235 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6236 (isgreaterequal_test_data): New variable.
6237 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6238 (isless_test_data): New variable.
6239 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6240 (islessequal_test_data): New variable.
6241 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6242 (islessgreater_test_data): New variable.
6243 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6244 (isunordered_test_data): New variable.
6245 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6247 2013-05-14 David S. Miller <davem@davemloft.net>
6249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6251 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6253 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6255 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6257 (struct test_f_i_data): Change type of max_ulp to int.
6259 * math/libm-test.inc (test_ffI_f1_data): New type.
6260 (RUN_TEST_LOOP_ffI_f1): New macro.
6261 (remquo_test_data): New variable.
6262 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6264 * setjmp/tst-setjmp-fp.c: New file.
6265 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6266 (link-libm): New variable.
6267 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6269 * math/libm-test.inc (struct test_f_i_data): New type.
6270 (RUN_TEST_LOOP_f_i): New macro.
6271 (RUN_TEST_LOOP_f_i_tg): Likewise.
6272 (fpclassify_test_data): New variable.
6273 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6274 (ilogb_test_data): New variable.
6275 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6277 * math/libm-test.inc (scalbln_test): Correct function name in END
6280 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6281 (RUN_TEST_LOOP_fI_f1): New macro.
6282 (frexp_test_data): New variable.
6283 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6285 * math/libm-test.inc (struct test_fF_f1_data): New type.
6286 (RUN_TEST_LOOP_fF_f1): New macro.
6287 (modf_test_data): New variable.
6288 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6290 * math/libm-test.inc (struct test_f_f1_data): New type.
6291 (RUN_TEST_LOOP_f_f1): New macro.
6292 (gamma_test_data): New variable.
6293 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6294 (lgamma_test_data): New variable.
6295 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6297 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6299 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6300 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6301 (main): Comment "tls" pseudo-hwcap.
6303 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6305 * math/libm-test.inc (struct test_fl_f_data): New type.
6306 (RUN_TEST_LOOP_fl_f): New variable.
6307 (scalbln_test_data): New variable.
6308 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6310 * math/libm-test.inc (struct test_fi_f_data): New type.
6311 (RUN_TEST_LOOP_fi_f): New macro.
6312 (ldexp_test_data): New variable.
6313 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6314 (scalbn_test_data): New variable.
6315 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6317 * math/libm-test.inc (struct test_c_f_data): New type.
6318 (RUN_TEST_LOOP_c_f): New macro.
6319 (cabs_test_data): New variable.
6320 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6321 (carg_test_data): New variable.
6322 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6323 (cimag_test_data): New variable.
6324 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6325 (creal_test_data): New variable.
6326 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6328 * math/libm-test.inc (struct test_if_f_data): New type.
6329 (RUN_TEST_LOOP_if_f): New macro.
6330 (jn_test_data): New variable.
6331 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6332 (yn_test_data): New variable.
6333 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6335 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6337 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6340 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6342 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6344 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6345 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6346 (bench-deps): Add bench-timing.h.
6347 * benchtests-bench-skeleton.c: Include bench-timing.h.
6348 (main): Use TIMING_* macros instead of clock_gettime.
6349 * benchtests/bench-timing.h: New file.
6352 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6353 Renamed from _LIB_VERSION.
6354 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6356 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6358 * math/libm-test.inc (struct test_fff_f_data): New type.
6359 (RUN_TEST_LOOP_fff_f): New macro.
6360 (fma_test_data): New variable.
6361 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6362 (fma_towardzero_test_data): New variable.
6363 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6364 (fma_downward_test_data): New variable.
6365 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6366 (fma_upward_test_data): New variable.
6367 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6369 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6370 (struct test_c_c_data): New type.
6371 (RUN_TEST_LOOP_c_c): New macro.
6372 (cacos_test_data): New variable.
6373 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6374 (cacosh_test_data): New variable.
6375 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6376 (casin_test_data): New variable.
6377 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6378 (casinh_test_data): New variable.
6379 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6380 (catan_test_data): New variable.
6381 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6382 (catanh_test_data): New variable.
6383 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6384 (ccos_test_data): New variable.
6385 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6386 (ccosh_test_data): New variable.
6387 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6388 (cexp_test_data): New variable.
6389 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6390 (clog_test_data): New variable.
6391 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6392 (clog10_test_data): New variable.
6393 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6394 (conj_test_data): New variable.
6395 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6396 (cproj_test_data): New variable.
6397 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6398 (csin_test_data): New variable.
6399 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6400 (csinh_test_data): New variable.
6401 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6402 (csqrt_test_data): New variable.
6403 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6404 (ctan_test_data): New variable.
6405 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6406 (ctan_tonearest_test_data): New variable.
6407 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6408 (ctan_towardzero_test_data): New variable.
6409 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6410 (ctan_downward_test_data): New variable.
6411 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6412 (ctan_upward_test_data): New variable.
6413 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6414 (ctanh_test_data): New variable.
6415 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6416 (ctanh_tonearest_test_data): New variable.
6417 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6418 (ctanh_towardzero_test_data): New variable.
6419 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6420 (ctanh_downward_test_data): New variable.
6421 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6422 (ctanh_upward_test_data): New variable.
6423 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6424 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6427 * math/libm-test.inc (struct test_ff_f_data): New type.
6428 (struct test_ff_f_data_nexttoward): Likewise.
6429 (RUN_TEST_LOOP_2_f): New macro.
6430 (RUN_TEST_LOOP_ff_f): Likewise.
6431 (atan2_test_data): New variable.
6432 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6433 (copysign_test_data): New variable.
6434 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6435 (fdim_test_data): New variable.
6436 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6437 (fmax_test_data): New variable.
6438 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6439 (fmin_test_data): New variable.
6440 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6441 (fmod_test_data): New variable.
6442 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6443 (hypot_test_data): New variable.
6444 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6445 (nextafter_test_data): New variable.
6446 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6447 (nexttoward_test_data): New variable.
6448 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6449 (pow_test_data): New variable.
6450 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6451 (pow_tonearest_test_data): New variable.
6452 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6453 (pow_towardzero_test_data): New variable.
6454 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6455 (pow_downward_test_data): New variable.
6456 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6457 (pow_upward_test_data): New variable.
6458 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6459 (remainder_test_data): New variable.
6460 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6461 (scalb_test_data): New variable.
6462 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6463 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6467 * math/libm-test.inc (fma_test): Use max_value instead of local
6469 (nextafter_test): Likewise.
6471 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6472 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6473 (acos_downward_test_data): New variable.
6474 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6475 (acos_upward_test_data): New variable.
6476 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6477 (acosh_test_data): New variable.
6478 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6479 (asin_test_data): New variable.
6480 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6481 (asin_tonearest_test_data): New variable.
6482 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6483 (asin_towardzero_test_data): New variable.
6484 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6485 (asin_downward_test_data): New variable.
6486 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6487 (asin_upward_test_data): New variable.
6488 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6489 (asinh_test_data): New variable.
6490 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6491 (atan_test_data): New variable.
6492 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6493 (atanh_test_data): New variable.
6494 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6495 (cbrt_test_data): New variable.
6496 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6497 (ceil_test_data): New variable.
6498 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6499 (cos_test_data): New variable.
6500 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6501 (cos_tonearest_test_data): New variable.
6502 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6503 (cos_towardzero_test_data): New variable.
6504 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6505 (cos_downward_test_data): New variable.
6506 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6507 (cos_upward_test_data): New variable.
6508 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6509 (cosh_test_data): New variable.
6510 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6511 (cosh_tonearest_test_data): New variable.
6512 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6513 (cosh_towardzero_test_data): New variable.
6514 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6515 (cosh_downward_test_data): New variable.
6516 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6517 (cosh_upward_test_data): New variable.
6518 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6519 (erf_test_data): New variable.
6520 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6521 (erfc_test_data): New variable.
6522 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6523 (exp_test_data): New variable.
6524 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6525 (exp_tonearest_test_data): New variable.
6526 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6527 (exp_towardzero_test_data): New variable.
6528 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6529 (exp_downward_test_data): New variable.
6530 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6531 (exp_upward_test_data): New variable.
6532 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6533 (exp10_test_data): New variable.
6534 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6535 (exp2_test_data): New variable.
6536 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6537 (expm1_test_data): New variable.
6538 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6539 (fabs_test_data): New variable.
6540 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6541 (floor_test_data): New variable.
6542 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6543 (j0_test_data): New variable.
6544 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6545 (j1_test_data): New variable.
6546 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6547 (log_test_data): New variable.
6548 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6549 (log10_test_data): New variable.
6550 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6551 (log1p_test_data): New variable.
6552 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6553 (log2_test_data): New variable.
6554 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6555 (logb_test_data): New variable.
6556 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6557 (logb_downward_test_data): New variable.
6558 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6559 (nearbyint_test_data): New variable.
6560 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6561 (rint_test_data): New variable.
6562 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6563 (rint_tonearest_test_data): New variable.
6564 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6565 (rint_towardzero_test_data): New variable.
6566 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6567 (rint_downward_test_data): New variable.
6568 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6569 (rint_upward_test_data): New variable.
6570 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6571 (round_test_data): New variable.
6572 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6573 (sin_test_data): New variable.
6574 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6575 (sin_tonearest_test_data): New variable.
6576 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6577 (sin_towardzero_test_data): New variable.
6578 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6579 (sin_downward_test_data): New variable.
6580 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6581 (sin_upward_test_data): New variable.
6582 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6583 (sinh_test_data): New variable.
6584 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6585 (sinh_tonearest_test_data): New variable.
6586 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6587 (sinh_towardzero_test_data): New variable.
6588 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6589 (sinh_downward_test_data): New variable.
6590 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6591 (sinh_upward_test_data): New variable.
6592 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6593 (sqrt_test_data): New variable.
6594 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6595 (tan_test_data): New variable.
6596 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6597 (tan_tonearest_test_data): New variable.
6598 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6599 (tan_towardzero_test_data): New variable.
6600 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6601 (tan_downward_test_data): New variable.
6602 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6603 (tan_upward_test_data): New variable.
6604 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6605 (tanh_test_data): New variable.
6606 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6607 (tgamma_test_data): New variable.
6608 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6609 (trunc_test_data): New variable.
6610 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6611 (y0_test_data): New variable.
6612 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6613 (y1_test_data): New variable.
6614 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6615 (significand_test_data): New variable.
6616 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6618 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6621 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6623 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6625 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6627 2013-05-10 Andreas Jaeger <aj@suse.de>
6630 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6631 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6633 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6635 * math/gen-libm-test.pl (adjust_arg): New function.
6636 (special_functions): Handle generating output in both functions
6638 (parse_args): Likewise.
6639 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6640 $in_func argument to parse_args.
6641 * math/libm-test.inc (struct test_f_f_data): New type.
6642 (IF_ROUND_INIT_): New macro.
6643 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6644 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6645 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6646 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6647 (ROUND_RESTORE_): Likewise.
6648 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6649 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6650 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6651 (ROUND_RESTORE_FE_UPWARD): Likewise.
6652 (RUN_TEST_LOOP_f_f): New macro.
6653 (acos_test_data): New variable.
6654 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6655 (acos_tonearest_test_data): New variable.
6656 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6658 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6660 * benchtests/bench-skeleton.c (startup): Fix coding style.
6662 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6665 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6666 negative infinity argument.
6667 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6668 negative infinity argument.
6669 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6670 negative infinity argument.
6671 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6674 2013-05-10 Florian Weimer <fweimer@redhat.com>
6676 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6677 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6678 * iconv/iconv_prog.c (main): Likewise.
6679 * locale/programs/charmap-dir.c (charmap_readdir)
6680 (fopen_uncompressed): Likewise.
6681 * locale/programs/locfile.c (siblings_uncached)
6682 (write_locale_data): Use lstat64 instead of lstat.
6683 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6686 2013-05-10 Andreas Jaeger <aj@suse.de>
6689 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6693 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6695 * elf/dl-close.c (_dl_close_worker): Add comments.
6697 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6700 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6702 (__ieee754_rem_pio2l): Update comments.
6705 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6707 (__ieee754_rem_pio2l): Update comments.
6709 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6710 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6712 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6715 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6716 (M_PI_34_LOG10El): Likewise.
6717 (M_PI2_LOG10El): Likewise.
6718 (M_PI4_LOG10El): Likewise.
6719 (M_PI_LOG10El): Likewise.
6721 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6725 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6727 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6728 (MINUS_ZERO_INIT): Likewise.
6729 (PLUS_INFTY_INIT): Likewise.
6730 (MINUS_INFTY_INIT): Likewise.
6731 (QNAN_VALUE_INIT): Likewise.
6732 (MAX_VALUE_INIT): Likewise.
6733 (MIN_VALUE_INIT): Likewise.
6734 (MIN_SUBNORM_VALUE_INIT): Likewise.
6735 (plus_zero): Initialize with PLUS_ZERO_INIT.
6736 (minus_zero): Initialize with MINUS_ZERO_INIT.
6737 (plus_infty): Initialize with PLUS_INFTY_INIT.
6738 (minus_infty): Initialize with MINUS_INFTY_INIT.
6739 (qnan_value): Initialize with QNAN_VALUE_INIT.
6740 (max_value): Initialize with MAX_VALUE_INIT.
6741 (min_value): Initialize with MIN_VALUE_INIT.
6742 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6744 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6745 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6746 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6747 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6749 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6750 (RUN_TEST_2_f): Likewise.
6751 (RUN_TEST_ff_f): Likewise.
6752 (RUN_TEST_fi_f): Likewise.
6753 (RUN_TEST_fl_f): Likewise.
6754 (RUN_TEST_fff_f): Likewise.
6755 (RUN_TEST_c_f): Likewise.
6756 (RUN_TEST_f_f1): Likewise.
6757 (RUN_TEST_fF_f1): Likewise.
6758 (RUN_TEST_fI_f1): Likewise.
6759 (RUN_TEST_ffI_f1): Likewise.
6760 (RUN_TEST_c_c): Likewise.
6761 (RUN_TEST_cc_c): Likewise.
6762 (RUN_TEST_f_i): Likewise.
6763 (RUN_TEST_f_i_tg): Likewise.
6764 (RUN_TEST_ff_i_tg): Likewise.
6765 (RUN_TEST_f_b): Likewise.
6766 (RUN_TEST_f_b_tg): Likewise.
6767 (RUN_TEST_f_l): Likewise.
6768 (RUN_TEST_f_L): Likewise.
6769 (RUN_TEST_sincos): Likewise.
6770 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6771 whether to show exceptions. Do not include ");\n" in return
6773 (special_functions): Output call to RUN_TEST_sincos instead of
6774 check_float calls. Update calls to new_test.
6775 (parse_args): Output call to single RUN_TEST_* macro instead of
6776 check_* calls and other assignments. Update calls to new_test.
6782 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6783 input to result for tgamma overflow.
6784 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6785 (gamma_coeff): New variable.
6786 (NCOEFF): New macro.
6787 (gamma_positive): New function.
6788 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6789 underflow here. Use gamma_positive instead of exp (lgamma) for
6791 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6792 (gamma_coeff): New variable.
6793 (NCOEFF): New macro.
6794 (gammaf_positive): New function.
6795 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6796 underflow here. Use gamma_positive instead of exp (lgamma) for
6798 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6799 (gamma_coeff): New variable.
6800 (NCOEFF): New macro.
6801 (gammal_positive): New function.
6802 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6803 underflow here. Use gamma_positive instead of exp (lgamma) for
6805 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6806 (gamma_coeff): New variable.
6807 (NCOEFF): New macro.
6808 (gammal_positive): New function.
6809 (__ieee754_gammal_r): Handle positive infinity, overflow and
6810 underflow here. Handle NaN the same as positive infinity. Remove
6811 check x < 0xffffffff for negative integers. Use gamma_positive
6812 instead of exp (lgamma) for other arguments.
6813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6814 (gamma_coeff): New variable.
6815 (NCOEFF): New macro.
6816 (gammal_positive): New function.
6817 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6818 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6822 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6823 * sysdeps/generic/math_private.h (__gamma_productf): New
6825 (__gamma_product): Likewise.
6826 (__gamma_productl): Likewise.
6827 * math/Makefile (libm-calls): Add gamma_product.
6828 * math/libm-test.inc (tgamma_test): Add more tests.
6829 * sysdeps/i386/fpu/libm-test-ulps: Update.
6830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6832 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6834 * benchtests/bench-skeleton.c (main): Preheat CPU.
6836 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6838 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6840 2013-05-07 Roland McGrath <roland@hack.frob.com>
6842 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6843 and _dl_skip_args_internal.
6845 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6847 * manual/message.texi (Message Translation): Talk about users.
6848 Message to key mapping impacts design.
6850 2013-05-06 Roland McGrath <roland@hack.frob.com>
6852 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6854 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6856 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6857 * sysdeps/wordsize-64/glob64.c: ... here.
6859 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6860 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6863 * debug/getlogin_r_chk.c: Moved to ...
6864 * login/getlogin_r_chk.c: ... here.
6865 * debug/Makefile (routines): Move getlogin_r_chk to ...
6866 * login/Makefile (routines): ... here.
6867 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6868 * login/Versions (libc: GLIBC_2.4): ... here.
6870 * io/poll.c (__poll): Renamed from poll.
6871 Add libc_hidden_def.
6872 (poll): Define as weak alias.
6874 * debug/ptsname_r_chk.c: Moved to ...
6875 * login/ptsname_r_chk.c: ... here.
6876 * debug/Makefile (routines): Move ptsname_r_chk to ...
6877 * login/Makefile (routines): ... here.
6878 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6879 * login/Versions (libc: GLIBC_2.4): ... here.
6881 * posix/getlogin.c: Moved to ...
6882 * login/getlogin.c: ... here.
6883 * posix/getlogin_r.c: Moved to ...
6884 * login/getlogin_r.c: ... here.
6885 * posix/getlogin_r.c: Moved to ...
6886 * login/getlogin_r.c: ... here.
6887 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6888 * login/Makefile (routines): ... here.
6889 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6890 * login/Versions (libc: GLIBC_2.0): ... here.
6892 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6893 (setrlimit): Define as weak alias.
6895 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6896 Call __ names for open, ftruncate, and close.
6897 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6898 (truncate): Define as weak alias.
6900 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6902 * math/gen-libm-test.pl (parse_args): Initialize x before each
6903 test of frexp, modf and remquo.
6905 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6908 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6914 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6916 2013-05-06 Roland McGrath <roland@hack.frob.com>
6918 * elf/dl-writev.h: New file.
6919 * elf/dl-misc.c: Include it.
6920 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6921 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6923 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6925 * math/libm-test.inc (noXFails): Remove variable.
6926 (noXPasses): Likewise.
6927 (BUILD_COMPLEX_INT): Remove macro.
6928 (print_screen): Remove xfail argument.
6929 (print_screen_max_error): Likewise.
6930 (update_stats): Likewise.
6931 (print_max_error): Likewise. Update calls to other affected
6933 (print_complex_max_error): Likewise.
6934 (test_single_exception): Update calls to print_screen.
6935 (test_single_errno): Likewise.
6936 (check_float_internal): Remove xfail argument. Update calls to
6937 other affected functions.
6938 (check_float): Likewise.
6939 (check_complex): Likewise.
6940 (check_int): Likewise.
6941 (check_long): Likewise.
6942 (check_bool): Likewise.
6943 (check_longlong): Likewise.
6944 (main): Don't print noXFails and noXPasses.
6945 * math/gen-libm-test.pl (top level): Don't mention expected
6946 failure handling in comment.
6947 (new_test): Don't handle expected failures.
6948 (parse_args): Don't mention expected failure handling in comment.
6949 (generate_testfile): Don't handle expected failures.
6950 (parse_ulps): Likewise.
6951 (print_ulps_file): Likewise.
6952 (get_failure): Remove function.
6953 (output_test): Don't handle expected failures.
6954 * make/README.libm-test: Don't mention expected failure handling.
6956 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6957 (minus_zero): Likewise.
6958 (plus_infty): Likewise.
6959 (minus_infty): Likewise.
6960 (qnan_value): Likewise.
6961 (max_value): Likewise.
6962 (min_value): Likewise.
6963 (min_subnorm_value): Likewise.
6964 (initialize): Do not initialize those variables dynamically.
6966 2013-05-03 Roland McGrath <roland@hack.frob.com>
6968 * io/open.c (__open_2): Moved to ...
6969 * io/open_2.c: ... this new file.
6970 * io/open64.c (__open64_2): Moved to ...
6971 * io/open64_2.c: ... this new file.
6972 * io/openat.c (__openat_2): Moved to ...
6973 * io/openat_2.c: ... this new file.
6974 * io/openat64.c (__openat64_2): Moved to ...
6975 * io/openat64_2.c: ... this new file.
6976 * io/Makefile (routines): Add them.
6977 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6978 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6979 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6980 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6981 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6982 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6983 (__openat64): Add hidden_ver.
6984 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6985 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6987 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6988 Separately conditionalize setting of GLRO(dl_sysinfo) so
6989 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6990 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6992 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6997 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6998 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6999 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7000 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7001 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7003 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7005 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7008 * math/libm-test.inc (hypot_test): Do not use
7009 IGNORE_ZERO_INF_SIGN.
7011 2013-05-03 Andreas Jaeger <aj@suse.de>
7013 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7015 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7016 (PF_MAX): Adjust for VSOCK change.
7018 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7022 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7025 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7026 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7027 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7029 2013-05-02 David S. Miller <davem@davemloft.net>
7031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7033 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7035 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7037 2013-05-01 Roland McGrath <roland@hack.frob.com>
7039 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7041 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7044 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7045 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7046 Use __attribute__ ((__gnu_inline__)).
7047 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7048 Don't use __attribute__ ((__gnu_inline__)).
7050 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7053 * math/s_catan.c (__catan): Handle small real or imaginary part of
7054 input specially to avoid spurious underflow.
7055 * math/s_catanf.c (__catanf): Likewise.
7056 * math/s_catanh.c (__catanh): Likewise.
7057 * math/s_catanhf.c (__catanhf): Likewise.
7058 * math/s_catanhl.c (__catanhl): Likewise.
7059 * math/s_catanl.c (__catanl): Likewise.
7060 * math/libm-test.inc (catan_test): Add more tests.
7061 (catanh_test): Likewise.
7062 * sysdeps/i386/fpu/libm-test-ulps: Update.
7063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7069 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7072 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7073 accurately for denominator in atan2.
7074 * math/s_catanf.c (__catanf): Likewise.
7075 * math/s_catanh.c (__catanh): Likewise.
7076 * math/s_catanhf.c (__catanhf): Likewise.
7077 * math/s_catanhl.c (__catanhl): Likewise.
7078 * math/s_catanl.c (__catanl): Likewise.
7079 * math/libm-test.inc (catan_test): Add more tests.
7080 (catanh_test): Likewise.
7081 * sysdeps/i386/fpu/libm-test-ulps: Update.
7082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7084 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7086 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7088 * benchtests/Makefile (bench): Remove slow benchmarks.
7089 * benchtests/atan-inputs: Add slow benchmark inputs.
7090 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7091 (BENCH_FUNC): Accept variant offset.
7093 * benchtests/bench-skeleton.c (main): Run benchmark for each
7095 * benchtests/cos-inputs: Add slow benchmark inputs.
7096 * benchtests/exp-inputs: Likewise.
7097 * benchtests/pow-inputs: Likewise.
7098 * benchtests/sin-inputs: Likewise.
7099 * benchtests/slowatan-inputs: Remove.
7100 * benchtests/slowatan.c: Remove.
7101 * benchtests/slowcos-inputs: Remove.
7102 * benchtests/slowcos.c: Remove.
7103 * benchtests/slowexp-inputs: Remove.
7104 * benchtests/slowexp.c: Remove.
7105 * benchtests/slowpow-inputs: Remove.
7106 * benchtests/slowpow.c: Remove.
7107 * benchtests/slowsin-inputs: Remove.
7108 * benchtests/slowsin.c: Remove.
7109 * benchtests/slowtan-inputs: Remove.
7110 * benchtests/slowtan.c: Remove.
7111 * benchtests/tan-inputs: Add slow benchmark inputs.
7112 * scripts/bench.pl: Parse comments and directives.
7114 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7116 ($(objpfx)bench-%.c): Remove *-ITER.
7117 * benchtests/bench-modf.c: Remove definition of ITER.
7118 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7119 (main): Loop for DURATION seconds instead of fixed number of
7121 * scripts/bench.pl: Don't expect iterations in parameters.
7123 2013-04-29 Roland McGrath <roland@hack.frob.com>
7125 * io/fchdir.c (__fchdir): Renamed from fchdir.
7126 (fchdir): Define as weak alias.
7128 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7130 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7131 (ERRNO_EDOM): Likewise.
7132 (ERRNO_ERANGE): Likewise.
7133 (noErrnoTests): New variable.
7134 (init_max_error): Set errno to 0.
7135 (test_single_errno): New function.
7136 (test_errno): Likewise.
7137 (check_float_internal): Call test_errno. Set errno to 0.
7138 (check_complex): Refer to errno tests in comment.
7139 (check_int): Call test_errno. Set errno to 0.
7140 (check_long): Likewise.
7141 (check_bool): Likewise.
7142 (check_longlong): Likewise.
7143 (cos_test): Use ERRNO_* flags for errno tests instead of
7145 (expm1_test): Likewise.
7146 (fmod_test): Likewise.
7147 (ilogb_test): Likewise.
7148 (lgamma_test): Likewise.
7149 (pow_test): Likewise.
7150 (remainder_test): Likewise.
7151 (sin_test): Likewise.
7152 (tan_test): Likewise.
7153 (yn_test): Likewise.
7154 (initialize): Set errno to 0.
7155 (main): Print number of errno tests.
7156 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7158 2013-04-29 Andreas Jaeger <aj@suse.de>
7161 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7165 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7166 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7170 * stdlib/random.c (__initstate): Return NULL if
7174 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7175 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7178 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7182 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7184 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7185 of individual tests.
7186 (casin_test): Likewise.
7187 (casinh_test): Likewise.
7189 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7192 * math/s_catan.c (__catan): Handle arguments with large real or
7193 imaginary part separately without squaring.
7194 * math/s_catanf.c (__catanf): Likewise.
7195 * math/s_catanh.c (__catanh): Likewise.
7196 * math/s_catanhf.c (__catanhf): Likewise.
7197 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7199 (__catanhl): Handle arguments with large real or imaginary part
7200 separately without squaring.
7201 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7203 (__catanl): Handle arguments with large real or imaginary part
7204 separately without squaring.
7205 * math/libm-test.inc (catan_test): Add more tests.
7206 (catanh_test): Likewise.
7207 * sysdeps/i386/fpu/libm-test-ulps: Update.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7210 2013-04-27 Andreas Jaeger <aj@suse.de>
7213 * stdlib/stdlib.h: Update guards for qecvt.
7214 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7217 2013-04-27 Allan McRae <allan@archlinux.org>
7219 * sysdeps/i386/fpu/libm-test-ulps: Update.
7221 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7224 * math/s_catan.c: Include <float.h>.
7225 (__catan): Ensure underflow exception occurs for underflowed
7227 * math/s_catanf.c: Include <float.h>.
7228 (__catanf): Ensure underflow exception occurs for underflowed
7230 * math/s_catanh.c: Include <float.h>.
7231 (__catanh): Ensure underflow exception occurs for underflowed
7233 * math/s_catanhf.c: Include <float.h>.
7234 (__catanhf): Ensure underflow exception occurs for underflowed
7236 * math/s_catanhl.c: Include <float.h>.
7237 (__catanhl): Ensure underflow exception occurs for underflowed
7239 * math/s_catanl.c: Include <float.h>.
7240 (__catanl): Ensure underflow exception occurs for underflowed
7242 * math/libm-test.inc (catan_test): Add more tests.
7243 (catanh_test): Likewise.
7246 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7248 * math/s_ccoshf.c (__ccoshf): Likewise.
7249 * math/s_ccoshl.c (__ccoshl): Likewise.
7250 * math/s_csin.c (__csin): Likewise.
7251 * math/s_csinf.c (__csinf): Likewise.
7252 * math/s_csinh.c (__csinh): Likewise.
7253 * math/s_csinhf.c (__csinhf): Likewise.
7254 * math/s_csinhl.c (__csinhl): Likewise.
7255 * math/s_csinl.c (__csinl): Likewise.
7256 * math/libm-test.inc (ccos_test): Add more tests.
7257 (ccosh_test): Likewise.
7258 (csin_test): Likewise.
7259 (csinh_test): Likewise.
7261 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7263 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7264 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7265 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7266 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7267 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7268 powerpc/power5+/fpu folders.
7269 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7272 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7276 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7278 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7279 additions to variable.
7280 [$(config-machine) = x86_64] (modules-names): Likewise.
7281 ($(objpfx)tst-audit3): Remove dependency.
7282 ($(objpfx)tst-audit3.out): Likewise.
7283 ($(objpfx)tst-audit4): Likewise.
7284 ($(objpfx)tst-audit4.out): Likewise.
7285 ($(objpfx)tst-audit5): Likewise.
7286 ($(objpfx)tst-audit5.out): Likewise.
7287 ($(objpfx)tst-audit6): Likewise.
7288 ($(objpfx)tst-audit6.out): Likewise.
7289 ($(objpfx)tst-audit7): Likewise.
7290 ($(objpfx)tst-audit7.out): Likewise.
7291 (tst-audit3-ENV): Remove variable.
7292 (tst-audit4-ENV): Likewise.
7293 (tst-audit5-ENV): Likewise.
7294 (tst-audit6-ENV): Likewise.
7295 (tst-audit7-ENV): Likewise.
7296 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7297 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7298 addition to variable.
7299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7300 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7301 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7302 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7303 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7304 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7305 tst-audit3, tst-audit4 and tst-audit5.
7306 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7307 tst-audit6 and tst-audit7.
7308 [$(subdir) = elf] (modules-names): Add audit modules for those
7310 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7311 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7312 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7313 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7314 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7315 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7316 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7317 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7318 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7319 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7320 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7321 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7322 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7323 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7324 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7325 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7327 [$(subdir) = elf && $(config-cflags-avx) = yes]
7328 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7329 [$(subdir) = elf && $(config-cflags-avx) = yes]
7330 (CFLAGS-tst-auditmod4a.c): Likewise.
7331 [$(subdir) = elf && $(config-cflags-avx) = yes]
7332 (CFLAGS-tst-auditmod4b.c): Likewise.
7333 [$(subdir) = elf && $(config-cflags-avx) = yes]
7334 (CFLAGS-tst-auditmod6b.c): Likewise.
7335 [$(subdir) = elf && $(config-cflags-avx) = yes]
7336 (CFLAGS-tst-auditmod6c.c): Likewise.
7337 [$(subdir) = elf && $(config-cflags-avx) = yes]
7338 (CFLAGS-tst-auditmod7b.c): Likewise.
7339 * elf/tst-audit3.c: Move to ...
7340 * sysdeps/x86_64/tst-audit3.c: ... here.
7341 * elf/tst-audit4.c: Move to ...
7342 * sysdeps/x86_64/tst-audit4.c: ... here.
7343 * elf/tst-audit5.c: Move to ...
7344 * sysdeps/x86_64/tst-audit5.c: ... here.
7345 * elf/tst-audit6.c: Move to ...
7346 * sysdeps/x86_64/tst-audit6.c: ... here.
7347 * elf/tst-audit7.c: Move to ...
7348 * sysdeps/x86_64/tst-audit7.c: ... here.
7349 * elf/tst-auditmod3a.c: Move to ...
7350 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7351 * elf/tst-auditmod3b.c: Move to ...
7352 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7353 * elf/tst-auditmod4a.c: Move to ...
7354 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7355 * elf/tst-auditmod4b.c: Move to ...
7356 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7357 * elf/tst-auditmod5a.c: Move to ...
7358 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7359 * elf/tst-auditmod5b.c: Move to ...
7360 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7361 * elf/tst-auditmod6a.c: Move to ...
7362 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7363 * elf/tst-auditmod6b.c: Move to ...
7364 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7365 * elf/tst-auditmod6c.c: Move to ...
7366 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7367 * elf/tst-auditmod7a.c: Move to ...
7368 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7369 * elf/tst-auditmod7b.c: Move to ...
7370 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7372 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7375 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7376 define unconditionally.
7377 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7378 define unconditionally.
7379 (INT8_C, INT16_C, etc.): Likewise.
7381 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7383 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7384 __ehdr_start with hidden visibility.
7386 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7388 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7390 * math/libm-test.inc (cos_test): Use accurate hex constants.
7391 (sincost_test): Likewise.
7393 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7395 * math/libm-test.inc (catan_test): Add more tests.
7396 (catanh_test): Likewise.
7398 * math/s_catanf.c (__catanf): Use suffixed floating-point
7400 * math/s_catanhf.c (__catanhf): Likewise.
7401 * math/s_catanhl.c (__catanhl): Likewise.
7402 * math/s_catanl.c (__catanl): Likewise.
7405 * math/s_catan.c (__catan): Calculate imaginary part of result
7406 with log1p not log unless computing log of number close to 0.
7407 * math/s_catanf.c (__catanf): Likewise.
7408 * math/s_catanl.c (__catanl): Likewise.
7409 * math/s_catanh.c (__catanh): Calculate real part of result with
7410 log1p not log unless computing log of number close to 0.
7411 * math/s_catanhf.c (__catanhf): Likewise.
7412 * math/s_catanhl.c (__catanhl): Likewise.
7413 * math/libm-test.inc (catan_test): Add more tests.
7414 (catanh_test): Likewise.
7415 * sysdeps/i386/fpu/libm-test-ulps: Update.
7416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7420 * benchtests/Makefile: Mention files in which fast and slow
7421 paths of math functions are implemented.
7423 2013-04-23 Roland McGrath <roland@hack.frob.com>
7425 * sysdeps/posix/timespec_get.c: New file.
7427 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7429 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7431 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7433 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7434 powerpc/power5/fpu folders.
7435 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7436 * benchtests/Makefile: Add modf testcase.
7437 * benchtests/bench-modf.c: New file: Benchmark test for mo
7439 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7442 * time/Makefile (tests): Add tst-strptime-whitespace.
7443 * time/strptime_l.c (get_number): Use ISSPACE.
7444 (__strptime_internal): Likewise.
7445 * time/tst-strptime-whitespace.c: New test case.
7447 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7449 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7451 (_nss_files_init): Set it here.
7453 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7455 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7456 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7459 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7461 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7463 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7468 2013-04-21 David S. Miller <davem@davemloft.net>
7470 * po/ru.po: Update Russion translation from translation project.
7472 2013-04-17 Adam Conrad <adconrad@0c3.net>
7474 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7477 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7479 * configure.in: Remove i386 configure warning. Remove i386 case.
7480 * configure: Regenerate.
7481 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7482 Add example to error message.
7483 * sysdeps/i386/configure: Regenerate.
7485 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7487 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7489 * benchtests/cos-inputs: New file.
7490 * benchtests/slowcos-inputs: New file.
7491 * benchtests/slowcos.c: New file.
7492 * benchtests/slowtan-inputs: New file.
7493 * benchtests/slowtan.c: New file.
7494 * benchtests/tan-inputs: New file.
7496 2013-04-16 Roland McGrath <roland@hack.frob.com>
7498 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7501 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7503 * benchtests/Makefile: Include cppflags-iterator.mk to add
7504 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7506 * Makefile.in (bench-clean): New target.
7507 * benchtests/Makefile (bench-clean): Likewise.
7509 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7511 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7513 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7515 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7517 2013-04-15 Andreas Schwab <schwab@suse.de>
7519 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7521 * nscd/pwdcache.c (cache_addpw): Likewise.
7522 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7525 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7527 * benchtests/Makefile (bench): Write all output to
7528 bench-out.tmp together.
7530 2013-04-15 Andreas Schwab <schwab@suse.de>
7532 * nscd/nscd.c (main): Don't fork again after closing files.
7534 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7536 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7538 * benchtests/Rules (bench-deps): Collect dependencies into a
7539 single variable. Add Makefile to dependencies.
7540 ($(objpfx)bench-%.c): Depend on bench-deps.
7542 2013-04-12 Roland McGrath <roland@hack.frob.com>
7543 Xavier Roche <roche+kml2@exalead.com>
7546 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7547 just that it's a file descriptor.
7548 * manual/llio.texi (Synchronizing AIO Operations): Update description
7549 for EBADF error from aio_fsync.
7551 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7553 * Rules (bench): Move target definition...
7554 * benchtests/Makefile: ... here.
7556 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7558 * math/libm-test.inc (cos_test): Fix PI/2 test.
7559 (sincos_test): Likewise.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7561 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7563 2013-04-11 Andreas Schwab <schwab@suse.de>
7566 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7567 accept exponent character only when digits were seen.
7568 * stdio-common/Makefile (tests): Add bug26.
7569 * stdio-common/bug26.c: New file.
7572 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7575 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7577 * Makeconfig (rtld-prefix): Define built linker prefix.
7578 * Rules (run-bench): Use it.
7579 * math/Makefile (run-regen-ulps): Likewise.
7581 * Rules (bench): Remove eval.
7583 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 Roland McGrath <roland@hack.frob.com>
7585 Ondrej Bilka <neleai@seznam.cz>
7588 * time/getdate.c: Include ctype.h and alloca.h.
7589 (__getdate_r): Trim leading and trailing spaces of input.
7590 * time/tst-getdate.c (tests): Add tests with leading and
7593 2013-04-08 Roland McGrath <roland@hack.frob.com>
7596 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7597 when computing value.
7599 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7601 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7602 Use testrun.sh to run libm tests.
7605 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7607 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7610 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7612 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7614 * Makefile.in (regen-ulps): New target.
7615 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7616 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7617 [ifneq (no,$(PERL)] (regen-ulps): New target.
7618 [ifeq (no,$(PERL)] (regen-ulps): New target.
7619 * math/libm-test.inc (ulps_file_name): Define.
7620 (output_dir): New variable.
7621 (options): Add "output-dir" option.
7622 (parse_opt): Handle 'o' case.
7623 (main): If output_dir is non-NULL use it as a prefix
7625 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7627 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7630 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7631 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7632 fail configure if __sync_val_compare_and_swap is not inlined.
7633 * sysdeps/i386/configure: Regenerate.
7634 * configure.in: Build for i686 when configured for i386.
7635 * configure: Regenerate.
7636 * README: Remove i386 reference.
7638 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7640 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7643 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7645 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7646 (lmsnanval): New variables.
7647 (F): Add conversion tests.
7648 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7649 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7651 * stdio-common/tstdiomisc.c (F): Properly collect individual
7655 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7656 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7657 Instead, use input NaN values or generate a qNaN by arithmetic
7658 operation. Also fix bugs to comply with the standard.
7659 * math/libm-test.inc (remainder_test): Add more tests.
7662 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7664 input NaN values or generate a qNaN by arithmetic operation.
7666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7669 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7672 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7675 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7677 * math/s_cexpf.c (__cexpf): Likewise.
7678 * math/s_cexpl.c (__cexpl): Likewise.
7679 * math/libm-test.inc (cexp_test): Add more tests.
7681 2013-04-03 Andreas Schwab <schwab@suse.de>
7684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7685 order arrays from heap if bigger than alloca cutoff.
7687 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7689 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7690 (SNAN_TESTS_double): Refer to GCC PR56831.
7691 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7694 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7696 * Rules (bench): Move bench.out after the run is complete.
7698 * Rules (bench): Echo currently running benchmark.
7700 * benchtests/Makefile (bench): Add atan and slowatan.
7701 * benchtests/atan-inputs: New file.
7702 * benchtests/slowatan-inputs: New file.
7703 * benchtests/slowatan.c: New file.
7705 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7710 * sysdeps/unix/sysv/linux/kernel-features.h
7711 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7712 __ASSUME_XFS_RESTRICTED_CHOWN.
7713 * sysdeps/unix/sysv/linux/pathconf.c
7714 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7715 Save and restore errno.
7717 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7720 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7721 arguments using __kernel_casinh.
7722 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7723 arguments using __kernel_casinhf.
7724 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7725 arguments using __kernel_casinhl.
7726 * math/libm-test.inc (cacosh_test): Add more tests.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7732 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7735 * bench/Makefile (bench): Add sin and slowsin.
7736 * benchtests/sin-inputs: New file.
7737 * benchtests/slowsin-inputs: New file.
7738 * benchtests/slowsin.c: New file.
7740 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7741 (bench): Add slowexp and slowpow.
7742 (exp-ITER): Increase iterations.
7743 (pow-ITER): Likewise.
7744 * benchtests/exp-inputs: Change input.
7745 * benchtests/pow-inputs: Likewise.
7746 * benchtests/slowexp-inputs: New file.
7747 * benchtests/slowexp.c: New file.
7748 * benchtests/slowpow-inputs: New file.
7749 * benchtests/slowpow.c: New file.
7751 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7755 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7756 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7757 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7758 * benchtests/Makefile: Add rint benchtest.
7759 * benchtests/rint-inputs: Input for rint benchtest.
7761 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7763 * Versions.def (libm): Add GLIBC_2.18.
7764 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7765 hidden libm prototypes.
7766 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7767 * math/Makefile (libm-calls): Add s_issignaling.
7768 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7769 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7770 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7772 * math/math.h [__USE_GNU] (issignaling): New macro.
7773 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7774 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7776 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7779 * manual/arith.texi (issignaling): New section.
7780 * manual/libm-err-tab.pl (@all_functions): Update comment.
7781 * math/gen-libm-test.pl (parse_args): Apply special handling for
7783 * math/libm-test.inc (print_float, issignaling_test): New
7785 (check_float_internal): Add issignaling checks.
7786 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7788 * sysdeps/powerpc/math-tests.h: New file.
7789 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7791 * math/test-snan.c (TEST_FUNC): Likewise.
7793 2013-03-30 David S. Miller <davem@davemloft.net>
7795 * po/de.po: Update from translation team.
7797 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7800 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7801 imaginary part less than 1.0 and real part less than 0.5
7803 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7804 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7805 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7806 (cacos_test): Add more tests.
7807 (casin_test): Likewise.
7808 (casinh_test): Likewise.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7814 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7817 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7818 (__pow_mp): Replace ONE and MONE with their values.
7819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7820 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7821 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7822 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7823 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7824 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7826 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7828 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7829 (__pow_mp): Replace ZERO and MZERO with their values.
7830 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7832 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7833 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7834 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7835 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7838 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7840 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7842 2013-03-28 Roland McGrath <roland@hack.frob.com>
7844 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7845 Declare with __attribute__ ((weak)).
7846 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7847 Call __call_tls_dtors only if it's not NULL.
7849 2013-03-28 Roland McGrath <roland@hack.frob.com>
7851 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7852 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7853 magic __ehdr_start linker symbol if it's defined.
7854 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7855 them up here if it was already done.
7857 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7858 (_dl_aux_init): Use const in cast when setting it.
7859 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7860 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7861 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7863 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7865 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7866 * csu/libc-tls.c: Nor here.
7867 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7869 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7870 (__libc_message): Never call vsyslog.
7872 2013-03-28 Alan Modra <amodra@gmail.com>
7874 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7876 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7879 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7882 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7886 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7889 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7890 Don't add gid passed as argument.
7892 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7894 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7898 imaginary part between 1.0 and 1.5 and real part less than 0.5
7900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7902 * math/libm-test.inc (cacos_test): Add more tests.
7903 (casin_test): Likewise.
7904 (casinh_test): Likewise.
7905 * sysdeps/i386/fpu/libm-test-ulps: Update.
7906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7908 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7910 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7914 (__dbl_mp): Likewise.
7915 (add_magnitudes): Likewise.
7916 (sub_magnitudes): Likewise.
7924 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7926 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7927 (__dubcos): Likewise.
7928 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7929 (__ieee754_acos): Likewise.
7930 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7931 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7933 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7936 (my_log2): Likewise.
7937 (checkint): Likewise.
7938 * sysdeps/ieee754/dbl-64/e_remainder.c
7939 (__ieee754_remainder): Likewise.
7940 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7945 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7946 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7947 MANTISSA_STORE_T to store computations on mantissa. Use
7948 macros for rounding and division.
7950 (__dbl_mp): Likewise.
7951 (add_magnitudes): Likewise.
7952 (sub_magnitudes): Likewise.
7955 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7956 powers of two in terms of TWOPOW macro.
7957 (mp_no): Make type of mantissa as MANTISSA_T.
7958 [!RADIXI]: Define RADIXI.
7959 [!TWO52]: Define TWO52.
7960 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7962 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7964 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7965 llroundl symbol when building for PPC32.
7967 2013-03-24 Mark H Weaver <mhw@netris.org>
7969 * manual/arith.texi (Normalization Functions): Fix prototypes for
7970 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7972 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7976 high value to check if expl overflow.
7977 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7978 to check for underflow and overflow.
7979 * math/libm-test.inc: Add exp test.
7981 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7984 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7987 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7989 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7992 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7994 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7995 wrap blocks consisting of several statements.
7997 * sysdeps/generic/math-tests.h: New file.
7998 * sysdeps/i386/fpu/math-tests.h: Likewise.
7999 * math/test-snan.c: Include it.
8000 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8002 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8005 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8006 (__ieee754_j0l): Do not improve calculations using cos of twice
8007 input for inputs above LDBL_MAX / 2.0L.
8008 (__ieee754_y0l): Likewise.
8009 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8010 (__ieee754_j1l): Do not improve calculations using cos of twice
8011 input for inputs above LDBL_MAX / 2.0L.
8012 (__ieee754_y1l): Likewise.
8013 * math/libm-test.inc (j0_test): Add another test.
8014 (j1_test): Likewise.
8015 (y0_test): Likewise.
8016 (y1_test): Likewise.
8017 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8021 * Rules ($(objpfx)bench-%.c): Include code from a C source
8024 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8027 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8028 imaginary part 1.0 and real part less than 0.5 specially.
8029 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8030 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8031 * math/libm-test.inc (cacos_test): Add more tests.
8032 (casin_test): Likewise.
8033 (casinh_test): Likewise.
8034 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8037 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8039 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8040 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8042 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8044 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8045 * config.make.in (config-cflags-sse4): Remove variable.
8046 (config-cflags-avx): Likewise.
8047 (config-cflags-sse2avx): Likewise.
8048 (config-cflags-novzeroupper): Likewise.
8049 (config-asflags-i686): Likewise.
8050 (have-mfma4): Likewise.
8051 (have-as-vis3): Likewise.
8053 * configure.in (MIG): Do not AC_SUBST.
8054 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8055 (libc_cv_cc_sse4): Do not AC_SUBST.
8056 (libc_cv_cc_avx): Likewise.
8057 (libc_cv_cc_sse2avx): Likewise.
8058 (libc_cv_cc_novzeroupper): Likewise.
8059 (libc_cv_cc_fma4): Likewise.
8060 (libc_cv_as_i686): Likewise.
8061 (libc_cv_sparc_as_vis3): Likewise.
8062 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8064 (config-asflags-i686): Likewise.
8065 (config-cflags-avx): Likewise.
8066 (config-cflags-sse2avx): Likewise.
8067 (have-mfma4): Likewise.
8068 (config-cflags-novzeroupper): Likewise.
8069 * sysdeps/mach/configure.in (MIG): Likewise.
8070 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8071 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8073 (config-cflags-avx): Likewise.
8074 (config-cflags-sse2avx): Likewise.
8075 (have-mfma4): Likewise.
8076 (config-cflags-novzeroupper): Likewise.
8077 * configure: Regenerated.
8078 * sysdeps/i386/configure: Likewise.
8079 * sysdeps/mach/configure: Likewise.
8080 * sysdeps/sparc/configure: Likewise.
8081 * sysdeps/x86_64/configure: Likewise.
8083 2013-03-20 Roland McGrath <roland@hack.frob.com>
8086 * locale/programs/localedef.c (options): Put N_ translation marker
8087 on argument names, not just descriptions.
8089 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8091 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8093 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8096 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8098 2013-03-19 Roland McGrath <roland@hack.frob.com>
8100 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8101 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8102 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8103 [!BEFORE_ABORT] (before_abort): New function.
8104 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8105 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8106 (writev_for_fatal): New function.
8107 (WRITEV_FOR_FATAL): New macro; call that.
8108 (backtrace_and_maps): New function.
8109 (BEFORE_ABORT): New macro; call that.
8110 (struct str_list): Type removed.
8111 (__libc_message, __libc_fatal): Functions removed.
8112 Include <sysdeps/posix/libc_fatal.c> instead.
8114 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8116 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8118 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8121 2013-03-19 Andreas Schwab <schwab@suse.de>
8123 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8124 * sysdeps/gnu/configure: Regenerate.
8126 * configure.in: Substitute libc_cv_rtlddir.
8127 * configure: Regenerate.
8128 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8129 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8130 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8131 * elf/Makefile (install-others, CFLAGS-interp.c)
8132 (ldso_install, common-ldd-rewrite): Likewise.
8133 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8134 $(inst_slibdir)/$(rtld-installed-name).
8135 * scripts/rellns-sh: Add -p option.
8136 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8139 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8141 * manual/nptl.texi: Renamed to ...
8142 * manual/threads.texi: ... this.
8143 * manual/Makefile (chapters): Update.
8145 2013-03-18 Roland McGrath <roland@hack.frob.com>
8148 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8149 on argument names, not just descriptions.
8150 * malloc/memusagestat.c (options): Likewise.
8151 * nss/getent.c (options): Likewise.
8153 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8156 * iconv/iconv_prog.c (options): Put N_ translation marker
8157 on argument names, not just descriptions.
8158 * iconv/iconvconfig.c (options): Likewise.
8160 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8162 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8163 implementation which is faster on all x86_64 architectures.
8164 Tested on AMD, Intel Nehalem, SNB, IVB.
8165 * sysdeps/x86_64/strnlen.S: Likewise.
8167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8168 Remove all multiarch strlen and strnlen versions.
8169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8170 Remove strlen and strnlen related parts.
8172 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8176 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8177 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8178 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8179 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8180 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8181 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8183 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8185 * manual/memory.texi (Malloc Tunable Parameters):
8186 Sort parameters alphabetically. Add comments for missing entries.
8188 2013-03-17 David S. Miller <davem@davemloft.net>
8190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8192 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8195 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8196 for arguments at most half maximum finite value.
8197 * math/libm-test.inc (j0_test): Add more tests.
8198 (j1_test): Likewise.
8199 (y0_test): Likewise.
8200 (y1_test): Likewise.
8201 * sysdeps/i386/fpu/libm-test-ulps: Update.
8202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8206 1 / x and functions P and Q for arguments above 0x1p256L.
8207 (__ieee754_y0l): Likewise.
8208 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8209 (__ieee754_y1l): Likewise.
8210 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8211 (j1_test): Likewise.
8212 (y0_test): Likewise.
8213 (y1_test): Likewise.
8215 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8217 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8220 2013-03-15 Roland McGrath <roland@hack.frob.com>
8222 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8223 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8224 zero since it's initialized to EXEC_PAGESIZE.
8226 * sysdeps/unix/sysv/linux/ldsodefs.h
8227 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8228 * sysdeps/generic/ldsodefs.h: ... here.
8230 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8232 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8234 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8236 * math/test-snan.c: Renamed from
8237 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8238 * math/Makefile (tests): Add test-snan.
8239 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8242 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8243 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8245 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8246 __builtin_nan family of functions.
8247 * math/libm-test.inc (initialize): Initialize qnan_value with
8248 __builtin_nan family of functions.
8249 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8251 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8253 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8254 storage class. Initialize qNaN_var and sNaN_var with
8255 __builtin_nan and __builtin_nans families of functions,
8258 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8259 (sqrt_test): Remove duplicate test with qNaN input.
8260 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8261 (round_test, signbit_test, significand_test): Note missing +/-Inf
8262 as well as qNaN tests.
8264 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8265 qNaN_var. Fix a few strings, too.
8266 * math/libm-test.inc (nan_value): Rename to qnan_value.
8267 * math/gen-libm-test.pl (%beautify): Adjust to that.
8268 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8269 * math/test-misc.c (main): Likewise.
8270 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8271 to __qnan_bytes, and __qnan_union, respectively.
8272 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8274 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8275 and lqnanval, respectively.
8276 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8277 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8278 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8279 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8281 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8282 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8285 * math/test-misc.c (main): Fix copy'n'pastos.
8286 * misc/tst-efgcvt.c (special): Likewise.
8288 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8289 Remove declarations.
8291 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8293 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8294 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8295 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8296 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8298 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8300 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8301 macro to return vdso values correctly in IFUNC implementations.
8302 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8303 Optimization by using IFUNC.
8305 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 Richard Henderson <rth@redhat.com>
8307 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8309 * Makefile.in (bench): New target.
8310 * NEWS: Mention the benchmark framework.
8311 * Rules (bench): Likewise.
8312 (binaries-bench): Generate binaries for functions to
8314 * benchtests/Makefile: New makefile for benchmark tests.
8315 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8317 * benchtests/exp-inputs: New input file for EXP function.
8318 * benchtests/pow-inputs: New input file for POW function.
8319 * scripts/bench.pl: New script to generate source files for
8322 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8324 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8325 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8326 computations on mantissa. Use macros for rounding and
8329 (__dbl_mp): Likewise.
8330 (add_magnitudes): Likewise.
8331 (sub_magnitudes): Likewise.
8334 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8335 powers of two in terms of TWOPOW macro.
8336 (mp_no): Make type of mantissa as MANTISSA_T.
8337 [!RADIXI]: Define RADIXI.
8338 [!TWO52]: Define TWO52.
8339 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8341 * manual/nptl.texi (cindex): Modify threads to pthreads.
8343 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8345 * sysdeps/x86_64/preconfigure: Regenerated.
8347 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8350 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8352 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8353 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8355 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8356 * math/libm-test.inc (j0_test): Do not allow one spurious
8357 underflow exception.
8358 (y1_test): Likewise.
8360 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8362 * manual/Makefile (chapters): Add nptl.
8363 * manual/debug.texi (Debugging Support): Add link to Threads
8365 * manual/nptl.texi: New file.
8367 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8369 2013-03-14 Petr Baudis <pasky@ucw.cz>
8371 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8372 for non-NULL pointer before the memory validity test. Pointed
8373 out by Holger Brunck <holger.brunck@keymile.com>.
8375 2013-03-13 Andreas Schwab <schwab@suse.de>
8377 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8380 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8382 * timezone/zic.c: Update from tzcode 2013b.
8384 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8386 * manual/install.texi (Configuring and compiling):
8387 Mention i686 and i586.
8388 * INSTALL: Regenerate.
8390 2013-03-12 Roland McGrath <roland@hack.frob.com>
8392 * sysdeps/init_array/elf-init.c: New file.
8394 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8395 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8397 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8398 __gmon_start__ as global, but as static with a .preinit_array pointer.
8399 * sysdeps/init_array/gmon-start.c: New file. Use that.
8400 * sysdeps/init_array/crti.S: New file, empty except for comments.
8401 * sysdeps/init_array/crtn.S: Likewise.
8403 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8405 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8408 Remove Prefer_SSE_for_memop.
8409 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8410 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8411 HAS_PREFER_SSE_FOR_MEMOP.
8412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8415 Remove bzero, memset ifunc support.
8416 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8417 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8418 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8419 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8421 2013-03-11 Andreas Schwab <schwab@suse.de>
8424 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8427 (GLIBC_2.16): Remove pthread_atfork.
8429 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8431 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8432 (ptestcases.h): Likewise.
8434 2013-03-08 Roland McGrath <roland@hack.frob.com>
8436 * Makeconfig ($(common-objpfx)config.status): Depend on
8437 sysdeps/*/preconfigure{,.in} too.
8439 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8441 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8442 (__free_hook): Use void * instead of __malloc_ptr_t.
8443 (__malloc_hook): Likewise.
8444 (__realloc_hook): Likewise.
8445 (__memalign_hook): Likewise.
8446 (__after_morecore_hook): Likewise.
8447 * malloc/arena.c (save_malloc_hook): Likewise.
8448 (save_free_hook): Likewise.
8449 * malloc/hooks.c (malloc_hook_ini): Likewise.
8450 (realloc_hook_ini): Likewise.
8451 (memalign_hook_ini): Likewise.
8452 * malloc/malloc.c (malloc_hook_ini): Likewise.
8453 (realloc_hook_ini): Likewise.
8454 (memalign_hook_ini): Likewise.
8455 (__free_hook): Likewise.
8456 (__malloc_hook): Likewise.
8457 (__realloc_hook): Likewise.
8458 (__memalign_hook): Likewise.
8459 (__libc_malloc): Likewise.
8460 (__libc_free): Likewise.
8461 (__libc_realloc): Likewise.
8462 (__libc_memalign): Likewise.
8463 (__libc_valloc): Likewise.
8464 (__libc_pvalloc): Likewise.
8465 (__libc_calloc): Likewise.
8466 (__posix_memalign): Likewise.
8467 * malloc/morecore.c (__sbrk): Likewise.
8468 (__default_morecore): Likewise.
8470 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8472 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8473 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8476 * malloc/malloc.h (__malloc_size_t): Remove macro.
8477 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8479 (old_memalign_hook): Likewise.
8480 (old_realloc_hook): Likewise.
8481 (struct hdr): Likewise.
8483 (mallochook): Likewise.
8484 (memalignhook): Likewise.
8485 (reallochook): Likewise.
8486 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8487 (tr_old_realloc_hook): Likewise.
8488 (tr_old_memalign_hook): Likewise.
8489 (tr_mallochook): Likewise.
8490 (tr_reallochook): Likewise.
8491 (tr_memalignhook): Likewise.
8493 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8495 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8496 default_ldbl_pack and using as default implementation.
8497 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8499 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8500 redundant definition.
8501 (ldbl_insert_mantissa): Likewise.
8502 (ldbl_canonicalize): Likewise.
8503 (ldbl_nearbyint): Likewise.
8504 (ldbl_pack): Rename to ldbl_pack_ppc.
8505 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8506 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8507 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8509 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8512 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8513 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8514 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8517 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8518 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8520 2013-03-07 Andreas Jaeger <aj@suse.de>
8522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8525 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8527 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8528 Include mpa.h and declare __MPEXP.
8529 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8531 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8532 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8533 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8534 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8535 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8537 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8538 (__slowpow): Use long double EXPL and LOGL functions to
8540 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8541 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8542 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8543 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8544 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8545 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8548 intermediate variable to calculate exponent.
8550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8554 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8555 [!NO__SQR]: Define __sqr.
8556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8557 and NO__SQR. Remove all code except __mul and __sqr. Include
8558 sysdeps/ieee754/dbl-64/mpa.c.
8559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8562 * posix/Makefile (tests): Add tst-pathconf.
8563 * posix/tst-pathconf.c: New test case.
8564 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8566 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8568 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8570 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8572 2013-03-06 Andreas Jaeger <aj@suse.de>
8574 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8575 definition via __MAP_ANONYMOUS.
8577 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8578 it's not part of Linux headers.
8580 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8581 (MAP_HUGE_MASK): Define.
8583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8589 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8592 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8594 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8596 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8597 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8598 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8599 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8600 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8603 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8607 Handle f2fs and efivarfs.
8609 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8612 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8613 (EFIVARFS_MAGIC): Add.
8614 (F2FS_LINK_MAX): Add.
8616 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8618 * stdio-common/vfprintf.c: Replace __builtin_expect with
8621 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8624 * sysdeps/generic/bp-sym.h: Remove file.
8625 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8626 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8627 <bp-sym.h> and <bp-asm.h>.
8628 (__longjmp): Don't use BP_SYM.
8629 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8631 (memcpy): Don't use BP_SYM.
8632 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8633 <bp-sym.h> and <bp-asm.h>.
8634 (memcpy): Don't use BP_SYM.
8635 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8637 (memcpy): Don't use BP_SYM.
8638 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8640 (memset): Don't use BP_SYM.
8641 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8642 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8643 (__bzero): Don't use BP_SYM.
8644 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8645 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8646 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8647 <bp-sym.h> and <bp-asm.h>.
8648 (memcmp): Don't use BP_SYM. Remove comment about bounded
8650 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8651 <bp-sym.h> and <bp-asm.h>.
8652 (memcpy): Don't use BP_SYM.
8653 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8654 <bp-sym.h> and <bp-asm.h>.
8655 (memset): Don't use BP_SYM.
8656 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8657 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8658 (__bzero): Don't use BP_SYM.
8659 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8660 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8661 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8662 <bp-sym.h> and <bp-asm.h>.
8663 (strncmp): Don't use BP_SYM. Remove comment about bounded
8665 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8666 <bp-sym.h> and <bp-asm.h>.
8667 (memcpy): Don't use BP_SYM.
8668 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8669 <bp-sym.h> and <bp-asm.h>.
8670 (memset): Don't use BP_SYM.
8671 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8672 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8673 (__bzero): Don't use BP_SYM.
8674 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8675 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8677 <bp-sym.h> and <bp-asm.h>.
8678 (__memchr): Don't use BP_SYM.
8679 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8680 <bp-sym.h> and <bp-asm.h>.
8681 (memcmp): Don't use BP_SYM. Remove comment about bounded
8683 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8684 <bp-sym.h> and <bp-asm.h>.
8685 (memcpy): Don't use BP_SYM.
8686 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8687 <bp-sym.h> and <bp-asm.h>.
8688 (__mempcpy): Don't use BP_SYM.
8689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8690 <bp-sym.h> and <bp-asm.h>.
8691 (__memrchr): Don't use BP_SYM.
8692 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8693 <bp-sym.h> and <bp-asm.h>.
8694 (memset): Don't use BP_SYM.
8695 (__bzero): Likewise.
8696 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8697 <bp-sym.h> and <bp-asm.h>.
8698 (__rawmemchr): Don't use BP_SYM.
8699 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8700 <bp-sym.h> and <bp-asm.h>.
8701 (__STRCMP): Don't use BP_SYM.
8702 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8703 <bp-sym.h> and <bp-asm.h>.
8704 (strchr): Don't use BP_SYM.
8705 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8706 <bp-sym.h> and <bp-asm.h>.
8707 (__strchrnul): Don't use BP_SYM.
8708 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8709 <bp-sym.h> and <bp-asm.h>.
8710 (strlen): Don't use BP_SYM.
8711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8712 <bp-sym.h> and <bp-asm.h>.
8713 (strncmp): Don't use BP_SYM. Remove comment about bounded
8715 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8716 <bp-sym.h> and <bp-asm.h>.
8717 (__strnlen): Don't use BP_SYM.
8718 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8719 <bp-sym.h> and <bp-asm.h>.
8720 (__GI__setjmp): Don't use BP_SYM.
8721 (_setjmp): Likewise.
8722 (__sigsetjmp): Likewise.
8723 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8724 (L(start_addresses)): Don't use BP_SYM.
8726 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8728 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8729 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8730 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8731 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8732 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8734 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8735 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8736 about bounded pointers.
8737 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8738 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8739 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8741 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8742 about bounded pointers. Remove GKM FIXME comments.
8743 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8744 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8746 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8747 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8748 Remove GKM FIXME comments.
8749 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8750 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8751 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8753 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8754 about bounded pointers. Remove GKM FIXME comment.
8755 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8757 (strncmp): Don't use BP_SYM. Remove comment about bounded
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8760 <bp-sym.h> and <bp-asm.h>.
8761 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8763 <bp-sym.h> and <bp-asm.h>.
8764 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8767 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8769 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8772 2013-03-05 David S. Miller <davem@davemloft.net>
8774 * po/es.po: Update from translation team.
8776 2013-03-05 Andreas Jaeger <aj@suse.de>
8778 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8779 <bits/mman-linux.h>.
8780 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8782 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8783 <bits/mman-linux.h> to end of file.
8784 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8786 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8787 <bits/mman-linux.h> to end of file.
8788 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8791 <bits/mman-linux.h> to end of file.
8793 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8794 (MCL_CURRENT, MCL_FUTURE): Define here.
8796 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8799 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8801 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8803 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8806 fourth parameter needed for rt_sigprocmask syscall.
8807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8808 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8810 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8811 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8812 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8814 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8817 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8818 comment about bounded pointers.
8819 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8820 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8822 2013-03-04 Andreas Jaeger <aj@suse.de>
8824 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8827 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8828 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8829 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8830 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8831 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8832 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8834 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8838 __ieee754_sqrl instead of __sqrl.
8840 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8842 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8843 * sysdeps/powerpc/fpu_control.h: ... here.
8844 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8845 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8846 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8847 * sysdeps/powerpc/bits/mathinline.h: ... here.
8849 2013-03-01 Roland McGrath <roland@hack.frob.com>
8851 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8852 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8853 to just [NEED_DL_SYSINFO_DSO].
8854 * elf/dl-support.c: Likewise.
8855 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8856 * elf/rtld.c (dl_main): Likewise.
8857 * elf/setup-vdso.h (setup_vdso): Likewise.
8858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8859 * sysdeps/unix/sysv/linux/dl-sysdep.c
8860 (_dl_discover_osversion): Likewise.
8862 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8864 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8865 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8867 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8869 * NEWS: Mention libm performance improvements and non-x86 PI
8872 * csu/libc-start.c (__pthread_initialize_minimal): Change
8874 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8876 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8879 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8880 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8881 <bp-sym.h> and <bp-asm.h>.
8882 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8883 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8885 (memcpy): Don't use BP_SYM.
8886 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8888 (__mpn_add_n): Don't use BP_SYM.
8889 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8890 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8892 (__mpn_addmul_1): Don't use BP_SYM.
8893 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8894 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8896 (_setjmp): Don't use BP_SYM.
8897 (__novmx_setjmp): Likewise.
8898 (__GI__setjmp): Likewise.
8899 (__vmx_setjmp): Likewise.
8900 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8902 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8903 (__bzero): Don't use BP_SYM.
8904 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8905 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8906 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8907 <bp-sym.h> and <bp-asm.h>.
8908 (memcpy): Don't use BP_SYM.
8909 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8910 <bp-sym.h> and <bp-asm.h>.
8911 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8913 <bp-sym.h> and <bp-asm.h>.
8914 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8915 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8917 (__mpn_lshift): Don't use BP_SYM.
8918 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8919 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8921 (memset): Don't use BP_SYM.
8922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8924 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8926 (__mpn_mul_1): Don't use BP_SYM.
8927 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8928 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8929 <bp-sym.h> and <bp-asm.h>.
8930 (memcmp): Don't use BP_SYM.
8931 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8932 <bp-sym.h> and <bp-asm.h>.
8933 (memcpy): Don't use BP_SYM.
8934 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8935 <bp-sym.h> and <bp-asm.h>.
8936 (memset): Don't use BP_SYM.
8937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8938 <bp-sym.h> and <bp-asm.h>.
8939 (strncmp): Don't use BP_SYM.
8940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8941 <bp-sym.h> and <bp-asm.h>.
8942 (memcpy): Don't use BP_SYM.
8943 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8944 <bp-sym.h> and <bp-asm.h>.
8945 (memset): Don't use BP_SYM.
8946 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8947 <bp-sym.h> and <bp-asm.h>.
8948 (__memchr): Don't use BP_SYM.
8949 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8950 <bp-sym.h> and <bp-asm.h>.
8951 (memcmp): Don't use BP_SYM.
8952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8953 <bp-sym.h> and <bp-asm.h>.
8954 (memcpy): Don't use BP_SYM.
8955 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8956 <bp-sym.h> and <bp-asm.h>.
8957 (__mempcpy): Don't use BP_SYM.
8958 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8959 <bp-sym.h> and <bp-asm.h>.
8960 (__memrchr): Don't use BP_SYM.
8961 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8962 <bp-sym.h> and <bp-asm.h>.
8963 (memset): Don't use BP_SYM.
8964 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8965 <bp-sym.h> and <bp-asm.h>.
8966 (__rawmemchr): Don't use BP_SYM.
8967 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8968 <bp-sym.h> and <bp-asm.h>.
8969 (__STRCMP): Don't use BP_SYM.
8970 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8971 <bp-sym.h> and <bp-asm.h>.
8972 (strchr): Don't use BP_SYM.
8973 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8974 <bp-sym.h> and <bp-asm.h>.
8975 (__strchrnul): Don't use BP_SYM.
8976 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8977 <bp-sym.h> and <bp-asm.h>.
8978 (strlen): Don't use BP_SYM.
8979 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8980 <bp-sym.h> and <bp-asm.h>.
8981 (strncmp): Don't use BP_SYM.
8982 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8983 <bp-sym.h> and <bp-asm.h>.
8984 (__strnlen): Don't use BP_SYM.
8985 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8987 (__mpn_rshift): Don't use BP_SYM.
8988 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8989 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8990 <bp-sym.h> and <bp-asm.h>.
8991 (__sigsetjmp): Don't use BP_SYM.
8992 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8993 (L(start_addresses)): Don't use BP_SYM.
8995 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8997 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8998 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8999 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9000 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9002 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9003 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9004 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9005 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9007 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9009 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9010 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9012 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9014 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9015 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9016 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9018 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9020 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9022 (strncmp): Don't use BP_SYM,
9023 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9025 (__mpn_sub_n): Don't use BP_SYM.
9026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9027 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9029 (__mpn_submul_1): Don't use BP_SYM.
9030 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9032 <bp-sym.h> and <bp-asm.h>.
9033 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9035 <bp-sym.h> and <bp-asm.h>.
9036 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9039 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9042 Use ZK to minimize writes to Z.
9043 (sub_magnitudes): Simplify code a bit.
9044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9045 Use ZK to minimize writes to Z.
9046 (sub_magnitudes): Simplify code a bit.
9048 2013-02-27 Roland McGrath <roland@hack.frob.com>
9050 * csu/gmon-start.c: Add special exception to license text.
9052 2013-02-27 Richard Henderson <rth@redhat.com>
9054 * scripts/config.guess: Update from config.git.
9055 * scripts/config.sub: Likewise.
9057 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9059 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9061 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9063 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9065 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9067 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9069 2013-02-26 Roland McGrath <roland@hack.frob.com>
9071 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9072 [$(build-shared = yes].
9074 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9076 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9077 (__mul): Reduce iterations for calculating mantissa.
9079 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9081 (__mpranred): Likewise.
9084 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9085 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9087 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9089 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9090 Define __attribute__.
9092 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9094 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9096 * posix/regex_internal.h (__attribute): Remove.
9097 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9098 (re_string_context_at): Likewise.
9099 (bitset_not): Use __attribute__ and mark function as possibly
9101 (bitset_merge): Likewise.
9102 (bitset_mask): Likewise.
9103 (re_string_char_size_at): Likewise.
9104 (re_string_wchar_at): Likewise.
9105 (re_string_elem_size_at): Likewise.
9107 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9109 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9113 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9118 (__dbl_mp): Likewise.
9119 (add_magnitudes): Likewise.
9120 (sub_magnitudes): Likewise.
9124 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9127 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9130 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9134 up changes with default code.
9135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9138 2013-02-24 Allan McRae <allan@archlinux.org>
9140 * manual/socket.texi (The Internet Namespace): Order menu items
9141 to match that in the file.
9143 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9144 node listing of the info page menu.
9146 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9149 * sysdeps/i386/bp-asm.h: Remove file.
9150 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9151 (PARMS): Do not use macros from bp-asm.h.
9155 (__mpn_add_n): Do not use BP_SYM
9156 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9158 (PARMS): Do not use macros from bp-asm.h.
9161 (__mpn_addmul_1): Do not use BP_SYM
9162 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9164 (PARMS): Do not use macros from bp-asm.h.
9166 (_setjmp): Likewise. Do not use BP_SYM.
9167 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9169 (PARMS): Do not use macros from bp-asm.h.
9171 (setjmp): Likewise. Do not use BP_SYM.
9172 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9174 (PARMS): Do not use macros from bp-asm.h.
9175 (__frexp): Do not use BP_SYM.
9177 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9179 (PARMS): Do not use macros from bp-asm.h.
9180 (__frexpf): Do not use BP_SYM.
9182 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9184 (PARMS): Do not use macros from bp-asm.h.
9185 (__frexpl): Do not use BP_SYM.
9187 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9189 (PARMS): Do not use macros from bp-asm.h.
9190 (__remquo): Do not use BP_SYM.
9192 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9194 (PARMS): Do not use macros from bp-asm.h.
9195 (__remquof): Do not use BP_SYM.
9196 (remquof): Likewise.
9197 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9199 (PARMS): Do not use macros from bp-asm.h.
9200 (__remquol): Do not use BP_SYM.
9201 (remquol): Likewise.
9202 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9204 (PARMS): Do not use macros from bp-asm.h.
9207 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9208 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9210 (PARMS): Do not use macros from bp-asm.h.
9211 (strlen): Do not use BP_SYM.
9212 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9214 (PARMS): Do not use macros from bp-asm.h.
9218 (__mpn_add_n): Do not use BP_SYM.
9219 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9221 (PARMS): Do not use macros from bp-asm.h.
9224 (__mpn_addmul_1): Do not use BP_SYM.
9225 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9228 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9230 (PARMS): Do not use macros from bp-asm.h.
9233 (__mpn_lshift): Do not use BP_SYM.
9234 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9236 (PARMS): Do not use macros from bp-asm.h.
9240 (memcpy): Likewise. Do not use BP_SYM.
9241 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9242 libc_hidden_def and weak_alias.
9243 (mempcpy): Do not use BP_SYM in weak_alias.
9244 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9246 (PARMS): Do not use macros from bp-asm.h.
9249 [!BZERO_P] (CHR): Likewise.
9250 (memset): Likewise. Do not use BP_SYM.
9251 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9253 (PARMS): Do not use macros from bp-asm.h.
9256 (__mpn_mul_1): Do not use BP_SYM.
9257 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9259 (PARMS): Do not use macros from bp-asm.h.
9262 (__mpn_rshift): Do not use BP_SYM.
9263 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9265 (PARMS): Do not use macros from bp-asm.h.
9268 (strchr): Likewise. Do not use BP_SYM.
9269 (index): Do not use BP_SYM in weak_alias.
9270 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9272 (PARMS): Do not use macros from bp-asm.h.
9275 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9276 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9278 (PARMS): Do not use macros from bp-asm.h.
9279 (strlen): Do not use BP_SYM.
9280 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9282 (PARMS): Do not use macros from bp-asm.h.
9286 (__mpn_sub_n): Do not use BP_SYM.
9287 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9289 (PARMS): Do not use macros from bp-asm.h.
9292 (__mpn_submul_1): Do not use BP_SYM.
9293 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9295 (PARMS): Do not use macros from bp-asm.h.
9299 (__mpn_add_n): Do not use BP_SYM.
9300 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9303 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9305 (PARMS): Do not use macros from bp-asm.h.
9308 (memcmp): Do not use BP_SYM.
9309 (bcmp): Do not use BP_SYM in weak_alias.
9310 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9312 (PARMS): Do not use macros from bp-asm.h.
9316 (memcpy): Likewise. Do not use BP_SYM.
9317 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9319 (PARMS): Do not use macros from bp-asm.h.
9323 (memmove): Likewise. Do not use BP_SYM.
9324 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9326 (PARMS): Do not use macros from bp-asm.h.
9330 (__mempcpy): Likewise. Do not use BP_SYM.
9331 (mempcpy): Do not use BP_SYM in weak_alias.
9332 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9334 (PARMS): Do not use macros from bp-asm.h.
9337 [!BZERO_P] (CHR): Likewise.
9338 (memset): Likewise. Do not use BP_SYM.
9339 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9341 (PARMS): Do not use macros from bp-asm.h.
9343 (strcmp): Do not use BP_SYM.
9344 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9346 (PARMS): Do not use macros from bp-asm.h.
9349 [USE_AS_STRTOK_R] (SAVE): Likewise.
9350 (FUNCTION): Likewise. Do not use BP_SYM.
9351 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9353 (strtok_r): Likewise.
9354 (__GI___strtok_r): Likewise.
9355 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9356 (PARMS): Do not use macros from bp-asm.h.
9359 (__mpn_lshift): Do not use BP_SYM.
9360 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9361 (PARMS): Do not use macros from bp-asm.h.
9364 (__memchr): Do not use BP_SYM.
9365 (memchr): Do not use BP_SYM in weak_alias.
9366 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9367 (PARMS): Do not use macros from bp-asm.h.
9370 (memcmp): Do not use BP_SYM.
9371 (bcmp): Do not use BP_SYM in weak_alias.
9372 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9373 (PARMS): Do not use macros from bp-asm.h.
9376 (__mpn_mul_1): Do not use BP_SYM.
9377 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9379 (PARMS): Do not use macros from bp-asm.h.
9382 (__rawmemchr): Do not use BP_SYM.
9383 (rawmemchr): Do not use BP_SYM in weak_alias.
9384 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9385 (PARMS): Do not use macros from bp-asm.h.
9388 (__mpn_rshift): Do not use BP_SYM.
9389 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9390 (PARMS): Do not use macros from bp-asm.h.
9392 (__sigsetjmp): Likewise. Do not use BP_SYM.
9393 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9394 (_start): Do not use BP_SYM.
9395 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9396 (PARMS): Do not use macros from bp-asm.h.
9399 (__stpcpy): Likewise. Do not use BP_SYM.
9400 (stpcpy): Do not use BP_SYM in weak_alias.
9401 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9403 (PARMS): Do not use macros from bp-asm.h.
9407 (__stpncpy): Likewise. Do not use BP_SYM.
9408 (stpncpy): Do not use BP_SYM in weak_alias.
9409 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9410 (PARMS): Do not use macros from bp-asm.h.
9413 (strchr): Likewise. Do not use BP_SYM.
9414 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9416 (PARMS): Do not use macros from bp-asm.h.
9419 (__strchrnul): Likewise. Do not use BP_SYM.
9420 (strchrnul): Do not use BP_SYM in weak_alias.
9421 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9423 (PARMS): Do not use macros from bp-asm.h.
9425 (strcspn): Do not use BP_SYM.
9426 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9428 (PARMS): Do not use macros from bp-asm.h.
9431 (strpbrk): Likewise. Do not use BP_SYM.
9432 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9434 (PARMS): Do not use macros from bp-asm.h.
9437 (strrchr): Likewise. Do not use BP_SYM.
9438 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9439 (PARMS): Do not use macros from bp-asm.h.
9441 (strspn): Do not use BP_SYM.
9442 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9443 (PARMS): Do not use macros from bp-asm.h.
9447 (FUNCTION): Likewise. Do not use BP_SYM.
9448 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9450 (strtok_r): Likewise.
9451 (__GI___strtok_r): Likewise.
9452 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9453 (PARMS): Do not use macros from bp-asm.h.
9457 (__mpn_sub_n): Do not use BP_SYM.
9458 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9460 (PARMS): Do not use macros from bp-asm.h.
9463 (__mpn_submul_1): Do not use BP_SYM.
9464 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9466 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9468 (PARMS): Do not use macros from bp-asm.h.
9473 (__clone): Do not use BP_SYM.
9474 (clone): Do not use BP_SYM in weak_alias.
9475 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9477 (PARMS): Do not use macros from bp-asm.h.
9479 (__mmap64): Do not use BP_SYM.
9480 (mmap64): Do not use BP_SYM in weak_alias.
9481 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9482 <bp-sym.h> and <bp-asm.h>.
9483 (PARMS): Do not use macros from bp-asm.h.
9484 (__posix_fadvise64_l64): Do not use BP_SYM.
9485 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9486 (PARMS): Do not use macros from bp-asm.h.
9488 (semtimedop): Do not use BP_SYM.
9489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9492 2013-02-21 Allan McRae <allan@archlinux.org>
9494 * manual/message.texi (Charset conversion in gettext):
9495 Move @end statement to beginning of line.
9497 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9504 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9509 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9511 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9512 tail-call to the resolved function if pltexit isn't needed.
9514 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9516 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9517 or Y being zero as being unlikely.
9518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9521 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9523 * manual/nss.texi (System Databases and Name Service Switch):
9524 Remove frobnicate @pxref.
9526 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9528 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9529 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9531 2013-02-20 Petr Machata <pmachata@redhat.com>
9533 * elf/elf.h (R_ARM_TARGET1): New macro.
9534 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9535 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9536 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9537 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9538 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9539 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9540 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9541 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9542 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9543 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9544 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9545 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9546 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9547 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9548 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9549 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9550 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9551 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9552 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9553 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9554 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9555 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9556 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9557 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9558 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9559 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9560 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9561 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9562 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9563 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9564 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9565 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9566 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9567 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9568 (R_ARM_THM_GOT_BREL12): Likewise.
9569 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9570 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9571 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9572 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9573 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9574 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9575 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9576 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9577 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9579 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9581 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9582 __attribute_used__ to __attribute__ ((unused)).
9584 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9586 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9588 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9592 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9595 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9597 (ENTER): Remove both macro definitions.
9599 (CHECK_BOUNDS_LOW): Likewise.
9600 (CHECK_BOUNDS_HIGH): Likewise.
9601 (CHECK_BOUNDS_BOTH): Likewise.
9602 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9603 (RETURN_BOUNDED_POINTER): Likewise.
9604 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9605 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9606 (POP_ERRNO_LOCATION_RETURN): Likewise.
9607 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9608 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9609 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9611 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9612 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9613 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9614 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9615 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9616 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9617 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9618 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9619 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9620 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9621 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9622 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9623 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9624 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9626 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9627 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9629 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9630 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9631 * sysdeps/i386/i586/memset.S (memset): Likewise.
9632 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9633 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9634 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9636 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9637 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9638 Change uses of L(2) to L(out).
9639 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9640 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9641 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9642 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9643 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9645 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9646 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9648 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9649 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9650 (RETURN): Do not use macro LEAVE.
9651 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9652 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9653 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9654 * sysdeps/i386/i686/memset.S (memset): Likewise.
9655 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9656 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9657 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9658 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9660 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9661 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9662 L(1_2) and L(1_3) into L(1).
9663 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9664 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9665 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9666 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9667 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9668 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9669 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9670 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9671 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9673 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9674 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9675 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9676 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9677 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9678 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9679 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9680 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9681 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9682 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9683 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9684 * sysdeps/i386/strspn.S (strspn): Likewise.
9685 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9687 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9688 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9689 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9690 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9692 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9693 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9694 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9696 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9698 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9700 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9703 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9705 * math/atest-exp.c (exp_mpn): Remove ROUND.
9706 * math/atest-exp2.c (exp_mpn): Likewise.
9707 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9709 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9710 * stdlib/tst-tls-atexit-lib.c: Likewise.
9711 * stdlib/tst-tls-atexit.c: Likewise.
9713 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9715 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9716 and __attribute_alloc_size__.
9718 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9720 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9721 __attribute_alloc_size__.
9722 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9723 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9725 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9727 * include/programs/xmalloc.h: New file.
9728 * catgets/gencat.c: Include it.
9729 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9730 * elf/pldd.c: Likewise.
9731 * iconv/iconv_charmap.c: Likewise.
9732 * iconv/iconvconfig.c: Likewise.
9733 * iconv/strtab.c: Likewise.
9734 * locale/programs/locale.c: Likewise.
9735 * locale/programs/localedef.h: Likewise.
9736 * locale/programs/simple-hash.c: Likewise.
9737 * nscd/nscd.h: Likewise.
9738 * nss/makedb.c: Likewise.
9739 * sysdeps/generic/ldconfig.h: Likewise.
9741 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9743 * Versions.def: Add GLIBC_2.18.
9744 * include/link.h (struct link_map): New member l_tls_dtor_count.
9745 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9746 (__call_tls_dtors): Likewise.
9747 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9748 __cxa_thread_atexit_impl.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9757 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9765 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9766 (tests): Add test case tst-tls-atexit.
9767 (modules-names): Add shared library for tst-tls-atexit.
9768 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9769 (GLIBC_PRIVATE): Add __call_tls_dtors.
9770 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9772 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9773 * stdlib/tst-tls-atexit.c: New test case.
9774 * stdlib/tst-tls-atexit-lib.c: New test case.
9776 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9778 * elf/Versions (ld): Add _dl_find_dso_for_object.
9779 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9780 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9781 (dl_open_worker): Use _dl_find_dso_for_object.
9782 * elf/dl-sym.c (do_sym): Likewise.
9783 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9785 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9787 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9788 Syntactic changes only.
9789 (_dl_runtime_profile): Do a tail-call to the resolved function.
9791 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9794 * sysdeps/x86_64/bp-asm.h: Remove file.
9795 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9796 <bp-sym.h> and <bp-asm.h>.
9797 (__clone): Do not use BP_SYM.
9798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9799 <bp-sym.h> and <bp-asm.h>.
9800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9801 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9803 (_setjmp): Do not use BP_SYM.
9804 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9806 (setjmp): Do not use BP_SYM.
9807 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9809 (mempcpy): Do not use BP_SYM in weak_alias.
9810 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9812 (strchr): Do not use BP_SYM.
9813 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9815 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9816 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9817 (_start): Do not use BP_SYM.
9818 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9820 (strcat): Do not use BP_SYM.
9821 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9823 (STRCMP): Do not use BP_SYM.
9824 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9826 (STRCPY): Do not use BP_SYM.
9827 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9829 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9831 (FUNCTION): Do not use BP_SYM.
9832 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9834 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9836 2013-02-17 Andreas Jaeger <aj@suse.de>
9838 * time/Versions: Sort entries.
9839 * string/Versions: Likewise.
9840 * resolv/Versions: Likewise.
9841 * posix/Versions: Likewise.
9842 * iconv/Versions: Likewise.
9843 * elf/Versions: Likewise.
9844 * wcsmbs/Versions: Likewise.
9846 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9848 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9849 loop termination condition.
9851 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9852 variable to calculate EZ.
9855 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9856 the lower precision input.
9858 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9861 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9862 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9863 (run-via-rtld-prefix): Do not handle %-bp tests.
9864 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9865 (all-object-suffixes): Remove .ob.
9866 (bppfx): Remove variable.
9867 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9868 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9869 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9870 [$(build-bounded) = yes] (libtype.ob): Likewise.
9871 * Makerules (elide-routines.ob): Remove variable.
9872 (do-tests-clean): Do not handle *-bp.out.
9873 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9874 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9875 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9876 (tests): Do not include $(tests-bp.out).
9877 (xtests): Do not include $(xtests-bp.out).
9878 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9879 [$(build-bounded) = yes] ($(addprefix
9880 $(objpfx),$(binaries-bounded))): Remove rule.
9881 ($(objpfx)%-bp.out): Remove rule.
9882 * config.make.in (build-bounded): Remove variable.
9883 * crypt/Makefile [$(build-bounded) = yes]
9884 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9885 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9887 [$(build-bounded) = yes] (install-lib): Likewise.
9888 [$(build-bounded) = yes] (generated): Likewise.
9889 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9891 * intl/Makefile [$(build-bounded) = yes]
9892 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9893 * math/Makefile [$(build-bounded) = yes]
9894 ($(tests:%=$(objpfx)%-bp): Likewise.
9895 * misc/Makefile [$(build-bounded) = yes]
9896 ($(objpfx)tst-tsearch-bp): Likewise.
9897 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9898 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9900 * string/Makefile (o-objects.ob): Remove variable.
9901 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9902 (CFLAGS-.ob): Remove variable.
9903 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9904 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9905 both definitions of variable.
9906 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9907 (ASFLAGS-.ob): Remove variable.
9909 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9912 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9913 Remove __BOUNDED_POINTERS__ from condition.
9914 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9915 * string/bits/string2.h [!__NO_STRING_INLINES &&
9916 !__BOUNDED_POINTERS__]: Likewise.
9917 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9919 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9920 Remove conditional code.
9921 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9922 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9923 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9927 * csu/libc-start.c: Do not include <bp-sym.h>.
9928 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9929 * elf/dl-open.c: Do not include <bp-sym.h>.
9930 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9931 * math/fegetenv.c: Do not include <bp-sym.h>.
9932 (fegetenv): Do not use BP_SYM in versioned symbols.
9933 * nptl/sysdeps/pthread/bits/libc-lockP.h
9934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9937 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9939 (__pthread_mutex_destroy): Likewise.
9940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9941 (__pthread_mutex_lock): Likewise.
9942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9943 (__pthread_mutex_trylock): Likewise.
9944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9945 (__pthread_mutex_unlock): Likewise.
9946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9947 (__pthread_mutexattr_init): Likewise.
9948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9949 (__pthread_mutexattr_destroy): Likewise.
9950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9951 (__pthread_mutexattr_settype): Likewise.
9952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9953 (__pthread_rwlock_init): Likewise.
9954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9955 (__pthread_rwlock_destroy): Likewise.
9956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9957 (__pthread_rwlock_rdlock): Likewise.
9958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9959 (__pthread_rwlock_tryrdlock): Likewise.
9960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9961 (__pthread_rwlock_wrlock): Likewise.
9962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9963 (__pthread_rwlock_trywrlock): Likewise.
9964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9965 (__pthread_rwlock_unlock): Likewise.
9966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9967 (__pthread_key_create): Likewise.
9968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9969 (__pthread_setspecific): Likewise.
9970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9971 (__pthread_getspecific): Likewise.
9972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9975 (_pthread_cleanup_push_defer): Likewise.
9976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9977 (_pthread_cleanup_pop_restore): Likewise.
9978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9979 (pthread_setcancelstate): Likewise.
9980 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9982 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9983 (memchr): Do not use BP_SYM in weak_alias.
9984 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9985 (fegetenv): Do not use BP_SYM in versioned symbols.
9986 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9987 (fesetenv): Do not use BP_SYM in versioned symbols.
9988 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9989 (feupdateenv): Do not use BP_SYM in versioned symbols.
9990 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9991 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9992 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9993 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9994 (open64): Do not use BP_SYM in weak_alias.
9995 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9996 (fegetenv): Do not use BP_SYM in versioned symbols.
9997 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9998 (fesetenv): Do not use BP_SYM in versioned symbols.
9999 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10000 (feupdateenv): Do not use BP_SYM in versioned symbols.
10001 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10002 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10003 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10004 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10005 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10006 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10007 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10009 (__libc_start_main): Do not use BP_SYM.
10011 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10014 redundant return line.
10016 (denorm): Likewise.
10017 (dbl_mp): Likewise.
10018 (sub_magnitudes): Likewise.
10024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10026 (denorm): Likewise.
10027 (dbl_mp): Likewise.
10028 (sub_magnitudes): Likewise.
10035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10037 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10038 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10041 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10042 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10043 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10044 of __mul for squares.
10045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10049 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10050 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10052 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10055 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10057 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10058 prototype or function definition. Rename ubp_* variables and
10059 parameters. Remove argv definitions conditional on
10060 [__BOUNDED_POINTERS__].
10061 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10062 * elf/dl-runtime.c (_dl_fixup): Likewise.
10063 * include/set-hooks.h (RUN_HOOK): Likewise.
10064 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10066 * string/strcpy.c (strcpy): Do not use __unbounded.
10067 * sysdeps/generic/frame.h (struct layout): Likewise.
10068 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10069 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10070 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10071 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10072 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10073 (__backtrace): Likewise.
10074 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10076 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10077 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10078 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10080 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10081 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10082 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10083 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10084 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10085 Do not use __unbounded.
10086 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10087 Rename __unboundedrlimits parameter to rlimits in prototype.
10088 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10089 Do not use __unbounded.
10090 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10091 not use __ptrvalue.
10092 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10093 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10094 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10095 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10096 __ptrvalue or __unbounded.
10097 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10098 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10100 (__new_msgctl): Do not use __ptrvalue.
10101 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10103 (__libc_msgrcv): Do not use __ptrvalue.
10104 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10105 startup_info): Do not use __unbounded.
10106 (__libc_start_main): Likewise. Rename ubp_* variables and
10107 parameters. Remove argv definitions conditional on
10108 [__BOUNDED_POINTERS__].
10109 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10111 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10113 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10115 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10117 (__new_shmctl): Do not use __ptrvalue.
10118 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10119 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10121 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10123 (__libc_sigaction): Likewise.
10124 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10125 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10127 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10129 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10131 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10133 * string/mempcpy.c: Implement by calling memcpy.
10135 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10137 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10143 values in the mantissa.
10145 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10146 minimize writes to Z.
10147 (sub_magnitudes): Simplify code a bit.
10149 2013-02-12 Roland McGrath <roland@hack.frob.com>
10151 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10152 from the message. The linker prefixes all warnings with that already.
10154 2013-02-12 Andreas Schwab <schwab@suse.de>
10157 * posix/regexec.c (extend_buffers): Add parameter min_len.
10158 (check_matching): Pass minimum needed length.
10159 (clean_state_log_if_needed): Likewise.
10160 (get_subexp): Likewise.
10161 * posix/Makefile (tests): Add bug-regex34.
10162 (bug-regex34-ENV): Define.
10163 * posix/bug-regex34.c: New file.
10166 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10167 elements compare against the byte sequence of it, not its name.
10168 * posix/Makefile (tests): Add bug-regex35.
10169 (bug-regex35-ENV): Define.
10170 * posix/bug-regex35.c: New file.
10172 2013-02-11 Tom de Vries <tom@codesourcery.com>
10174 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10176 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10177 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10178 (CHECK_EOL): Add undef.
10180 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10182 * bits/stdlib-bsearch.h: New file.
10183 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10184 * stdlib/stdlib.h: Likewise.
10186 2013-02-11 Roland McGrath <roland@hack.frob.com>
10188 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10189 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10191 * manual/search.texi (Array Search Function): Add missing const in
10193 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10194 declaration to use rlim_t.
10195 (Basic Scheduling Functions): Remove erroneous const from
10196 sched_getparam prototype. Remove erroneous * from
10197 sched_get_priority_max and sched_get_priority_min prototypes.
10198 (Resource Usage): Fix summary @comment on vtimes to refer to
10199 sys/vtimes.h rather than vtimes.h.
10200 Add missing *s in vtimes prototype.
10201 (Limits on Resources): Fix ulimit prototype to return long int.
10202 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10203 prototypes to use long int rather than double.
10204 (BSD Random): Fix initstate and setstate to use char *, not void *.
10205 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10206 prototype to make second argument 'struct aiocb64 *const[]'.
10207 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10208 (Status of AIO Operations): Remove erroneous const in aio_return and
10209 aio_return64 prototypes.
10210 (Synchronizing I/O): Fix sync prototype to return void.
10211 * manual/startup.texi (Suboptions): Remove an erroneous const in
10212 getsubopt prototype.
10213 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10214 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10215 use size_t rather than int.
10216 (Scanning All Users): Likewise for getpwent_r.
10217 (Setting Groups): Add missing const to setgroups prototype.
10218 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10219 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10220 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10221 'const void *' rather than 'const char *'.
10222 (Host Address Functions): Likewise for inet_ntop.
10223 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10224 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10225 ssize_t for return value.
10226 (Sending Data): Likewise for send, sendto, sendmsg.
10227 (Socket Option Functions): Add a missing const in setsockopt prototype.
10228 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10229 use wchar_t for the argument.
10230 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10231 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10233 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10234 double/float/long double for second argument.
10235 Fix return types of significand, significandf, significandl.
10236 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10237 argument in fchmod prototype.
10238 (File Owner): Use uid_t and gid_t in fchown prototype.
10239 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10240 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10241 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10242 use 'const struct dirent **' as argument types to CMP function pointer
10244 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10245 (File Times): Fix summary magic @comment for struct utimbuf and utime
10246 to refer to utime.h, not time.h.
10247 * manual/string.texi (Argz Functions): Add missing const in
10248 argz_extract and argz_next prototypes.
10249 (Finding Tokens in a String): Likewise for basename.
10250 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10251 (Copying and Concatenation): Fix typo in wmemmove prototype.
10252 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10253 (Signal Stack): Remove erroneous const in sigstack prototype.
10254 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10256 (Simple Calendar Time): Likewise for stime.
10257 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10259 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10260 say sys/sysctl.h instead.
10261 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10262 and vsyslog prototypes.
10264 2013-02-11 Tom de Vries <tom@codesourcery.com>
10266 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10269 2013-02-11 Roland McGrath <roland@hack.frob.com>
10271 * misc/sys/mman.h: Fix typo in mremap comment.
10273 2013-02-08 Roland McGrath <roland@hack.frob.com>
10275 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10276 the '\0' terminator.
10278 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10281 * debug/segfault.c: Don't include <bp-checks.h>.
10282 * sysdeps/generic/bp-checks.h: Remove file.
10283 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10284 (__GETDENTS): Don't use CHECK_N.
10285 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10286 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10287 (__getgroups): Don't use CHECK_N.
10288 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10289 (setgroups): Don't use CHECK_N.
10290 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10291 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10292 (__libc_msgrcv): Don't use CHECK_N.
10293 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10294 (__libc_msgsnd): Don't use CHECK_N.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10297 (__libc_pread): Don't use CHECK_N.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10299 include <bp-checks.h>.
10300 (__libc_pread64): Don't use CHECK_N.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10302 include <bp-checks.h>.
10303 (__libc_pwrite): Don't use CHECK_N.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10305 include <bp-checks.h>.
10306 (__libc_pwrite64): Don't use CHECK_N.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10309 (__libc_pread): Don't use CHECK_N.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10311 include <bp-checks.h>.
10312 (__libc_pread64): Don't use CHECK_N.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10314 include <bp-checks.h>.
10315 (__libc_pwrite): Don't use CHECK_N.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10317 include <bp-checks.h>.
10318 (__libc_pwrite64): Don't use CHECK_N.
10319 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10320 (do_pread): Don't use CHECK_N.
10321 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10322 (do_pread64): Don't use CHECK_N.
10323 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10324 (do_pwrite): Don't use CHECK_N.
10325 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10326 (do_pwrite64): Don't use CHECK_N.
10327 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10328 (__libc_readv): Don't use CHECK_N.
10329 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10330 (semop): Don't use CHECK_N.
10331 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10333 (semtimedop): Don't use CHECK_N.
10334 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10335 (__libc_pread): Don't use CHECK_N.
10336 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10338 (__libc_pread64): Don't use CHECK_N.
10339 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10341 (__libc_pwrite): Don't use CHECK_N.
10342 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10344 (__libc_pwrite64): Don't use CHECK_N.
10345 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10347 (__libc_msgrcv): Don't use CHECK_N.
10348 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10349 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10350 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10351 (__libc_writev): Don't use CHECK_N.
10353 2013-02-08 Roland McGrath <roland@hack.frob.com>
10355 * string/strcpy.c: Removed unused variable.
10357 * Makeconfig (+sysdep-includes): Define with := rather than =.
10358 Use an existing include/ subdir of each sysdeps dir before it.
10360 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10362 * nscd/connection.c (register_traced_file): Comment function.
10363 [HAVE_INOTIFY] (union __inev): Define.
10364 [HAVE_INOTIFY] (inotify_check_files): New function.
10365 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10366 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10368 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10370 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10372 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10373 loaded if not already and that a failure is permanent.
10375 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10378 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10379 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10381 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10384 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10385 (CHECK_1_NULL_OK): Likewise.
10386 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10387 (__fxstat): Do not use CHECK_1.
10388 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10390 (___fxstat64): Do not use CHECK_1.
10391 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10393 (__fxstatat): Do not use CHECK_1.
10394 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10396 (__fxstatat64): Do not use CHECK_1.
10397 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10399 (__fxstat): Do not use CHECK_1.
10400 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10402 (__fxstatat): Do not use CHECK_1.
10403 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10405 (__getresgid): Do not use CHECK_1.
10406 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10408 (__getresuid): Do not use CHECK_1.
10409 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10411 (__lxstat): Do not use CHECK_1.
10412 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10414 (__old_msgctl): Do not use CHECK_1.
10415 (__new_msgctl): Likewise.
10416 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10418 (__new_setrlimit): Do not use CHECK_1.
10419 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10421 (__old_shmctl): Do not use CHECK_1.
10422 (__new_shmctl): Likewise.
10423 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10425 (__xstat): Do not use CHECK_1.
10426 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10427 (__lxstat): Do not use CHECK_1.
10428 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10430 (___lxstat64): Do not use CHECK_1.
10431 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10432 (__old_msgctl): Do not use CHECK_1.
10433 (__new_msgctl): Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10436 (__gettimeofday): Do not use CHECK_1.
10437 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10438 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10439 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10441 (__gettimeofday): Do not use CHECK_1.
10442 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10443 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10444 (__new_shmctl): Do not use CHECK_1.
10445 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10447 (do_sigtimedwait): Do not use CHECK_1.
10448 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10450 (do_sigwaitinfo): Do not use CHECK_1.
10451 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10453 (msgctl): Do not use CHECK_1.
10454 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10456 (shmctl): Do not use CHECK_1.
10457 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10458 (ustat): Do not use CHECK_1.
10459 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10461 (__fxstat): Do not use CHECK_1.
10462 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10464 (__fxstatat): Do not use CHECK_1.
10465 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10467 (__lxstat): Do not use CHECK_1.
10468 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10470 (__xstat): Do not use CHECK_1.
10471 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10472 (__xstat): Do not use CHECK_1.
10473 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10474 (___xstat64): Do not use CHECK_1.
10477 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10479 (CHECK_BOUNDS_HIGH): Likewise.
10480 * string/strcpy.c: Do not include <bp-checks.h>.
10481 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10483 2013-02-07 Roland McGrath <roland@hack.frob.com>
10485 * nscd/nscd-client.h (__nscd_drop_map_ref):
10486 Add __attribute__ ((unused)).
10487 * nis/nss-nisplus.h (niserr2nss): Likewise.
10489 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10490 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10492 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10493 Remove inline keyword.
10494 * include/rounding-mode.h (round_away): Likewise.
10495 * libio/wfileops.c (adjust_wide_data): Likewise.
10496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10497 (__m128i_strloadu_tolower): Likewise.
10498 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10499 (__m128i_strloadu_tolower): Likewise.
10500 * time/mktime.c (ydhms_diff): Likewise.
10501 * locale/elem-hash.h (elem_hash): Likewise.
10502 * locale/setlocale.c (setdata): Likewise.
10503 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10504 (re_string_wchar_at): Likewise.
10505 (bitset_not, bitset_merge, bitset_mask): Likewise.
10506 [!(__GNUC__ > 3)] (inline): Remove macro.
10507 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10508 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10509 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10510 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10511 * string/memcmp.c (memcmp_bytes): Likewise.
10512 * locale/programs/locarchive.c (compute_hashval): Likewise.
10513 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10514 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10515 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10516 * nss/getent.c (print_rpc, print_protocols): Likewise.
10517 (print_passwd, print_group, print_aliases): Likewise.
10518 * nis/nss-nisplus.h (niserr2nss): Likewise.
10519 * nscd/connections.c (restart_p): Likewise.
10520 Change return type to bool.
10522 2013-02-05 Roland McGrath <roland@hack.frob.com>
10524 * Makeconfig (all-Depend-files): Add existing
10525 $(sorted-subdirs:=/Depend) files.
10526 (all-subdirs): Remove nss.
10527 * sysdeps/unix/inet/Subdirs: Add it here instead.
10528 * hesiod/Depend: New file.
10530 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10531 instead of calling alloca.
10533 * io/lseek.c (__lseek): Rename to __libc_lseek.
10534 Define __lseek as an alias.
10536 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10538 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10540 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10541 else clause and remove check for non-standard endianness.
10543 2013-02-04 David S. Miller <davem@davemloft.net>
10545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10547 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10550 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10551 (__ubp_memchr): Remove prototype.
10552 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10553 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10554 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10555 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10556 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10558 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10559 (__ubp_memchr): Likewise.
10560 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10561 (__ubp_memchr): Likewise.
10562 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10563 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10564 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10565 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10567 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10568 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10569 (__getcwd): Do not use CHECK_STRING.
10570 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10572 (__real_chown): Do not use CHECK_STRING.
10573 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10575 (fchownat): Do not use CHECK_STRING.
10576 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10578 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10580 (__lchown): Do not use CHECK_STRING.
10581 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10582 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10583 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10584 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10586 include <bp-checks.h>.
10587 (truncate64): Do not use CHECK_STRING.
10588 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10590 (__real_chown): Do not use CHECK_STRING.
10591 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10593 (__lchown): Do not use CHECK_STRING.
10594 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10596 (__chown): Do not use CHECK_STRING.
10597 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10599 (truncate64): Do not use CHECK_STRING.
10600 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10602 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10603 (__xmknod): Do not use CHECK_STRING.
10604 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10606 (__xmknodat): Do not use CHECK_STRING.
10607 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10608 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10610 2013-02-04 Andreas Schwab <schwab@suse.de>
10613 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10614 * include/netdb.h: Likewise for h_errno.
10615 * elf/tst-stackguard1.c: Include <tls.h>.
10617 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10619 * elf/link.h (struct link_map): Extend the l_addr comment.
10620 * include/link.h (struct link_map): Likewise.
10622 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10625 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10626 (BOUNDED_1): Remove macro.
10627 * debug/backtrace.c: Don't include <bp-checks.h>.
10628 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10629 (__backtrace): Likewise.
10630 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10632 (__backtrace): Don't use BOUNDED_1.
10633 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10635 (__backtrace): Don't use BOUNDED_1.
10636 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10637 (__backtrace): Don't use BOUNDED_1.
10638 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10639 (shmat): Don't use BOUNDED_N.
10641 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10644 * sysdeps/generic/bp-start.h: Remove file.
10645 * csu/libc-start.c: Don't include <bp-start.h>.
10646 (LIBC_START_MAIN): Set up __environ directly instead of using
10647 INIT_ARGV_and_ENVIRON.
10648 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10652 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10654 (CHECK_FCNTL): Likewise.
10655 (CHECK_N_PAGES): Likewise.
10658 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10660 (CHECK_SIGSET_NULL_OK): Likewise.
10661 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10663 (sigpending): Don't use CHECK_SIGSET.
10664 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10666 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10667 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10669 (do_sigsuspend): Don't use CHECK_SIGSET.
10670 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10672 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10673 (do_sigwait): Don't use CHECK_SIGSET.
10674 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10677 include <bp-checks.h>.
10678 (sigpending): Don't use CHECK_SIGSET.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10680 include <bp-checks.h>.
10681 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10682 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10684 (sigpending): Don't use CHECK_SIGSET.
10685 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10687 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10690 * sysdeps/generic/bp-semctl.h: Remove file.
10691 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10692 <bp-checks.h> and <bp-semctl.h>.
10693 (__old_semctl): Don't use CHECK_SEMCTL.
10694 (__new_semctl): Likewise.
10695 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10697 (__old_semctl): Don't use CHECK_SEMCTL.
10698 (__new_semctl): Likewise.
10699 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10700 <bp-checks.h> and <bp-semctl.h>.
10701 (__old_semctl): Don't use CHECK_SEMCTL.
10702 (__new_semctl): Likewise.
10703 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10704 <bp-checks.h> and <bp-semctl.h>.
10705 (semctl): Don't use CHECK_SEMCTL.
10708 * Makerules (elide-bp-thunks): Remove variable.
10709 (elide-routines.oS): Don't use $(elide-bp-thunks).
10710 (elide-routines.os): Likewise.
10711 (elide-routines.o): Likewise.
10712 (elide-routines.op): Likewise.
10713 (elide-routines.og): Likewise.
10714 (objects): Don't use $(bp-thunks).
10715 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10717 (common-generated): Do not add s-proto-bp.d.
10718 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10721 Do not generate makefile rules for bounded-pointer thunks.
10722 * sysdeps/generic/bp-thunks.h: Remove file.
10723 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10724 * sysdeps/unix/s-proto-bp.S: Likewise.
10727 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10728 parts of result separately when argument is not close to line from
10729 -i to i and one part of argument is small.
10730 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10731 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10732 * math/libm-test.inc (cacos_test): Add more tests.
10733 (casin_test): Likewise.
10734 (casinh_test): Likewise.
10735 * sysdeps/i386/fpu/libm-test-ulps: Update.
10736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10738 2013-01-31 David S. Miller <davem@davemloft.net>
10740 * po/de.po: Update from translation team.
10742 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10744 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10746 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10748 * configure.in (_AC_PROG_CC_C89): New definition.
10749 * configure: Regenerate.
10751 * configure.in (AC_PROG_CPP): New definition.
10752 * configure: Regenerate.
10754 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10756 * debug/tst-backtrace.h: New file.
10757 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10758 (ret): Remove variable.
10760 (FAIL): Remove macro.
10761 (NO_INLINE): Likewise.
10762 (fn1): Use match function instead of strstr.
10763 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10764 (ret): Remove variable.
10766 (FAIL): Remove macro.
10767 (NO_INLINE): Likewise.
10768 (fn): Use match function instead of strstr.
10769 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10770 (ret): Remove variable.
10772 (FAIL): Remove macro.
10773 (NO_INLINE): Likewise.
10774 (handle_signal): Use match function instead of strstr.
10775 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10776 (ret): Remove variable.
10778 (FAIL): Remove macro.
10779 (NO_INLINE): Likewise.
10780 (handle_signal): Use match function instead of strstr.
10782 2013-01-23 Roland McGrath <roland@hack.frob.com>
10784 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10786 2013-01-23 David S. Miller <davem@davemloft.net>
10788 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10789 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10790 argument of CAS if possible.
10791 * sysdeps/sparc/sparc64/bits/atomic.h
10792 (__arch_compare_and_exchange_val_32_acq): Likewise.
10793 (__arch_compare_and_exchange_val_64_acq): Likewise.
10795 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10797 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10798 * sysdeps/posix/ulimit.c: ... this.
10799 Include <limits.h>.
10800 * sysdeps/unix/bsd/ulimit.c: Remove file.
10802 2013-01-23 Adam Conrad <adconrad@0c3.net>
10804 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10805 (LDFLAGS-tst-array5): Likewise.
10807 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10810 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10811 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10812 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10813 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10815 2013-01-21 David S. Miller <davem@davemloft.net>
10817 * sysdeps/sparc/backtrace.c: New file.
10818 * sysdeps/sparc/sparc32/backtrace.h: New file.
10819 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10820 * sysdeps/sparc/sparc64/backtrace.h: New file.
10821 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10822 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10825 2013-01-21 Andreas Schwab <schwab@suse.de>
10828 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10831 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10837 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10838 Mark Mitchell <mark@codesourcery.com>
10839 Tom de Vries <tom@codesourcery.com>
10840 Paul Pluzhnikov <ppluzhnikov@google.com>
10842 * debug/tst-backtrace2.c: New file.
10843 * debug/tst-backtrace3.c: Likewise.
10844 * debug/tst-backtrace4.c: Likewise.
10845 * debug/tst-backtrace5.c: Likewise.
10846 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10847 (CFLAGS-tst-backtrace3.c): Likewise.
10848 (CFLAGS-tst-backtrace4.c): Likewise.
10849 (CFLAGS-tst-backtrace5.c): Likewise.
10850 (LDFLAGS-tst-backtrace2): Likewise.
10851 (LDFLAGS-tst-backtrace3): Likewise.
10852 (LDFLAGS-tst-backtrace4): Likewise.
10853 (LDFLAGS-tst-backtrace5): Likewise.
10854 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10855 tst-backtrace4 and tst-backtrace5.
10857 2013-01-18 Anton Blanchard <anton@samba.org>
10858 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10860 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10861 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10862 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10863 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10865 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10866 "+r" and remove output regs list as redundant. Add explicit inline
10867 asm to specify register of return val to work around compiler codegen
10868 bug. Remove (int) cast on return value. Add return type parameter to
10869 use in macro so that this macro does not truncate return value for
10871 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10872 pass to INTERNAL_VSYSCALL_NCS.
10873 (INLINE_VSYSCALL): Add 'long int' as return type to
10874 INTERNAL_VSYSCALL_NCS macro invocation.
10875 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10876 INTERNAL_VSYSCALL_NCS macro invocation.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10879 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10882 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10883 Fix application of SIMD FP exception mask.
10885 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10886 mp_no from a power of two.
10887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10888 __mpexp_twomm1. Use __pow_mp.
10890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10893 2013-01-17 David S. Miller <davem@davemloft.net>
10895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10897 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10900 * include/complex.h: Condition contents on [!_COMPLEX_H].
10901 (__kernel_casinhf): New prototype.
10902 (__kernel_casinh): Likewise.
10903 (__kernel_casinhl): Likewise.
10904 * math/Makefile (libm_calls): Add k_casinh.
10905 * math/k_casinh.c: New file.
10906 * math/k_casinhf.c: Likewise.
10907 * math/k_casinhl.c: Likewise.
10908 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10909 finite nonzero arguments.
10910 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10911 finite nonzero arguments.
10912 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10913 finite nonzero arguments.
10914 * math/s_casinh.c: Do not include <float.h>.
10915 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10916 * math/s_casinhf.c: Do not include <float.h>.
10917 (__casinhf): Move code for finite nonzero arguments to
10919 * math/s_casinhl.c: Do not include <float.h>.
10920 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10922 (__casinhl): Move code for finite nonzero arguments to
10924 * math/libm-test.inc (cacos_test): Add more tests.
10925 * sysdeps/i386/fpu/libm-test-ulps: Update.
10926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10928 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10930 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10931 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10932 [!HAVE_MREMAP]: Remove [defined linux] case.
10933 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10935 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10937 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10939 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10941 * elf/elf.h (R_386_SIZE32): New relocation.
10942 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10944 (elf_machine_rela): Likewise.
10945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10946 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10948 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10950 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10951 (FP_FAST_FMA): Do not define.
10952 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10953 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10954 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10955 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10956 !_SOFT_FLOAT]: Likewise.
10957 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10958 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10960 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10961 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10962 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10963 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10964 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10965 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10968 2013-01-16 Andreas Schwab <schwab@suse.de>
10971 * include/stdlib.h (__mktemp): Add declaration.
10972 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10973 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10975 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10977 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10979 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10980 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10981 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10983 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10984 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10986 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10988 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10989 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10990 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10992 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10993 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10995 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10997 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10999 2013-01-15 David S. Miller <davem@davemloft.net>
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11002 trunc{,f} to libm-sysdep_routes.
11003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11013 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11014 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11016 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11017 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11018 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11021 nearbyint{,f} to libm-sysdep_routes.
11022 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11038 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11039 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11040 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11042 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11043 libc_feholdexcept and libc_fesetenv.
11045 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11047 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11049 2013-01-14 David S. Miller <davem@davemloft.net>
11051 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11052 (SPARC_ASM_VIS2_IFUNC): Likewise.
11053 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11055 use of 'siam' instruction.
11056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11089 routines to libm-sysdep_routines.
11090 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11093 fdim/fdimf to libm-sysdep_routines.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11102 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11103 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11107 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11109 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11110 to optimize copies.
11112 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11117 local variable MPTWO.
11118 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11121 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11123 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11126 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11128 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11130 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11132 * manual/pattern.texi (glob_t): Document gl_flags.
11133 (glob64_t): Likewise.
11135 2013-01-11 David S. Miller <davem@davemloft.net>
11137 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11138 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11139 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11140 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11141 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11142 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11143 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11144 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11145 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11146 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11147 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11148 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11149 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11151 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11152 sparc V9 rather than using V8 code.
11153 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11154 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11156 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11158 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11161 2013-01-11 Roland McGrath <roland@hack.frob.com>
11163 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11164 not in the main loop.
11165 * configure: Regenerated.
11167 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11169 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11170 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11172 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11173 [!__GLIBC_HAVE_LONG_LONG] case.
11174 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11175 condition to just #else.
11176 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11177 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11178 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11179 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11181 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11182 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11183 #elif condition to just #else.
11184 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11185 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11186 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11187 #elif condition to just #else.
11189 2013-01-11 Steve Ellcey <sellcey@mips.com>
11191 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11192 (EF_MIPS_ARCH_64): Fix value.
11193 (EF_MIPS_ARCH_32R2): New.
11194 (EF_MIPS_ARCH_64R2): New.
11196 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11198 * Makeconfig (+link-pie-before-libc): New.
11199 (+link-pie-after-libc): Likewise.
11200 (+link-pie-tests): Likewise.
11201 (+link-pie): Rewritten.
11202 (link-before-libc): Remove $(config-LDFLAGS).
11203 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11204 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11205 (config-LDFLAGS): Renamed to ...
11206 (rtld-LDFLAGS): This.
11207 (rtld-tests-LDFLAGS): New macro.
11208 (link-libc-rpath-link): Likewise.
11209 (link-libc-tests-rpath-link): Likewise.
11210 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11211 (link-libc): Prepand $(link-libc-rpath-link).
11212 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11213 (test-program-prefix): New macro.
11214 (test-via-rtld-prefix): Likewise.
11215 (test-program-cmd): Likewise.
11216 (host-test-program-cmd): Likewise.
11217 * Makefile ($(common-objpfx)testrun.sh): Replace
11218 $(run-program-prefix) with $(test-program-prefix).
11219 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11221 ($(common-objpfx)shlib.lds): Likewise.
11222 (build-module-helper): Likewise.
11223 ($(common-objpfx)format.lds): Likewise.
11224 * Rules (binaries-pie-tests): New.
11225 (binaries-pie-notests): Likewise.
11226 (binaries-pie): Rewritten.
11227 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11228 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11229 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11230 (make-test-out): Replace $(host-built-program-cmd) with
11231 $(host-test-program-cmd).
11232 * config.make.in (build-hardcoded-path-in-tests): New variable.
11233 * configure.in (--enable-hardcoded-path-in-tests): New configure
11235 (hardcoded_path_in_tests): New AC_SUBST.
11236 * configure: Regenerated.
11237 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11238 $(built-program-cmd) with $(test-program-cmd).
11239 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11240 (test_program_cmd): This.
11241 * elf/Makefile ($(objpfx)order.out): Run test with
11242 $(test-program-prefix).
11243 ($(objpfx)order2.out): Likewise.
11244 ($(objpfx)tst-initorder.out): Likewise.
11245 ($(objpfx)tst-initorder2.out): Likewise.
11246 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11247 $(test-program-cmd).
11248 ($(objpfx)tst-array1-static.out): Likewise.
11249 ($(objpfx)tst-array2.out): Likewise.
11250 ($(objpfx)tst-array3.out): Likewise.
11251 ($(objpfx)tst-array4.out): Likewise.
11252 ($(objpfx)tst-array5.out): Likewise.
11253 ($(objpfx)tst-array5-static.out): Likewise.
11254 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11255 $(test-program-cmd).
11256 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11257 $(run-program-prefix) with $(test-program-prefix).
11258 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11259 (test_program_prefix): This.
11260 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11261 $(run-program-prefix) with $(test-program-prefix).
11262 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11263 (test_program_prefix): This.
11264 * iconvdata/tst-tables.sh: Likewise.
11265 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11266 $(run-program-prefix) with $(test-program-prefix).
11267 ($(objpfx)tst-translit.out): Likewise.
11268 ($(objpfx)tst-gettext2.out): Likewise.
11269 ($(objpfx)tst-gettext4.out): Likewise.
11270 ($(objpfx)tst-gettext6.out): Likewise.
11271 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11272 (test_program_prefix): This.
11273 * intl/tst-gettext2.sh: Likewise.
11274 * intl/tst-gettext4.sh Likewise.
11275 * intl/tst-gettext6.sh: Likewise.
11276 * intl/tst-translit.sh: Likewise.
11277 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11278 with $(test-program-cmd).
11279 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11280 $(run-program-prefix) with $(test-program-prefix).
11281 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11282 (test_program_prefix): This.
11283 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11284 $(run-program-prefix) with $(test-program-prefix).
11285 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11286 (test_program_prefix): This.
11287 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11288 * posix/Makefile ($(objpfx)globtest.out): Replace
11289 $(run-via-rtld-prefix) and $(test-wrapper) with
11290 $(test-program-prefix) and $(test-via-rtld-prefix).
11291 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11292 $(test-program-prefix).
11293 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11294 $(host-test-program-cmd).
11295 (tst-spawn-ARGS): Likewise.
11296 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11297 $(test-program-prefix).
11298 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11299 (test_via_rtld_prefix): This.
11300 (test_wrapper): Renamed to ...
11301 (test_program_prefix): This.
11302 (run_program_prefix): Replaced by test_program_prefix.
11303 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11304 (test_program_prefix): This.
11305 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11306 with $(host-test-program-cmd).
11307 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11308 $(run-program-prefix) with $(test-program-prefix).
11309 ($(objpfx)tst-printf.out): Likewise.
11310 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11311 $(test-program-cmd).
11312 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11313 (test_program_prefix): This.
11314 * stdio-common/tst-unbputc.sh: Likewise.
11315 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11316 $(run-program-prefix) with $(test-program-prefix).
11317 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11318 (test_program_prefix): This.
11319 * string/Makefile ($(objpfx)tst-svc.out): Replace
11320 $(built-program-cmd) with $(test-program-cmd).
11322 2013-01-11 Andreas Jaeger <aj@suse.de>
11325 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11326 value. Sync with Linux 3.7.
11328 2013-01-10 David S. Miller <davem@davemloft.net>
11330 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11331 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11332 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11334 2013-01-10 Roland McGrath <roland@hack.frob.com>
11336 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11338 * configure: Regenerated.
11340 2013-01-10 David S. Miller <davem@davemloft.net>
11342 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11343 sparc V9 rather than using V8 code.
11344 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11345 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11347 2013-01-10 Roland McGrath <roland@hack.frob.com>
11349 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11350 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11351 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11352 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11353 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11354 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11355 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11356 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11357 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11358 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11359 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11360 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11361 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11362 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11363 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11364 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11365 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11366 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11367 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11368 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11369 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11370 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11371 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11372 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11373 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11374 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11375 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11377 2013-01-10 David S. Miller <davem@davemloft.net>
11379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11381 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11383 * posix/Makefile (tests-static): New variable.
11384 (tests): Add $(tests-static).
11385 (tst-exec-static-ARGS): New variable.
11386 (tst-spawn-static-ARGS): Likewise.
11387 * posix/tst-exec-static.c: New file.
11388 * posix/tst-spawn-static.c: Likewise.
11389 * posix/tst-exec.c: Support run directly.
11390 * posix/tst-spawn.c: Likewise.
11392 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11394 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11396 * math/bits/mathcalls.h (llrint): Likewise.
11397 (llround): Likewise.
11398 * stdlib/stdlib.h (struct drand48_data): Likewise.
11399 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11400 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11403 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11405 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11406 (elf_greg_t): Likewise.
11407 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11408 (__jmp_buf): Likewise.
11409 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11411 (llrint): Likewise, for all definitions.
11412 (llrintl): Likewise.
11414 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11415 Remove [__GNUC__] condition.
11416 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11417 condition to just [__USE_ISOC99].
11418 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11420 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11423 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11424 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11426 (_POSIX_V6_ILP32_OFF32): Likewise.
11427 (_XBS5_ILP32_OFF32): Likewise.
11428 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11429 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11431 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11433 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11436 doubles __mpexp_twomm1. Adjust usage.
11437 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11440 2013-01-10 Andreas Schwab <schwab@suse.de>
11443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11444 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11446 2013-01-09 David S. Miller <davem@davemloft.net>
11449 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11450 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11451 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11452 TCP_FASTOPEN): Define.
11453 (tcp_repair_opt): New structure.
11454 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11456 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11457 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11458 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11459 (tcp_cookie_transactions): New structure.
11461 2013-01-09 Anton Blanchard <anton@samba.org>
11463 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11464 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11466 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11468 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11470 * include/features.h (__USE_ANSI): Remove.
11472 2013-01-09 Roland McGrath <roland@hack.frob.com>
11474 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11476 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11478 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11480 * sysdeps/s390/fpu/libm-test-ulps: Update.
11482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11484 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11488 (denorm): Likewise.
11489 (__mp_dbl): Likewise.
11490 (__dbl_mp): Likewise.
11491 (add_magnitudes): Likewise.
11492 (sub_magnitudes): Likewise.
11498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11502 (denorm): Likewise.
11503 (__mp_dbl): Likewise.
11504 (__dbl_mp): Likewise.
11505 (add_magnitudes): Likewise.
11506 (sub_magnitudes): Likewise.
11512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11516 (denorm): Likewise.
11517 (__mp_dbl): Likewise.
11518 (__dbl_mp): Likewise.
11519 (add_magnitudes): Likewise.
11520 (sub_magnitudes): Likewise.
11527 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11529 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11530 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11531 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11532 2 && __USE_EXTERN_INLINES]: Likewise.
11534 2013-01-08 Andreas Jaeger <aj@suse.de>
11537 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11539 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11540 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11542 2013-01-07 Anton Blanchard <anton@samba.org>
11544 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11545 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11546 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11547 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11548 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11549 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11550 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11551 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11553 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11558 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11559 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11562 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11564 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11565 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11566 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11567 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11568 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11569 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11570 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11571 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11572 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11573 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11574 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11576 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11577 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11578 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11579 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11580 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11582 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11583 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11584 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11585 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11586 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11588 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11590 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11591 (__MALLOC_PMT): Likewise.
11592 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11593 [__GNUC__], only on [_LIBC].
11594 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11595 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11596 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11597 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11598 forward declaration.
11599 (realloc_hook_ini): Likewise.
11600 (memalign_hook_ini): Likewise.
11601 (__libc_memalign): Do not use __MALLOC_PMT in variable
11603 (__libc_valloc): Likewise.
11604 (__libc_pvalloc): Likewise.
11605 (__libc_calloc): Likewise.
11606 (__posix_memalign): Likewise.
11609 * math/s_casinh.c: Include <float.h>.
11610 (__casinh): Do not do computation with squaring and square root
11611 for large arguments.
11612 * math/s_casinhf.c: Include <float.h>.
11613 (__casinhf): Do not do computation with squaring and square root
11614 for large arguments.
11615 * math/s_casinhl.c: Include <float.h>.
11616 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11617 (__casinhl): Do not do computation with squaring and square root
11618 for large arguments.
11619 * math/libm-test.inc (casin_test): Add more tests.
11620 (casinh_test): Likewise.
11621 * sysdeps/i386/fpu/libm-test-ulps: Update.
11622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11624 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11626 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11627 (__x86_64_raw_data_cache_size): Likewise.
11628 (__x86_64_data_cache_size_half): Likewise.
11629 (__x86_64_raw_data_cache_size_half): Likewise.
11630 (__x86_64_shared_cache_size): Likewise.
11631 (__x86_64_raw_shared_cache_size): Likewise.
11632 (__x86_64_shared_cache_size_half): Likewise.
11633 (__x86_64_raw_shared_cache_size_half): Likewise.
11634 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11636 (__x86_data_cache_size): This.
11637 (__x86_64_raw_data_cache_size): Renamed to ...
11638 (__x86_raw_data_cache_size): This.
11639 (__x86_64_data_cache_size_half): Renamed to ...
11640 (__x86_data_cache_size_half): This.
11641 (__x86_64_raw_data_cache_size_half): Renamed to ...
11642 (__x86_raw_data_cache_size_half): This.
11643 (__x86_64_shared_cache_size): Renamed to ...
11644 (__x86_shared_cache_size): This.
11645 (__x86_64_raw_shared_cache_size): Renamed to ...
11646 (__x86_raw_shared_cache_size): This.
11647 (__x86_64_shared_cache_size_half): Renamed to ...
11648 (__x86_shared_cache_size_half): This.
11649 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11650 (__x86_raw_shared_cache_size_half): This.
11651 * sysdeps/x86_64/memcpy.S: Updated.
11652 * sysdeps/x86_64/memset.S: Likewise.
11653 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11654 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11655 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11657 2013-01-04 David S. Miller <davem@davemloft.net>
11659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11661 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11663 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11664 1 to avoid redefinition warning.
11665 (__USE_GNU): Don't define.
11666 (init_signaling_nan): Protoize.
11668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11670 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11674 (__cpymn): Likewise.
11675 (norm): Remove commented code.
11676 (denorm): Likewise.
11677 (__mp_dbl): Likewise.
11679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11680 (__cpymn): Likewise.
11681 (norm): Remove commented code.
11682 (denorm): Likewise.
11683 (__mp_dbl): Likewise.
11686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11687 mp_no value for 1.0 and 2.0.
11688 (norm): Use RADIXI instead of radixi.d.
11689 (denorm): Likewise.
11690 (__mul): Use 0.0 instead of zero.d.
11691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11692 mp_no value for 1.0 and 2.0.
11693 (norm): Use RADIXI instead of radixi.d.
11694 (denorm): Likewise.
11695 (__mul): Use 0.0 instead of zero.d.
11697 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11700 * math/s_casinh.c (__casinh): Reduce finite argument to first
11701 quadrant then set signs of results at the end.
11702 * math/s_casinhf.c (__casinhf): Likewise.
11703 * math/s_casinhl.c (__casinhl): Likewise.
11704 * math/libm-test.inc (casin_test): Add more tests.
11705 (casinh_test): Likewise.
11706 * sysdeps/i386/fpu/libm-test-ulps: Update.
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11709 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11711 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11713 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11715 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11717 (denorm): Likewise.
11718 (__mp_dbl): Likewise.
11721 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11722 and adjust the header comment.
11724 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11725 variable name from declaration.
11727 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11730 Initialize COMMON_CPUID_INDEX_7 element.
11731 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11732 (CPUID_RTM): Likewise.
11733 (HAS_RTM): Likewise.
11734 (COMMON_CPUID_INDEX_7): New enum.
11736 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11739 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11740 size is zero, record memory as freed.
11742 2013-01-03 Andreas Jaeger <aj@suse.de>
11744 * po/ia.po: Add new Interlingua translation.
11746 2012-01-03 Allan McRae <allan@archlinux.org>
11748 * locale/programs/localedef.c: Fix description of '--posix' flag.
11750 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11752 * NEWS: Update dates in second copyright notice.
11753 * README: Update copyright dates in example.
11754 * manual/libc.texinfo: Update copyright dates.
11755 * scripts/test-installation.pl: Update copyright date in --version
11758 * hurd/ctty-input.c: Fix copyright notice formatting.
11759 * hurd/ctty-output.c: Likewise.
11760 * hurd/dtable.c: Likewise.
11761 * hurd/hurd-raise.c: Likewise.
11762 * hurd/hurdprio.c: Likewise.
11763 * hurd/msgportdemux.c: Likewise.
11764 * misc/sys/file.h: Likewise.
11765 * misc/sys/ioctl.h: Likewise.
11766 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11767 * sysdeps/mach/hurd/chdir.c: Likewise.
11768 * sysdeps/mach/hurd/fchdir.c: Likewise.
11769 * sysdeps/mach/hurd/rename.c: Likewise.
11770 * sysdeps/mach/hurd/rmdir.c: Likewise.
11771 * sysdeps/mach/hurd/seekdir.c: Likewise.
11772 * sysdeps/mach/hurd/setsid.c: Likewise.
11773 * sysdeps/posix/wait3.c: Likewise.
11775 * All files with FSF copyright notices: Update copyright dates
11776 using scripts/update-copyrights.
11777 * intl/plural.c: Regenerated.
11778 * locale/programs/charmap-kw.h: Likewise.
11779 * locale/programs/locfile-kw.h: Likewise.
11781 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11783 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11786 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11787 calculation loop and add branch prediction.
11789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11790 check access beyond bounds of m1np.
11792 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11794 (__inv): Remove local variable MPTWO to use the global
11796 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11797 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11799 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11800 MP3HALFS static const.
11802 2013-01-01 David S. Miller <davem@davemloft.net>
11804 * po/ca.po: Update from translation team.
11806 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11808 * scripts/update-copyrights: New file.
11809 * Makeconfig: Reformat copyright notice.
11810 * ctype/ctype.h: Likewise.
11811 * debug/swprintf_chk.c: Likewise.
11812 * elf/dl-cache.c: Likewise.
11813 * elf/dl-debug.c: Likewise.
11814 * elf/dl-object.c: Likewise.
11815 * grp/initgroups.c: Likewise.
11816 * hurd/Makefile: Likewise.
11817 * hurd/hurd/signal.h: Likewise.
11818 * hurd/hurdfault.c: Likewise.
11819 * hurd/hurdioctl.c: Likewise.
11820 * hurd/hurdlookup.c: Likewise.
11821 * hurd/intr-msg.c: Likewise.
11822 * iconv/gconv_open.c: Likewise.
11823 * libio/swprintf.c: Likewise.
11824 * locale/lc-ctype.c: Likewise.
11825 * locale/nl_langinfo.c: Likewise.
11826 * mach/Machrules: Likewise.
11827 * mach/Makefile: Likewise.
11828 * malloc/obstack.h: Likewise.
11829 * manual/Makefile: Likewise.
11830 * manual/tsort.awk: Likewise.
11831 * misc/bits/stab.def: Likewise.
11832 * nis/nis_print_group_entry.c: Likewise.
11833 * nis/nis_table.c: Likewise.
11834 * nis/nss_compat/compat-pwd.c: Likewise.
11835 * nis/nss_compat/compat-spwd.c: Likewise.
11836 * po/Makefile: Likewise.
11837 * posix/fnmatch.c: Likewise.
11838 * posix/regex.h: Likewise.
11839 * resolv/Makefile: Likewise.
11840 * resolv/nss_dns/dns-network.c: Likewise.
11841 * resolv/res_hconf.c: Likewise.
11842 * scripts/gen-sorted.awk: Likewise.
11843 * soft-fp/soft-fp.h: Likewise.
11844 * stdio-common/printf.h: Likewise.
11845 * stdlib/monetary.h: Likewise.
11846 * stdlib/random.c: Likewise.
11847 * stdlib/random_r.c: Likewise.
11848 * sysdeps/generic/Makefile: Likewise.
11849 * sysdeps/gnu/Makefile: Likewise.
11850 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11870 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11871 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11872 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11876 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11878 * sysdeps/mach/hurd/errnos.awk: Likewise.
11879 * sysdeps/mach/hurd/fork.c: Likewise.
11880 * sysdeps/mach/hurd/getcwd.c: Likewise.
11881 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11882 * sysdeps/mach/hurd/mmap.c: Likewise.
11883 * sysdeps/mach/hurd/utimes.c: Likewise.
11884 * sysdeps/mach/hurd/xmknod.c: Likewise.
11885 * sysdeps/posix/profil.c: Likewise.
11886 * sysdeps/posix/readdir_r.c: Likewise.
11887 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11888 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11889 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11890 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11892 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11896 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11898 * sysdeps/pthread/lio_listio.c: Likewise.
11899 * sysdeps/sparc/dl-procinfo.h: Likewise.
11900 * sysdeps/unix/i386/sysdep.S: Likewise.
11901 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11902 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11903 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11904 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11906 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11907 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11908 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11909 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11910 * sysdeps/wordsize-32/divdi3.c: Likewise.
11911 * time/sys/time.h: Likewise.
11912 * wcsmbs/Makefile: Likewise.
11914 2013-01-01 David S. Miller <davem@davemloft.net>
11916 * po/fr.po: Update from translation team.
11918 * catgets/gencat.c: Update copyright year.
11919 * csu/version.c: Likewise.
11920 * debug/catchsegv.sh: Likewise.
11921 * debug/pcprofiledump.c: Likewise.
11922 * debug/xtrace.sh: Likewise.
11923 * elf/ldconfig.c: Likewise.
11924 * elf/ldd.bash.in: Likewise.
11925 * elf/pldd.c: Likewise.
11926 * elf/sotruss.ksh: Likewise.
11927 * elf/sprof.c: Likewise.
11928 * iconv/iconv_prog.c: Likewise.
11929 * iconv/iconvconfig.c: Likewise.
11930 * locale/programs/locale.c: Likewise.
11931 * locale/programs/localedef.c: Likewise.
11932 * login/programs/pt_chown.c: Likewise.
11933 * malloc/memusage.sh: Likewise.
11934 * malloc/memusagestat.c: Likewise.
11935 * malloc/mtrace.pl: Likewise.
11936 * nscd/nscd.c: Likewise.
11937 * nss/getent.c: Likewise.
11938 * nss/makedb.c: Likewise.
11939 * posix/getconf.c: Likewise.
11941 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11943 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11946 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11948 * math/bits/mathcalls.h (modf): Use __nonnull.
11950 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11952 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11953 (split): Use macro CN instead of the bare value.
11954 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11957 instead of the bare value.
11958 (power1): Likewise.
11960 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11964 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11966 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11968 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11969 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11970 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11971 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11973 2012-12-28 Andreas Jaeger <aj@suse.de>
11975 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11976 values are from Linux 3.7.
11978 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11979 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11981 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11983 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11986 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11988 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11989 variables with preprocessor constants.
11990 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11991 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11992 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11994 2012-12-27 Bruno Haible <bruno@clisp.org>
11997 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12000 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12003 and use variable directly.
12004 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12006 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12008 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12011 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12013 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12014 include directive. Remove local variable MPONE.
12015 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12016 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12019 2012-12-25 David S. Miller <davem@davemloft.net>
12021 * version.h (RELEASE): Set to "development".
12022 (VERSION): Set to "2.17.90".
12023 * NEWS: Add 2.18 section.
12025 2012-12-21 David S. Miller <davem@davemloft.net>
12027 * po/hr.po: Update from translation team.
12029 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12031 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12033 2012-12-19 Steve Ellcey <sellcey@mips.com>
12035 * NEWS: Mention new memcpy for MIPS.
12037 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12039 * manual/contrib.texi (Contributors): Spelling correction.
12041 2012-12-15 David S. Miller <davem@davemloft.net>
12043 * po/ru.po: Update from translation team.
12045 2012-12-13 David S. Miller <davem@davemloft.net>
12047 * NEWS: Mention IFUNC testsuite enhancements.
12049 * po/pl.po: Update from translation team.
12050 * po/bg.po: Likewise.
12052 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12053 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12055 2012-12-11 David S. Miller <davem@davemloft.net>
12057 * po/sv.po: Update from translation team.
12059 * po/vi.po: Update from translation team.
12061 * po/cs.po: Update from translation team.
12063 * po/de.po: Update from translation team.
12064 * po/eo.po: Likewise.
12065 * po/nl.po: Likewise.
12067 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12070 * manual/argp.texi (Argp Helper Functions): Move node to follow
12071 Argp Parsing State.
12074 * manual/conf.texi (Limits on File System Capacity): Mention if
12075 terminating null is included in the max size.
12077 2012-12-10 Andreas Jaeger <aj@suse.de>
12079 * po/cs.po: Update from translation team.
12081 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12083 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12084 void pointer and cast to uintptr_t.
12085 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12087 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12088 * sysdeps/s390/s390-64/memset.S: Likewise.
12090 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12093 * menual/message.texi (Message Translation): Fix typos.
12094 (Helper programs for gettext): Likewise.
12096 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12099 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12102 2012-12-07 David S. Miller <davem@davemloft.net>
12104 * po/libc.pot: Update.
12106 2012-12-07 Richard Henderson <rth@redhat.com>
12109 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12110 normal/normal case to before the switch.
12111 (_FP_DIV): Likewise.
12113 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12114 Mike Frysinger <vapier@gentoo.org>
12116 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12117 check for __NR_fadvise64_64.
12119 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12121 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12122 0, not just to plain "0" as a statement.
12123 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12126 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12128 * NEWS: Use sourceware.org in Bugzilla URL.
12130 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12133 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12135 * stdio-common/tst-put-error.c (do_test): Add newline to the
12136 padded test to ensure flush.
12138 2012-12-05 Jeff Law <law@redhat.com>
12140 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12142 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12144 * README: Don't refer to ports add-on as distributed separately.
12145 Mention AArch64 in list of systems supported in the ports add-on.
12147 * LICENSES: Add more non-FSF copyright and license notices.
12149 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12152 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12154 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12155 10000 as width of padded output.
12157 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12159 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12162 variable LX with __attribute__ ((unused)).
12163 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12165 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12168 with __attribute__ ((unused)).
12170 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12172 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12174 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12176 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12177 (CFLAGS-nldbl-acos.c): New variable.
12178 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12179 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12180 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12181 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12182 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12183 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12184 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12185 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12186 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12187 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12188 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12189 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12190 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12191 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12192 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12193 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12194 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12195 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12196 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12197 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12198 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12199 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12200 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12201 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12202 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12203 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12204 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12205 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12206 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12207 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12208 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12209 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12210 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12211 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12212 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12213 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12214 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12215 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12216 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12217 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12218 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12219 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12220 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12221 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12222 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12223 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12224 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12225 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12226 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12227 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12228 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12229 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12230 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12231 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12232 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12233 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12234 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12235 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12236 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12237 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12238 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12239 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12240 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12241 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12242 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12243 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12244 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12245 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12246 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12247 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12248 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12249 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12250 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12251 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12252 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12253 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12254 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12255 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12256 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12257 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12258 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12259 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12260 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12261 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12262 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12263 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12264 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12265 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12266 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12267 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12268 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12269 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12270 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12271 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12272 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12273 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12274 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12277 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12281 whole low double instead of just low 47 bits when splitting values
12284 2012-12-03 Allan McRae <allan@archlinux.org>
12286 * manual/stdio.texi (Predefined Printf Handlers): Remove
12287 @hsep and @vsep usage.
12289 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12291 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12292 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12294 2012-12-03 Jeff Law <law@redhat.com>
12296 * time/sys/time.h (settimeofday): Do not mark TV argument
12299 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12301 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12302 when currently writing and seek to current position when not.
12303 * libio/Makefile (tests): Remove bug-fclose1.
12304 * libio/bug-fclose1.c: Delete.
12306 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12308 * manual/arith.texi (feenableexcept): Fix typo.
12309 (fedisableexcept): Likewise.
12311 2012-11-30 Roland McGrath <roland@hack.frob.com>
12313 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12314 second, differently-typed declaration, rather than a cast.
12316 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12318 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12319 * include/rpc/svc.h: ... here.
12321 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12324 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12325 depending n and resplen2 to catch cases where answer
12328 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12331 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12333 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12337 2012-11-29 Roland McGrath <roland@hack.frob.com>
12339 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12341 2012-11-28 Jeff Law <law@redhat.com>
12344 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12345 dataset_temporary. Track alloca usage into alloca_used.
12346 If dataset is large allocate and release it via malloc/free.
12348 2012-06-04 Florian Weimer <fweimer@redhat.com>
12351 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12353 2012-11-28 David S. Miller <davem@davemloft.net>
12355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12357 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12360 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12361 of pi/2 rounded to nearest to 64 bits.
12362 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12363 nearest to 64 bits.
12364 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12367 2012-11-28 Jeff Law <law@redhat.com>
12368 Martin Osvald <mosvald@redhat.com>
12371 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12372 * sunrpc/svc.c: Include time.h.
12373 (__svc_accept_failed): New function.
12374 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12375 any reason other than EINTR, call __svc_accept_failed.
12376 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12377 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12379 2012-11-28 Andreas Schwab <schwab@suse.de>
12381 * scripts/abilist.awk: Also handle indirect functions in .opd
12384 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12387 * sysdeps/x86/fpu/powl_helper.c: New file.
12388 * sysdeps/x86/fpu/Makefile: Likewise.
12389 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12391 (__ieee754_powl): Use __powl_helper for finite arguments except
12392 integer exponents below 8.
12393 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12395 (__ieee754_powl): Use __powl_helper for finite arguments except
12396 integer exponents below 8.
12397 * math/libm-test.inc (pow_test): Add more tests and enable some
12398 previously disabled tests.
12399 * sysdeps/i386/fpu/libm-test-ulps: Update.
12400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12402 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12403 Carlos O'Donell <carlos_odonell@mentor.com>
12405 * nss/makedb.c (is_prime): Assert that input is odd and greater
12406 than 4. Note that fact in a comment too.
12407 (next_prime): Add 4 to input.
12409 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12412 * libio/Makefile (tests): Add test case tst-fwrite-error.
12413 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12414 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12415 * libio/tst-fwrite-error.c: New test case.
12417 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12419 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12420 before casting to void *.
12421 * include/libc-internal.h (__pointer_type): New macro.
12422 (__integer_if_pointer_type_sub): Likewise.
12423 (__integer_if_pointer_type): Likewise.
12424 (cast_to_integer): Likewise.
12425 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12426 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12427 before casting to atomic64_t.
12428 (atomic_exchange_acq): Likewise.
12429 (__arch_exchange_and_add_body): Likewise.
12430 (__arch_add_body): Likewise.
12431 (atomic_add_negative): Likewise.
12432 (atomic_add_zero): Likewise.
12434 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12436 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12437 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12438 (add_fdes): Likewise.
12439 (linear_search_fdes): Likewise.
12440 (binary_search_unencoded_fdes): Likewise.
12442 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12444 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12446 2012-11-24 Adam Conrad <adconrad@0c3.net>
12448 * configure.in: Autodetect C++ header directories.
12449 * configure: Regenerated.
12451 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12453 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12455 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12459 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12461 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12462 LDBL_MANT_DIG == 106]: Disable some tests.
12463 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12465 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12469 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12470 input for small inputs. Return +/- pi/2 for large inputs.
12471 * math/libm-test.inc (atan_test): Add more tests.
12473 * sysdeps/generic/unwind-dw2-fde-glibc.c
12474 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12475 __attribute__ ((unused)).
12478 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12479 x * y if x and y are nonzero and z is zero.
12482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12483 nonzero exponents with absolute value below 0x1p-117 to +/-
12487 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12488 up arguments below 2**-450, not just those below 2**-500.
12489 * math/libm-test.inc (hypot_test): Add another test.
12492 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12493 Return a+b for ratio over 2**120, not 2**60.
12494 * math/libm-test.inc (hypot_test): Add another test.
12496 * math/libm-test.inc (clog_test): Use
12497 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12498 (clog10_test): Likewise.
12501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12503 2012-11-22 Andreas Schwab <schwab@suse.de>
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12507 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12509 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12510 printf output with newline.
12512 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12515 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12516 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12517 -z nodlopen, -z initfirst and -z execstack support.
12518 * configure: Regenerated.
12520 * elf/elf.h (DF_1_NODIRECT): New macro.
12521 (DF_1_IGNMULDEF): Likewise.
12522 (DF_1_NOKSYMS): Likewise.
12523 (DF_1_NOHDR): Likewise.
12524 (DF_1_EDITED): Likewise.
12525 (DF_1_NORELOC): Likewise.
12526 (DF_1_SYMINTPOSE): Likewise.
12527 (DF_1_GLOBAUDIT): Likewise.
12528 (DF_1_SINGLETON): Likewise.
12529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12530 DT_1_SUPPORTED_MASK bits.
12531 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12533 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12535 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12537 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12539 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12542 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12543 (sendmmsg): Move declarations...
12544 * socket/sys/socket.h: ... here.
12545 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12546 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12548 * socket/recvmmsg.c: ... this new file.
12549 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12550 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12551 definition of __sendmmsg hidden.
12552 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12553 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12554 Move ENOSYS stub into and include it from...
12555 * socket/sendmmsg.c: ... this new file.
12556 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12557 (sysdep_routines): Move recvmmsg and sendmmsg...
12558 * socket/Makefile (routines): ... here.
12559 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12560 (GLIBC_PRIVATE): Add __sendmmsg.
12561 * include/sys/socket.h (__sendmmsg): Add declarations.
12562 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12565 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12568 variable I1 with __attribute__ ((unused)).
12569 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12571 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12573 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12574 DUMMY variables with __attribute__ ((unused)).
12576 * bits/byteswap.h: Include <bits/types.h>.
12577 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12579 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12581 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12582 string_t. Do not manually set errno.
12583 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12584 length with __strnlen. Make sure to both set errno and return it on
12587 2012-11-19 David S. Miller <davem@davemloft.net>
12589 With help from Joseph Myers.
12590 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12591 very large arguments properly.
12592 * math/libm-test.inc (atan_test): New tests.
12593 (atan2_test): New tests.
12594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12597 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12600 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12603 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12604 [POSIX] (EADDRNOTAVAIL): Likewise.
12605 [POSIX] (EAFNOSUPPORT): Likewise.
12606 [POSIX] (EALREADY): Likewise.
12607 [POSIX] (ECONNABORTED): Likewise.
12608 [POSIX] (ECONNREFUSED): Likewise.
12609 [POSIX] (ECONNRESET): Likewise.
12610 [POSIX] (EDESTADDRREQ): Likewise.
12611 [POSIX] (EDQUOT): Likewise.
12612 [POSIX] (EHOSTUNREACH): Likewise.
12613 [POSIX] (EIDRM): Likewise.
12614 [POSIX] (EISCONN): Likewise.
12615 [POSIX] (ELOOP): Likewise.
12616 [POSIX] (EMULTIHOP): Likewise.
12617 [POSIX] (ENETDOWN): Likewise.
12618 [POSIX] (ENETUNREACH): Likewise.
12619 [POSIX] (ENOBUFS): Likewise.
12620 [POSIX] (ENODATA): Likewise.
12621 [POSIX] (ENOLINK): Likewise.
12622 [POSIX] (ENOMSG): Likewise.
12623 [POSIX] (ENOPROTOOPT): Likewise.
12624 [POSIX] (ENOSR): Likewise.
12625 [POSIX] (ENOSTR): Likewise.
12626 [POSIX] (ENOTCONN): Likewise.
12627 [POSIX] (ENOTSOCK): Likewise.
12628 [POSIX] (EOPNOTSUPP): Likewise.
12629 [POSIX] (EOVERFLOW): Likewise.
12630 [POSIX] (EPROTO): Likewise.
12631 [POSIX] (EPROTONOSUPPORT): Likewise.
12632 [POSIX] (EPROTOTYPE): Likewise.
12633 [POSIX] (ESTALE): Likewise.
12634 [POSIX] (ETIME): Likewise.
12635 [POSIX] (ETXTBSY): Likewise.
12636 [POSIX] (EWOULDBLOCK): Likewise.
12637 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12638 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12639 [POSIX] (SEEK_CUR): Likewise.
12640 [POSIX] (SEEK_END): Likewise.
12641 [POSIX || UNIX98] (mode_t): Do not require.
12642 [POSIX] (off_t): Likewise.
12643 [POSIX] (pid_t): Likewise.
12644 [POSIX] (sys/stat.h): Do not allow header.
12645 [POSIX] (unistd.h): Likewise.
12646 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12647 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12648 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12649 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12651 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12652 sigevent): Specify elements.
12653 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12655 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12656 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12658 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12659 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12660 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12661 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12662 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12663 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12664 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12665 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12666 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12667 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12668 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12669 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12670 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12671 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12673 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12675 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12677 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12679 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12680 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12681 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12682 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12684 Specify lower bound on value.
12685 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12688 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12689 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12690 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12691 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12692 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12694 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12696 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12709 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12710 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12713 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12715 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12719 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12722 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12724 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12727 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12730 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12731 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12732 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12733 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12734 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12735 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12736 specify as optional.
12737 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12738 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12739 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12740 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12741 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12742 [XPG3] (NL_LANGMAX): Likewise.
12743 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12744 [POSIX || XPG3] (NL_NMAX): Likewise.
12745 [POSIX || XPG3] (NL_SETMAX): Likewise.
12746 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12747 [XPG3] (NZERO): Likewise.
12748 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12749 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12750 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12751 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12752 (REG_ERANGE): Expect.
12753 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12755 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12756 Use (void) in prototype.
12757 [POSIX] (*_t): Allow.
12758 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12759 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12760 (WRDE_BADVAL): Expect.
12762 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12764 [XPG3 || XPG4] (O_RSYNC): Likewise.
12765 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12767 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12768 [XPG3 || XPG4] (sigqueue): Likewise.
12769 [XPG3 || XPG4] (sigtimedwait): Likewise.
12770 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12771 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12772 [XPG3 || XPG4] (vsnprintf): Likewise.
12773 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12775 [XPG3 || XPG4] (blksize_t): Likewise.
12776 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12778 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12779 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12780 [XPG3 || XPG4] (struct itimerspec): Likewise.
12781 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12782 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12783 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12784 [XPG3 || XPG4] (clockid_t): Likewise.
12785 [XPG3 || XPG4] (timer_t): Likewise.
12786 [XPG3 || XPG4] (clock_getres): Likewise.
12787 [XPG3 || XPG4] (clock_gettime): Likewise.
12788 [XPG3 || XPG4] (clock_settime): Likewise.
12789 [XPG3 || XPG4] (nanosleep): Likewise.
12790 [XPG3 || XPG4] (timer_create): Likewise.
12791 [XPG3 || XPG4] (timer_delete): Likewise.
12792 [XPG3 || XPG4] (timer_gettime): Likewise.
12793 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12794 [XPG3 || XPG4] (timer_settime): Likewise.
12795 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12796 [XPG3 || XPG4] (getlogin_r): Likewise.
12797 [XPG3 || XPG4] (pread): Likewise.
12798 [XPG3 || XPG4] (pthread_atfork): Likewise.
12799 [XPG3 || XPG4] (pwrite): Likewise.
12802 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12805 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12807 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12808 finalizing MALLSTREAM.
12810 * sysdeps/mach/hurd/syncfs.c: New file.
12812 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12815 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12816 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12817 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12818 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12819 (_nss_dns_gethostbyname4_r): Likewise.
12820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12821 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12823 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12826 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12828 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12830 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12831 * elf/cache.c (print_entry): Print ",AArch64" for
12834 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12835 * elf/cache.c (print_entry): Print ",hard-float" for
12838 2012-11-18 David S. Miller <davem@davemloft.net>
12840 With help from Joseph Myers.
12841 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12843 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12845 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12846 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12848 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12849 * math/libm-test.inc (y0_test): New tests.
12850 (y1_test): New tests.
12851 * sysdeps/i386/fpu/libm-test-ulps: Update.
12852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12855 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12857 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12859 * configure: Regenerated.
12861 2012-11-17 David S. Miller <davem@davemloft.net>
12864 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12865 nonzero exponents with absolute value below 0x1p-128 to +/-
12868 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12870 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12872 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12874 * posix/getconf-speclist.c: New file.
12875 * posix/posix-envs.def: Likewise.
12876 * posix/confstr.c (START_ENV_GROUP): New macro.
12877 (END_ENV_GROUP): Likewise.
12878 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12879 (KNOWN_PRESENT_ENV_STRING): Likewise.
12880 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12881 (UNKNOWN_ENVIRONMENT): Likewise.
12882 (confstr): Include posix-envs.def instead of handling
12883 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12884 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12885 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12886 (END_ENV_GROUP): Likewise.
12887 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12888 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12889 (UNKNOWN_ENVIRONMENT): Likewise.
12890 (__sysconf): Include posix-envs.def instead of handling associated
12891 cases directly here.
12892 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12893 preprocessing getconf-speclist.c rather than running getconf or
12894 generating empty file.
12896 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12898 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12900 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12903 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12905 2012-11-16 David S. Miller <davem@davemloft.net>
12907 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12908 smaller than LDBL_EPSILON/2.0L, just return xm1.
12910 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12912 * elf/tst-array1.c (init): Set constructor priority to 1000.
12913 (fini): Set destructor priority to 1000.
12914 * elf/tst-array2dep.c: Likewise.
12916 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12919 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12920 (_IO_new_file_xsputn): Also return EOF if none of the input
12921 data was written when overflow failed.
12922 * libio/iopadn.c (_IO_padn): Likewise.
12923 * libio/iowpadn.c (_IO_wpadn): Likewise.
12924 * stdio-common/tst-put-error.c: Add copyright notice.
12925 (do_test): Add case for printing padded string.
12926 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12927 _IO_padn returned error.
12928 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12929 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12932 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * libio/libioP.h: Add comment note that the references to C++
12935 bits are now obsolete.
12937 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12939 * math/libm-test.inc (check_complex): Use asprintf.
12941 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12943 * debug/pcprofiledump.c (print_version): Update copyright year.
12944 * malloc/memusagestat.c (print_version): Likewise.
12946 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12949 * elf/Makefile (tests): Add tst-audit8.
12950 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12951 ($(objpfx)tst-audit8.out): New target.
12952 (tst-audit8-ENV): New variable.
12953 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12954 audit if l_reloc_result is NULL.
12955 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12956 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12957 * elf/tst-audit8.c: New file.
12959 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12961 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12962 * misc/Makefile (CFLAGS-select.c): Define.
12963 * posix/Makefile (CFLAGS-pause.c): Define.
12965 2012-11-13 David S. Miller <davem@davemloft.net>
12967 * crypt/Makefile: Move test targets after toplevel Rules
12968 inclusion. Grab any necessary sysdep routines when linking.
12969 * crypt/md5.c (md5_process_block): Remove define, we will always
12970 name it __md5_process_block.
12971 (md5_finish_ctx): Update md5_process_block call.
12972 (md5_stream): Likewise.
12973 (md5_process_bytes): Likewise.
12974 (md5_process_block): Rename to __md5_process_block and move to ...
12975 * crypt/md5-block.c: ... here.
12976 * crypt/sha256.c (sha256_process_block): Move to ...
12977 * crypt/sha256-block.c: ... here.
12978 * crypt/sha512.c (sha512_process_block): Move to ...
12979 * crypt/sha512-block.c: ... here.
12980 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12982 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12983 * sysdeps/sparc/sparc64/multiarch/Makefile
12984 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12986 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12987 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12989 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12990 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12991 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12992 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12993 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12994 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12995 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12996 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12999 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13000 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13002 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13004 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13006 * timezone/tzselect.ksh: Update from tzcode git revision
13007 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13008 * timezone/zdump.c: Likewise.
13009 * timezone/zic.c: Likewise.
13010 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13011 in TZVERSION setting, not $(PKGVERSION).
13012 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13013 REPORT_BUGS_TO settings.
13016 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13019 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13021 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13022 detection to immediately after _FP_ROUND().
13023 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13026 2012-11-11 David S. Miller <davem@davemloft.net>
13028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13030 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13031 __close rather than their public counterparts.
13033 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13035 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13037 [UNIX98] (sem_timedwait): Do not expect.
13038 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13039 [XPG4 || UNIX98] (sockatmark): Do not expect.
13040 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13041 (clock_getcpuclockid): Do not expect.
13042 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13043 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13045 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13046 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13047 [UNIX98] (vwscanf): Likewise.
13048 [UNIX98] (vswscanf): Likewise.
13050 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13052 * timezone/version.h: Remove file.
13053 * timezone/README: Do not refer to version.h.
13054 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13055 $(objpfx)version.h.
13056 ($(objpfx)zdump.o): Likewise.
13057 ($(objpfx)version.h): New target.
13059 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13061 * timezone/README: Don't mention modification to tzselect.ksh.
13062 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13063 work on unmodified tzselect.ksh. Substitute version numbers in
13066 * Makefile (format-me): Remove.
13067 (INSTALL): Adjust indentation. Use commands directly instead of
13068 using $(format-me).
13070 * aclocal.m4 (ACX_PKGVERSION): New macro.
13071 (ACX_BUGURL): Likewise.
13072 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13073 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13074 (REPORT_BUGS_TO): Likewise.
13075 * configure: Regenerated.
13076 * config.h.in (PKGVERSION): New macro.
13077 (REPORT_BUGS_TO): Likewise.
13078 * config.make.in (PKGVERSION): New variable.
13079 (PKGVERSION_TEXI): Likewise.
13080 (REPORT_BUGS_TO): Likewise.
13081 (REPORT_BUGS_TEXI): Likewise.
13082 * Makefile (format-me): Use -I$(common-objpfx)manual.
13083 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13084 ($(common-objpfx)manual/%): New target.
13085 (manual/%): Remove target.
13086 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13087 (print_version): Use PKGVERSION.
13088 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13089 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13090 and REPORT_BUGS_TO.
13091 ($(objpfx)xtrace): Likewise.
13092 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13093 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13094 (print_version): Use PKGVERSION.
13095 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13096 (do_version): Use PKGVERSION.
13097 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13099 (common-ldd-rewrite): Likewise.
13100 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13101 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13102 (print_version): Use PKGVERSION.
13103 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13104 * elf/pldd.c (argp_program_bug_address): Remove variable.
13105 (more_help): New function.
13106 (argp): Use more_help.
13107 (print_version): Use PKGVERSION.
13108 * elf/sln.c (main): Use PKGVERSION.
13109 (usage): Use REPORT_BUGS_TO.
13110 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13111 (top level): Use PKGVERSION.
13112 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13113 (print_version): Use PKGVERSION.
13114 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13115 (print_version): Use PKGVERSION.
13116 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13117 (print_version): Use PKGVERSION.
13118 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13119 (print_version): Use PKGVERSION.
13120 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13121 (print_version): Use PKGVERSION.
13122 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13123 (print_version): Use PKGVERSION.
13124 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13126 ($(objpfx)memusage): Likewise.
13127 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13128 (do_version): Use PKGVERSION.
13129 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13130 (print_version): Use PKGVERSION.
13131 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13132 ($PKGVERSION): New variable.
13133 ($REPORT_BUGS_TO): Likewise.
13134 (usage): Use $REPORT_BUGS_TO.
13135 (top level): Use $PKGVERSION.
13136 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13137 ($(objpfx)pkgvers.texi): New rule.
13138 ($(objpfx)stamp-pkgvers): Likewise.
13139 * manual/install.texi: Include pkgvers.texi.
13140 (--with-pkgversion): Document new configure option.
13141 (--with-bugurl): Likewise.
13142 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13143 than necessarily for this particular distribution. Use
13144 REPORT_BUGS_TO for where to report bugs.
13145 * INSTALL: Regenerated.
13146 * manual/libc.texinfo: Include pkgvers.texi.
13147 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13148 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13149 (print_version): Use PKGVERSION.
13150 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13151 (print_version): Use PKGVERSION.
13152 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13153 (print_version): Use PKGVERSION.
13154 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13155 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13157 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13158 (print_version): Use PKGVERSION.
13159 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13160 (print_version): Use PKGVERSION.
13161 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13164 * timezone/checktab.awk: Update from tzcode 2012i.
13165 * timezone/ialloc.c: Likewise.
13166 * timezone/private.h: Likewise.
13167 * timezone/scheck.c: Likewise.
13168 * timezone/tzfile.h: Likewise.
13169 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13170 (TZVERSION): Hardcode tzcode version number.
13171 * timezone/zdump.c: Update from tzcode 2012i.
13172 * timezone/zic.c: Likewise.
13173 * timezone/version.h: New file.
13174 * timezone/README: Describe version.h. Update upstream location.
13177 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13178 (mktemp): Enable declaration.
13179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13182 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13184 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13186 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13188 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13190 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13196 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13197 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13198 for copies of such integer values.
13199 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13200 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13202 2012-11-09 Andreas Jaeger <aj@suse.de>
13204 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13205 definitions and declarations that are provided by
13206 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13208 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13210 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13211 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13212 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13215 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13217 * elf/elf.h: Update comment before AArch64 relocations.
13219 2012-11-07 David S. Miller <davem@davemloft.net>
13221 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13222 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13223 (__start_context): Declare.
13224 (__makecontext_ret): Delete.
13225 (__makecontext): Hook up __start_context instead of
13227 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13228 (sysdep_routines): Add __start_context when in stdlib.
13230 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13232 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13233 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13234 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13236 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13237 (READELF): New variable. Use it instead of hardcoded "readelf".
13239 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13241 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13242 * sysdeps/x86/Makefile: Here.
13243 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13244 * sysdeps/x86/tst-xmmymm.sh: This.
13246 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13248 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13250 [UNIX98] (pthread_barrier_t): Do not expect.
13251 [UNIX98] (pthread_barrierattr_t): Likewise.
13252 [UNIX98] (pthread_spinlock_t): Likewise.
13253 [UNIX98] (pthread_barrier_destroy): Likewise.
13254 [UNIX98] (pthread_barrier_init): Likewise.
13255 [UNIX98] (pthread_barrier_wait): Likewise.
13256 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13257 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13258 [UNIX98] (pthread_barrierattr_init): Likewise.
13259 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13260 [UNIX98] (pthread_getcpuclockid): Likewise.
13261 [UNIX98] (pthread_mutex_timedlock): Likewise.
13262 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13263 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13264 [UNIX98] (pthread_sigmask): Likewise.
13265 [UNIX98] (pthread_spin_destroy): Likewise.
13266 [UNIX98] (pthread_spin_init): Likewise.
13267 [UNIX98] (pthread_spin_lock): Likewise.
13268 [UNIX98] (pthread_spin_trylock): Likewise.
13269 [UNIX98] (pthread_spin_unlock): Likewise.
13270 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13272 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13273 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13274 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13275 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13276 [XPG3 || XPG4] (pthread_key_t): Likewise.
13277 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13278 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13279 [XPG3 || XPG4] (pthread_once_t): Likewise.
13280 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13281 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13282 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13283 [XPG3 || XPG4] (pthread_t): Likewise.
13285 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13287 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13289 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13290 Change function return type to int.
13292 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13293 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13294 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13295 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13296 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13297 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13298 [!POSIX] (posix_madvise): Likewise.
13299 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13301 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13302 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13303 (mode_t): Likewise.
13304 (posix_mem_offset): Likewise.
13305 (posix_typed_mem_get_info): Likewise.
13306 (posix_typed_mem_open): Likewise.
13308 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13309 Change condition to [XOPEN2K8].
13311 * conform/conformtest.pl: Preprocess allow-header data with -x c
13312 instead of from stdin.
13313 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13314 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13315 [C99-based standards] (cerfc): Likewise.
13316 [C99-based standards] (cexp2): Likewise.
13317 [C99-based standards] (cexpm1): Likewise.
13318 [C99-based standards] (clog10): Likewise.
13319 [C99-based standards] (clog1p): Likewise.
13320 [C99-based standards] (clog2): Likewise.
13321 [C99-based standards] (clgamma): Likewise.
13322 [C99-based standards] (ctgamma): Likewise.
13323 [C99-based standards] (cerff): Likewise.
13324 [C99-based standards] (cerfcf): Likewise.
13325 [C99-based standards] (cexp2f): Likewise.
13326 [C99-based standards] (cexpm1f): Likewise.
13327 [C99-based standards] (clog10f): Likewise.
13328 [C99-based standards] (clog1pf): Likewise.
13329 [C99-based standards] (clog2f): Likewise.
13330 [C99-based standards] (clgammaf): Likewise.
13331 [C99-based standards] (ctgammaf): Likewise.
13332 [C99-based standards] (cerfl): Likewise.
13333 [C99-based standards] (cerfcl): Likewise.
13334 [C99-based standards] (cexp2l): Likewise.
13335 [C99-based standards] (cexpm1l): Likewise.
13336 [C99-based standards] (clog10l): Likewise.
13337 [C99-based standards] (clog1pl): Likewise.
13338 [C99-based standards] (clog2l): Likewise.
13339 [C99-based standards] (clgammal): Likewise.
13340 [C99-based standards] (ctgammal): Likewise.
13341 * conform/data/inttypes.h-data [C99-based standards]: Include
13342 stdint.h-data. Remove all expectations for stdint.h contents.
13343 [C99-based standards] (PRI*): Do not allow.
13344 [C99-based standards] (SCN*): Likewise.
13345 [C99-based standards] (*_t): Likewise.
13346 [C99-based-standards] (PRId8): Expect macro.
13347 [C99-based-standards] (PRIi8): Likewise.
13348 [C99-based-standards] (PRIo8): Likewise.
13349 [C99-based-standards] (PRIu8): Likewise.
13350 [C99-based-standards] (PRIx8): Likewise.
13351 [C99-based-standards] (PRIX8): Likewise.
13352 [C99-based-standards] (SCNd8): Likewise.
13353 [C99-based-standards] (SCNi8): Likewise.
13354 [C99-based-standards] (SCNo8): Likewise.
13355 [C99-based-standards] (SCNu8): Likewise.
13356 [C99-based-standards] (SCNx8): Likewise.
13357 [C99-based-standards] (PRIdLEAST8): Likewise.
13358 [C99-based-standards] (PRIiLEAST8): Likewise.
13359 [C99-based-standards] (PRIoLEAST8): Likewise.
13360 [C99-based-standards] (PRIuLEAST8): Likewise.
13361 [C99-based-standards] (PRIxLEAST8): Likewise.
13362 [C99-based-standards] (PRIXLEAST8): Likewise.
13363 [C99-based-standards] (SCNdLEAST8): Likewise.
13364 [C99-based-standards] (SCNiLEAST8): Likewise.
13365 [C99-based-standards] (SCNoLEAST8): Likewise.
13366 [C99-based-standards] (SCNuLEAST8): Likewise.
13367 [C99-based-standards] (SCNxLEAST8): Likewise.
13368 [C99-based-standards] (PRIdFAST8): Likewise.
13369 [C99-based-standards] (PRIiFAST8): Likewise.
13370 [C99-based-standards] (PRIoFAST8): Likewise.
13371 [C99-based-standards] (PRIuFAST8): Likewise.
13372 [C99-based-standards] (PRIxFAST8): Likewise.
13373 [C99-based-standards] (PRIXFAST8): Likewise.
13374 [C99-based-standards] (SCNdFAST8): Likewise.
13375 [C99-based-standards] (SCNiFAST8): Likewise.
13376 [C99-based-standards] (SCNoFAST8): Likewise.
13377 [C99-based-standards] (SCNuFAST8): Likewise.
13378 [C99-based-standards] (SCNxFAST8): Likewise.
13379 [C99-based-standards] (PRId16): Likewise.
13380 [C99-based-standards] (PRIi16): Likewise.
13381 [C99-based-standards] (PRIo16): Likewise.
13382 [C99-based-standards] (PRIu16): Likewise.
13383 [C99-based-standards] (PRIx16): Likewise.
13384 [C99-based-standards] (PRIX16): Likewise.
13385 [C99-based-standards] (SCNd16): Likewise.
13386 [C99-based-standards] (SCNi16): Likewise.
13387 [C99-based-standards] (SCNo16): Likewise.
13388 [C99-based-standards] (SCNu16): Likewise.
13389 [C99-based-standards] (SCNx16): Likewise.
13390 [C99-based-standards] (PRIdLEAST16): Likewise.
13391 [C99-based-standards] (PRIiLEAST16): Likewise.
13392 [C99-based-standards] (PRIoLEAST16): Likewise.
13393 [C99-based-standards] (PRIuLEAST16): Likewise.
13394 [C99-based-standards] (PRIxLEAST16): Likewise.
13395 [C99-based-standards] (PRIXLEAST16): Likewise.
13396 [C99-based-standards] (SCNdLEAST16): Likewise.
13397 [C99-based-standards] (SCNiLEAST16): Likewise.
13398 [C99-based-standards] (SCNoLEAST16): Likewise.
13399 [C99-based-standards] (SCNuLEAST16): Likewise.
13400 [C99-based-standards] (SCNxLEAST16): Likewise.
13401 [C99-based-standards] (PRIdFAST16): Likewise.
13402 [C99-based-standards] (PRIiFAST16): Likewise.
13403 [C99-based-standards] (PRIoFAST16): Likewise.
13404 [C99-based-standards] (PRIuFAST16): Likewise.
13405 [C99-based-standards] (PRIxFAST16): Likewise.
13406 [C99-based-standards] (PRIXFAST16): Likewise.
13407 [C99-based-standards] (SCNdFAST16): Likewise.
13408 [C99-based-standards] (SCNiFAST16): Likewise.
13409 [C99-based-standards] (SCNoFAST16): Likewise.
13410 [C99-based-standards] (SCNuFAST16): Likewise.
13411 [C99-based-standards] (SCNxFAST16): Likewise.
13412 [C99-based-standards] (PRId32): Likewise.
13413 [C99-based-standards] (PRIi32): Likewise.
13414 [C99-based-standards] (PRIo32): Likewise.
13415 [C99-based-standards] (PRIu32): Likewise.
13416 [C99-based-standards] (PRIx32): Likewise.
13417 [C99-based-standards] (PRIX32): Likewise.
13418 [C99-based-standards] (SCNd32): Likewise.
13419 [C99-based-standards] (SCNi32): Likewise.
13420 [C99-based-standards] (SCNo32): Likewise.
13421 [C99-based-standards] (SCNu32): Likewise.
13422 [C99-based-standards] (SCNx32): Likewise.
13423 [C99-based-standards] (PRIdLEAST32): Likewise.
13424 [C99-based-standards] (PRIiLEAST32): Likewise.
13425 [C99-based-standards] (PRIoLEAST32): Likewise.
13426 [C99-based-standards] (PRIuLEAST32): Likewise.
13427 [C99-based-standards] (PRIxLEAST32): Likewise.
13428 [C99-based-standards] (PRIXLEAST32): Likewise.
13429 [C99-based-standards] (SCNdLEAST32): Likewise.
13430 [C99-based-standards] (SCNiLEAST32): Likewise.
13431 [C99-based-standards] (SCNoLEAST32): Likewise.
13432 [C99-based-standards] (SCNuLEAST32): Likewise.
13433 [C99-based-standards] (SCNxLEAST32): Likewise.
13434 [C99-based-standards] (PRIdFAST32): Likewise.
13435 [C99-based-standards] (PRIiFAST32): Likewise.
13436 [C99-based-standards] (PRIoFAST32): Likewise.
13437 [C99-based-standards] (PRIuFAST32): Likewise.
13438 [C99-based-standards] (PRIxFAST32): Likewise.
13439 [C99-based-standards] (PRIXFAST32): Likewise.
13440 [C99-based-standards] (SCNdFAST32): Likewise.
13441 [C99-based-standards] (SCNiFAST32): Likewise.
13442 [C99-based-standards] (SCNoFAST32): Likewise.
13443 [C99-based-standards] (SCNuFAST32): Likewise.
13444 [C99-based-standards] (SCNxFAST32): Likewise.
13445 [C99-based-standards] (PRId64): Likewise.
13446 [C99-based-standards] (PRIi64): Likewise.
13447 [C99-based-standards] (PRIo64): Likewise.
13448 [C99-based-standards] (PRIu64): Likewise.
13449 [C99-based-standards] (PRIx64): Likewise.
13450 [C99-based-standards] (PRIX64): Likewise.
13451 [C99-based-standards] (SCNd64): Likewise.
13452 [C99-based-standards] (SCNi64): Likewise.
13453 [C99-based-standards] (SCNo64): Likewise.
13454 [C99-based-standards] (SCNu64): Likewise.
13455 [C99-based-standards] (SCNx64): Likewise.
13456 [C99-based-standards] (PRIdLEAST64): Likewise.
13457 [C99-based-standards] (PRIiLEAST64): Likewise.
13458 [C99-based-standards] (PRIoLEAST64): Likewise.
13459 [C99-based-standards] (PRIuLEAST64): Likewise.
13460 [C99-based-standards] (PRIxLEAST64): Likewise.
13461 [C99-based-standards] (PRIXLEAST64): Likewise.
13462 [C99-based-standards] (SCNdLEAST64): Likewise.
13463 [C99-based-standards] (SCNiLEAST64): Likewise.
13464 [C99-based-standards] (SCNoLEAST64): Likewise.
13465 [C99-based-standards] (SCNuLEAST64): Likewise.
13466 [C99-based-standards] (SCNxLEAST64): Likewise.
13467 [C99-based-standards] (PRIdFAST64): Likewise.
13468 [C99-based-standards] (PRIiFAST64): Likewise.
13469 [C99-based-standards] (PRIoFAST64): Likewise.
13470 [C99-based-standards] (PRIuFAST64): Likewise.
13471 [C99-based-standards] (PRIxFAST64): Likewise.
13472 [C99-based-standards] (PRIXFAST64): Likewise.
13473 [C99-based-standards] (SCNdFAST64): Likewise.
13474 [C99-based-standards] (SCNiFAST64): Likewise.
13475 [C99-based-standards] (SCNoFAST64): Likewise.
13476 [C99-based-standards] (SCNuFAST64): Likewise.
13477 [C99-based-standards] (SCNxFAST64): Likewise.
13478 [C99-based-standards] (PRIdMAX): Likewise.
13479 [C99-based-standards] (PRIiMAX): Likewise.
13480 [C99-based-standards] (PRIoMAX): Likewise.
13481 [C99-based-standards] (PRIuMAX): Likewise.
13482 [C99-based-standards] (PRIxMAX): Likewise.
13483 [C99-based-standards] (PRIXMAX): Likewise.
13484 [C99-based-standards] (SCNdMAX): Likewise.
13485 [C99-based-standards] (SCNiMAX): Likewise.
13486 [C99-based-standards] (SCNoMAX): Likewise.
13487 [C99-based-standards] (SCNuMAX): Likewise.
13488 [C99-based-standards] (SCNxMAX): Likewise.
13489 [C99-based-standards] (PRIdPTR): Likewise.
13490 [C99-based-standards] (PRIiPTR): Likewise.
13491 [C99-based-standards] (PRIoPTR): Likewise.
13492 [C99-based-standards] (PRIuPTR): Likewise.
13493 [C99-based-standards] (PRIxPTR): Likewise.
13494 [C99-based-standards] (PRIXPTR): Likewise.
13495 [C99-based-standards] (SCNdPTR): Likewise.
13496 [C99-based-standards] (SCNiPTR): Likewise.
13497 [C99-based-standards] (SCNoPTR): Likewise.
13498 [C99-based-standards] (SCNuPTR): Likewise.
13499 [C99-based-standards] (SCNxPTR): Likewise.
13500 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13502 * conform/data/stdint.h-data: Update comments to clarify
13504 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13506 [C99-based standards] (INT8_MAX): Likewise.
13507 [C99-based standards] (INT16_MIN): Likewise.
13508 [C99-based standards] (INT16_MAX): Likewise.
13509 [C99-based standards] (INT32_MIN): Likewise.
13510 [C99-based standards] (INT32_MAX): Likewise.
13511 [C99-based standards] (INT64_MIN): Likewise.
13512 [C99-based standards] (INT64_MAX): Likewise.
13513 [C99-based standards] (UINT8_MAX): Likewise.
13514 [C99-based standards] (UINT16_MAX): Likewise.
13515 [C99-based standards] (UINT32_MAX): Likewise.
13516 [C99-based standards] (UINT64_MAX): Likewise.
13517 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13518 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13519 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13520 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13521 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13522 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13523 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13524 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13525 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13526 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13527 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13528 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13529 [C99-based standards] (INT_FAST8_MIN): Likewise.
13530 [C99-based standards] (INT_FAST8_MAX): Likewise.
13531 [C99-based standards] (INT_FAST16_MIN): Likewise.
13532 [C99-based standards] (INT_FAST16_MAX): Likewise.
13533 [C99-based standards] (INT_FAST32_MIN): Likewise.
13534 [C99-based standards] (INT_FAST32_MAX): Likewise.
13535 [C99-based standards] (INT_FAST64_MIN): Likewise.
13536 [C99-based standards] (INT_FAST64_MAX): Likewise.
13537 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13538 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13539 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13540 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13541 [C99-based standards] (INTPTR_MIN): Likewise.
13542 [C99-based standards] (INTPTR_MAX): Likewise.
13543 [C99-based standards] (UINTPTR_MAX): Likewise.
13544 [C99-based standards] (INTMAX_MIN): Likewise.
13545 [C99-based standards] (INTMAX_MAX): Likewise.
13546 [C99-based standards] (UINTMAX_MAX): Likewise.
13547 [C99-based standards] (PTRDIFF_MIN): Likewise.
13548 [C99-based standards] (PTRDIFF_MAX): Likewise.
13549 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13550 [C99-based standards] (SIZE_MAX): Likewise.
13551 [C99-based standards] (WCHAR_MAX): Likewise.
13552 [C99-based standards] (WINT_MAX): Likewise.
13553 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13554 constraint on value.
13555 [C99-based standards] (WCHAR_MIN): Likewise.
13556 [C99-based standards] (WINT_MIN): Likewise.
13557 [C99-based standards] (*_t): Allow.
13558 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13559 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13560 Include math.h-data and complex.h-data. Remove all expectations
13561 of math.h and complex.h contents.
13562 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13564 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13565 (struct tm): Expect tag.
13566 [C99-based-standards] (wcstof): Expect function.
13567 [C99-based-standards] (wcstold): Likewise.
13568 [C99-based-standards] (wcstoll): Likewise.
13569 [C99-based-standards] (wcstoull): Likewise.
13570 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13571 macro-int-constant. Specify type.
13572 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13573 constraint on value.
13574 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13576 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13578 [ISO C standards]: Do not allow headers.
13579 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13580 wcs[abcdefghijklmnopqrstuvwxyz]*.
13581 [ISO C standards] (*_t): Do not allow.
13582 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13584 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13585 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13587 [ISO C standards]: Do not allow headers.
13588 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13589 is[abcdefghijklmnopqrstuvwxyz]*.
13590 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13591 to[abcdefghijklmnopqrstuvwxyz]*.
13592 [ISO C standards] (*_t): Do not allow.
13593 * conform/data/stdalign.h-data: New file.
13594 * conform/data/stdbool.h-data: Likewise.
13595 * conform/data/stdnoreturn.h-data: Likewise.
13597 2012-11-07 Roland McGrath <roland@hack.frob.com>
13600 * manual/filesys.texi (Directory Entries): Typo fix.
13601 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13603 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13605 * elf/elf.h (EM_AARCH64): New macro.
13606 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13607 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13608 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13609 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13610 (R_AARCH64_TLSDESC): Likewise.
13611 (NT_ARM_TLS): Likewise.
13612 (NT_ARM_HW_BREAK): Likewise.
13613 (NT_ARM_HW_WATCH): Likewise.
13615 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13618 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13619 (__ieee754_powl): Saturate nonzero exponents with absolute value
13620 below 0x1p-79 to +/- 0x1p-79.
13621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13622 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13623 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13624 nonzero exponents with absolute value below 0x1p-32 to +/-
13626 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13627 (__ieee754_powl): Saturate nonzero exponents with absolute value
13628 below 0x1p-79 to +/- 0x1p-79.
13629 * math/libm-test.inc (pow_test): Add more tests.
13631 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13633 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13634 _dl_s390_cap_flags with kernel. Increase string length.
13635 (_dl_s390_platforms): Add z196 and zEC12.
13637 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13639 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13640 Change XOPEN21K to XOPEN2K.
13642 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13644 * string/memmove.c: Use memcpy when possible.
13646 2012-11-06 Andreas Jaeger <aj@suse.de>
13648 * po/eo.po: Update from translation team.
13650 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13654 exponent and small x and y exponents, scale x or y up. Increase
13655 by 2 the exponent used in scaling up.
13656 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13658 * math/libm-test.inc (fma_test): Add more tests.
13659 (fma_test_towardzero): Likewise.
13660 (fma_test_downward): Likewise.
13661 (fma_test_upward): Likewise.
13663 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13666 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13670 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13671 namespace for names of struct fields.
13672 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13674 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13675 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13677 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13680 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13682 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13684 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13688 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13691 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13695 definitely overflow as x * y not x * y + z.
13696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13698 * math/libm-test.inc (fma_test): Add more tests.
13699 (fma_test_towardzero): Likewise.
13700 (fma_test_downward): Likewise.
13701 (fma_test_upward): Likewise.
13703 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13707 * include/stub-tag.h: Remove file.
13708 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13710 * manual/maint.texi (Porting): Don't reference it.
13711 * Makerules ($(objpfx)stubs): Likewise.
13712 * dirent/closedir.c: Don't include <stub-tag.h>.
13713 * dirent/dirfd.c: Likewise.
13714 * dirent/fdopendir.c: Likewise.
13715 * dirent/getdents.c: Likewise.
13716 * dirent/getdents64.c: Likewise.
13717 * dirent/opendir.c: Likewise.
13718 * dirent/readdir.c: Likewise.
13719 * dirent/readdir64.c: Likewise.
13720 * dirent/readdir64_r.c: Likewise.
13721 * dirent/readdir_r.c: Likewise.
13722 * dirent/rewinddir.c: Likewise.
13723 * dirent/seekdir.c: Likewise.
13724 * dirent/telldir.c: Likewise.
13725 * gmon/profil.c: Likewise.
13726 * grp/setgroups.c: Likewise.
13727 * inet/if_index.c: Likewise.
13728 * io/access.c: Likewise.
13729 * io/chdir.c: Likewise.
13730 * io/chmod.c: Likewise.
13731 * io/chown.c: Likewise.
13732 * io/close.c: Likewise.
13733 * io/dup.c: Likewise.
13734 * io/dup2.c: Likewise.
13735 * io/dup3.c: Likewise.
13736 * io/euidaccess.c: Likewise.
13737 * io/faccessat.c: Likewise.
13738 * io/fchdir.c: Likewise.
13739 * io/fchmod.c: Likewise.
13740 * io/fchmodat.c: Likewise.
13741 * io/fchown.c: Likewise.
13742 * io/fchownat.c: Likewise.
13743 * io/fcntl.c: Likewise.
13744 * io/flock.c: Likewise.
13745 * io/fstatfs.c: Likewise.
13746 * io/fstatfs64.c: Likewise.
13747 * io/fstatvfs.c: Likewise.
13748 * io/fstatvfs64.c: Likewise.
13749 * io/futimens.c: Likewise.
13750 * io/fxstat.c: Likewise.
13751 * io/fxstat64.c: Likewise.
13752 * io/fxstatat.c: Likewise.
13753 * io/fxstatat64.c: Likewise.
13754 * io/getcwd.c: Likewise.
13755 * io/isatty.c: Likewise.
13756 * io/lchmod.c: Likewise.
13757 * io/lchown.c: Likewise.
13758 * io/link.c: Likewise.
13759 * io/linkat.c: Likewise.
13760 * io/lseek.c: Likewise.
13761 * io/lseek64.c: Likewise.
13762 * io/lxstat64.c: Likewise.
13763 * io/mkdir.c: Likewise.
13764 * io/mkdirat.c: Likewise.
13765 * io/mkfifo.c: Likewise.
13766 * io/mkfifoat.c: Likewise.
13767 * io/open.c: Likewise.
13768 * io/open64.c: Likewise.
13769 * io/openat.c: Likewise.
13770 * io/openat64.c: Likewise.
13771 * io/pipe.c: Likewise.
13772 * io/pipe2.c: Likewise.
13773 * io/poll.c: Likewise.
13774 * io/posix_fadvise.c: Likewise.
13775 * io/posix_fadvise64.c: Likewise.
13776 * io/posix_fallocate.c: Likewise.
13777 * io/posix_fallocate64.c: Likewise.
13778 * io/read.c: Likewise.
13779 * io/readlink.c: Likewise.
13780 * io/readlinkat.c: Likewise.
13781 * io/rmdir.c: Likewise.
13782 * io/sendfile.c: Likewise.
13783 * io/sendfile64.c: Likewise.
13784 * io/statfs.c: Likewise.
13785 * io/statfs64.c: Likewise.
13786 * io/statvfs.c: Likewise.
13787 * io/statvfs64.c: Likewise.
13788 * io/symlink.c: Likewise.
13789 * io/symlinkat.c: Likewise.
13790 * io/ttyname.c: Likewise.
13791 * io/ttyname_r.c: Likewise.
13792 * io/umask.c: Likewise.
13793 * io/unlink.c: Likewise.
13794 * io/unlinkat.c: Likewise.
13795 * io/utime.c: Likewise.
13796 * io/utimensat.c: Likewise.
13797 * io/write.c: Likewise.
13798 * io/xmknod.c: Likewise.
13799 * io/xmknodat.c: Likewise.
13800 * io/xstat.c: Likewise.
13801 * io/xstat64.c: Likewise.
13802 * login/getpt.c: Likewise.
13803 * login/grantpt.c: Likewise.
13804 * login/unlockpt.c: Likewise.
13805 * math/e_acoshl.c: Likewise.
13806 * math/e_acosl.c: Likewise.
13807 * math/e_asinl.c: Likewise.
13808 * math/e_atan2l.c: Likewise.
13809 * math/e_atanhl.c: Likewise.
13810 * math/e_coshl.c: Likewise.
13811 * math/e_expl.c: Likewise.
13812 * math/e_fmodl.c: Likewise.
13813 * math/e_gammal_r.c: Likewise.
13814 * math/e_hypotl.c: Likewise.
13815 * math/e_j0l.c: Likewise.
13816 * math/e_j1l.c: Likewise.
13817 * math/e_jnl.c: Likewise.
13818 * math/e_lgammal_r.c: Likewise.
13819 * math/e_log10l.c: Likewise.
13820 * math/e_log2l.c: Likewise.
13821 * math/e_logl.c: Likewise.
13822 * math/e_powl.c: Likewise.
13823 * math/e_rem_pio2l.c: Likewise.
13824 * math/e_sinhl.c: Likewise.
13825 * math/e_sqrtl.c: Likewise.
13826 * math/fclrexcpt.c: Likewise.
13827 * math/fedisblxcpt.c: Likewise.
13828 * math/feenablxcpt.c: Likewise.
13829 * math/fegetenv.c: Likewise.
13830 * math/fegetexcept.c: Likewise.
13831 * math/fegetround.c: Likewise.
13832 * math/feholdexcpt.c: Likewise.
13833 * math/fesetenv.c: Likewise.
13834 * math/fesetround.c: Likewise.
13835 * math/feupdateenv.c: Likewise.
13836 * math/fgetexcptflg.c: Likewise.
13837 * math/fraiseexcpt.c: Likewise.
13838 * math/fsetexcptflg.c: Likewise.
13839 * math/ftestexcept.c: Likewise.
13840 * math/k_cosl.c: Likewise.
13841 * math/k_rem_pio2l.c: Likewise.
13842 * math/k_sinl.c: Likewise.
13843 * math/k_tanl.c: Likewise.
13844 * math/s_asinhl.c: Likewise.
13845 * math/s_atanl.c: Likewise.
13846 * math/s_cbrtl.c: Likewise.
13847 * math/s_erfl.c: Likewise.
13848 * math/s_expm1l.c: Likewise.
13849 * math/s_log1pl.c: Likewise.
13850 * math/s_tanhl.c: Likewise.
13851 * misc/acct.c: Likewise.
13852 * misc/brk.c: Likewise.
13853 * misc/chflags.c: Likewise.
13854 * misc/chroot.c: Likewise.
13855 * misc/fchflags.c: Likewise.
13856 * misc/fgetxattr.c: Likewise.
13857 * misc/flistxattr.c: Likewise.
13858 * misc/fremovexattr.c: Likewise.
13859 * misc/fsetxattr.c: Likewise.
13860 * misc/fsync.c: Likewise.
13861 * misc/ftruncate.c: Likewise.
13862 * misc/futimes.c: Likewise.
13863 * misc/futimesat.c: Likewise.
13864 * misc/getdomain.c: Likewise.
13865 * misc/getdtsz.c: Likewise.
13866 * misc/gethostid.c: Likewise.
13867 * misc/gethostname.c: Likewise.
13868 * misc/getloadavg.c: Likewise.
13869 * misc/getpagesize.c: Likewise.
13870 * misc/getsysstats.c: Likewise.
13871 * misc/getxattr.c: Likewise.
13872 * misc/gtty.c: Likewise.
13873 * misc/ioctl.c: Likewise.
13874 * misc/lgetxattr.c: Likewise.
13875 * misc/listxattr.c: Likewise.
13876 * misc/llistxattr.c: Likewise.
13877 * misc/lremovexattr.c: Likewise.
13878 * misc/lsetxattr.c: Likewise.
13879 * misc/lutimes.c: Likewise.
13880 * misc/madvise.c: Likewise.
13881 * misc/mincore.c: Likewise.
13882 * misc/mlock.c: Likewise.
13883 * misc/mlockall.c: Likewise.
13884 * misc/mmap.c: Likewise.
13885 * misc/mprotect.c: Likewise.
13886 * misc/msync.c: Likewise.
13887 * misc/munlock.c: Likewise.
13888 * misc/munlockall.c: Likewise.
13889 * misc/munmap.c: Likewise.
13890 * misc/preadv.c: Likewise.
13891 * misc/preadv64.c: Likewise.
13892 * misc/ptrace.c: Likewise.
13893 * misc/pwritev.c: Likewise.
13894 * misc/pwritev64.c: Likewise.
13895 * misc/readv.c: Likewise.
13896 * misc/reboot.c: Likewise.
13897 * misc/remap_file_pages.c: Likewise.
13898 * misc/removexattr.c: Likewise.
13899 * misc/revoke.c: Likewise.
13900 * misc/select.c: Likewise.
13901 * misc/setdomain.c: Likewise.
13902 * misc/setegid.c: Likewise.
13903 * misc/seteuid.c: Likewise.
13904 * misc/sethostid.c: Likewise.
13905 * misc/sethostname.c: Likewise.
13906 * misc/setregid.c: Likewise.
13907 * misc/setreuid.c: Likewise.
13908 * misc/setxattr.c: Likewise.
13909 * misc/sstk.c: Likewise.
13910 * misc/stty.c: Likewise.
13911 * misc/swapoff.c: Likewise.
13912 * misc/swapon.c: Likewise.
13913 * misc/sync.c: Likewise.
13914 * misc/syncfs.c: Likewise.
13915 * misc/syscall.c: Likewise.
13916 * misc/truncate.c: Likewise.
13917 * misc/ualarm.c: Likewise.
13918 * misc/usleep.c: Likewise.
13919 * misc/ustat.c: Likewise.
13920 * misc/utimes.c: Likewise.
13921 * misc/vhangup.c: Likewise.
13922 * misc/writev.c: Likewise.
13923 * posix/_exit.c: Likewise.
13924 * posix/alarm.c: Likewise.
13925 * posix/execve.c: Likewise.
13926 * posix/fexecve.c: Likewise.
13927 * posix/fork.c: Likewise.
13928 * posix/fpathconf.c: Likewise.
13929 * posix/getaddrinfo.c: Likewise.
13930 * posix/getegid.c: Likewise.
13931 * posix/geteuid.c: Likewise.
13932 * posix/getgid.c: Likewise.
13933 * posix/getgroups.c: Likewise.
13934 * posix/getlogin.c: Likewise.
13935 * posix/getlogin_r.c: Likewise.
13936 * posix/getpgid.c: Likewise.
13937 * posix/getpid.c: Likewise.
13938 * posix/getppid.c: Likewise.
13939 * posix/getresgid.c: Likewise.
13940 * posix/getresuid.c: Likewise.
13941 * posix/getsid.c: Likewise.
13942 * posix/getuid.c: Likewise.
13943 * posix/glob64.c: Likewise.
13944 * posix/nanosleep.c: Likewise.
13945 * posix/pathconf.c: Likewise.
13946 * posix/pause.c: Likewise.
13947 * posix/posix_madvise.c: Likewise.
13948 * posix/pread.c: Likewise.
13949 * posix/pread64.c: Likewise.
13950 * posix/pwrite.c: Likewise.
13951 * posix/pwrite64.c: Likewise.
13952 * posix/sched_getaffinity.c: Likewise.
13953 * posix/sched_getp.c: Likewise.
13954 * posix/sched_gets.c: Likewise.
13955 * posix/sched_primax.c: Likewise.
13956 * posix/sched_primin.c: Likewise.
13957 * posix/sched_rr_gi.c: Likewise.
13958 * posix/sched_setaffinity.c: Likewise.
13959 * posix/sched_setp.c: Likewise.
13960 * posix/sched_sets.c: Likewise.
13961 * posix/sched_yield.c: Likewise.
13962 * posix/setgid.c: Likewise.
13963 * posix/setlogin.c: Likewise.
13964 * posix/setpgid.c: Likewise.
13965 * posix/setresgid.c: Likewise.
13966 * posix/setresuid.c: Likewise.
13967 * posix/setsid.c: Likewise.
13968 * posix/setuid.c: Likewise.
13969 * posix/sleep.c: Likewise.
13970 * posix/spawni.c: Likewise.
13971 * posix/sysconf.c: Likewise.
13972 * posix/times.c: Likewise.
13973 * posix/wait.c: Likewise.
13974 * posix/wait3.c: Likewise.
13975 * posix/wait4.c: Likewise.
13976 * posix/waitpid.c: Likewise.
13977 * resolv/gai_sigqueue.c: Likewise.
13978 * resource/getpriority.c: Likewise.
13979 * resource/getrlimit.c: Likewise.
13980 * resource/getrusage.c: Likewise.
13981 * resource/nice.c: Likewise.
13982 * resource/setpriority.c: Likewise.
13983 * resource/setrlimit.c: Likewise.
13984 * resource/ulimit.c: Likewise.
13985 * rt/aio_cancel.c: Likewise.
13986 * rt/aio_fsync.c: Likewise.
13987 * rt/aio_read.c: Likewise.
13988 * rt/aio_sigqueue.c: Likewise.
13989 * rt/aio_suspend.c: Likewise.
13990 * rt/aio_write.c: Likewise.
13991 * rt/clock_getres.c: Likewise.
13992 * rt/clock_gettime.c: Likewise.
13993 * rt/clock_nanosleep.c: Likewise.
13994 * rt/clock_settime.c: Likewise.
13995 * rt/lio_listio.c: Likewise.
13996 * rt/mq_close.c: Likewise.
13997 * rt/mq_getattr.c: Likewise.
13998 * rt/mq_notify.c: Likewise.
13999 * rt/mq_open.c: Likewise.
14000 * rt/mq_receive.c: Likewise.
14001 * rt/mq_send.c: Likewise.
14002 * rt/mq_setattr.c: Likewise.
14003 * rt/mq_timedreceive.c: Likewise.
14004 * rt/mq_timedsend.c: Likewise.
14005 * rt/mq_unlink.c: Likewise.
14006 * rt/shm_open.c: Likewise.
14007 * rt/shm_unlink.c: Likewise.
14008 * rt/timer_create.c: Likewise.
14009 * rt/timer_delete.c: Likewise.
14010 * rt/timer_getoverr.c: Likewise.
14011 * rt/timer_gettime.c: Likewise.
14012 * rt/timer_settime.c: Likewise.
14013 * setjmp/__longjmp.c: Likewise.
14014 * setjmp/setjmp.c: Likewise.
14015 * signal/kill.c: Likewise.
14016 * signal/killpg.c: Likewise.
14017 * signal/raise.c: Likewise.
14018 * signal/sigaction.c: Likewise.
14019 * signal/sigaltstack.c: Likewise.
14020 * signal/sigblock.c: Likewise.
14021 * signal/sigignore.c: Likewise.
14022 * signal/sigintr.c: Likewise.
14023 * signal/signal.c: Likewise.
14024 * signal/sigpause.c: Likewise.
14025 * signal/sigpending.c: Likewise.
14026 * signal/sigqueue.c: Likewise.
14027 * signal/sigreturn.c: Likewise.
14028 * signal/sigset.c: Likewise.
14029 * signal/sigsetmask.c: Likewise.
14030 * signal/sigstack.c: Likewise.
14031 * signal/sigsuspend.c: Likewise.
14032 * signal/sigtimedwait.c: Likewise.
14033 * signal/sigvec.c: Likewise.
14034 * signal/sigwait.c: Likewise.
14035 * signal/sigwaitinfo.c: Likewise.
14036 * signal/sysv_signal.c: Likewise.
14037 * socket/accept.c: Likewise.
14038 * socket/accept4.c: Likewise.
14039 * socket/bind.c: Likewise.
14040 * socket/connect.c: Likewise.
14041 * socket/getpeername.c: Likewise.
14042 * socket/getsockname.c: Likewise.
14043 * socket/getsockopt.c: Likewise.
14044 * socket/isfdtype.c: Likewise.
14045 * socket/listen.c: Likewise.
14046 * socket/recv.c: Likewise.
14047 * socket/recvfrom.c: Likewise.
14048 * socket/recvmsg.c: Likewise.
14049 * socket/send.c: Likewise.
14050 * socket/sendmsg.c: Likewise.
14051 * socket/sendto.c: Likewise.
14052 * socket/setsockopt.c: Likewise.
14053 * socket/shutdown.c: Likewise.
14054 * socket/sockatmark.c: Likewise.
14055 * socket/socket.c: Likewise.
14056 * socket/socketpair.c: Likewise.
14057 * stdio-common/ctermid.c: Likewise.
14058 * stdio-common/cuserid.c: Likewise.
14059 * stdio-common/remove.c: Likewise.
14060 * stdio-common/rename.c: Likewise.
14061 * stdio-common/renameat.c: Likewise.
14062 * stdio-common/tempname.c: Likewise.
14063 * stdlib/getcontext.c: Likewise.
14064 * stdlib/makecontext.c: Likewise.
14065 * stdlib/setcontext.c: Likewise.
14066 * stdlib/swapcontext.c: Likewise.
14067 * stdlib/system.c: Likewise.
14068 * streams/fattach.c: Likewise.
14069 * streams/fdetach.c: Likewise.
14070 * streams/getmsg.c: Likewise.
14071 * streams/getpmsg.c: Likewise.
14072 * streams/putmsg.c: Likewise.
14073 * streams/putpmsg.c: Likewise.
14074 * sysdeps/unix/bsd/getpt.c: Likewise.
14075 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14076 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14077 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14080 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14081 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14082 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14083 * sysvipc/msgctl.c: Likewise.
14084 * sysvipc/msgget.c: Likewise.
14085 * sysvipc/msgrcv.c: Likewise.
14086 * sysvipc/msgsnd.c: Likewise.
14087 * sysvipc/semctl.c: Likewise.
14088 * sysvipc/semget.c: Likewise.
14089 * sysvipc/semop.c: Likewise.
14090 * sysvipc/semtimedop.c: Likewise.
14091 * sysvipc/shmat.c: Likewise.
14092 * sysvipc/shmctl.c: Likewise.
14093 * sysvipc/shmdt.c: Likewise.
14094 * sysvipc/shmget.c: Likewise.
14095 * termios/tcdrain.c: Likewise.
14096 * termios/tcflow.c: Likewise.
14097 * termios/tcflush.c: Likewise.
14098 * termios/tcgetattr.c: Likewise.
14099 * termios/tcgetpgrp.c: Likewise.
14100 * termios/tcsendbrk.c: Likewise.
14101 * termios/tcsetattr.c: Likewise.
14102 * termios/tcsetpgrp.c: Likewise.
14103 * time/adjtime.c: Likewise.
14104 * time/clock.c: Likewise.
14105 * time/getitimer.c: Likewise.
14106 * time/gettimeofday.c: Likewise.
14107 * time/setitimer.c: Likewise.
14108 * time/settimeofday.c: Likewise.
14109 * time/stime.c: Likewise.
14110 * time/time.c: Likewise.
14112 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14114 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14117 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14119 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14121 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14125 FE_TONEAREST before applying Dekker multiplication and Knuth
14126 addition. Clear inexact exceptions and check for exact zero
14127 results afterwards.
14128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14131 * math/libm-test.inc (fma_test): Add more tests.
14132 (fma_test_towardzero): Likewise.
14133 (fma_test_downward): Likewise.
14134 (fma_test_upward): Likewise.
14135 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14137 (libc_fesetround): New macro.
14138 (libc_fesetroundf): Likewise.
14139 (libc_fesetroundl): Likewise.
14140 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14142 (libc_fesetround_387): Likewise.
14143 (libc_fesetroundf): New macro.
14144 (libc_fesetround): Likewise.
14145 (libc_fesetroundl): Likewise.
14146 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14148 (libc_fesetroundf): New macro.
14149 (libc_fesetround): Likewise.
14150 (libc_fesetroundl): Likewise.
14151 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14152 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14153 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14155 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14156 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14158 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14159 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14161 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14165 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14166 integer constant usable in #if and use that to give value to enum
14168 (FE_DIVBYZERO): Likewise.
14169 (FE_UNDERFLOW): Likewise.
14170 (FE_OVERFLOW): Likewise.
14171 (FE_INVALID): Likewise.
14172 (FE_INVALID_SNAN): Likewise.
14173 (FE_INVALID_ISI): Likewise.
14174 (FE_INVALID_IDI): Likewise.
14175 (FE_INVALID_ZDZ): Likewise.
14176 (FE_INVALID_IMZ): Likewise.
14177 (FE_INVALID_COMPARE): Likewise.
14178 (FE_INVALID_SOFTWARE): Likewise.
14179 (FE_INVALID_SQRT): Likewise.
14180 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14181 (FE_TONEAREST): Likewise.
14182 (FE_TOWARDZERO): Likewise.
14183 (FE_UPWARD): Likewise.
14184 (FE_DOWNWARD): Likewise.
14185 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14186 (FE_DIVBYZERO): Likewise.
14187 (FE_OVERFLOW): Likewise.
14188 (FE_UNDERFLOW): Likewise.
14189 (FE_INEXACT): Likewise.
14190 (FE_TONEAREST): Likewise.
14191 (FE_DOWNWARD): Likewise.
14192 (FE_UPWARD): Likewise.
14193 (FE_TOWARDZERO): Likewise.
14194 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14195 (FE_UNDERFLOW): Likewise.
14196 (FE_OVERFLOW): Likewise.
14197 (FE_DIVBYZERO): Likewise.
14198 (FE_INVALID): Likewise.
14199 (FE_TONEAREST): Likewise.
14200 (FE_TOWARDZERO): Likewise.
14201 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14202 (FE_OVERFLOW): Likewise.
14203 (FE_UNDERFLOW): Likewise.
14204 (FE_DIVBYZERO): Likewise.
14205 (FE_INEXACT): Likewise.
14206 (FE_TONEAREST): Likewise.
14207 (FE_TOWARDZERO): Likewise.
14208 (FE_UPWARD): Likewise.
14209 (FE_DOWNWARD): Likewise.
14210 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14211 (FE_DIVBYZERO): Likewise.
14212 (FE_OVERFLOW): Likewise.
14213 (FE_UNDERFLOW): Likewise.
14214 (FE_INEXACT): Likewise.
14215 (FE_TONEAREST): Likewise.
14216 (FE_DOWNWARD): Likewise.
14217 (FE_UPWARD): Likewise.
14218 (FE_TOWARDZERO): Likewise.
14220 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14222 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14224 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14226 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14227 commands. Quote $PWD.
14228 (blacklist_exports): Don't use remove_newlines. Replace "declare
14230 (remove_newlines): Remove.
14232 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14234 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14235 * stdlib/stdlib.h (atof): Moved to ...
14236 * include/bits/stdlib-float.h: Here. New file.
14237 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14238 * stdlib/bits/stdlib-float.h: New file.
14239 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14241 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14244 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14246 * conform/conformtest.pl (@headers): Add fenv.h.
14247 * conform/data/fenv.h-data: New file.
14248 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14249 include of <math/fenv.h>.
14251 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14252 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14253 && !UNIX98]. Enables tests for XOPEN2K8.
14254 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14255 POSIX2008]: Likewise.
14257 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14258 (struct rusage): Do not expect type or its members.
14261 * math/math.h (FP_NAN): Define macro to integer constant usable in
14262 #if and use that to give value to enum constant.
14263 (FP_INFINITE): Likewise.
14264 (FP_ZERO): Likewise.
14265 (FP_SUBNORMAL): Likewise.
14266 (FP_NORMAL): Likewise.
14268 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14270 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14271 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14274 2012-11-02 Roland McGrath <roland@hack.frob.com>
14276 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14277 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14278 autoconf-time if not.
14279 * configure.in: Remove AC_PREREQ.
14281 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14283 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14284 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14285 of the internal implementation.
14287 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14289 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14290 except include of <misc/sys/syslog.h>.
14292 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14295 function returns with a NULL context exit with zero.
14297 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14299 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14301 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14303 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14304 (run_program_cmd): This.
14305 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14306 (tst_langinfo): New variable. Use it.
14308 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14310 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14311 floating point opcodes.
14313 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14315 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14318 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14320 * sysdeps/mach/hurd/powerpc: Remove directory.
14321 * sysdeps/mach/powerpc: Likewise.
14323 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14325 * scripts/check-local-headers.sh: Ignore c++ headers.
14327 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14329 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14330 __libc_cleanup_region_start argument.
14332 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14337 x * y using scaling, not as x * y + z.
14338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14340 * math/libm-test.inc (fma_test): Add more tests.
14341 (fma_test_towardzero): Likewise.
14342 (fma_test_downward): Likewise.
14343 (fma_test_upward): Likewise.
14345 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14347 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14349 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14354 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14356 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14358 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14365 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14368 Fix the order of the list for glibc 2.17.
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14372 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14376 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14380 for low part of x being zero before using __atanl (y).
14381 * math/libm-test.inc (atan2_test): Add another test.
14383 * manual/install.texi (Configuring and compiling): Document
14384 general use of test-wrapper and test-wrapper-env.
14385 * INSTALL: Regenerated.
14387 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14388 (__fma): Do not extract and scale down low bits on after-rounding
14389 systems when result rounded to normal precision would have normal
14391 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14392 (__fmal): Do not extract and scale down low bits on after-rounding
14393 systems when result rounded to normal precision would have normal
14395 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14396 (__fmal): Do not extract and scale down low bits on after-rounding
14397 systems when result rounded to normal precision would have normal
14399 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14401 (fma_test): Add more tests.
14402 (fma_test_towardzero): Likewise.
14403 (fma_test_downward): Likewise.
14404 (fma_test_upward): Likewise.
14406 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14408 * sysdeps/i386/tininess.h: Renamed to ...
14409 * sysdeps/x86/tininess.h: This.
14410 * sysdeps/x86_64/tininess.h: Removed.
14412 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14414 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14415 input. Use $(build-program-cmd).
14416 ($(objpfx)tst-array1-static.out): Likewise.
14417 ($(objpfx)tst-array2.out): Likewise.
14418 ($(objpfx)tst-array3.out): Likewise.
14419 ($(objpfx)tst-array4.out): Likewise.
14420 ($(objpfx)tst-array5.out): Likewise.
14421 ($(objpfx)tst-array5-static.out): Likewise.
14423 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14425 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14428 * nss/nsswitch.h (nss_interface_function): Provide new
14429 macro for use with NSS functions.
14430 * grp/initgroups.c: Use new macro.
14431 * nss/getXXbyYY.c: Likewise.
14432 * nss/getXXbyYY_r.c: Likewise.
14433 * nss/getXXent.c: Likewise.
14434 * nss/getXXent_r.c: Likewise.
14435 * sysdeps/posix/getaddrinfo.c: Likewise.
14437 2012-10-30 Andreas Jaeger <aj@suse.de>
14439 * po/ru.po: Update Russion translation from translation project.
14441 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14446 result and shift together with sticky bit instead of replicating
14447 round-to-nearest rounding.
14448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14450 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14451 missing underflow exceptions.
14452 (fma_test_towardzero): Add more tests.
14453 (fma_test_downward): Likewise.
14454 (fma_test_upward): Likewise.
14457 * sysdeps/generic/tininess.h: New file.
14458 * sysdeps/i386/tininess.h: Likewise.
14459 * sysdeps/sh/tininess.h: Likewise.
14460 * sysdeps/x86_64/tininess.h: Likewise.
14461 * stdlib/tst-strtod-underflow.c: Likewise.
14462 * stdlib/tst-tininess.c: Likewise.
14463 * stdlib/strtod_l.c: Include <tininess.h>.
14464 (round_and_return): Do not set errno for exact underflow cases.
14465 Force an underflow exception when setting errno for underflow.
14466 Determine underflow based on rounding to normal precision if
14467 TININESS_AFTER_ROUNDING.
14468 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14469 ERANGE for exact underflow cases.
14470 * stdlib/Makefile (tests): Add tst-tininess and
14471 tst-strtod-underflow.
14472 ($(objpfx)tst-tininess): Use $(link-libm).
14473 ($(objpfx)tst-strtod-underflow): Likewise.
14475 2012-10-30 Andreas Jaeger <aj@suse.de>
14478 * elf/Makefile (tests): Remove conditional for have-initfini-array
14479 since this is now always required and the variable does not exist
14481 (tests-static): Likewise.
14482 (modules-names): Likewise.
14484 * po/eo.po: Add Esperanto translation from translation project.
14486 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14487 merged with constructor/destructor.
14488 (init_array): Likewise.
14489 * elf/tst-array2dep.c (fini_array): Likewise.
14490 (init_array): Likewise.
14492 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14494 * manual/message.texi: Delete @cartouche tags.
14496 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14498 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14500 * sysdeps/mach/hurd/fsync.c: Likewise.
14502 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14503 [_POSIX_REALTIME_SIGNALS]: Change condition to
14504 [_POSIX_REALTIME_SIGNALS > 0].
14506 2012-10-27 Andreas Jaeger <aj@suse.de>
14508 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14509 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14511 [__WORDSIZE != 64]: Likewise.
14513 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14515 * iconvdata/tst-table.sh: Remove ${SHELL}.
14516 * iconvdata/tst-tables.sh: Likewise.
14518 2012-10-25 David S. Miller <davem@davemloft.net>
14520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14521 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14526 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14527 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14528 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14531 2012-10-25 Roland McGrath <roland@hack.frob.com>
14533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14534 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14537 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14538 Jim Blandy <jimb@codesourcery.com>
14540 * scripts/cross-test-ssh.sh: New file.
14541 * manual/install.texi (Configuring and compiling): Document use of
14543 * INSTALL: Regenerated.
14545 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14547 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14550 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14552 * Makeconfig (run-program-prefix): Fix comment.
14554 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14555 Jim Blandy <jimb@codesourcery.com>
14557 * Makeconfig (test-wrapper): New variable,
14558 (test-wrapper-env): Likewise.
14559 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14560 (run-built-tests): Define to yes.
14561 (run-program-prefix): Use $(test-wrapper).
14562 (built-program-cmd): Likewise.
14563 * Rules (make-test-out): Use $(test-wrapper-env) and
14564 $(host-built-program-cmd).
14565 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14566 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14568 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14569 $(test-wrapper-env) to tst-rtld-load-self.sh.
14570 ($(objpfx)order2.out): Use $(test-wrapper).
14571 ($(objpfx)tst-initorder.out): Likewise.
14572 ($(objpfx)tst-initorder2.out): Likewise.
14573 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14574 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14575 (test_wrapper_env): New variable. Use it to run ld.so.
14576 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14577 Use it to run ld.so.
14578 (test_wrapper_env): Likewise.
14579 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14580 $(test-wrapper) to run-iconv-test.sh.
14581 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14582 (ICONV): Use $test_wrapper.
14583 * posix/Makefile ($(objpfx)globtest.out): Pass
14584 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14585 globtest.sh, not $(run-program-prefix).
14586 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14587 (test_wrapper): Likewise.
14588 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14589 set together with run_via_rtld_prefix.
14590 (run_program_prefix): Define in terms of test_wrapper and
14591 run_via_rtld_prefix.
14593 2012-10-24 Roland McGrath <roland@hack.frob.com>
14595 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14596 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14600 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14601 Declare __clock_getres, __clock_gettime, __clock_settime,
14602 __clock_nanosleep, and __clock_getcpuclockid.
14603 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14604 Remove librt_hidden_def (clock_gettime).
14605 * sysdeps/unix/clock_gettime.c: Likewise.
14606 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14607 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14608 * rt/clock_getres.c: Define __clock_getres as an alias.
14609 * sysdeps/posix/clock_getres.c: Likewise.
14610 * rt/clock_settime.c: Define __clock_settime as an alias.
14611 * sysdeps/unix/clock_settime.c: Likewise.
14612 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14613 * sysdeps/unix/clock_nanosleep.c: Likewise.
14614 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14615 * rt/clock-compat.c: New file.
14616 * rt/Makefile (librt-routines): Add clock-compat and move
14617 $(clock-routines) to ...
14618 (routines): ... here, new variable.
14619 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14620 Don't add get_clockfreq here.
14621 * rt/Versions (libc: GLIBC_2.17): New version set.
14622 Add clock_* symbols here.
14623 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14624 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14625 (GLIBC_2.17): Add clock_* symbols.
14626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14637 * NEWS: Mention the move.
14639 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14640 Use __open, __read, __close rather than their public counterparts.
14641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14642 (__get_clockfreq_via_cpuinfo): Likewise.
14643 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14644 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14646 * config.h.in (HAVE_IFUNC): New #undef.
14647 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14649 * configure: Regenerated.
14651 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14653 * configure.in: Move READELF check to start of file.
14654 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14655 libc_cv_asm_gnu_indirect_function in the process.
14656 * configure: Regenerated.
14658 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14660 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14661 send the output to /dev/null.
14662 (libc_cv_cc_with_libunwind): Likewise.
14663 (libc_cv_as_noexecstack): Likewise.
14664 * configure: Regenerate.
14666 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14668 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14670 * posix/globtest.sh (TMPDIR): Do not set.
14671 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14672 (testout): Likewise.
14674 2012-10-24 Andreas Jaeger <aj@suse.de>
14676 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14677 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14678 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14679 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14680 posix_fadvise64, posix_fallocate64.
14682 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14683 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14684 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14686 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14688 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14691 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14692 <bits/fcntl-linux.h>.
14693 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14695 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14696 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14697 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14698 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14699 [__WORDSIZE != 64]: Likewise.
14701 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14703 * Makeconfig (run-built-tests): New variable.
14704 * Rules [$(cross-compiling) = yes]: Change condition to
14705 [$(run-built-tests) = no].
14706 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14707 to [$(run-built-tests) = yes].
14708 * elf/Makefile [$(cross-compiling) = no]: Likewise
14709 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14710 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14711 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14712 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14713 * io/Makefile [$(cross-compiling) = no]: Likewise.
14714 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14715 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14716 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14717 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14718 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14719 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14720 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14721 * string/Makefile [$(cross-compiling) = no]: Likewise.
14723 * posix/Makefile ($(objpfx)globtest.out): Pass
14724 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14725 $(rtld-installed-name).
14726 * posix/globtest.sh (elf_objpfx): Remove variable.
14727 (rtld_installed_name): Likewise.
14728 (library_path): Likewise.
14729 (run_program_prefix): New variable. Use for running globtest
14732 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14733 Joseph Myers <joseph@codesourcery.com>
14735 * Makeconfig (host-built-program-cmd): New variable.
14736 * elf/Makefile (tst-stackguard1-ARGS): Use
14737 $(host-built-program-cmd).
14738 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14739 (tst-spawn-ARGS): Likewise.
14740 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14742 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14743 Jim Blandy <jimb@codesourcery.com>
14745 * Makeconfig (run-via-rtld-prefix): New variable.
14746 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14747 (built-program-cmd): Likewise.
14749 2012-10-22 Andreas Jaeger <aj@suse.de>
14751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14752 __O_RSYNC if it exists, otherwise to O_SYNC.
14754 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14755 Joseph Myers <joseph@codesourcery.com>
14757 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14759 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14761 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14764 2012-10-22 Andreas Jaeger <aj@suse.de>
14766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14771 bits/fcntl-linux.h.
14773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14774 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14781 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14782 Joseph Myers <joseph@codesourcery.com>
14784 * config.make.in (NM): New variable.
14786 2012-10-21 Andreas Jaeger <aj@suse.de>
14788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14789 definitions and declarations that are provided by
14790 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14792 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14795 * elf/Makefile (tests-static): Add tst-leaks1-static.
14796 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14797 ($(objpfx)tst-leaks1-static): New rule.
14798 ($(objpfx)tst-leaks1-static-mem): Likewise.
14799 (tst-leaks1-static-ENV): New macro.
14800 * elf/dl-open.c (dl_open_worker): Check the main application
14801 only if SHARED is defined.
14802 * elf/tst-leaks1-static.c: New file.
14804 2012-10-20 Andreas Jaeger <aj@suse.de>
14806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14807 generic values for Linux.
14808 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14809 and declarations that are provided by <bits/fcntl-linux.h> and
14810 include <bits/fcntl-linux.h>.
14811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14814 2012-10-20 Roland McGrath <roland@hack.frob.com>
14816 * io/fcntl.h: Move include of <bits/types.h> to the top and
14817 include it unconditionally.
14819 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14821 * wcsmbs/Makefile (tests-ifunc): New variable.
14822 (tests): Add $(tests-ifunc).
14823 * wcsmbs/test-wcschr-ifunc.c: New file.
14824 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14825 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14826 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14827 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14828 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14830 * string/Makefile (tests-ifunc): New variable.
14831 (tests): Add $(tests-ifunc).
14832 * string/test-memccpy.c (TEST_NAME): New macro.
14833 * string/test-memchr.c (TEST_NAME): Likewise.
14834 * string/test-memcmp.c (TEST_NAME): Likewise.
14835 * string/test-memcpy.c (TEST_NAME): Likewise.
14836 * string/test-memmem.c (TEST_NAME): Likewise.
14837 * string/test-memmove.c (TEST_NAME): Likewise.
14838 * string/test-memset.c (TEST_NAME): Likewise.
14839 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14840 * string/test-stpcpy.c (TEST_NAME): Likewise.
14841 * string/test-stpncpy.c (TEST_NAME): Likewise.
14842 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14843 * string/test-strcasestr.c (TEST_NAME): Likewise.
14844 * string/test-strcat.c (TEST_NAME): Likewise.
14845 * string/test-strchr.c (TEST_NAME): Likewise.
14846 * string/test-strcmp.c(TEST_NAME): Likewise.
14847 * string/test-strcpy.c (TEST_NAME): Likewise.
14848 * string/test-strcspn.c (TEST_NAME): Likewise.
14849 * string/test-strlen.c (TEST_NAME): Likewise.
14850 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14851 * string/test-strncmp.c (TEST_NAME): Likewise.
14852 * string/test-strncpy.c (TEST_NAME): Likewise.
14853 * string/test-strnlen.c (TEST_NAME): Likewise.
14854 * string/test-strpbrk.c (TEST_NAME): Likewise.
14855 * string/test-strrchr.c (TEST_NAME): Likewise.
14856 * string/test-strspn.c (TEST_NAME): Likewise.
14857 * string/test-strstr.c (TEST_NAME): Likewise.
14858 * string/test-bcopy-ifunc.c: New file.
14859 * string/test-bzero-ifunc.c: Likewise.
14860 * string/test-memccpy-ifunc.c: Likewise.
14861 * string/test-memchr-ifunc.c: Likewise.
14862 * string/test-memcmp-ifunc.c: Likewise.
14863 * string/test-memcpy-ifunc.c: Likewise.
14864 * string/test-memmem-ifunc.c: Likewise.
14865 * string/test-memmove-ifunc.c: Likewise.
14866 * string/test-mempcpy-ifunc.c: Likewise.
14867 * string/test-memset-ifunc.c: Likewise.
14868 * string/test-rawmemchr-ifunc.c: Likewise.
14869 * string/test-stpcpy-ifunc.c: Likewise.
14870 * string/test-stpncpy-ifunc.c: Likewise.
14871 * string/test-strcasecmp-ifunc.c: Likewise.
14872 * string/test-strcasestr-ifunc.c: Likewise.
14873 * string/test-strcat-ifunc.c: Likewise.
14874 * string/test-strchr-ifunc.c: Likewise.
14875 * string/test-strchrnul-ifunc.c: Likewise.
14876 * string/test-strcmp-ifunc.c: Likewise.
14877 * string/test-strcpy-ifunc.c: Likewise.
14878 * string/test-strcspn-ifunc.c: Likewise.
14879 * string/test-strlen-ifunc.c: Likewise.
14880 * string/test-strncasecmp-ifunc.c: Likewise.
14881 * string/test-strncat-ifunc.c: Likewise.
14882 * string/test-strncmp-ifunc.c: Likewise.
14883 * string/test-strncpy-ifunc.c: Likewise.
14884 * string/test-strnlen-ifunc.c: Likewise.
14885 * string/test-strpbrk-ifunc.c: Likewise.
14886 * string/test-strrchr-ifunc.c: Likewise.
14887 * string/test-strspn-ifunc.c: Likewise.
14888 * string/test-strstr-ifunc.c: Likewise.
14890 * debug/Makefile (tests-ifunc): New variable.
14891 (tests): Add $(tests-ifunc).
14892 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14893 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14894 * debug/test-stpcpy_chk-ifunc.c: New file.
14895 * debug/test-strcpy_chk-ifunc.c: Likewise.
14897 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14900 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14901 header is not read in.
14903 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14905 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14906 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14907 directly. Pass built executable to script as
14908 $(built-program-cmd).
14909 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14910 $testprogram without using LD_LIBRARY_PATH and $ldso.
14912 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14913 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14914 $(rtld-installed-name).
14915 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14916 (rtld_installed_name): Likewise.
14917 (library_path): Likewise.
14918 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14919 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14920 $(run-program-prefix) to tst-tables.sh.
14921 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14922 it to run tst-table-from and tst-table-to.
14923 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14924 Pass it to tst-table.sh.
14925 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14926 $(run-program-prefix) to tst-gettext.sh.
14927 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14929 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14931 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14932 to run tst-gettext.
14933 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14934 to run tst-gettext2.
14935 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14936 to run tst-translit.
14937 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14938 $(run-program-prefix) to tst-mtrace.sh.
14939 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14941 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14942 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14943 $(rtld-installed-name).
14944 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14945 (rtld_installed_name): Likewise.
14946 (run_program_prefix): New variable. Use it to run wordexp-test.
14948 * Makeconfig (ARCH): Remove all definitions.
14949 (machine): Likewise.
14950 [ARCH]: Remove conditional code.
14951 [!objdir]: Give error.
14952 [!objdir] (objpfx): Remove.
14953 [!objdir] (common-objpfx): Likewise.
14954 [!objdir] (common-objdir): Likewise.
14955 * configure.in (config_makefile): Remove. Hardcode Makefile in
14956 AC_CONFIG_FILES call.
14957 * configure: Regenerated.
14960 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14962 (testout): Likewise.
14964 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14965 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14966 $(rtld-installed-name).
14967 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14968 (rtld_installed_name): Likwise.
14969 (runit): Remove function.
14970 (run_getconf): New variable, Use it for running getconf binary.
14972 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14975 * string/test-memmem.c (check_result): New function.
14976 (do_one_test): Use it.
14977 (check1): New function.
14978 (test_main): Use it.
14980 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14982 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14984 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14986 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14987 (_G_LSEEK64): Likewise.
14988 (_G_MMAP64): Likewise.
14989 (_G_FSTAT64): Likewise.
14990 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14991 (_G_LSEEK64): Likewise.
14992 (_G_MMAP64): Likewise.
14993 (_G_FSTAT64): Likewise.
14994 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14995 unconditional. Call __mmap64 directly.
14996 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14997 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14998 __lseek64 directly.
14999 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15000 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15002 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15003 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15004 __lseek64 directly.
15005 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15006 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15007 __lseek64 directly.
15008 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15009 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15010 __lseek64 directly.
15011 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15012 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15013 __fxstat64 directly.
15014 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15015 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15017 (freopen64) [!_G_OPEN64]: Remove conditional code.
15018 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15020 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15021 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15023 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15024 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15026 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15027 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15029 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15030 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15032 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15033 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15035 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15036 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15038 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15040 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15043 * manual/memory.texi (Malloc Tunable Parameters): Add note
15044 about free list pointers overwriting some perturb bytes.
15045 Wording suggested by Roland McGrath.
15047 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15049 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15050 (lgamma_test): Likewise.
15051 (tgamma_test): Likewise.
15053 2012-10-16 Florian Weimer <fweimer@redhat.com>
15056 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15057 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15059 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15061 * NEWS: Mention BZ #14716.
15062 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15063 when removing AVAILABLE1_USES_J macro.
15065 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15067 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15068 (__bswap_64): __uint64_t for unsigned 64-bit int.
15070 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15072 * include/string.h (memmem): Declare libc hidden alias.
15073 * string/memmem.c (memmem): Define libc hidden alias.
15074 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15075 __read, __close instead of open, read, close.
15077 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15080 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15082 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15083 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15084 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15086 (__rawmemchr_sse2): Likewise.
15087 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15088 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15089 (__strchr_sse2): Likewise.
15090 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15091 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15092 (__strcasecmp_sse2): Likewise.
15093 (__strncasecmp_sse2): Likewise.
15094 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15095 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15096 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15097 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15098 (__strrchr_sse2): Likewise.
15099 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15101 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15102 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15103 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15104 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15105 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15106 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15109 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15110 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15111 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15112 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15113 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15114 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15115 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15116 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15117 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15118 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15119 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15120 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15121 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15122 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15123 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15124 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15125 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15126 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15127 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15128 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15129 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15130 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15132 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15134 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15135 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15136 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15137 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15139 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15141 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15142 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15143 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15144 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15146 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15156 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15157 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15158 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15159 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15161 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15162 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15163 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15164 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15165 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15166 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15167 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15168 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15169 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15170 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15171 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15172 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15173 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15174 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15177 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15179 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15181 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15182 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15184 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15185 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15186 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15188 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15189 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15190 * include/ifunc-impl-list.h: New file.
15191 * misc/ifunc-impl-list.c: Likewise.
15192 * misc/Makefile (routines): Add ifunc-impl-list.
15193 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15194 * string/test-string.h: Include <ifunc-impl-list.h>.
15195 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15196 impl_array): New variables.
15197 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15199 (test_init): Call __libc_ifunc_impl_list to initialize
15200 func_list if TEST_IFUNC and TEST_NAME are defined.
15202 * string/Makefile (strop-tests): Add bcopy and bzero.
15203 * string/test-bcopy.c: New file.
15204 * string/test-bzero.c: Likewise.
15205 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15207 * string/test-memset.c: Support bzero test if TEST_BZERO is
15209 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15211 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15213 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15216 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15218 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15219 * configure: Regenerated.
15221 * Makeconfig (+link-static-before-libc): Don't include
15222 $(link-static-libc).
15224 * libio/libio.h (_IO_pos_t): Remove.
15226 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15228 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15231 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15233 * crypt/crypt-entry.c: Include fips-private.h.
15234 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15235 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15236 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15237 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15239 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15241 * crypt/crypt-private.h: Include stdbool.h.
15242 (_ufc_setup_salt_r): Return bool.
15243 * crypt/crypt-entry.c: Include errno.h.
15244 (__crypt_r): Return NULL with EINVAL for bad salt.
15245 * crypt/crypt_util.c (bad_for_salt): New.
15246 (_ufc_setup_salt_r): Check that salt is long enough and within
15247 the specified alphabet.
15248 * crypt/badsalttest.c: New file.
15249 * crypt/Makefile (tests): Add it.
15250 ($(objpfx)badsalttest): New.
15252 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15254 * NEWS: Add entry for BZ #14602.
15256 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15258 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15260 * math/libm-test.inc: Update comment listing what functions and
15262 (isgreater_test): New function.
15263 (isgreaterequal_test): Likewise.
15264 (isless_test): Likewise.
15265 (islessequal_test): Likewise.
15266 (islessgreater_test): Likewise.
15267 (isunordered_test): Likewise.
15268 (main): Call the new functions.
15270 2012-10-09 Roland McGrath <roland@hack.frob.com>
15272 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15273 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15274 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15275 * sysdeps/i386/configure: Regenerated.
15276 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15277 * sysdeps/mach/configure: Regenerated.
15278 * sysdeps/mach/hurd/configure: Regenerated.
15279 * sysdeps/powerpc/configure: Regenerated.
15280 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15281 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15282 * sysdeps/s390/s390-32/configure: Regenerated.
15283 * sysdeps/s390/s390-64/configure: Regenerated.
15284 * sysdeps/sh/configure: Regenerated.
15285 * sysdeps/sparc/configure: Regenerated.
15286 * sysdeps/unix/sysv/linux/configure: Regenerated.
15287 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15288 * sysdeps/x86_64/configure: Regenerated.
15290 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15291 defined. Don't check if MAP is NULL.
15293 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15295 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15296 (_G_stat64): Likewise.
15297 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15298 (_G_stat64): Likewise.
15299 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15300 instead of struct _G_stat64.
15301 * libio/fileops.c (mmap_remap_check): Likewise.
15302 (decide_maybe_mmap): Likewise.
15303 (_IO_new_file_seekoff): Likewise.
15304 (_IO_file_stat): Likewise.
15305 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15307 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15308 instead of struct _G_stat64.
15309 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15311 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15314 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15316 (CHECK_EOL): New macro.
15317 (two_way_short_needle): Check beginning of haystack for EOL. Use
15319 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15320 Replace with CHECK_EOL.
15321 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15322 Replace with CHECK_EOL.
15324 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15326 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15328 * math/libm-test.inc: Update comment listing what functions and
15330 (finite_test): New function.
15331 (isinf_test): Likewise.
15332 (isnan_test): Likewise.
15333 (fpclassify_test): Test subnormal input.
15334 (isfinite_test): Likewise.
15335 (isnormal_test): Likewise.
15336 (main): Call the new functions.
15338 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15341 * Makerules (%.dynsym): Force C locale when running
15342 $(OBJDUMP) --dynamic-syms.
15344 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15346 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15349 2012-10-06 David S. Miller <davem@davemloft.net>
15351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15352 upper 32-bits of the length value in %o2 since we use branch-on-register
15353 tests which consider the entire 64-bit register.
15355 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15357 * string/test-strstr.c (check2): Add a test for page boundary.
15359 2012-10-05 David S. Miller <davem@davemloft.net>
15361 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15362 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15364 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15366 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15367 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15368 and bzero when HWCAP_SPARC_CRYPTO is present.
15370 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15373 * string/test-strstr.c (check2): New function.
15374 (test_main): Call check2.
15376 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15378 * string/bug-strcasestr1.c (do_test): Moved to ...
15379 * string/test-strcasestr.c (check1): Here. New function.
15380 (do_one_test): Break out result checking code into ...
15381 (check_result): This. New function.
15382 (do_one_test): Call check_result.
15383 (test_main): Call check1.
15384 * string/bug-strchr1.c (do_test): Moved to ...
15385 * string/test-strchr.c (check1): Here. New function.
15386 (do_one_test): Break out result checking code into ...
15387 (check_result): This. New function.
15388 (do_one_test): Call check_result.
15389 (test_main): Call check1.
15390 * string/bug-strstr1.c (main): Moved to ...
15391 * string/test-strstr.c (check1): Here. New function.
15392 (do_one_test): Break out result checking code into ...
15393 (check_result): This. New function.
15394 (do_one_test): Call check_result.
15395 (test_main): Call check1.
15396 * string/bug-strcasestr1.c: Removed.
15397 * string/bug-strchr1.c: Likewise.
15398 * string/bug-strstr1.c: Likewise.
15400 * elf/Makefile (dl-routines): Add hwcaps.
15401 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15402 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15403 (_dl_important_hwcaps): Moved to ...
15404 * elf/dl-hwcaps.c: Here. New file.
15405 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15408 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15409 if IS_IN_rtld isn't defined.
15411 * elf/dl-support.c (_dl_sysinfo_map): New.
15412 Include "get-dynamic-info.h" and "setup-vdso.h".
15413 (_dl_non_dynamic_init): Call setup_vdso.
15414 * elf/dynamic-link.h: Don't include <assert.h>.
15415 (elf_get_dynamic_info): Moved to ...
15416 * elf/get-dynamic-info.h: Here. New file.
15417 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15418 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15419 * elf/setup-vdso.h: Here. New file.
15420 * elf/rtld.c: Include "setup-vdso.h".
15421 (dl_main): Call setup_vdso.
15423 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15425 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15426 creal in comment listing functions tested. List finite, isinf,
15427 isnan, isless, islessequal, isgreater, isgreaterequal,
15428 islessgreater, isunordered, lgamma_r and pow10 as functions and
15429 macros not tested. Mention which functions not tested are aliases
15430 for other functions. Fix typo. Note that signs of NaNs are not
15433 * scripts/config.guess: Update from config.git.
15434 * scripts/config.sub: Likewise.
15436 2012-10-04 Roland McGrath <roland@hack.frob.com>
15438 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15439 * misc/madvise.c (madvise): Renamed to __madvise.
15440 Make madvise a weak alias.
15441 * include/sys/mman.h: Declare __madvise.
15442 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15443 * sysdeps/unix/syscalls.list
15444 (madvise): Make __madvise the strong name, and madvise a weak alias.
15445 * sysdeps/unix/sysv/linux/syscalls.list
15446 (madvise, mmap): Remove redundant entries.
15447 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15448 * malloc/malloc.c (mtrim): Likewise.
15449 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15451 2012-10-03 Roland McGrath <roland@hack.frob.com>
15453 * sysdeps/mach/hurd/dl-cache.c: File removed.
15454 * config.h.in (USE_LDCONFIG): New #undef.
15455 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15456 * configure: Regenerated.
15457 * elf/Makefile (dl-routines): Add dl-cache only under
15458 [$(use-ldconfig) = yes].
15459 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15460 cache on [USE_LDCONFIG].
15461 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15463 * elf/rtld.c (dl_main): Likewise.
15465 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15467 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15468 _SC_LEVEL4_CACHE_LINESIZE.
15470 2012-10-03 Roland McGrath <roland@hack.frob.com>
15472 * sysdeps/unix/bsd/confstr.h: File removed.
15474 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15476 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15479 2012-10-02 Roland McGrath <roland@hack.frob.com>
15481 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15482 Make 'mapoff' field ElfW(Off) rather than off_t.
15484 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15486 * nscd/Makefile: Remove nscd-cflags and all its users.
15487 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15488 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15491 * malloc.c (malloc_printerr): Clarify error message.
15493 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15497 Set bit_FMA_Usable if FMA is supported.
15498 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15500 (bit_FMA4_Usable): Updated.
15501 (index_FMA_Usable): New macro.
15502 (CPUID_FMA): Likewise
15503 (HAS_FMA): Defined with bit_FMA_Usable.
15505 2012-10-01 Roland McGrath <roland@hack.frob.com>
15507 * bits/types.h (__swblk_t): Type removed.
15508 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15509 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15511 (__SWBLK_T_TYPE): Likewise.
15512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15513 (__SWBLK_T_TYPE): Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15515 (__SWBLK_T_TYPE): Likewise.
15516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15517 (__SWBLK_T_TYPE): Likewise.
15519 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15520 Honza Horak <hhorak@redhat.com>
15522 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15523 (xdr_mapname): Use YPMAXMAP as maxsize.
15524 (xdr_peername): Use YPMAXPEER as maxsize.
15525 (xdr_keydat): Use YPAXRECORD as maxsize.
15526 (xdr_valdat): Use YPMAXRECORD as maxsize.
15528 2012-10-01 Roland McGrath <roland@hack.frob.com>
15530 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15532 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15533 * csu/init-first.c: ... here.
15534 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15535 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15536 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15538 * sysdeps/i386/init-first.c: File removed.
15539 * sysdeps/sh/init-first.c: File removed.
15541 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15545 if x * y might underflow to zero and z is zero.
15546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15548 * math/libm-test.inc (min_subnorm_value): New variable.
15549 (fma_test): Add more tests.
15550 (fma_test_towardzero): Likewise.
15551 (fma_test_downward): Likewise
15552 (fma_test_upward): Likewise.
15553 (initialize): Set min_subnorm_value.
15555 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15560 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15561 mode for addition resulting in exact zero.
15562 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15567 * math/libm-test.inc (fma_test): Add more tests.
15568 (fma_test_towardzero): New function.
15569 (fma_test_downward): Likewise.
15570 (fma_test_upward): Likewise.
15571 (main): Call the new functions.
15573 2012-09-28 David S. Miller <davem@davemloft.net>
15575 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15577 2012-09-28 Roland McGrath <roland@hack.frob.com>
15579 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15580 instead of SIGALRM.
15582 * sysdeps/gnu/_G_config.h: Moved to ...
15583 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15584 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15585 * sysdeps/generic/_G_config.h: ... here.
15587 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15589 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15591 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15592 Conditionalize target on [libnss_test1.so-version].
15594 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15596 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15597 (elfobjdir): Move out of conditionals.
15599 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15600 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15601 (__nss_lookup_function): Conditionalize label remove_from_tree on
15602 [!DO_STATIC_NSS || SHARED], matching its only use.
15604 2012-09-28 David S. Miller <davem@davemloft.net>
15606 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15607 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15609 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15611 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15612 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15613 when HWCAP_SPARC_CRYPTO is present.
15615 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15617 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15619 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15622 * stdio-common/vfprintf.c (process_string_arg): Revert
15625 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15627 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15629 * stdio-common/tst-sprintf.c: Include <locale.h>
15630 (main): Test sprintf's handling of incomplete multibyte
15633 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15635 * elf/dl-runtime.c (VERSYMIDX): Removed.
15636 * elf/dl-version.c (VERSYMIDX): Likewise.
15637 * elf/do-rel.h (VERSYMIDX): Likewise.
15638 (VALIDX): Likewise.
15639 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15640 * elf/rtld.c (VALIDX): Likewise.
15641 (ADDRIDX): Likewise.
15642 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15643 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15644 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15645 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15646 (VALIDX): Likewise.
15647 (ADDRIDX): Likewise.
15649 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15651 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15653 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15656 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15658 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15659 addresses are in the same scope as 192.0.2/24.
15660 * posix/gai.conf: Document new scope table defaults.
15662 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15665 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15666 for ftell. Compute offsets from write pointers instead.
15667 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15669 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15672 * libio/Makefile (tests): New test case tst-fseek.
15673 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15674 combination works in wide mode.
15675 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15676 state when the external buffer state changes.
15678 2012-09-27 David S. Miller <davem@davemloft.net>
15681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15682 pass reloc->r_addend in as the 'high' argument to
15683 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15687 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15689 * rt/tst-aio2.c: Include <pthread.h>.
15690 * rt/tst-aio3.c: Likewise.
15692 2012-09-27 Steve Ellcey <sellcey@mips.com>
15694 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15696 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15698 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15699 contents on [SHARED].
15701 2012-09-26 Marek Polacek <polacek@redhat.com>
15705 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15706 for C++ and GCC <4.3 as well as for non GCC compilers.
15708 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15712 2012-09-25 Roland McGrath <roland@hack.frob.com>
15714 * Makefile.in (all, install): Declare with .PHONY.
15715 Reported by Michael Hope <michael.hope@linaro.org>.
15717 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15719 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15720 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15722 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15724 (sydep_routines): Add the new and the internal functions.
15725 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15726 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15728 (GLIBC_2.17): Add the new function.
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15730 (GLIBC_2.17): Likewise.
15731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15732 (GLIBC_2.17): Likewise.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15734 (GLIBC_2.17): Likewise.
15735 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15737 2012-09-25 Alan Modra <amodra@gmail.com>
15739 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15740 Add release barrier before setting once_control to say
15741 initialisation is done. Add hints on lwarx. Use macro in
15743 (clear_once_control): Add release barrier.
15745 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15748 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15750 * math/s_clog10.c (__clog10): Likewise.
15751 * math/s_clog10f.c (__clog10f): Likewise.
15752 * math/s_clog10l.c (__clog10l): Likewise.
15753 * math/s_clogf.c (__clogf): Likewise.
15754 * math/s_clogl.c (__clogl): Likewise.
15755 * math/Makefile (libm-calls): Add x2y2m1.
15756 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15757 (__x2y2m1): Likewise.
15758 (__x2y2m1l): Likewise.
15759 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15760 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15765 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15766 * sysdeps/i386/fpu/libm-test-ulps: Update.
15767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15770 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15771 int as type of variable DEPTH.
15772 (glob): Use size_t instead of int as type of variables NEWCOUNT
15775 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15777 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15778 Add s_sincosf-sse2.
15779 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15780 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15781 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15782 macros for using routine as __sincosf_ia32.
15783 Use macro for function declaration and weak_alias.
15784 * sysdeps/i386/fpu/libm-test-ulps: Update.
15786 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15789 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15790 subnormal argument.
15791 * math/s_cexpf.c (__cexpf): Likewise.
15792 * math/s_csinf.c (__csinf): Likewise.
15793 * math/s_csinhf.c (__csinhf): Likewise.
15794 * math/s_ctanf.c (__ctanf): Likewise.
15795 * math/s_ctanhf.c (__ctanhf): Likewise.
15796 * math/s_ccosh.c (__ccoshf): Likewise.
15797 * math/s_cexp.c (__cexpl): Likewise.
15798 * math/s_csin.c (__csin): Likewise.
15799 * math/s_csinh.c (__csinh): Likewise.
15800 * math/s_ctan.c (__ctan): Likewise.
15801 * math/s_ctanh.c (ctanh): Likewise.
15802 * math/s_ccoshl.c (__ccoshl): Likewise.
15803 * math/s_cexpl.c (__cexpl): Likewise.
15804 * math/s_csinl.c (__csinl): Likewise.
15805 * math/s_csinhl.c (__csinhl): Likewise.
15806 * math/s_ctanl.c (__ctanl): Likewise.
15807 * math/s_ctanhl.c (__ctanhl): Likewise.
15809 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15811 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15812 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15813 (_IO_off_t): Define to __off_t, not _G_off_t.
15814 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15815 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15816 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15817 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15818 type of __dummy and __dummy2 fields.
15819 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15820 (_G_ssize_t): Likewise.
15821 (_G_off_t): Likewise.
15822 (_G_pid_t): Likewise.
15823 (_G_uid_t): Likewise.
15824 (_G_wchar_t): Likewise.
15825 (_G_wint_t): Likewise.
15826 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15827 (_G_ssize_t): Likewise.
15828 (_G_off_t): Likewise.
15829 (_G_pid_t): Likewise.
15830 (_G_uid_t): Likewise.
15831 (_G_wchar_t): Likewise.
15832 (_G_wint_t): Likewise.
15833 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15834 (_G_ssize_t): Likewise.
15835 (_G_off_t): Likewise.
15836 (_G_pid_t): Likewise.
15837 (_G_uid_t): Likewise.
15838 (_G_wchar_t): Likewise.
15839 (_G_wint_t): Likewise.
15841 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15843 * malloc/arena.c: Include malloc-sysdep.h.
15844 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15845 is sufficient to shrink the heap or an unmap is needed.
15846 * sysdeps/generic/malloc-sysdep.h: New file. Define
15847 new function check_may_shrink_heap.
15848 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15849 new function check_may_shrink_heap.
15851 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15853 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15856 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15858 * catgets/test-gencat.sh: Add "set -e".
15859 * elf/tst-pathopt.sh: Likewise.
15860 * grp/tst_fgetgrent.sh: Likewise.
15861 * iconvdata/run-iconv-test.sh: Likewise.
15862 * intl/tst-gettext.sh: Likewise.
15863 * intl/tst-gettext2.sh: Likewise.
15864 * intl/tst-gettext4.sh: Likewise.
15865 * intl/tst-gettext6.sh: Likewise.
15866 * intl/tst-translit.sh: Likewise.
15867 * io/ftwtest-sh: Likewise.
15868 * libio/test-freopen.sh: Likewise.
15869 * malloc/tst-mtrace.sh: Likewise.
15870 * posix/globtest.sh: Likewise.
15871 * posix/tst-getconf.sh: Likewise.
15872 * posix/wordexp-tst.sh: Likewise.
15873 * stdio-common/tst-printf.sh: Likewise.
15874 * stdio-common/tst-unbputc.sh: Likewise.
15875 * stdlib/tst-fmtmsg.sh: Likewise.
15876 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15877 * catgets/Makefile: Do not specify -e option when running
15878 testsuite shell scripts.
15879 * elf/Makefile: Likewise.
15880 * grp/Makefile: Likewise.
15881 * iconvdata/Makefile: Likewise.
15882 * intl/Makefile: Likewise.
15883 * io/Makefile: Likewise.
15884 * libio/Makefile: Likewise.
15885 * malloc/Makefile: Likewise.
15886 * posix/Makefile: Likewise.
15887 * stdio-common/Makefile: Likewise.
15888 * stdlib/Makefile: Likewise.
15889 * sysdeps/x86_64/Makefile: Likewise.
15891 * io/ftwtest-sh: Add copyright header.
15892 * posix/globtest.sh: Likewise.
15893 * posix/tst-getconf.sh: Likewise.
15894 * posix/wordexp-tst.sh: Likewise.
15895 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15897 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15900 * Makeconfig (+link): Defined as $(+link-static) if
15901 $(build-shared) isn't yes.
15902 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15904 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15906 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15909 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15910 new chunk size with MALLOC_ALIGN_MASK.
15912 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15915 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15917 (__printf_fphex): Determine rounding using get_rounding_mode and
15919 * stdio-common/tst-printf-round.c (struct hex_test): New
15921 (hex_tests): New variable.
15922 (test_hex_in_one_mode): New function.
15923 (do_test): Also run tests for hex float output.
15925 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15927 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15928 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15929 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15930 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15931 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15932 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15933 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15934 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15936 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15938 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15939 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15940 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15941 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15943 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15946 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15948 * elf/tst-rtld-load-self.sh: New test.
15949 * elf/Makefile: Run it.
15951 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15953 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15954 (tst-writev-ENV): Remove.
15955 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15957 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15959 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15961 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15963 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15965 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15967 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15968 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15969 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15972 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15975 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15976 * config.make.in (have-cpp-asm-debuginfo): Removed.
15977 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15978 * configure: Regenerated.
15980 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15983 * stdio-common/printf_fp.c: Include <stdbool.h> and
15985 (___printf_fp): Determine rounding using get_rounding_mode and
15987 * stdio-common/tst-printf-round.c: New file.
15988 * stdio-common/Makefile (tests): Add tst-printf-round.
15989 (link-libm): New variable.
15990 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15992 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15995 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15996 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15998 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16001 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16003 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16004 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16005 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16006 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16008 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16011 * include/rounding-mode.h: New file.
16012 * sysdeps/generic/get-rounding-mode.h: Likewise.
16013 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16014 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16015 (MAX_VALUE): New macro.
16016 (MIN_VALUE): Likewise.
16017 (overflow_value): New function.
16018 (underflow_value): Likewise.
16019 (round_and_return): Use overflow_value and underflow_value to
16020 determine return values in overflow and underflow cases. Use
16021 round_away to determine rounding depending on rounding mode.
16022 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16023 determine return values in overflow and underflow cases.
16024 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16025 (struct test_results): New structure.
16026 (struct test): Use struct test_results to store expected results
16027 for all rounding modes.
16028 (TEST): Include expected results for all rounding modes.
16029 (test_in_one_mode): New function.
16030 (do_test): Use test_in_one_mode to compute and check results.
16031 Check results for all rounding modes.
16032 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16035 2012-12-09 Allan McRae <allan@archlinux.org>
16037 * sysdeps/i386/fpu/libm-test-ulps: Update
16039 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16041 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16042 (_G_int32_t): Likewise.
16043 (_G_uint16_t): Likewise.
16044 (_G_uint32_t): Likewise.
16045 (_G_HAVE_BOOL): Likewise.
16046 (_G_HAVE_ATEXIT): Likewise.
16047 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16048 (_G_HAVE_IO_FILE_OPEN): Likewise.
16049 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16050 (_G_int32_t): Likewise.
16051 (_G_uint16_t): Likewise.
16052 (_G_uint32_t): Likewise.
16053 (_G_HAVE_BOOL): Likewise.
16054 (_G_HAVE_ATEXIT): Likewise.
16055 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16056 (_G_HAVE_IO_FILE_OPEN): Likewise.
16057 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16058 (_G_int32_t): Likewise.
16059 (_G_uint16_t): Likewise.
16060 (_G_uint32_t): Likewise.
16061 (_G_HAVE_BOOL): Likewise.
16062 (_G_HAVE_ATEXIT): Likewise.
16063 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16064 (_G_HAVE_IO_FILE_OPEN): Likewise.
16066 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16068 * csu/libc-tls.c: Update copyright years.
16070 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16072 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16073 [!_G_USING_THUNKS]: Remove conditional code.
16074 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16075 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16077 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16078 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16079 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16080 (_G_VTABLE_LABEL_PREFIX): Likewise.
16081 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16082 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16083 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16084 (_G_VTABLE_LABEL_PREFIX): Likewise.
16085 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16086 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16087 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16088 (_G_VTABLE_LABEL_PREFIX): Likewise.
16089 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16091 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16093 * libio/Makefile: Include ../Makeconfig before tests.
16094 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16095 only if $(build-shared) is yes.
16097 * iconv/gconv_db.c: Update copyright years.
16099 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16101 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16102 unwind info if defined PIC. Fix special cases description.
16103 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16105 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16107 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16109 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16111 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16113 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16116 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16117 (LDLIBS-tst-chk4): This.
16118 (LDFLAGS-tst-chk5): Renamed to ...
16119 (LDLIBS-tst-chk5): This.
16120 (LDFLAGS-tst-chk6): Renamed to ...
16121 (LDLIBS-tst-chk6): This.
16122 (LDFLAGS-tst-lfschk4): Renamed to ...
16123 (LDLIBS-tst-lfschk4): This.
16124 (LDFLAGS-tst-lfschk5): Renamed to ...
16125 (LDLIBS-tst-lfschk5): This.
16126 (LDFLAGS-tst-lfschk6): Renamed to ...
16127 (LDLIBS-tst-lfschk6): This.
16129 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16130 on $(common-objpfx)soversions.mk.
16132 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16135 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16138 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16140 * malloc/arena.c (arena_get_retry): New function that gets
16141 another arena for the caller to try its request on.
16142 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16143 current arena cannot fulfill the request.
16144 (__libc_memalign): Likewise.
16145 (__libc_memalign): Likewise.
16146 (__libc_pvalloc): Likewise.
16147 (__libc_calloc): Likewise.
16149 2012-09-05 John Tobey <john.tobey@gmail.com>
16152 * manual/arith.texi (Operations on Complex): Fix description
16153 of carg branch cut.
16155 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16158 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16162 * manual/memory.texi (Memory): Make order of menu items match
16165 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16167 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16168 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16169 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16171 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16173 * csu/libc-tls.c (static_dtv): Renamed to ...
16174 (_dl_static_dtv): This. Make it global.
16175 (_dl_initial_dtv): Removed.
16176 (__libc_setup_tls): Updated.
16177 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16178 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16181 2012-09-06 Petr Machata <pmachata@redhat.com>
16183 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16184 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16185 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16186 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16188 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16191 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16192 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16195 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16198 * Makeconfig (link-static-before-libc): Replace $(+prector)
16200 (link-static-after-libc): Replace $(+postctor) with
16202 (link-bounded): Replace $(+prector)/$(+postctor) with
16203 $(+prectorT)/$(+postctorT).
16204 (+prectorT): New macro.
16205 (+postctorT): Likewise.
16207 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16209 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16210 (round_str): Handle values above the maximum for IBM long double
16212 * stdlib/tst-strtod-round.c (tests): Regenerated.
16214 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16216 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16218 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16219 zarch_nohighgprs around the zarch optimized routines.
16220 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16221 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16225 2012-09-05 David S. Miller <davem@davemloft.net>
16227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16229 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16230 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16231 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16232 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16235 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16237 * malloc/arena.c: Fold copyright years.
16238 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16240 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16242 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16246 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16248 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16250 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16251 change internal state upon failure.
16253 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16255 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16256 * malloc/memusage.c (mmap): Likewise.
16257 (mmap64, mremap): Likewise. Adjust name in comment.
16259 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16261 * libio/fileops.c: Fix typos in comments.
16262 * libio/oldfileops.c: Likewise.
16263 * libio/wfileops.c: Likewise.
16265 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16269 (tst-malloc-usable-ENV): Set environment for test case.
16270 * malloc/hooks.c (malloc_check_get_size): New function to get
16272 * malloc/malloc.c (musable): Use malloc_check_get_size.
16273 * malloc/tst-malloc-usable.c: New test case.
16275 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16277 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16279 2012-09-05 Allan McRae <allan@archlinux.org>
16282 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16283 determine header location.
16284 * configure: Regenerated.
16286 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16288 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16290 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16291 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16293 (test): Regenerate.
16295 2012-09-04 David S. Miller <davem@davemloft.net>
16297 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16298 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16299 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16301 2012-09-04 Florian Weimer <fweimer@redhat.com>
16303 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16306 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16308 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16311 * libio/iogetdelim.c: Include <limits.h>.
16312 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16313 + len + 1 would overflow.
16315 2012-09-03 Andreas Jaeger <aj@suse.de>
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16318 * sysdeps/i386/fpu/libm-test-ulps: Update.
16320 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16322 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16323 Add s_sinf-sse2, s_conf-sse2.
16325 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16326 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16327 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16328 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16330 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16331 for using routine as __sinf_ia32.
16332 Use macro for function declaration and weak_alias.
16333 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16334 for using routine as __cosf_ia32.
16335 Use macro for function declaration and weak_alias.
16337 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16338 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16340 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16341 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16344 * math/libm-test.inc (cos_test): Add more test cases.
16345 (sin_test): Likewise.
16346 (sincos_test): Likewise.
16348 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16350 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16351 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16353 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16355 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16358 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16359 first element of the GOT.
16360 (elf_machine_load_address): Return the difference between
16361 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16363 2012-09-01 Allan McRae <allan@archlinux.org>
16366 * configure.in (AWK): Require gawk version 3.0 or later.
16367 * configure: Regenerated.
16369 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16371 * sysdeps/unix/sysv/linux/kernel-features.h
16372 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16374 [__NR_clock_getres]: Make code unconditional.
16375 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16376 (clock_getcpuclockid): Remove code left unreachable by removal of
16378 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16379 code unconditional.
16380 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16381 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16382 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16383 Make code unconditional.
16384 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16385 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16386 * sysdeps/unix/sysv/linux/clock_settime.c
16387 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16389 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16390 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16392 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16395 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16396 scripts/test-installation.pl.
16398 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16399 and $ld_so_version if it is set.
16401 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16404 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16405 failure if reading from procfs failed.
16406 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16408 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16410 * sysdeps/unix/sysv/linux/kernel-features.h
16411 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16412 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16413 Remove conditional code.
16414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16415 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16416 Remove conditional code.
16417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16418 * sysdeps/unix/sysv/linux/i386/fxstat.c
16419 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16421 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16424 * sysdeps/unix/sysv/linux/i386/lxstat.c
16425 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16427 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16428 Remove conditional code.
16429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16430 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16431 Remove conditional code.
16432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16433 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16434 <kernel-features.h>.
16435 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16437 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16438 Remove conditional code.
16439 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16440 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16441 Remove conditional.
16443 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16446 * NEWS: Add fixed bug number.
16448 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16451 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16452 underflowing exponent in case of negative sign.
16453 * stdlib/tst-strtod-round-data: Add more tests.
16454 * stdlib/tst-strtod-round.c (tests): Regenerated.
16457 * stdlib/strtod_l.c (NDIG): Remove.
16458 (HEXNDIG): Likewise.
16459 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16460 smallest representable value.
16461 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16462 lie within an exact representation of 1/2 ulp of the result.
16463 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16465 (TENS_P9_IDX): Define unconditionally.
16466 (TENS_P9_SIZE): Likewise.
16467 (TENS_P10_IDX): Likewise.
16468 (TENS_P10_SIZE): Likewise.
16469 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16470 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16471 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16472 entries for 10^2^13 and 10^2^14.
16473 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16474 (TENS_P13_IDX): Define.
16475 (TENS_P13_SIZE): Likewise.
16476 (TENS_P14_IDX): Likewise.
16477 (TENS_P14_SIZE): Likewise.
16478 (_fpioconst_pow10): Change array size to
16479 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16481 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16482 1024]: Add entries for 10^2^13 and 10^2^14.
16483 [LAST_POW10 > _LAST_POW10]: Remove #error.
16484 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16485 (_fpioconst_pow10): Change array size to
16486 FPIOCONST_POW10_ARRAY_SIZE.
16487 * stdlib/gen-fpioconst.c: New file.
16488 * stdlib/gen-tst-strtod-round.c: Likewise.
16489 * stdlib/tst-strtod-round-data: Likewise.
16490 * stdlib/tst-strtod-round.c: Likewise.
16491 * stdlib/Makefile (tests): Add tst-strtod-round.
16494 * stdlib/strtod_l.c: Include <stdint.h>.
16495 (NDEBUG): Do not define.
16496 (round_and_return): Change EXPONENT parameter to type intmax_t.
16497 Rearrange calculations to avoid internal overflow possibilities.
16498 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16499 Rearrange calculations to avoid internal overflow possibilities.
16500 Assert that number fits inside MPNSIZE limbs.
16501 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16502 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16503 calculations and add assertions to avoid internal overflow
16504 possibilities. Add casts to avoid signed/unsigned operations.
16505 * stdlib/tst-strtod-overflow.c: New file.
16506 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16508 2012-08-25 Marek Polacek <polacek@redhat.com>
16510 * time/time.h: Fix some typos in comments.
16512 2012-08-23 Roland McGrath <roland@hack.frob.com>
16514 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16515 * posix/tst-rfc3484-2.c: Likewise.
16516 * posix/tst-rfc3484-3.c: Likewise.
16518 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16520 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16521 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16523 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16525 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16526 #include of fxstatat64.c.
16528 2012-08-22 Roland McGrath <roland@hack.frob.com>
16530 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16531 * shadow/getspent_r.c: Likewise.
16532 * shadow/getspnam.c: Likewise.
16533 * shadow/getspnam_r.c: Likewise.
16534 * gshadow/getsgent.c: Likewise.
16535 * gshadow/getsgent_r.c: Likewise.
16536 * gshadow/getsgnam.c: Likewise.
16537 * gshadow/getsgnam_r.c: Likewise.
16538 * inet/getnetbyad.c: Likewise.
16539 * inet/getnetbyad_r.c: Likewise.
16540 * inet/getnetbynm.c: Likewise.
16541 * inet/getnetbynm_r.c: Likewise.
16542 * inet/getnetent.c: Likewise.
16543 * inet/getnetent_r.c: Likewise.
16544 * inet/getproto.c: Likewise.
16545 * inet/getproto_r.c: Likewise.
16546 * inet/getprtent.c: Likewise.
16547 * inet/getprtent_r.c: Likewise.
16548 * inet/getprtname.c: Likewise.
16549 * inet/getprtname_r.c: Likewise.
16550 * inet/getrpcbyname.c: Likewise.
16551 * inet/getrpcbyname_r.c: Likewise.
16552 * inet/getrpcbynumber.c: Likewise.
16553 * inet/getrpcbynumber_r.c: Likewise.
16554 * inet/getrpcent.c: Likewise.
16555 * inet/getrpcent_r.c: Likewise.
16556 * inet/getaliasent.c: Likewise.
16557 * inet/getaliasent_r.c: Likewise.
16558 * inet/getaliasname.c: Likewise.
16559 * inet/getaliasname_r.c: Likewise.
16560 * nscd/getgrgid_r.c: Likewise.
16561 * nscd/getgrnam_r.c: Likewise.
16562 * nscd/gethstbyad_r.c: Likewise.
16563 * nscd/gethstbynm3_r.c: Likewise.
16564 * nscd/getpwnam_r.c: Likewise.
16565 * nscd/getpwuid_r.c: Likewise.
16566 * nscd/getsrvbynm_r.c: Likewise.
16567 * nscd/getsrvbypt_r.c: Likewise.
16568 * nscd/gai.c: Likewise.
16570 * configure.in (build_nscd): New substituted variable, set
16571 by --disable-build-nscd and defaults to $use_nscd.
16572 * configure: Regenerated.
16573 * config.make.in (build-nscd): New substituted variable.
16574 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16575 Change conditional to require [$(build-nscd) = yes] as well.
16576 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16579 * configure.in (use_nscd): New substituted variable, set by
16580 --disable-nscd. If enabled, define USE_NSCD.
16581 * configure: Regenerated.
16582 * config.h.in: Add USE_NSCD.
16583 * config.make.in (use-nscd): New substituted variable.
16584 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16585 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16586 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16587 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16588 (CFLAGS-getgrnam_r.c): Likewise.
16589 (CFLAGS-initgroups.c): Likewise.
16590 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16591 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16593 * inet/getnetgrent_r.c
16594 (nscd_setnetgrent): New function, broken out of ...
16595 (setnetgrent): ... here. Call it.
16596 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16597 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16598 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16599 * nscd/Makefile (routines, aux): Move definitions after include of
16600 Makeconfig. Conditionalize on [$(use-nscd) != no].
16601 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16602 Conditionalize on [USE_NSCD].
16603 (is_nscd, nscd_init_cb): Likewise.
16604 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16605 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16606 * nss/nss_db/db-init.c: Likewise.
16607 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16609 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16610 (make_request): Use it.
16611 (cache_valid_p): New function.
16612 (__check_pf): Use it.
16613 * NEWS: Add item for --disable-nscd.
16615 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16617 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16618 to support sed >= 4.2.1-20-ga9bf076.
16619 * configure: Regenerated.
16621 2012-08-22 Roland McGrath <roland@hack.frob.com>
16623 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16624 Conditionalize whole body on [IREL].
16626 2012-08-22 Jeff Law <law@redhat.com>
16629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16630 if the family is PF_UNSPEC.
16632 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16634 * Makerules (lib-version): Rename from V.
16635 (install-lib-nosubdir): Change V to lib-version.
16637 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16640 * powerpc32/power6/wcschr.c: New file.
16641 * powerpc32/power6/wcscpy.c: New file.
16642 * powerpc32/power6/wcsrchr.c: New file.
16643 * powerpc64/power6/wcschr.c: New file.
16644 * powerpc64/power6/wcscpy.c: New file.
16645 * powerpc64/power6/wcsrchr.c: New file.
16647 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16649 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16650 (two_way_short_needle): Use it.
16651 * string/strstr.c (AVAILABLE1_USES_J): Define.
16652 * string/strcasestr.c: Likewise.
16654 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16656 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16659 * NEWS: Add an entry.
16660 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16661 define their defaults.
16662 (two_way_short_needle): Detect end-of-string on-the-fly.
16663 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16664 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16665 * string/bug-strcasestr1.c: New test.
16666 * string/Makefile: Run it.
16668 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16671 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16672 the first character.
16674 2012-08-21 Roland McGrath <roland@hack.frob.com>
16676 * csu/elf-init.c (__libc_csu_irel): Function removed.
16677 * csu/libc-start.c (apply_irel): New function.
16678 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16680 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16682 * sysdeps/unix/sysv/linux/kernel-features.h
16683 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16684 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16685 <kernel-features.h>.
16686 [__NR_fadvise64_64]: Make code unconditional.
16687 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16688 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16689 !__NR_fadvise64_64)]: Likewise.
16690 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16691 !__NR_fadvise64_64))]: Likewise.
16692 [__NR_fadvise64]: Make code unconditional.
16693 [!__NR_fadvise64]: Remove conditional code.
16694 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16695 <kernel-features.h>.
16696 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16698 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16701 not include <kernel-features.h>.
16702 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16704 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16706 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16707 include <kernel-features.h>.
16708 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16710 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16713 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16716 slight instruction rearrangements per scrollpipe analysis.
16717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16719 2012-08-20 Roland McGrath <roland@hack.frob.com>
16721 * manual/syslog.texi (syslog; vsyslog, closelog):
16722 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16723 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16725 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16726 DSOCAPS to match condition on defining it.
16728 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16730 * sysdeps/unix/sysv/linux/kernel-features.h
16731 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16733 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16734 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16739 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16740 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16742 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16743 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16745 * sysdeps/unix/sysv/linux/kernel-features.h
16746 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16747 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16749 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16750 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16751 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16752 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16753 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16754 Make code unconditional.
16755 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16756 (__mmap64) [!__NR_mmap2]: Likewise.
16757 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16758 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16759 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16760 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16761 [__NR_mmap2]: Make code unconditional.
16762 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16763 (__mmap64) [!__NR_mmap2]: Likewise.
16765 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16767 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16769 2012-08-18 Andreas Jaeger <aj@suse.de>
16771 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16773 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16775 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16776 * include/unistd.h (__have_sock_cloexec): Likewise.
16777 (__have_pipe2): Likewise.
16778 (__have_dup3): Likewise.
16780 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16783 * include/unistd.h (__have_pipe2): Change define into an extern int.
16784 (__have_dup3): Likewise.
16785 * socket/have_sock_cloexec.c: Include fcntl.h.
16786 (__have_pipe2): New variable.
16787 (__have_dup3): Likewise.
16789 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16791 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16793 2012-08-17 Marek Polacek <polacek@redhat.com>
16795 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16796 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16798 2012-08-17 Roland McGrath <roland@hack.frob.com>
16800 * configure.in: Add AC_SUBST for sysheaders.
16801 * configure: Regenerated.
16802 * config.make.in (sysheaders): New substituted variable.
16804 * sysdeps/unix/mkfifo.c: Moved ...
16805 * sysdeps/posix/mkfifo.c: ... here.
16806 * sysdeps/unix/mkfifoat.c: Moved ...
16807 * sysdeps/posix/mkfifoat.c: ... here.
16809 * sysdeps/unix/utime.c: Moved ...
16810 * sysdeps/posix/utime.c: ... here.
16812 * sysdeps/unix/time.c: Moved ...
16813 * sysdeps/posix/time.c: ... here.
16814 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16815 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16817 * sysdeps/unix/nice.c: Moved ...
16818 * sysdeps/posix/nice.c: ... here.
16820 * sysdeps/unix/alarm.c: Moved ...
16821 * sysdeps/posix/alarm.c: ... here.
16823 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16825 2012-08-17 Jeff Law <law@redhat.com>
16827 * intl/Makefile (codeset_mo): New variable.
16828 ($(codeset_mo)): New target.
16829 (tst-codeset.out): Depend on that. Remove explicit rule.
16830 (tst-gettext3.out, tst-gettext5.out): Likewise.
16831 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16832 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16833 * intl/tst-codeset.sh: Remove.
16834 * intl/tst-gettext3.sh: Likewise.
16835 * intl/tst-gettext5.sh: Likewise.
16837 2012-08-17 Roland McGrath <roland@hack.frob.com>
16839 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16840 * sysdeps/unix/syscalls.list: ... here.
16842 * sysdeps/posix/getaddrinfo.c
16843 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16844 (gaiconf_init, gaiconf_reload): Use them.
16845 [!_STATBUF_ST_NSEC]
16846 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16847 Define using time_t rather than struct timespec.
16849 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16850 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16852 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16854 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16855 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16858 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16859 __libc_cleanup_push argument.
16861 * bits/param.h: New file.
16862 * misc/sys/param.h: New file.
16863 * include/sys/param.h: New file.
16864 * misc/Makefile (headers): Add bits/param.h.
16865 * sysdeps/generic/sys/param.h: File removed.
16866 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16867 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16868 * sysdeps/mach/hurd/bits/param.h: New file.
16869 * sysdeps/mach/hurd/sys/param.h: File removed.
16871 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16874 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16876 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16877 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16880 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16881 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16882 rather than -D_IO_MTSAFE_IO conditionally.
16883 * stdio-common/Makefile (CPPFLAGS): Likewise.
16884 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16885 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16886 Use $(libio-mtsafe).
16887 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16888 of -D_IO_MTSAFE_IO.
16889 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16890 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16891 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16892 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16893 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16894 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16895 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16896 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16897 (CFLAGS-fread_u_chk.c): Likewise.
16898 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16899 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16900 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16901 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16902 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16903 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16904 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16905 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16906 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16908 * libio/Makefile: Test [$(libc-reentrant) = yes]
16909 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16912 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16913 * sysdeps/pthread/configure: File removed.
16914 * sysdeps/pthread/Makeconfig: New file.
16915 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16916 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16918 2012-08-16 Gary Benson <gbenson@redhat.com>
16920 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16921 unmapping the first object in a namespace.
16923 2012-08-16 Roland McGrath <roland@hack.frob.com>
16925 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16926 (__internal_setnetgrent): ... this. Add internal_function to
16927 definition. Add libc_hidden_def.
16928 (setnetgrent): Update caller.
16929 (internal_endnetgrent): Renamed to ...
16930 (__internal_endnetgrent): ... this. Add internal_function to
16931 definition. Add libc_hidden_def.
16932 (endnetgrent): Update caller.
16933 (internal_getnetgrent_r): Renamed to ...
16934 (__internal_getnetgrent_r): ... this. Add internal_function to
16935 definition. Add libc_hidden_def.
16936 (__getnetgrent_r): Update caller.
16937 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16939 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16941 * stdlib/longlong.h: Update from GCC.
16943 2012-08-16 Roland McGrath <roland@hack.frob.com>
16945 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16946 on _QL, which is set by umul_ppmm but never used.
16947 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16948 variables, which are set by GMP macros but never used.
16949 * stdio-common/_itowa.c (_itowa): Likewise.
16950 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16951 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16953 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16955 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16956 struct La_sh_regs is not constant.
16957 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16958 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16959 and struct La_sparc64_regs are not constant.
16961 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16963 * sysdeps/unix/sysv/linux/kernel-features.h
16964 (__ASSUME_POSIX_TIMERS): Remove.
16965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16967 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16968 Make code unconditional.
16969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16970 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16971 Make code unconditional.
16972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16973 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16974 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16976 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16977 Make code unconditional.
16978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16979 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16980 (__libc_missing_posix_timers): Remove.
16982 2012-08-15 Roland McGrath <roland@hack.frob.com>
16984 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16985 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16987 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16989 * elf/dl-sym.c: Include <stdlib.h>.
16991 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16992 constants, which avoids warnings in 32-bit builds.
16994 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16995 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16997 * misc/lseek.c: File moved to ...
16998 * io/lseek.c: ... here.
17000 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17002 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17003 shifting LEN more than 31 bits at once.
17005 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17008 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17009 segmentation fault for a case of two empty input strings.
17010 * string/test-strncasecmp.c (check1): Renamed to...
17011 (bz12205): ...this.
17012 (bz14195): Add new testcase for two empty input strings and N > 0.
17013 (test_main): Call new testcase, adapt for renamed function.
17015 2012-08-15 Andreas Jaeger <aj@suse.de>
17018 * crypt/md5test2.c: New test, based on test supplied by Serge
17019 Belyshev <belyshev@depni.sinp.msu.ru>.
17020 * crypt/Makefile (xtests): Add md5test-giant..
17021 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17023 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17026 * crypt/md5.c (md5_process_block): Don't assume the buffer
17027 length is less than 2**32.
17028 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17029 length is less than 2**64.
17031 2012-08-15 Roland McGrath <roland@hack.frob.com>
17033 * string/str-two-way.h: Include <sys/param.h>.
17034 (MAX): Macro removed.
17036 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17037 Move #define and #undef of memmove to just before and after
17038 including <string.h>.
17040 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17041 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17042 and after including <string.h>. Move declarations of
17043 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17044 to before #include "string/memmove.c".
17046 * include/dirent.h: Declare __getdirentries.
17048 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17049 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17051 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17053 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17054 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17055 * sysdeps/i386/configure: Regenerated.
17056 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17057 STABS_CURRENT_FILE, and STABS_FUN.
17058 (END): Remove call to STABS_FUN_END.
17059 (STABS_CURRENT_FILE1): Delete.
17060 (STABS_CURRENT_FILE): Likewise.
17061 (STABS_FUN): Likewise.
17062 (STABS_FUN_END): Likewise.
17063 (STABS_FUN2): Likewise.
17064 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17065 * sysdeps/x86_64/configure: Regenerated.
17067 2012-08-14 Roland McGrath <roland@hack.frob.com>
17069 * elf/dl-open.c: Include <atomic.h>.
17070 * elf/dl-lookup.c: Likewise.
17072 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17074 * sysdeps/unix/sysv/linux/kernel-features.h
17075 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17076 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17078 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17080 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17081 condition on __ASSUME_CLONE_THREAD_FLAGS.
17083 2012-08-14 Andreas Jaeger <aj@suse.de>
17085 * sysdeps/i386/fpu/libm-test-ulps: Update.
17087 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17089 * include/atomic.h (atomic_exchange_and_add): Split into ...
17090 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17093 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17097 2012-08-13 Jeff Law <law@redhat.com>
17099 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17100 null byte in the output string.
17102 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17104 * sysdeps/unix/sysv/linux/kernel-features.h
17105 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17106 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17107 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17108 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17109 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17110 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17111 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17113 2012-08-09 Jeff Law <law@redhat.com>
17116 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17117 When avoid_arena is set, don't retry in the that arena. Pick the
17118 next one, whatever it might be.
17119 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17120 (arena_lock): Pass in new parameter to arena_get2.
17121 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17123 (__libc_malloc): Unify retrying after main arena failure with
17124 __libc_memalign version.
17125 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17127 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17130 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17131 to __redirect_strstr.
17132 (__strstr_sse42): Use typeof __redirect_strstr.
17133 (__strstr_ia32): Likewise.
17134 (__libc_strstr): New prototype.
17135 (strstr): Renamed to ...
17136 (__libc_strstr): This.
17137 (strstr): New strong alias of __libc_strstr.
17138 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17139 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17142 (__libc_time): New prototype.
17143 (time_ifunc): Replace time with __libc_time.
17144 (time): New strong alias and hidden definition of __libc_time.
17145 (__GI_time): Remove strong alias.
17146 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17147 Include <stddef.h>.
17148 (memmove): Redefined to __redirect_memmove.
17149 (__memmove_sse2): Use typeof __redirect_memmove.
17150 (__memmove_ssse3): Likewise.
17151 (__memmove_ssse3_back): Likewise.
17152 (__libc_memmove): New prototype.
17153 (memmove): Renamed to ...
17154 (__libc_memmove): This.
17155 (memmove): New strong alias of __libc_memmove.
17157 2012-08-08 Mark Salter <msalter@redhat.com>
17160 (R_MN10300_TLS_GD): Define.
17161 (R_MN10300_TLS_LD): Likewise.
17162 (R_MN10300_TLS_LDO): Likewise.
17163 (R_MN10300_TLS_GOTIE): Likewise.
17164 (R_MN10300_TLS_IE): Likewise.
17165 (R_MN10300_TLS_LE): Likewise.
17166 (R_MN10300_TLS_DTPMOD): Likewise.
17167 (R_MN10300_TLS_DTPOFF): Likewise.
17168 (R_MN10300_TLS_TPOFF): Likewise.
17169 (R_MN10300_SYM_DIFF): Likewise.
17170 (R_MN10300_ALIGN): Likewise.
17171 (R_MN10300_NUM): Update.
17173 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17175 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17178 2012-08-08 Roland McGrath <roland@hack.frob.com>
17180 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17182 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17183 sysdeps/unix -> sysdeps/posix move.
17184 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17186 2012-08-07 Allan McRae <allan@archlinux.org>
17189 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17190 (SUNOS_CPP): Likewise.
17191 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17193 (open_input): Call CPP using execvp.
17195 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17197 * sysdeps/unix/sysv/linux/kernel-features.h
17198 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17199 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17200 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17201 (__ASSUME_WAITID_SYSCALL): Likewise.
17202 * sysdeps/unix/sysv/linux/dl-execstack.c
17203 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17204 code unconditional.
17205 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17207 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17208 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17209 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17211 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17213 [__ASSUME_WAITID_SYSCALL]: Likewise.
17214 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17216 2012-08-07 Roland McGrath <roland@hack.frob.com>
17218 * sysdeps/unix/closedir.c: Renamed to ...
17219 * sysdeps/posix/closedir.c: ... here.
17220 * sysdeps/unix/dirfd.c: Renamed to ...
17221 * sysdeps/posix/dirfd.c: ... here.
17222 * sysdeps/unix/dirstream.h: Renamed to ...
17223 * sysdeps/posix/dirstream.h: ... here.
17224 * sysdeps/unix/fdopendir.c: Renamed to ...
17225 * sysdeps/posix/fdopendir.c: ... here.
17226 * sysdeps/unix/opendir.c: Renamed to ...
17227 * sysdeps/posix/opendir.c: ... here.
17228 * sysdeps/unix/readdir.c: Renamed to ...
17229 * sysdeps/posix/readdir.c: ... here.
17230 * sysdeps/unix/readdir_r.c: Renamed to ...
17231 * sysdeps/posix/readdir_r.c: ... here.
17232 * sysdeps/unix/rewinddir.c: Renamed to ...
17233 * sysdeps/posix/rewinddir.c: ... here.
17234 * sysdeps/unix/seekdir.c: Renamed to ...
17235 * sysdeps/posix/seekdir.c: ... here.
17236 * sysdeps/unix/telldir.c: Renamed to ...
17237 * sysdeps/posix/telldir.c: ... here.
17238 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17239 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17240 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17241 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17243 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17244 * bits/fcntl.h: ... here.
17246 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17248 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17249 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17250 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17251 (struct flock): Move l_start, l_len to the beginning.
17252 Use __pid_t for l_pid.
17253 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17254 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17255 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17256 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17257 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17258 [__USE_LARGEFILE64] (struct flock64): New type.
17259 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17261 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17262 * bits/dirent.h: ... here.
17264 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17265 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17267 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17270 Change from 2.6.0 to 2.6.16.
17271 * sysdeps/unix/sysv/linux/configure: Regenerated.
17272 * sysdeps/unix/sysv/linux/kernel-features.h
17273 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17274 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17276 (__ASSUME_UTIMES): Likewise.
17277 (__ASSUME_CLONE_STOPPED): Remove.
17278 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17279 architectures, not kernel version.
17280 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17281 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17282 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17283 (__ASSUME_WAITID_SYSCALL): Likewise.
17284 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17285 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17286 * README: State 2.6.16 as minimum Linux kernel version. Do not
17287 refer to older versions.
17289 2012-08-06 Roland McGrath <roland@hack.frob.com>
17291 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17292 Define alphasort64 as an alias.
17293 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17294 Define versionsort64 as an alias.
17295 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17296 Define scandir64 as an alias.
17297 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17298 Define scandirat64 as an alias.
17299 * dirent/alphasort64.c (alphasort64):
17300 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17301 * dirent/versionsort64.c: Likewise.
17302 * dirent/scandir64.c: Likewise.
17303 * dirent/scandirat64.c: Likewise.
17304 * sysdeps/wordsize-64/alphasort.c: File removed.
17305 * sysdeps/wordsize-64/alphasort64.c: File removed.
17306 * sysdeps/wordsize-64/scandir.c: File removed.
17307 * sysdeps/wordsize-64/scandir64.c: File removed.
17308 * sysdeps/wordsize-64/scandirat.c: File removed.
17309 * sysdeps/wordsize-64/scandirat64.c: File removed.
17310 * sysdeps/wordsize-64/versionsort.c: File removed.
17311 * sysdeps/wordsize-64/versionsort64.c: File removed.
17312 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17313 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17314 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17315 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17316 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17317 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17321 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17323 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17325 [defined __arch64__ || defined __sparcv9]
17326 (__INO_T_MATCHES_INO64_T): New macro.
17327 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17328 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17329 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17330 * sysdeps/unix/sysv/linux/bits/dirent.h
17331 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17332 (_DIRENT_MATCHES_DIRENT64): New macro.
17334 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17335 Define lockf64 as an alias.
17336 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17337 Define fseeko64 as an alias.
17338 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17339 Define ftello64 as an alias.
17340 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17341 Define _IO_fgetpos64 and fgetpos64 as aliases.
17342 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17343 Define _IO_fsetpos64 and fsetpos64 as aliases.
17344 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17345 Conditionalize body on this.
17346 * libio/fseeko64.c: Likewise.
17347 * libio/ftello64.c: Likewise.
17348 * libio/iofgetpos64.c: Likewise.
17349 * libio/iofsetpos64.c: Likewise.
17350 * sysdeps/wordsize-64/lockf.c: File removed.
17351 * sysdeps/wordsize-64/lockf64.c: File removed.
17352 * sysdeps/wordsize-64/fseeko.c: File removed.
17353 * sysdeps/wordsize-64/fseeko64.c: File removed.
17354 * sysdeps/wordsize-64/ftello.c: File removed.
17355 * sysdeps/wordsize-64/ftello64.c: File removed.
17356 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17357 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17358 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17359 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17360 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17361 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17362 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17364 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17366 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17367 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17368 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17371 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17372 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17373 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17374 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17375 [defined __arch64__ || defined __sparcv9]
17376 (__OFF_T_MATCHES_OFF64_T): New macro.
17377 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17378 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17380 (__OFF_T_MATCHES_OFF64_T): New macro.
17382 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17384 * stdlib/secure-getenv.c (__secure_getenv): Replace
17385 GLIBC_2_16 with GLIBC_2_17.
17387 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17389 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17392 2012-08-03 David S. Miller <davem@davemloft.net>
17394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17396 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17398 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17400 (__ASSUME_CORRECT_SI_PID): Likewise.
17401 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17402 (__ASSUME_TMPFS_NAME): Likewise.
17403 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17404 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17405 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17406 (HAVE_AUX_SECURE): Make definition unconditional.
17407 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17408 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17410 2012-08-03 Roland McGrath <roland@hack.frob.com>
17412 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17413 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17414 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17415 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17416 __eloop_threshold instead of SYMLOOP_MAX.
17418 * sysdeps/generic/eloop-threshold.h: New file.
17419 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17421 * elf/chroot_canon.c (chroot_canon): Likewise.
17423 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17426 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17427 Change to 2.6.0 everywhere.
17428 * sysdeps/unix/sysv/linux/configure: Regenerated.
17429 * sysdeps/unix/sysv/linux/kernel-features.h
17430 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17431 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17433 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17434 (__ASSUME_FUTEX_REQUEUE): Remove.
17435 (__ASSUME_STATFS64): Define unconditionally.
17436 (__ASSUME_AT_SECURE): Likewise.
17437 (__ASSUME_CORRECT_SI_PID): Likewise.
17438 (__ASSUME_TGKILL): Define without depending on kernel version for
17440 (__ASSUME_UTIMES): Likewise.
17441 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17443 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17444 (__ASSUME_TMPFS_NAME): Likewise.
17445 * README: Update reference to Linux kernel versions.
17447 2012-08-02 Marek Polacek <polacek@redhat.com>
17450 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17451 libc_cv_asm_type_prefix with %.
17452 * configure: Regenerated.
17453 * include/libc-symbols.h: Remove comment about
17454 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17455 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17456 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17457 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17458 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17459 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17460 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17461 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17462 * elf/tst-unique2mod1.c: Likewise.
17463 * elf/tst-unique1mod2.c: Likewise.
17464 * elf/tst-unique1mod1.c: Likewise.
17465 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17466 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17467 Replace ASM_TYPE_DIRECTIVE with .type.
17468 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17469 * sysdeps/i386/sysdep.h: Likewise.
17470 * sysdeps/x86_64/sysdep.h: Likewise.
17471 * sysdeps/sh/sysdep.h: Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17473 Do not define ASM_TYPE_DIRECTIVE.
17474 * sysdeps/powerpc/sysdep.h: Likewise.
17475 * sysdeps/powerpc/powerpc32/sysdep.h:
17476 Replace ASM_TYPE_DIRECTIVE with .type.
17477 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17478 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17479 * sysdeps/i386/fpu/e_powf.S: Likewise.
17480 * sysdeps/i386/fpu/e_expl.S: Likewise.
17481 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17482 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17483 * sysdeps/i386/fpu/e_pow.S: Likewise.
17484 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17485 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17486 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17487 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17488 * sysdeps/i386/fpu/e_log2.S: Likewise.
17489 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17490 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17491 * sysdeps/i386/fpu/e_powl.S: Likewise.
17492 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17493 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17494 * sysdeps/i386/fpu/e_logl.S: Likewise.
17495 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17496 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17497 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17499 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17500 * sysdeps/i386/fpu/e_log.S: Likewise.
17501 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17502 * sysdeps/i386/fpu/e_logf.S: Likewise.
17503 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17505 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17506 * sysdeps/i386/fpu/e_log10.S: Likewise.
17507 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17508 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17509 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17510 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17511 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17513 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17514 * sysdeps/i386/i686/strtok.S: Likewise.
17515 * sysdeps/i386/i386-mcount.S: Likewise.
17516 * sysdeps/i386/strtok.S: Likewise.
17517 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17518 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17519 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17521 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17522 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17523 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17524 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17525 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17526 * sysdeps/x86_64/_mcount.S: Likewise.
17527 * sysdeps/x86_64/strtok.S: Likewise.
17528 * sysdeps/sh/_mcount.S: Likewise.
17530 2012-08-01 Roland McGrath <roland@hack.frob.com>
17532 * libio/iofopen.c: Include <fcntl.h>.
17533 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17534 (_IO_fopen64, fopen64): Define as aliases.
17535 * libio/iofopen64.c: Include <fcntl.h>.
17536 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17537 Conditionalize body on this.
17538 * sysdeps/wordsize-64/iofopen.c: File removed.
17539 * sysdeps/wordsize-64/iofopen64.c: File removed.
17541 2012-08-01 Marek Polacek <polacek@redhat.com>
17543 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17544 Use dlfcn directly instead of a variable.
17545 (binfmt-subdir): Do not define.
17548 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17550 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17551 Remove all definitions.
17552 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17553 <kernel-features.h>.
17554 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17555 (miss_F_GETOWN_EX): Remove all definitions.
17556 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17558 [!__ASSUME_FCNTL64]: Remove conditional code.
17559 [__ASSUME_FCNTL64]: Make code unconditional.
17560 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17561 <kernel-features.h>.
17562 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17563 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17564 (lockf64) [__NR_fcntl64]: Make code unconditional.
17565 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17567 * sysdeps/unix/sysv/linux/kernel-features.h
17568 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17569 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17570 Make code unconditional.
17571 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17572 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17574 [__NR_vfork]: Make code unconditional.
17575 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17576 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17578 [__NR_vfork]: Make code unconditional.
17579 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17580 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17582 2012-08-01 Roland McGrath <roland@hack.frob.com>
17584 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17585 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17587 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17588 Define mkstemp64 as an alias.
17589 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17590 Define mkstemps64 as an alias.
17591 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17592 Define mkostemp64 as an alias.
17593 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17594 Define mkostemps64 as an alias.
17595 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17596 Conditionalize body on this.
17597 * misc/mkostemp64.c: Likewise.
17598 * misc/mkostemps64.c: Likewise.
17599 * misc/mkstemps64.c: Likewise.
17600 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17601 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17602 * sysdeps/wordsize-64/mkostemp.c: File removed.
17603 * sysdeps/wordsize-64/mkstemp.c: File removed.
17604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17606 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17610 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17611 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17612 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17613 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17615 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17616 compat_symbol macros from <shlib-compat.h> rather than the underlying
17617 default_symbol_version and symbol_version macros, so that DEFAULT
17618 lines in shlib-versions are respected.
17619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17621 2012-08-01 Florian Weimer <fweimer@redhat.com>
17623 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17624 Declare with warn_unused_result.
17625 (setgid, setregid, setegid, setresgid): Likewise.
17626 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17628 * WUR-REPORT: Remove set*id functions.
17630 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17632 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17634 2012-07-31 Roland McGrath <roland@hack.frob.com>
17637 * include/sys/socket.h (__libc_accept, __libc_accept4):
17638 Add attribute_hidden.
17639 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17643 * inet/getnetgrent_r.c (setup): Likewise.
17645 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17647 2012-07-31 David S. Miller <davem@davemloft.net>
17649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17651 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17654 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17655 value between 1.0 and 2.0 and smaller part has absolute value less
17657 * math/s_clog10.c (__clog10): Likewise.
17658 * math/s_clog10f.c (__clog10f): Likewise.
17659 * math/s_clog10l.c (__clog10l): Likewise.
17660 * math/s_clogf.c (__clogf): Likewise.
17661 * math/s_clogl.c (__clogl): Likewise.
17662 * math/libm-test.inc (clog_test): Add more tests.
17663 (clog10_test): Likewise.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667 2012-07-31 Florian Weimer <fweimer@redhat.com>
17669 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17670 Exit with zero in case no suitable GID is found, and write a
17671 message to standard error.
17673 2012-07-30 Roland McGrath <roland@hack.frob.com>
17675 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17677 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17678 (MAXPATHLEN): Removed.
17679 (NOGROUP, NODEV): New macros.
17680 (setbit, clrbit, isset, isclr): New macros.
17681 (howmany, roundup, powerof2): New macros.
17682 (DEV_BSIZE): New macro.
17684 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17685 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17687 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17688 definition on [!__NO_LONG_DOUBLE_MATH].
17690 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17691 PTR_MANGLE and PTR_DEMANGLE.
17693 * socket/accept4.c (accept4): Rename to __libc_accept4.
17694 Define accept4 as a weak alias.
17696 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17697 on [_DIRENT_HAVE_D_TYPE].
17698 * io/ftw.c (ftw_dir): Likewise.
17700 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17702 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17704 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17705 Use the BSD numbers rather than the arbitrary ones we had.
17706 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17707 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17708 (SIGXCPU, SIGXFSZ): New macros.
17711 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17712 initializer on [_LIBC_REENTRANT].
17714 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17715 definitions inside [_POSIX_MAPPED_FILES].
17717 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17719 * dirent/opendir.c: Include <fcntl.h>.
17721 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17722 (__libc_getspecific): Likewise.
17723 (__libc_key_create): Likewise.
17725 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17726 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17727 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17728 (tmpfile64): Define as alias.
17729 * sysdeps/wordsize-64/tmpfile.c: File removed.
17730 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17731 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17734 * stdio-common/vfscanf.c: Include <stdbool.h>.
17735 * nss/makedb.c: Likewise.
17736 * stdio-common/_i18n_number.h: Likewise.
17737 * argp/argp-help.c: Likewise.
17738 * posix/wordexp.c: Likewise.
17739 * sysdeps/posix/spawni.c: Likewise.
17740 * nss/nss_files/files-initgroups.c: Likewise.
17741 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17742 * nss/nss_files/files-initgroups.c: Likewise.
17743 * nss/nss_db/db-netgrp.c: Likewise.
17744 * nss/nss_db/db-initgroups.c: Likewise.
17745 * io/fchmodat.c: Include <sys/stat.h>.
17747 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17748 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17750 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17753 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17754 Add multiple inclusion protection.
17756 2012-07-27 David S. Miller <davem@davemloft.net>
17758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17760 2012-07-27 Gary Benson <gbenson@redhat.com>
17763 * elf/rtld.c: Include <stap-probe.h>.
17764 (dl_main): Added static probes "init_start" and "init_complete".
17765 * elf/dl-load.c: Include <stap-probe.h>.
17766 (lose): Take new parameter "nsid".
17767 Added static probe "map_failed".
17768 (_dl_map_object_from_fd): Pass namespace id to lose.
17769 Added static probe "map_start".
17770 (open_verify): Pass namespace id to lose.
17771 * elf/dl-open.c: Include <stap-probe.h>.
17772 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17773 and "reloc_complete".
17774 * elf/dl-close.c: Include <stap-probe.h>.
17775 (_dl_close_worker): Added static probes "unmap_start" and
17777 * elf/rtld-debugger-interface.txt: New file documenting the above.
17779 2012-07-26 Roland McGrath <roland@hack.frob.com>
17781 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17782 rather than a string variable.
17783 * sunrpc/rpc_main.c (h_output): Likewise.
17784 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17786 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17788 * inet/check_native.c: New file.
17790 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17793 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17794 if larger part has absolute value 1.0.
17795 * math/s_clog10.c (__clog10): Likewise.
17796 * math/s_clog10f.c (__clog10f): Likewise.
17797 * math/s_clog10l.c (__clog10l): Likewise.
17798 * math/s_clogf.c (__clogf): Likewise.
17799 * math/s_clogl.c (__clogl): Likewise.
17800 * math/libm-test.inc (clog_test): Add more tests.
17801 (clog10_test): Likewise.
17802 * sysdeps/i386/fpu/libm-test-ulps: Update.
17803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17806 (pltexit): Likewise.
17807 (La_regs): Likewise.
17808 (La_retval): Likewise.
17809 (int_retval): Likewise.
17810 Update #error for removed macros to refer only to definitions in
17812 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17814 (pltexit): Likewise.
17815 (La_regs): Likewise.
17816 (La_retval): Likewise.
17817 (int_retval): Likewise.
17818 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17820 (pltexit): Likewise.
17821 (La_regs): Likewise.
17822 (La_retval): Likewise.
17823 (int_retval): Likewise.
17824 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17826 (pltexit): Likewise.
17827 (La_regs): Likewise.
17828 (La_retval): Likewise.
17829 (int_retval): Likewise.
17830 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17832 (pltexit): Likewise.
17833 (La_regs): Likewise.
17834 (La_retval): Likewise.
17835 (int_retval): Likewise.
17836 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17838 (pltexit): Likewise.
17839 (La_regs): Likewise.
17840 (La_retval): Likewise.
17841 (int_retval): Likewise.
17842 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17844 (pltexit): Likewise.
17845 (La_regs): Likewise.
17846 (La_retval): Likewise.
17847 (int_retval): Likewise.
17848 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17849 macro definitions in tst-audit.h.
17850 * sysdeps/i386/tst-audit.h: New file.
17851 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17852 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17853 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17854 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17855 * sysdeps/sh/tst-audit.h: Likewise.
17856 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17857 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17858 * sysdeps/x86_64/tst-audit.h: Likewise.
17860 2012-07-26 Andreas Jaeger <aj@suse.de>
17862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17865 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17866 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17867 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17869 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17870 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17873 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17876 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17878 (si_call_addr, si_syscall, si_arch): Define new macro.
17879 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17881 (si_call_addr, si_syscall, si_arch): Define new marcro.
17882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17884 (si_call_addr, si_syscall, si_arch): Define new macro.
17885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17887 (si_call_addr, si_syscall, si_arch): Define new macro.
17889 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17892 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17893 Change to 2.4.21 where previously 2.4.1.
17894 * sysdeps/unix/sysv/linux/configure: Regenerated.
17895 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17896 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17897 Linux kernel version.
17898 (__ASSUME_STD_AUXV): Remove.
17899 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17901 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17902 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17903 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17904 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17905 (__ASSUME_NETLINK_SUPPORT): Likewise.
17906 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17907 (__no_netlink_support): Remove conditional definition.
17908 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17910 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17911 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17912 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17913 (if_nameindex_ioctl): Remove.
17914 (if_nameindex_netlink): Do not handle __no_netlink_support.
17915 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17917 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17918 Remove conditional code.
17919 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17921 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17923 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17924 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17925 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17927 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17928 [!__ASSUME_STD_AUXV]: Remove conditional code.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17930 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17931 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17933 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17934 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17936 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17938 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17939 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17941 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17943 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17946 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17949 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17950 code unconditional.
17951 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17953 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17955 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17958 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17960 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17963 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17964 code unconditional.
17965 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17967 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17969 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17972 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17973 code unconditional.
17974 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17976 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17978 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17981 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17983 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17984 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17985 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17986 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17988 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17989 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17991 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17992 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17993 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17994 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17995 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17996 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17997 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17998 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17999 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18001 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18003 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18004 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18007 2012-07-25 Florian Weimer <fweimer@redhat.com>
18009 * Versions.def: Add GLIBC_2.17.
18010 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18011 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18012 Introduce __libc_secure_getenv.
18013 * stdlib/Versions (2.17): Add secure_getenv
18014 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18015 * stdlib/secure-getenv.c: Rename __secure_getenv to
18016 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18017 symbol __secure_getenv for GLIBC_2.0.
18018 * stdlib/tst-secure-getenv.c: New.
18019 * stdlib/Makefile (tests): Add testcase.
18020 * manual/startup.texi (Environment Access): Document
18022 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18023 __libc_secure_getenv.
18024 * inet/ruserpass.c (ruserpass): Likewise.
18025 * malloc/mtrace.c (mtrace): Likewise.
18026 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18027 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18028 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18029 * sysdeps/posix/tempname.c: Likewise. Evaluate
18030 HAVE_SECURE_GETENV.
18031 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18032 __secure_getenv to __libc_secure_getenv.
18033 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18046 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18048 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18049 (struct La_i86_retval): Likewise.
18050 (struct La_x86_64_regs): Likewise.
18051 (struct La_x86_64_retval): Likewise.
18052 (struct La_x32_regs): Likewise.
18053 (struct La_x32_retval): Likewise.
18054 (struct La_ppc32_regs): Likewise.
18055 (struct La_ppc32_retval): Likewise.
18056 (struct La_ppc64_regs): Likewise.
18057 (struct La_ppc64_retval): Likewise.
18058 (struct La_sh_regs): Likewise.
18059 (struct La_sh_retval): Likewise.
18060 (struct La_s390_32_regs): Likewise.
18061 (struct La_s390_32_retval): Likewise.
18062 (struct La_s390_64_regs): Likewise.
18063 (struct La_s390_64_retval): Likewise.
18064 (struct La_sparc32_regs): Likewise.
18065 (struct La_sparc32_retval): Likewise.
18066 (struct La_sparc64_regs): Likewise.
18067 (struct La_sparc64_retval): Likewise.
18068 (struct audit_ifaces): Remove architecture-specific pltenter and
18070 * sysdeps/i386/ldsodefs.h: New file.
18071 * sysdeps/powerpc/ldsodefs.h: Likewise.
18072 * sysdeps/s390/ldsodefs.h: Likewise.
18073 * sysdeps/sh/ldsodefs.h: Likewise.
18074 * sysdeps/sparc/ldsodefs.h: Likewise.
18075 * sysdeps/x86_64/ldsodefs.h: Likewise.
18077 2012-07-25 Marek Polacek <polacek@redhat.com>
18080 * math/libm-test.inc (yn_test): Add another test.
18081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18082 to ERANGE when the result is +-Inf.
18083 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18084 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18085 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18086 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18088 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18090 * conform/data/time.h-data (NULL): Use macro-constant. Require
18092 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18094 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18096 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18098 * configure.in <sysdeps resolving>: Correct printing
18100 * configure: Regenerate.
18102 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18104 * math/w_ilogb.c: Include <limits.h>.
18105 * math/w_ilogbl.c: Likewise.
18107 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18109 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18110 va_copy. Document allowing for unavailable va_copy only as
18111 pre-C99 compatibility.
18112 * manual/string.texi (Copying and Concatenation): Use va_copy
18113 instead of __va_copy in concat example.
18115 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18117 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18118 (__sendto): Use create_address_port. Initialize APORT and deallocate
18121 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18122 with O_NOLINK passed to __file_name_lookup.
18124 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18125 with O_NOLINK passed to __file_name_lookup.
18127 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18128 negative N or less than NGIDS.
18130 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18131 type to string_t. Set ERANGE as errno and return it if NAME is not big
18132 enough. Use memcpy instead of strncpy.
18134 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18136 * elf/Makefile (check-data): Remove.
18137 (localplt.data): New vpath directive.
18138 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18139 instead of $(check-data).
18140 * scripts/data/localplt-generic.data: Move to ...
18141 * sysdeps/generic/localplt.data: ... here.
18142 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18143 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18144 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18147 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18150 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18153 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18156 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18159 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18163 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18165 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18166 PPC32 and PPC64 files.
18167 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18168 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18170 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18172 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18173 __makecontext_ret to ...
18174 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18175 ... here and call exit if uc_link is NULL. New file.
18176 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18177 __makecontext_ret.S.
18178 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18179 __makecontext_ret to ...
18180 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18181 ... here and call exit if uc_link is NULL. New file.
18182 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18183 __makecontext_ret.S.
18185 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18187 * elf/elf.h (R_390_IRELATIVE): New definition.
18188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18189 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18190 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18192 (elf_machine_lazy_rel): Likewise.
18193 * sysdeps/s390/dl-irel.h: New file.
18194 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18195 * sysdeps/s390/s390-64/memset.S: New asm code.
18196 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18197 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18198 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18199 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18200 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18201 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18203 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18204 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18205 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18206 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18207 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18208 * sysdeps/s390/s390-32/memset.S: New asm code.
18209 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18211 2012-07-17 Marek Polacek <polacek@redhat.com>
18214 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18215 * sysdeps/s390/s390-64/configure.in: Likewise.
18216 * sysdeps/sparc/configure.in: Likewise.
18217 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18218 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18219 * sysdeps/i386/configure.in: Likewise.
18220 * sysdeps/x86_64/configure.in: Likewise.
18221 * sysdeps/sh/configure.in: Likewise.
18222 * sysdeps/s390/s390-32/configure: Regenerated.
18223 * sysdeps/s390/s390-64/configure: Likewise.
18224 * sysdeps/x86_64/configure: Likewise.
18225 * sysdeps/sh/configure: Likewise.
18226 * sysdeps/powerpc/powerpc64/configure: Likewise.
18227 * sysdeps/powerpc/powerpc32/configure: Likewise.
18228 * sysdeps/sparc/configure: Likwise.
18229 * sysdeps/i386/configure: Likewise.
18231 * elf/dl-open.c: Comment fixes.
18233 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18235 * Makefile [CXX] (check-data): Remove.
18236 [CXX] (c++-types.data): New vpath directive.
18237 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18238 vpath. Do not allow for C++ type data being missing.
18239 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18240 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18241 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18242 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18243 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18244 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18245 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18248 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18251 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18254 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18257 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18260 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18263 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18266 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18269 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18270 definitions to architecture-specific files.
18271 (TLS_IE): Likewise.
18272 (TLS_LD): Likewise.
18273 (TLS_GD): Likewise.
18274 * sysdeps/i386/tls-macros.h: New file.
18275 * sysdeps/powerpc/tls-macros.h: Likewise.
18276 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18277 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18278 * sysdeps/sh/tls-macros.h: Likewise.
18279 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18280 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18281 * sysdeps/x86_64/tls-macros.h: Likewise.
18283 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18286 zero value for regular exit case.
18288 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18289 (__start_context): Preserve zero value for regular exit case.
18291 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18292 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18294 * manual/setjmp.texi (setcontext): Clarify normal process
18295 termination when uc_link is the null pointer.
18296 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18299 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18301 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18302 preprocessor. Test for each exception mask separately.
18304 2012-07-16 Andreas Jaeger <aj@suse.de>
18306 * po/ru.po: Update from translation team.
18308 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18310 * conform/data/string.h-data (NULL): Use macro-constant. Require
18312 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18313 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18314 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18315 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18318 2012-07-13 Andreas Jaeger <aj@suse.de>
18320 * po/fr.po: Update from translation team.
18322 2012-07-12 Marek Polacek <polacek@redhat.com>
18325 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18326 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18329 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18333 Change to 2.4.1 where previously 2.4.0.
18334 * sysdeps/unix/sysv/linux/configure: Regenerated.
18335 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18336 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18338 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18339 (__ASSUME_AT_CLKTCK): Remove.
18340 (__ASSUME_AT_PAGESIZE): Likewise.
18341 (__ASSUME_AT_XID): Likewise.
18342 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18343 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18344 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18346 (HAVE_AUX_PAGESIZE): Likewise.
18347 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18348 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18349 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18351 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18355 the temporary buffer used to invoke __gethostbyname2_r,
18356 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18357 host_data / struct gaih_addrtuple.
18358 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18359 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18360 header file nss/nsswitch.h.
18361 * nss/nsswitch.h (global scope): Add definition of implementation
18362 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18363 resolv/nss_dns/dns-host.c).
18365 2012-07-11 Andreas Jaeger <aj@suse.de>
18367 * po/fr.po: Update from translation team.
18369 * po/sv.po: Update from translation team
18370 * po/fr.po: Another update from translation team.
18372 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18374 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18375 for subnormals or multiply small sinh result by itself.
18376 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18379 2012-07-11 David S. Miller <davem@davemloft.net>
18381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18383 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18386 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18387 (INTERNAL_MARK): Shift it here.
18389 2012-07-10 Marek Polacek <polacek@redhat.com>
18392 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18393 libc_cv_asm_global_directive with .globl.
18394 * configure: Regenerated.
18395 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18397 * sysdeps/i386/configure: Regenerated.
18398 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18400 * sysdeps/x86_64/configure: Regenerated.
18401 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18402 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18403 * elf/tst-unique2mod2.c: Likewise.
18404 * elf/tst-unique2mod1.c: Likewise.
18405 * elf/tst-unique1mod2.c: Likewise.
18406 * elf/tst-unique1mod1.c: Likewise.
18407 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18408 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18410 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18411 * sysdeps/mach/sysdep.h: Likewise.
18412 * sysdeps/i386/sysdep.h: Likewise.
18413 * sysdeps/i386/i386-mcount.S: Likewise.
18414 * sysdeps/x86_64/_mcount.S: Likewise.
18415 * sysdeps/x86_64/sysdep.h: Likewise.
18416 * sysdeps/sh/_mcount.S: Likewise.
18417 * sysdeps/sh/sysdep.h: Likewise.
18418 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18419 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18420 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18422 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18423 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18424 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18425 * locale/localeinfo.h: Likewise.
18426 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18427 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18429 2012-07-09 Roland McGrath <roland@hack.frob.com>
18432 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18434 * manual/message.texi (The Uniforum approach): Likewise.
18435 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18436 (glibc iconv Implementation): Likewise.
18438 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18441 * math/s_clog.c (__clog): Avoid scaling a value down where that
18442 could result in underflow.
18443 * math/s_clog10.c (__clog10): Likewise.
18444 * math/s_clog10f.c (__clog10f): Likewise.
18445 * math/s_clog10l.c (__clog10l): Likewise.
18446 * math/s_clogf.c (__clogf): Likewise.
18447 * math/s_clogl.c (__clogl): Likewise.
18448 * math/libm-test.inc (clog_test): Add more tests.
18449 (clog10_test): Likewise.
18450 * sysdeps/i386/fpu/libm-test-ulps: Update.
18451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18453 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18457 by 7 not 8 to examine high bit of fractional part.
18460 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18461 for call to __mcount_internal.
18462 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18463 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18464 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18466 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18469 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18470 approximation for values within 0x1p-13f of an odd multiple of
18472 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18473 exception. Add more tests.
18474 * sysdeps/i386/fpu/libm-test-ulps: Update.
18477 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18478 inputs and return -1 for them. Do not check for +Inf in case not
18479 reachable for +Inf.
18480 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18481 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18483 and return -1 for them. Do not check for +Inf in case not
18484 reachable for +Inf.
18485 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18487 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18488 and return -1 for them. Do not check for +Inf in case not
18489 reachable for +Inf.
18490 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18491 spurious underflow.
18492 * sysdeps/i386/fpu/libm-test-ulps: Update.
18493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18495 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18497 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18499 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18503 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18504 could result in spurious underflow. Scale down values above
18505 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18506 * math/s_csqrtf.c (__csqrtf): Likewise.
18507 * math/s_csqrtl.c (__csqrtl): Likewise.
18508 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18509 spurious underflow.
18510 * sysdeps/i386/fpu/libm-test-ulps: Update.
18511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18513 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18515 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18517 * catgets/xopen-msg.awk: New file.
18518 * catgets/xopen-msg.sed: Removed.
18520 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18522 * intl/po2test.awk: New file.
18523 * intl/po2test.sed: Removed.
18525 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18528 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18529 or multiply small sinh result by itself.
18530 * math/s_ctanf.c (__ctanf): Likewise.
18531 * math/s_ctanh.c (__ctanh): Likewise.
18532 * math/s_ctanhf.c (__ctanhf): Likewise.
18533 * math/s_ctanhl.c (__ctanhl): Likewise.
18534 * math/s_ctanl.c (__ctanl): Likewise.
18535 * math/libm-test.inc (ctan_test_tonearest): New function.
18536 (ctan_test_towardzero): Likewise.
18537 (ctan_test_downward): Likewise.
18538 (ctan_test_upward): Likewise.
18539 (ctanh_test_tonearest): Likewise.
18540 (ctanh_test_towardzero): Likewise.
18541 (ctanh_test_downward): Likewise.
18542 (ctanh_test_upward): Likewise.
18543 (main): Call these new functions.
18544 * sysdeps/i386/fpu/libm-test-ulps: Update.
18545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18547 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18549 * .gitignore: Delete /ports entry.
18551 2012-07-03 Andreas Jaeger <aj@suse.de>
18553 * po/bg.po: Update from translation team.
18554 * po/cs.po: Likewise.
18555 * po/de.po: Likewise.
18556 * po/hr.po: Likewise.
18557 * po/nl.pl: Likewise.
18558 * po/pl.po: Likewise.
18559 * po/vi.po: Likewise.
18561 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18563 * Makeconfig [!+link] (+link-before-libc): New variable.
18564 [!+link] (+link-after-libc): Likewise.
18565 [!+link] (+link-tests): Likewise.
18566 [!+link] (+link): Define in terms of $(+link-before-libc) and
18567 $(+link-after-libc).
18568 [!+link-static] (+link-static-before-libc): New variable.
18569 [!+link-static] (+link-static-after-libc): Likewise.
18570 [!+link-static] (+link-static-tests): Likewise.
18571 [!+link-static] (+link-static): Define in terms of
18572 $(+link-static-before-libc) and $(+link-static-after-libc).
18573 [build-shared] (link-libc-before-gnulib): New variable.
18574 [build-shared] (link-libc-tests): Likewise.
18575 [build-shared] (link-libc): Define in terms of
18576 $(link-libc-before-gnulib).
18577 [!build-shared] (link-libc-tests): New variable.
18578 (link-libc-static-tests): New variable.
18579 [!gnulib] (gnulib-arch): New variable.
18580 [!gnulib] (gnulib-tests): Likewise.
18581 [!gnulib] (static-gnulib-arch): Likewise.
18582 [!gnulib] (static-gnulib-tests): Likewise.
18583 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18584 Define with "=" instead of ":=".
18585 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18586 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18587 * Rules (binaries-all-notests): New variable.
18588 (binaries-all-tests): Likewise.
18589 (binaries-static-notests): Likewise.
18590 (binaries-static-tests): Likewise.
18591 (binaries-all): Define using $(binaries-all-notests) and
18592 $(binaries-all-tests).
18593 (binaries-static): Define using $(binaries-static-notests) and
18594 $(binaries-static-tests).
18595 (binaries-shared-tests): New variable.
18596 (binaries-shared-notests): Likewise.
18597 (binaries-shared): Remove variable.
18598 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18599 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18600 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18601 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18602 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18603 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18604 * elf/Makefile (sln-modules): New variable.
18605 (extra-objs): Add $(sln-modules:=.o).
18606 (ldconfig-modules): Add static-stubs.
18607 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18608 * elf/static-stubs.c: New file.
18611 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18612 by 7 not 8 to examine high bit of fractional part. Use volatile
18613 variables when splitting into final array of floats if
18614 __FLT_EVAL_METHOD__ != 0.
18615 * math/libm-test.inc (cos_test): Add another test.
18616 (sin_test): Likewise.
18617 * sysdeps/i386/fpu/libm-test-ulps: Update.
18620 * math/libm-test.inc (cosh_test): Add more tests.
18622 * version.h (RELEASE): Set to "development".
18623 (VERSION): Set to "2.16.90".
18625 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18627 * NEWS: Update copyright. Remove last-updated date.
18628 Mention math library bug fixes and timezone data changes.
18629 * README: Mention GNU/Hurd, x32, and HPPA support status.
18631 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18633 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18635 2012-06-27 Andreas Jaeger <aj@suse.de>
18637 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18639 2012-06-25 Andreas Jaeger <aj@suse.de>
18641 * sysdeps/s390/fpu/libm-test-ulps: Update.
18643 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18644 Thomas Schwinge <thomas@codesourcery.com>
18646 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18647 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18648 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18651 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18653 * sysdeps/mach/start.c: Remove file.
18654 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18655 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18656 * sysdeps/sh/init-first.c: Likewise.
18658 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18659 registers for frame unwinding purposes, add CFI directives.
18660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18662 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18665 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18666 __fortify_fail returning.
18667 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18669 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18670 sysdeps/sh/____longjmp_chk.S.
18671 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18672 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18673 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18674 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18676 * sysdeps/sh/abort-instr.h: New file.
18677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18678 process in case exit returns.
18680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18681 initialize the GOT register before use.
18683 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18684 calculation of ARGC > 4.
18686 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18687 meaningful names to some local labels.
18689 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18690 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18692 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18693 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18694 (__arch_compare_and_exchange_val_16_acq): Likewise.
18695 (__arch_compare_and_exchange_val_32_acq): Likewise.
18696 (atomic_exchange_and_add): Fix gUSA sequence.
18697 (atomic_add): Likewise.
18698 (atomic_add_negative): Likewise.
18699 (atomic_add_zero): Likewise.
18700 (atomic_bit_test_set): Likewise.
18702 2012-06-22 Andreas Schwab <schwab@redhat.com>
18705 * include/link.h (struct link_map): Add l_free_initfini.
18706 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18708 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18709 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18710 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18713 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18715 * configure.in: Use AC_LANG_SOURCE.
18716 * configure: Regenerate.
18718 2012-06-22 Roland McGrath <roland@hack.frob.com>
18720 * configure.in (libc_cv_localstatedir): New substituted variable.
18721 * configure: Regenerated.
18722 * config.make.in (localstatedir): New variable, substituted from
18723 libc_cv_localstatedir.
18724 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18725 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18726 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18727 * sysdeps/gnu/configure: Regenerated.
18729 2012-06-21 Jeff Law <law@redhat.com>
18732 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18733 free. Simplify list management for _LIBC case.
18735 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18739 Clear sign bit of 64-bit integer value before comparing against
18742 * sysdeps/mach/configure: Regenerated.
18744 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18747 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18749 2012-06-21 Jeff Law <law@redhat.com>
18752 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18753 uint16_t for elements in the "seen" array to avoid char overflows.
18754 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18755 * elf/dl-open.c (dl_open_worker): Likewise.
18757 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18759 * scripts/list-sources.sh: Scan PORTS for translations.
18760 * po/libc.pot: Regenerated.
18762 2012-06-21 Andreas Jaeger <aj@suse.de>
18765 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18767 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18768 * bits/byteswap-16.h (__bswap_16): Likewise.
18769 * bits/byteswap.h (__bswap_constant_16): Likewise.
18771 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18774 * sysdeps/i386/fpu_control.h: Removed.
18775 * sysdeps/x86_64/fpu_control.h: Moved to ...
18776 * sysdeps/x86/fpu_control.h: Here.
18778 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18779 (_FPU_SETCW): Likewise.
18781 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18784 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18785 * sysdeps/x86/fpu/bits/mathinline.h: This.
18786 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18790 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18791 functions if __x86_64__ is defined.
18793 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18795 * string/endian.h: Add !__ASSEMBLER__ condition for including
18796 conversion interfaces.
18798 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18801 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18802 of ABS(x) in calculating zero to negative powers other than odd
18804 * math/libm-test.inc (pow_test): Add more tests.
18806 2012-06-15 Andreas Jaeger <aj@suse.de>
18808 * manual/contrib.texi (Contributors): Update entry of Liubov
18809 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18812 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18814 * string/string.h: Add __wur to GNU version of strerror_r.
18816 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18819 * string/Makefile (tests): Add tst-strtok_r.
18820 * string/tst-strtok_r.c: New file.
18821 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18822 RAX_LP/RDX_LP on SAVE_PTR.
18824 2012-06-14 Roland McGrath <roland@hack.frob.com>
18826 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18828 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18830 * libm_test.inc (csqrt_test): Allow more spurious underflow
18832 (j0_test): Likewise.
18833 (j1_test): Likewise.
18834 (y0_test): Likewise.
18835 (y1_test): Likewise.
18837 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18839 * po/Makefile (libc.pot): Use UTF-8 charset.
18841 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18844 Suppress sign-conversion warning from FD_SET.
18845 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18846 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18847 not unsigned long int.
18848 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18850 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18855 __extern_always_inline instead of __extern_inline.
18856 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18857 (__signbit): Likewise.
18858 (__signbitl): Support C++ namespace.
18859 (lrintf): New inline function.
18861 (llrintf): Likewise.
18862 (llrint): Likewise.
18872 (floorf): Likewise.
18873 (nearbyint): Likewise.
18874 (nearbyintf): Likewise.
18876 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18879 non-default versions.
18881 2012-06-11 Roland McGrath <roland@hack.frob.com>
18884 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18886 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18888 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18889 (FE_UPWARD, FE_DOWNWARD): Don't define.
18890 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18893 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18895 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18896 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18898 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18900 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18902 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18903 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18905 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18908 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18909 * sysdeps/i386/fpu/Implies: New file.
18910 * sysdeps/x86_64/fpu/Implies: Likewise.
18911 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18912 * sysdeps/x86/fpu/bits/fenv.h: This.
18914 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18917 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18920 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18921 character 0xffff that matches the last element of the
18924 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18926 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18929 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18932 values higher than 25.6283.
18934 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18937 subnormal exponent extraction and add some __builtin_expect.
18938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18939 Fix for subnormal mantissa calculation.
18941 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18943 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18944 cpu2 is -1 and errno is not ENOSYS.
18946 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18949 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18950 * sysdeps/x86/bits/string.h: This.
18951 * sysdeps/x86_64/bits/string.h: Removed.
18953 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18954 if not compiling for x86-64, but compiling for >= i486.
18956 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18957 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18959 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18960 New macro from Linux kernel 3.4.0.
18961 (FP_XSTATE_MAGIC2): Likewise.
18962 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18963 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18964 (struct _fpx_sw_bytes): New struct.
18965 (struct _xsave_hdr): Likewise.
18966 (struct _ymmh_state): Likewise.
18967 (struct _xstate): Likewise.
18969 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18970 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18972 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18973 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18974 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18976 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18978 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18979 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18980 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18981 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18983 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18986 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18987 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18988 (sysdep_headers): Include sys/platform/ppc.h.
18989 * sysdeps/powerpc/test-gettimebase.c: Test for
18990 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18991 * manual/Makefile (appendices): Include platform.texi.
18992 * manual/contrib.texi (Contributors): Update @node pointers.
18993 * manual/maint.texi (Maintenance): Likewise.
18994 (Platform): New node.
18995 * manual/platform.texi: New file. Document the new features.
18997 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18998 Jakub Jelinek <jakub@redhat.com>
19001 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19002 where __builtin_expect is unavailable.
19004 2012-06-03 David S. Miller <davem@davemloft.net>
19006 * stdlib/longlong.h: Updated from GCC.
19008 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19011 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19012 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19015 (GLIBC_2.16): Likewise.
19017 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19019 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19021 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19024 (default-abi): New variable.
19025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19026 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19030 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19035 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19036 definition. Document in comment.
19038 2012-06-01 David S. Miller <davem@davemloft.net>
19040 * stdlib/longlong.h: Updated from GCC.
19042 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19045 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19046 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19047 sys/debugreg.h sys/io.h here.
19048 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19049 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19051 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19052 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19053 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19054 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19055 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19056 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19058 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19059 Define only if __x86_64__ is defined.
19061 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19064 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19065 Use int64_t for variable i.
19066 * math/libm-test.inc (fmod_test): Add more tests.
19068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19069 z computation is not scheduled after fetestexcept.
19070 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19071 Use math_force_eval instead of asm to ensure calculation scheduled
19072 before exception test.
19073 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19074 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19076 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19079 computation is not scheduled after fetestexcept.
19081 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19084 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19085 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19087 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19089 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19090 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19092 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19095 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19097 (__WCHAR_MIN): Support __WORDSIZE == 64.
19098 (__WCHAR_MAX): Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19105 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19108 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19111 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19112 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19115 Defined to 1 if __x86_64__ isn't defined.
19116 (_STAT_VER_LINUX_OLD): New.
19117 (st_atime): Remove duplicate.
19118 (st_mtime): Likewise.
19119 (st_ctime): Likewise.
19121 2012-05-31 David S. Miller <davem@davemloft.net>
19123 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19126 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19128 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19132 * elf/dl-reloc.c: Include <_itoa.h>.
19133 (_dl_reloc_bad_type): Remove use of INTUSE.
19134 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19135 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19136 * stdio-common/psiginfo.c (psiginfo): Likewise.
19137 * stdio-common/psignal.c (psignal): Likewise.
19138 * string/strsignal.c (strsignal): Likewise.
19139 * include/signal.h (_sys_siglist): Declare hidden proto.
19140 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19141 INTVARDEF with libc_hidden_data_def.
19142 * stdio-common/itoa-udigits.c: Likewise.
19143 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19144 (_itoa_lower_digits_internal): Remove declaration.
19145 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19146 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19147 (_sys_sigabbrev_internal): Remove aliases.
19148 (_sys_siglist): Define hidden alias.
19150 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19155 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19158 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19159 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19161 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19162 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19163 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19164 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19166 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19168 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19169 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19170 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19180 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19181 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19182 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19184 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19185 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19186 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19187 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19188 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19189 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19191 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19192 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19194 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19195 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19199 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19201 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19202 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19204 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19206 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19207 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19208 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19210 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19212 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19214 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19216 * math/math.h (M_El): Use two more decimal places.
19217 (M_LOG2El): Likewise.
19218 (M_LOG10El): Likewise.
19219 (M_LN2l): Likewise.
19220 (M_LN10l): Likewise.
19222 (M_PI_2l): Likewise.
19223 (M_PI_4l): Likewise.
19224 (M_1_PIl): Likewise.
19225 (M_2_PIl): Likewise.
19226 (M_2_SQRTPIl): Likewise.
19227 (M_SQRT2l): Likewise.
19228 (M_SQRT1_2l): Likewise.
19230 2012-05-31 David S. Miller <davem@davemloft.net>
19232 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19233 values between float registers.
19234 * sysdeps/sparc/sparc64/memset.S: Likewise.
19235 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19237 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19239 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19240 -D_FORTIFY_SOURCE=1.
19241 (CPPFLAGS-tst-longjmp_chk.c): Define.
19242 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19243 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19244 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19245 CFLAGS-tst-wchar-h.c.
19247 2012-05-31 Marek Polacek <polacek@redhat.com>
19250 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19251 __endmntent_internal): Remove declaration.
19252 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19253 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19254 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19256 2012-05-30 David S. Miller <davem@davemloft.net>
19258 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19259 (___Q_simulate_exceptions): Use real FP ops rather than writing
19261 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19264 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19267 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19268 * sysdeps/x86/bits/xtitypes.h: This.
19270 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19271 * sysdeps/x86/bits/wordsize.h: This.
19273 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19274 * sysdeps/x86/bits/huge_vall.h: This.
19276 * sysdeps/i386/bits/select.h: Removed.
19277 * sysdeps/x86_64/bits/select.h: Renamed to ...
19278 * sysdeps/x86/bits/select.h: This.
19280 * sysdeps/i386/bits/setjmp.h: Removed.
19281 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19282 * sysdeps/x86/bits/setjmp.h: This.
19284 * sysdeps/i386/bits/mathdef.h: Removed.
19285 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19286 * sysdeps/x86/bits/mathdef.h: This.
19288 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19291 * include/sys/socket.h (__connect_internal)
19292 (__libc_sa_len_internal): Remove declaration.
19293 (__connect, __libc_sa_len): Declare hidden_proto.
19294 (SA_LEN): Remove use of INTUSE.
19295 * socket/connect.c: Add libc_hidden_def.
19296 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19297 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19298 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19300 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19301 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19302 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19303 of adding _internal alias.
19305 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19308 * sysdeps/i386/bits/link.h: Removed.
19309 * sysdeps/i386/bits/linkmap.h: Likewise.
19310 * sysdeps/x86_64/bits/link.h: Renamed to ...
19311 * sysdeps/x86/bits/link.h: This.
19312 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19313 * sysdeps/x86/bits/linkmap.h: This.
19315 * sysdeps/i386/bits/endian.h: Removed.
19316 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19317 * sysdeps/x86/bits/endian.h: This.
19319 * sysdeps/i386/bits/byteswap.h: Removed.
19320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19321 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19322 * sysdeps/x86/bits/byteswap.h: This.
19323 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19324 * sysdeps/x86/bits/byteswap-16.h: This.
19325 * sysdeps/i386/Implies: Add x86.
19326 * sysdeps/x86_64/Implies: Likewise.
19328 2012-05-30 David S. Miller <davem@davemloft.net>
19330 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19331 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19333 (FP_TRAPPING_EXCEPTIONS): Define.
19334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19335 (FP_TRAPPING_EXCEPTIONS): Define.
19336 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19337 subnormals only when inexact has been signalled or underflow
19338 exceptions are enabled.
19339 (_FP_PACK_CANONICAL): Likewise.
19341 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19345 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19347 2012-05-30 Richard Henderson <rth@twiddle.net>
19349 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19350 with #ifndef NOT_IN_libc.
19352 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19353 marked to avoid plt entry.
19355 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19358 * Makeconfig (default-abi): New macro.
19359 (abi-includes): Likewise.
19360 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19361 $(abi-$(default-abi)-lib-soname) for soname if defined.
19362 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19364 * Makefile (installed-stubs): Likewise.
19365 * include/stubs-biarch.h: Removed.
19366 * scripts/lib-names.awk: Only handle one library at a time.
19367 * scripts/soversions.awk: Remove WORDSIZE support.
19368 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19372 (syscall-list-default-condition): Likewise.
19373 (syscall-list-default-condition): Likewise.
19374 (syscall-list-includes): Likewise.
19375 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19376 syscall-list-* with abi-*. Handle undefined abi-variants.
19377 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19378 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19379 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19380 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19382 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19384 (syscall-list-32-options): Likewise.
19385 (syscall-list-32-condition): Likewise.
19386 (syscall-list-64-options): Likewise.
19387 (syscall-list-64-condition): Likewise.
19388 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19390 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19393 (abi-64-ld-soname): New macro.
19394 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19395 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19398 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19399 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19401 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19403 * sysdeps/unix/sysv/linux/kernel-features.h
19404 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19405 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19406 include <kernel-features.h>.
19407 [!__NR_ftruncate64]: Remove conditional code.
19408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19409 [__NR_ftruncate64]: Make code unconditional.
19410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19411 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19412 include <kernel-features.h>.
19413 [!__NR_ftruncate64]: Remove conditional code.
19414 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19415 [__NR_ftruncate64]: Make code unconditional.
19416 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19418 include <kernel-features.h>.
19419 [!__NR_ftruncate64]: Remove conditional code.
19420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19421 [__NR_ftruncate64]: Make code unconditional.
19422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19424 include <kernel-features.h>.
19425 [!__NR_ftruncate64]: Remove conditional code.
19426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19427 [__NR_ftruncate64]: Make code unconditional.
19428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19430 * configure.in (libc_cv_fpie): Weaken to a compile test using
19431 LIBC_TRY_CC_OPTION.
19432 * configure: Regenerated.
19434 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19449 2012-05-27 David S. Miller <davem@davemloft.net>
19451 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19453 (__Q_simulate_exceptions): Return void. Change to simulate
19454 exceptions by writing into the %fsr.
19455 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19456 (__Qp_handle_exceptions): Likewise.
19458 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19459 __Qp_handle_exceptions.
19460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19461 __Qp_handle_exceptions.
19462 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19463 as unused and give dummy FP_RND_NEAREST initializer.
19464 (FP_INHIBIT_RESULTS): Define.
19465 (___Q_simulate_exceptions): Update declaration.
19466 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19468 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19469 as unused and give dummy FP_RND_NEAREST initializer.
19470 (__Qp_handle_exceptions): Update declaration.
19471 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19474 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19476 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19477 the temporary FPU control word.
19478 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19479 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19481 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19482 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19483 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19484 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19485 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19486 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19487 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19488 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19490 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19492 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19495 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19497 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19498 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19499 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19500 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19502 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19503 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19506 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19508 * po/h.po: Update from translation team.
19510 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19512 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19514 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19515 handling of denormals.
19516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19517 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19518 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19521 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19525 2012-05-26 Marek Polacek <polacek@redhat.com>
19528 * math/libm-test.inc (fma_test): Don't always expect underflow
19531 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19534 * elf/tst-execstack.c: Include stackinfo.h.
19535 (do_test): Adjust test case to ensure that pthread_getattr_np
19536 behaviour remains the same after marking stack executable.
19538 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19540 * sysdeps/unix/sysv/linux/kernel-features.h
19541 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19542 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19544 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19545 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19546 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19548 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19549 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19551 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19553 * configure.in: Define the default includes to being none.
19554 * configure: Regenerated.
19556 2012-05-25 Roland McGrath <roland@hack.frob.com>
19558 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19559 * sysdeps/x86_64/setjmp.S: Likewise.
19560 * sysdeps/i386/bsd-setjmp.S: Likewise.
19561 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19562 * sysdeps/i386/setjmp.S: Likewise.
19563 * sysdeps/i386/__longjmp.S: Likewise.
19564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19565 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19567 * include/stap-probe.h: New file.
19568 * configure.in: Handle --enable-systemtap.
19569 * configure: Regenerated.
19570 * config.h.in (USE_STAP_PROBE): New #undef.
19571 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19572 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19573 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19575 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19579 to 2.4.0 where earlier.
19580 * sysdeps/unix/sysv/linux/configure: Regenerated.
19581 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19582 <kernel-features.h>.
19583 [__ASSUME_32BITUIDS]: Make code unconditional.
19584 [!__ASSUME_32BITUIDS]: Remove conditional code.
19585 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19586 <kernel-features.h>.
19587 [__ASSUME_32BITUIDS]: Make code unconditional.
19588 [!__ASSUME_32BITUIDS]: Remove conditional code.
19589 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19590 [__ASSUME_32BITUIDS]: Make code unconditional.
19591 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19592 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19593 <kernel-features.h>.
19594 [__ASSUME_32BITUIDS]: Make code unconditional.
19595 [!__ASSUME_32BITUIDS]: Remove conditional code.
19596 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19597 <kernel-features.h>.
19598 [__ASSUME_32BITUIDS]: Make code unconditional.
19599 [!__ASSUME_32BITUIDS]: Remove conditional code.
19600 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19601 <kernel-features.h>.
19602 [__ASSUME_32BITUIDS]: Make code unconditional.
19603 [!__ASSUME_32BITUIDS]: Remove conditional code.
19604 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19605 <kernel-features.h>.
19606 [__ASSUME_32BITUIDS]: Make code unconditional.
19607 [!__ASSUME_32BITUIDS]: Remove conditional code.
19608 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19609 <kernel-features.h>.
19610 [__ASSUME_32BITUIDS]: Make code unconditional.
19611 [!__ASSUME_32BITUIDS]: Remove conditional code.
19612 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19613 <kernel-features.h>.
19614 [__ASSUME_32BITUIDS]: Make code unconditional.
19615 [!__ASSUME_32BITUIDS]: Remove conditional code.
19616 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19617 <kernel-features.h>.
19618 [__ASSUME_32BITUIDS]: Make code unconditional.
19619 [!__ASSUME_32BITUIDS]: Remove conditional code.
19620 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19621 <kernel-features.h>.
19622 [__ASSUME_32BITUIDS]: Make code unconditional.
19623 [!__ASSUME_32BITUIDS]: Remove conditional code.
19624 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19625 <kernel-features.h>.
19626 [__ASSUME_32BITUIDS]: Make code unconditional.
19627 [!__ASSUME_32BITUIDS]: Remove conditional code.
19628 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19629 <kernel-features.h>.
19630 [__ASSUME_32BITUIDS]: Make code unconditional.
19631 [!__ASSUME_32BITUIDS]: Remove conditional code.
19632 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19633 <kernel-features.h>.
19634 [__NR_setresgid] (__setresgid): Do not declare.
19635 [__ASSUME_32BITUIDS]: Make code unconditional.
19636 [!__ASSUME_32BITUIDS]: Remove conditional code.
19637 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19638 <kernel-features.h>.
19639 [__NR_setresuid] (__setresuid): Do not declare.
19640 [__ASSUME_32BITUIDS]: Make code unconditional.
19641 [!__ASSUME_32BITUIDS]: Remove conditional code.
19642 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19643 <kernel-features.h>.
19644 [__ASSUME_32BITUIDS]: Make code unconditional.
19645 [!__ASSUME_32BITUIDS]: Remove conditional code.
19646 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19647 <kernel-features.h>.
19648 [__ASSUME_32BITUIDS]: Make code unconditional.
19649 [!__ASSUME_32BITUIDS]: Remove conditional code.
19650 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19651 <kernel-features.h>.
19652 [__ASSUME_32BITUIDS]: Make code unconditional.
19653 [!__ASSUME_32BITUIDS]: Remove conditional code.
19654 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19655 <kernel-features.h>.
19656 [__ASSUME_32BITUIDS]: Make code unconditional.
19657 [!__ASSUME_32BITUIDS]: Remove conditional code.
19658 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19659 <kernel-features.h>.
19660 [__ASSUME_32BITUIDS]: Make code unconditional.
19661 [!__ASSUME_32BITUIDS]: Remove conditional code.
19662 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19663 <kernel-features.h>.
19664 [__ASSUME_32BITUIDS]: Make code unconditional.
19665 [!__ASSUME_32BITUIDS]: Remove conditional code.
19666 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19667 <kernel-features.h>.
19668 [__ASSUME_32BITUIDS]: Make code unconditional.
19669 [!__ASSUME_32BITUIDS]: Remove conditional code.
19670 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19671 <kernel-features.h>.
19672 [__ASSUME_32BITUIDS]: Make code unconditional.
19673 [!__ASSUME_32BITUIDS]: Remove conditional code.
19674 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19675 <kernel-features.h>.
19676 [__ASSUME_32BITUIDS]: Make code unconditional.
19677 [!__ASSUME_32BITUIDS]: Remove conditional code.
19678 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19679 <kernel-features.h>.
19680 [__ASSUME_32BITUIDS]: Make code unconditional.
19681 [!__ASSUME_32BITUIDS]: Remove conditional code.
19682 * sysdeps/unix/sysv/linux/kernel-features.h
19683 (__ASSUME_SETRESUID_SYSCALL): Remove.
19684 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19685 (__ASSUME_32BITUIDS): Likewise.
19686 (__ASSUME_LDT_WORKS): Likewise.
19687 (__ASSUME_O_DIRECTORY): Likewise.
19688 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19689 architecture but not kernel version.
19690 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19691 (__ASSUME_MMAP2_SYSCALL): Likewise.
19692 (__ASSUME_STAT64_SYSCALL): Likewise.
19693 (__ASSUME_IPC64): Likewise.
19694 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19695 <kernel-features.h>.
19696 [__ASSUME_32BITUIDS]: Make code unconditional.
19697 [!__ASSUME_32BITUIDS]: Remove conditional code.
19698 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19699 <kernel-features.h>.
19700 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19701 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19702 132096]: Remove conditional code.
19703 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19704 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
19709 <kernel-features.h>.
19710 [__ASSUME_32BITUIDS]: Make code unconditional.
19711 [!__ASSUME_32BITUIDS]: Remove conditional code.
19712 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19713 <kernel-features.h>.
19714 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19716 (__setresgid): Do not declare.
19717 [__ASSUME_32BITUIDS]: Make code unconditional.
19718 [!__ASSUME_32BITUIDS]: Remove conditional code.
19719 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19720 <kernel-features.h>.
19721 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19723 (__setresuid): Do not declare.
19724 [__ASSUME_32BITUIDS]: Make code unconditional.
19725 [!__ASSUME_32BITUIDS]: Remove conditional code.
19726 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19727 <kernel-features.h>.
19728 [__ASSUME_32BITUIDS]: Make code unconditional.
19729 [!__ASSUME_32BITUIDS]: Remove conditional code.
19730 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19731 <kernel-features.h>.
19732 [__ASSUME_32BITUIDS]: Make code unconditional.
19733 [!__ASSUME_32BITUIDS]: Remove conditional code.
19735 2012-05-25 Richard Henderson <rth@twiddle.net>
19737 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19738 dl_hwcap to ifunc resolver.
19739 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19741 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19742 dl_hwcap to ifunc resolver.
19743 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19745 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19748 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19749 for |x| <= 2**-26, not 2**-57.
19750 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19753 2012-05-24 Jeff Law <law@redhat.com>
19755 * stdio-common/Makefile (tests): Add bug25.
19756 * stdio-common/bug25.c: New test.
19758 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19761 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19762 multiple of MALLOC_ALIGNMENT in size.
19763 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19765 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19767 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19769 (FILENAME_MAX): Use macro-int-constant.
19770 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19771 (_IOFBF): Use macro-int-constant.
19772 (_IOLBF): Likewise.
19773 (_IONBF): Likewise.
19774 (SEEK_CUR): Likewise.
19775 (SEEK_END): Likewise.
19776 (SEEK_SET): Likewise.
19777 (TMP_MAX): Likewise.
19778 (EOF): Use macro-int-constant. Require < 0.
19779 (NULL): Use macro-constant. Require == 0.
19780 (stdin): Require type to be FILE *.
19781 (stdout): Likewise.
19782 (stderr): Likewise.
19783 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19784 macro-int-constant.
19785 (EXIT_SUCCESS): Likewise.
19786 (NULL): Use macro-constant. Require == 0.
19787 (RAND_MAX): Use macro-int-constant.
19788 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19789 [C99-based standards] (strtof): Require function.
19790 [C99-based standards] (strtold): Likewise.
19791 [C99-based standards] (strtoll): Likewise.
19792 [C99-based standards] (strtoull): Likewise.
19793 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19794 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19795 [ISO || ISO99 || ISO11] (math.h): Likewise.
19796 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19797 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19800 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19803 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19804 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19805 * intl/dgettext.c (DCGETTEXT): Likewise.
19806 * intl/gettext.c (DCGETTEXT): Likewise.
19807 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19808 * posix/regex_internal.h (gettext): Likewise.
19809 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19810 Remove declaration.
19811 * include/argz.h (__argz_count_internal)
19812 (__argz_stringify_internal): Remove declaration.
19813 (__argz_count, __argz_stringify): Declare hidden proto.
19814 * intl/dcgettext.c: Remove use of INTDEF.
19815 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19816 * string/argz-stringify.c: Likewise.
19817 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19818 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19819 Declare hidden proto.
19820 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19821 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19822 Declare hidden proto.
19823 * include/stdio.h (__asprintf_internal): Don't declare.
19824 (__asprintf): Don't define as macro. Declare hidden proto.
19825 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19826 (__fsetlocking): Declare hidden proto.
19827 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19828 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19830 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19831 (_IO_setlinebuf): Remove use of INTUSE.
19832 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19833 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19834 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19835 Remove declaration.
19836 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19837 (_IO_do_flush): Remove use of INTUSE.
19838 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19839 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19840 (_IO_adjust_column, _IO_least_wmarker)
19841 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19842 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19843 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19844 (_IO_default_doallocate, _IO_wdefault_doallocate)
19845 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19846 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19847 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19848 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19849 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19850 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19851 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19852 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19853 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19854 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19855 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19856 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19857 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19859 (_IO_flush_all_internal, _IO_adjust_column_internal)
19860 (_IO_default_uflow_internal, _IO_default_finish_internal)
19861 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19862 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19863 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19864 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19865 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19866 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19867 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19868 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19869 (_IO_file_close_internal, _IO_file_close_it_internal)
19870 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19871 (_IO_file_init_internal, _IO_file_attach_internal)
19872 (_IO_file_fopen_internal, _IO_file_read_internal)
19873 (_IO_file_sync_internal, _IO_file_seek_internal)
19874 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19875 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19876 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19877 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19878 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19879 (_IO_list_all_internal, _IO_link_in_internal)
19880 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19881 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19882 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19883 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19884 (_IO_do_write_internal, _IO_padn_internal)
19885 (_IO_getline_info_internal, _IO_getline_internal)
19886 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19887 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19888 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19889 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19890 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19891 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19892 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19893 with libc_hidden_ver, remove use of INTUSE.
19894 * libio/genops.c: Likewise.
19895 * libio/freopen.c: Likewise.
19896 * libio/freopen64.c: Likewise.
19897 * libio/iofclose.c: Likewise.
19898 * libio/iofdopen.c: Likewise.
19899 * libio/iofflush.c: Likewise.
19900 * libio/iofflush_u.c: Likewise.
19901 * libio/iofgets.c: Likewise.
19902 * libio/iofgets_u.c: Likewise.
19903 * libio/iofopen.c: Likewise.
19904 * libio/iofopncook.c: Likewise.
19905 * libio/iofread.c: Likewise.
19906 * libio/iofread_u.c: Likewise.
19907 * libio/ioftell.c: Likewise.
19908 * libio/iofwrite.c: Likewise.
19909 * libio/iogetline.c: Likewise.
19910 * libio/iogets.c: Likewise.
19911 * libio/iogetwline.c: Likewise.
19912 * libio/iopadn.c: Likewise.
19913 * libio/iopopen.c: Likewise.
19914 * libio/ioseekoff.c: Likewise.
19915 * libio/ioseekpos.c: Likewise.
19916 * libio/iosetbuffer.c: Likewise.
19917 * libio/iosetvbuf.c: Likewise.
19918 * libio/ioungetc.c: Likewise.
19919 * libio/ioungetwc.c: Likewise.
19920 * libio/iovdprintf.c: Likewise.
19921 * libio/iovsprintf.c: Likewise.
19922 * libio/iovsscanf.c: Likewise.
19923 * libio/memstream.c: Likewise.
19924 * libio/obprintf.c: Likewise.
19925 * libio/oldfileops.c: Likewise.
19926 * libio/oldiofclose.c: Likewise.
19927 * libio/oldiofdopen.c: Likewise.
19928 * libio/oldiofopen.c: Likewise.
19929 * libio/oldiopopen.c: Likewise.
19930 * libio/oldstdfiles.c: Likewise.
19931 * libio/putc.c: Likewise.
19932 * libio/setbuf.c: Likewise.
19933 * libio/setlinebuf.c: Likewise.
19934 * libio/stdfiles.c: Likewise.
19935 * libio/strops.c: Likewise.
19936 * libio/vasprintf.c: Likewise.
19937 * libio/vscanf.c: Likewise.
19938 * libio/vsnprintf.c: Likewise.
19939 * libio/vswprintf.c: Likewise.
19940 * libio/wfiledoalloc.c: Likewise.
19941 * libio/wfileops.c: Likewise.
19942 * libio/wgenops.c: Likewise.
19943 * libio/wmemstream.c: Likewise.
19944 * libio/wstrops.c: Likewise.
19945 * libio/__fpurge.c: Likewise.
19946 * libio/__fsetlocking.c: Likewise.
19947 * assert/assert.c: Likewise.
19948 * debug/fgets_chk.c: Likewise.
19949 * debug/fgets_u_chk.c: Likewise.
19950 * debug/fread_chk.c: Likewise.
19951 * debug/fread_u_chk.c: Likewise.
19952 * debug/gets_chk.c: Likewise.
19953 * debug/obprintf_chk.c: Likewise.
19954 * debug/vasprintf_chk.c: Likewise.
19955 * debug/vdprintf_chk.c: Likewise.
19956 * debug/vsnprintf_chk.c: Likewise.
19957 * debug/vsprintf_chk.c: Likewise.
19958 * malloc/mtrace.c: Likewise.
19959 * misc/error.c: Likewise.
19960 * misc/syslog.c: Likewise.
19961 * stdio-common/asprintf.c: Likewise.
19962 * stdio-common/fxprintf.c: Likewise.
19963 * stdio-common/getw.c: Likewise.
19964 * stdio-common/isoc99_fscanf.c: Likewise.
19965 * stdio-common/isoc99_scanf.c: Likewise.
19966 * stdio-common/isoc99_vfscanf.c: Likewise.
19967 * stdio-common/isoc99_vscanf.c: Likewise.
19968 * stdio-common/isoc99_vsscanf.c: Likewise.
19969 * stdio-common/printf-prs.c: Likewise.
19970 * stdio-common/printf_fp.c: Likewise.
19971 * stdio-common/printf_fphex.c: Likewise.
19972 * stdio-common/printf_size.c: Likewise.
19973 * stdio-common/putw.c: Likewise.
19974 * stdio-common/scanf.c: Likewise.
19975 * stdio-common/sprintf.c: Likewise.
19976 * stdio-common/tmpfile.c: Likewise.
19977 * stdio-common/vfprintf.c: Likewise.
19978 * stdio-common/vfscanf.c: Likewise.
19979 * stdlib/strfmon_l.c: Likewise.
19980 * sunrpc/openchild.c: Likewise.
19981 * sunrpc/xdr_stdio.c: Likewise.
19982 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19983 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19985 2012-05-24 Roland McGrath <roland@hack.frob.com>
19987 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19989 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19990 in the third column, to generate for the shared library an IFUNC
19991 that uses _dl_vdso_vsym.
19992 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19993 * Makeconfig (object-suffixes-noshared): New variable.
19995 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19996 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19997 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19998 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20001 * include/sys/time.h (__gettimeofday): Remove macro.
20002 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20003 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20005 (__gettimeofday): Add libc_hidden_def.
20006 (gettimeofday): Add libc_hidden_weak.
20007 * sysdeps/mach/gettimeofday.c: Likewise.
20008 * sysdeps/posix/gettimeofday.c: Likewise.
20009 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20010 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20012 (__gettimeofday_internal): Remove strong_alias.
20013 (__gettimeofday): Add libc_hidden_def.
20014 (gettimeofday): Add libc_hidden_weak.
20015 * sysdeps/unix/syscalls.list (gettimeofday):
20016 Remove __gettimeofday_internal alias.
20018 2012-05-24 Daniel Jacobowitz <drow@false.org>
20019 H.J. Lu <hongjiu.lu@intel.com>
20022 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20023 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20024 (largebin_index_32_big): New.
20025 (largebin_index): Use it for 16-byte alignment.
20026 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20027 correction with front_misalign.
20029 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20057 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20058 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20060 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20064 * math/libm-test.inc (exp_test): Add test from bug 14036.
20065 (pow_test): Add test from bug 10846.
20067 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20069 (special_function): Do not include flags in test name.
20070 (parse_args): Likewise.
20071 * sysdeps/i386/fpu/libm-test-ulps: Update.
20072 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20073 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20077 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20079 * math/libm-test.inc ("Philosophy"): Update comment about
20081 (UNDERFLOW_EXCEPTION): New macro.
20082 (UNDERFLOW_EXCEPTION_OK): Likewise.
20083 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20084 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20085 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20086 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20087 (INVALID_EXCEPTION_OK): Update value.
20088 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20089 (OVERFLOW_EXCEPTION_OK): Likewise.
20090 (IGNORE_ZERO_INF_SIGN): Likewise.
20091 (test_exceptions): Handle underflow exceptions.
20092 (acos_test): Update for underflow exception expectations.
20093 (cexp_test): Likewise.
20094 (clog_test): Likewise.
20095 (clog10_test): Likewise.
20096 (csqrt_test): Likewise.
20097 (ctan_test): Likewise.
20098 (ctanh_test): Likewise.
20099 (exp_test): Likewise.
20100 (exp10_test): Likewise.
20101 (exp2_test): Likewise.
20102 (expm1_test): Likewise.
20103 (fma_test): Likewise.
20104 (j0_test): Likewise.
20105 (jn_test): Likewise.
20106 (nexttoward_test): Likewise.
20107 (pow_test): Likewise.
20108 (scalbn_test): Likewise.
20109 (scalbln_test): Likewise.
20110 (tan_test): Likewise.
20111 (y1_test): Likewise.
20112 * sysdeps/i386/fpu/libm-test-ulps: Update.
20113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115 2012-05-23 David S. Miller <davem@davemloft.net>
20117 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20118 (__libc_sigaction): Remove unused local variables.
20120 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20122 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20124 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20126 mktime: avoid signed integer overflow
20127 * time/mktime.c (__mktime_internal): Do not mishandle the case
20128 where diff == INT_MIN.
20130 mktime: simplify computation of average
20131 * time/mktime.c (ranged_convert): Use new time_t_avg function
20132 instead of rolling our own (probably-slower) code.
20134 mktime: do not assume signed right shift propagates sign bit
20135 * time/mktime.c (isdst_differ): New static function.
20136 (__mktime_internal): No need to normalize tm_isdst now.
20137 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20140 mktime: merge another wrapv change from gnulib
20141 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20142 from some compilers.
20144 mktime: remove incorrect attempt at unusual arithmetics
20145 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20146 The code didn't really work on such machines anyway.
20147 (TYPE_MINIMUM): Assume two's complement.
20148 (twos_complement_arithmetic): Verify that long_int and time_t
20149 are two's complement (or unsigned, in the latter case).
20151 mktime: check signed shifts on long_int and time_t, too
20152 * time/mktime.c (SHR): Check that shifts work as desired
20153 on the types long_int and time_t too, as SHR is used on
20156 mktime: do not assume 'long' is wide enough
20157 * time/mktime.c (verify): Move decl up.
20158 (long_int): New type.
20159 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20160 to remove assumption in the code that 'long' is wide enough to
20161 store year values. This assumption is not true on x32 and on
20162 some non-glibc platforms.
20164 mktime: merge wrapv change from gnulib
20165 * time/mktime.c (WRAPV): New macro.
20166 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20167 (guess_time_tm, __mktime_internal): Do not assume that signed
20168 integer overflow wraps around; modern compilers generate code
20169 where this assumption is no longer valid.
20171 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20173 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20174 Replace "jmp L(pseudo_end)" with "ret".
20175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20178 2012-05-23 Andreas Jaeger <aj@suse.de>
20180 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20181 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20183 2012-05-23 Andreas Jaeger <aj@suse.de>
20184 Maximilian Attems <max@stro.at>
20186 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20189 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20191 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20192 code so that pseudo_end is just ret and the stack pointer is
20193 correct also for static library in error case.
20195 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20197 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20198 move to syscalls.list.
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20204 * manual/install.texi (Running make install): Do not mention Linux
20205 kernel version for which pt_chown is not needed.
20206 (Linux): Do not mention problems with nscd with 2.0 kernels.
20207 * INSTALL: Regenerated.
20209 2012-05-23 Andreas Jaeger <aj@suse.de>
20211 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20212 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20214 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20215 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20216 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20217 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20218 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20219 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20221 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20222 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20223 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20224 * sysdeps/unix/sysv/linux/bits/in.h
20225 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20227 2012-05-22 Roland McGrath <roland@hack.frob.com>
20229 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20230 (PREPARE_VERSION): Just use assert instead, it will be elided
20231 under [NDEBUG] anyway.
20233 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20235 * sysdeps/unix/sysv/linux/Makefile: Include
20236 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20237 (sysdep_routines): Remove sysctl.
20238 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20239 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20240 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20241 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20242 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20244 2012-05-22 Andreas Jaeger <aj@suse.de>
20246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20247 that pseudo_end is just ret and the stack pointer is correct also
20248 for static library in error case.
20250 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20253 * nss/nsswitch.c (defconfig_entries): New variable.
20254 (__nss_database_lookup): Don't leak defconfig entries.
20255 (nss_parse_service_list): Don't leak on error paths.
20256 (free_database_entries): New function.
20257 (free_defconfig): New function.
20258 (free_mem): Move common code to free_database_entries.
20260 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20262 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20264 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20266 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20267 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20270 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20271 (INTERNAL_SYSCALL_TYPES): Likewise.
20272 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20273 (LOAD_REGS_TYPES_[1-6]): Likewise.
20274 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20275 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20277 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20280 copysignl for GLIBC_2_0.
20281 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20282 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20283 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20284 logbl for GLIBC_2_0.
20285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20286 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20288 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20291 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20293 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20296 * time/mktime.c: Update copyright years.
20298 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20300 mktime: merge comment-quoting-style change from gnulib
20301 * time/mktime.c: Quote 'like this' in comments.
20302 The GNU coding standards suggest that we no longer quote `like this',
20303 as "`" and "'" are typically rendered asymmetrically nowadays.
20304 The typical gnulib style is to quote 'like this' when quoting
20305 code, and "like this" when quoting English.
20307 * time/mktime.c (compile-command): Add "-I.".
20309 mktime: merge mktime-internal.h change from gnulib
20310 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20312 mktime: merge time_r change from gnulib
20313 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20315 mktime: merge DEBUG change from gnulib
20316 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20317 case system <time.h> has a #define.
20319 mktime: merge <sys/types.h> change from gnulib
20320 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20321 since <time.t> is now guaranteed to define time_t.
20323 mktime: merge HAVE_CONFIG_H change from gnulib
20324 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20326 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20331 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20333 (struct rusage): Use anonymous union to pad each field to
20336 2012-05-21 David S. Miller <davem@davemloft.net>
20338 * Makefules (o-iterator): Remove .s cases.
20339 (compile-command.s): Delete.
20340 (COMPILE.s): Delete.
20341 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20343 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20345 * configure.in (libc_cv_predef_stack_protector): Only consider
20346 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20347 * configure: Regenerated.
20349 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20352 New macro. Use R*LP on int and pointer.
20353 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20354 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20355 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20356 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20358 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20359 [__WORDSIZE_TIME64_COMPAT32] instead of
20360 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20361 (struct utmp): Likewise.
20362 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20363 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20365 (__WORDSIZE_TIME64_COMPAT32): This.
20366 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20367 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20368 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20369 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20370 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20371 (__WORDSIZE_TIME64_COMPAT32): New macro.
20373 2012-05-21 Andreas Jaeger <aj@suse.de>
20375 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20376 only if [SHARED]. Add prototype for __wcschr_ia32.
20378 2012-05-21 Roland McGrath <roland@hack.frob.com>
20380 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20381 of %rbp unmolested in the jmp_buf while mangling the low bits.
20382 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20383 unmolested high bits of %rbp while demangling the low bits.
20384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20386 2012-05-21 Andreas Jaeger <aj@suse.de>
20388 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20389 * sunrpc/svc_simple.c: Use it for registerrpc.
20390 * sunrpc/xcrypt.c: Use it for passwd2des.
20392 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20394 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20396 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20397 Don't define if [__SYSCALL_WORDSIZE != 32].
20398 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20401 2012-05-21 Bruno Haible <bruno@clisp.org>
20402 Andreas Jaeger <aj@suse.de>
20404 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20405 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20406 inptr and inend for must_buffer_ch.
20407 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20408 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20409 * stdio-common/Makefile (tests): Remove bug15.
20410 (bug15-ENV): Remove macro.
20411 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20414 2012-05-19 Andreas Jaeger <aj@suse.de>
20415 Roland McGrath <roland@hack.frob.com>
20417 * manual/contrib.texi: Completely rewritten. It contains now an
20418 alphabetical list of contributors and their contributions.
20420 2012-05-21 Richard Henderson <rth@twiddle.net>
20422 * misc/getauxval.c (__getauxval): Use unsigned long int.
20423 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20424 (getauxval): Use unsigned long int.
20426 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20428 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20430 2012-05-21 Roland McGrath <roland@hack.frob.com>
20432 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20433 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20434 __alignof__ (long double).
20436 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20440 2012-05-20 Richard Henderson <rth@twiddle.net>
20442 * misc/getauxval.c: New file.
20443 * misc/sys/auxv.h: New file.
20444 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20445 (routines): Add getauxval.
20446 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20447 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20448 * elf/dl-sysdep.c (_dl_auxv): Remove.
20449 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20450 * elf/dl-support.c (_dl_auxv): New variable.
20451 (_dl_aux_init): Initialize it.
20452 * manual/startup.texi (Auxiliary Vector): New node.
20453 * sysdeps/generic/bits/hwcap.h: New file.
20454 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20455 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20456 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20457 * sysdeps/sparc/sysdep.h: ... here. Include it.
20458 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20459 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20471 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20475 2012-05-19 David S. Miller <davem@davemloft.net>
20477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20479 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20482 * math/s_ccosh.c: Include <float.h>
20483 (__ccosh): Avoid internal overflow calculating sinh and cosh
20484 values before multiplying by sin and cos values.
20485 * math/s_ccoshf.c: Likewise.
20486 * math/s_ccoshl.c: Likewise.
20487 * math/s_csin.c: Likewise.
20488 * math/s_csinf.c: Likewise.
20489 * math/s_csinl.c: Likewise.
20490 * math/s_csinh.c: Likewise.
20491 * math/s_csinhf.c: Likewise.
20492 * math/s_csinhl.c: Likewise.
20493 * math/libm-test.inc (ccos_test): Add more tests.
20494 (ccosh_test): Likewise.
20495 (csin_test): Likewise.
20496 (csinh_test): Likewise.
20497 * sysdeps/i386/fpu/libm-test-ulps: Update.
20498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20502 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20503 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20505 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20507 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20509 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20510 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20511 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20512 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20513 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20514 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20515 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20516 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20517 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20518 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20519 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20520 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20521 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20522 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20523 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20524 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20525 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20526 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20527 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20528 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20529 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20530 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20531 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20532 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20533 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20534 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20535 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20536 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20537 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20538 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20539 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20541 2012-05-18 Andreas Jaeger <aj@suse.de>
20543 * csu/.gitignore: Delete.
20545 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20547 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20548 (timex): Use __syscall_slong_t.
20550 2012-05-18 Andreas Jaeger <aj@suse.de>
20551 Carlos O'Donell <carlos_odonell@mentor.com>
20553 * manual/install.texi (Configuring and compiling): Update
20554 description about files modified in the source directory.
20555 * INSTALL: Regenerated.
20557 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20559 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20560 value. Use "or" to set return value to -1.
20561 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20562 negate return value.
20564 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20566 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20567 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20568 failure if the compiler has Graphite support disabled.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20571 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20572 CFLAGS-memmove.c): Likewise.
20573 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20576 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20578 * sysdeps/x86_64/x32/_itoa.h: New file.
20580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20581 getdents system call only if kernel and user dirents have the
20582 same d_ino and d_off.
20584 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20585 LLONG_MAX != LONG_MAX.
20586 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20587 (_fitoa_word): Likewise.
20589 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20593 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20595 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20596 include <bits/wordsize.h>. Check __x86_64__ instead of
20598 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20599 if __x86_64__ is defined. Use anonymous union on fpstate.
20601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20604 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20606 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20607 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20608 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20609 Refer to _rtld_local_ro instead of _rtld_global_ro.
20610 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20612 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20614 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20616 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20617 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20618 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20620 * sysdeps/powerpc/powerpc32/dl-machine.c
20621 (__elf_machine_runtime_setup) [PROF]: Don't reference
20624 2012-05-18 Andreas Jaeger <aj@suse.de>
20626 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20627 function only available for GCCs before 3.4 since GCC 3.4
20628 introduced a builtin.
20630 (llrintf): Likewise.
20631 (llrint): Likewise.
20638 (nearbyint): Likewise.
20639 (nearbyintf): Likewise.
20643 (floorf): Likewise.
20645 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20647 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20648 on both fields and cast pointer to __syscall_ulong_t.
20650 * bits/types.h (__fsword_t): New type.
20651 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20652 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20654 (__FSWORD_T_TYPE): Likewise.
20655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20656 (__FSWORD_T_TYPE): Likewise.
20657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20658 (__FSWORD_T_TYPE): Likewise.
20659 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20660 (__FSWORD_T_TYPE): Likewise.
20661 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20662 __SWORD_TYPE with __fsword_t.
20663 (statfs64): Likewise.
20665 2012-05-17 David S. Miller <davem@davemloft.net>
20667 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20669 2012-05-17 Andreas Jaeger <aj@suse.de>
20671 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20674 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20676 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20678 2012-05-17 Andreas Jaeger <aj@suse.de>
20680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20683 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20685 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20687 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20689 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20690 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20692 2012-05-17 Andreas Jaeger <aj@suse.de>
20693 Carlos O'Donell <carlos_odonell@mentor.com>
20696 * sysdeps/x86_64/multiarch/init-arch.h
20697 (bit_YMM_Usable): Rename to...
20698 (bit_AVX_Usable): ... this.
20699 (bit_FMA4_Usable): New macro.
20700 (bit_XMM_state): New macro.
20701 (bit_YMM_state): New macro.
20702 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20703 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20704 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20705 (CPUID_OSXSAVE): New macro.
20706 (CPUID_AVX): New macro.
20707 (CPUID_FMA4): New macro.
20708 (index_YMM_Usable): Rename to...
20709 (index_AVX_Usable): ... this.
20710 (HAS_AVX): Use HAS_ARCH_FEATURE.
20711 (HAS_FMA4): Likewise.
20712 (HAS_YMM_USABLE): Remove.
20713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20714 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20716 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20717 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20718 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20719 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20720 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20722 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20724 * math/libm-test.c: Support platforms without multiple rounding modes.
20725 * math/bug-nextafter.c: Support platforms without FP exceptions.
20726 * math/bug-nexttoward.c: Likewise.
20727 * math/test-fenv.c: Likewise.
20728 * math/test-misc.c: Likewise.
20729 * stdlib/bug-getcontext.c: Likewise.
20731 2012-05-17 Andreas Jaeger <aj@suse.de>
20733 * manual/examples/search.c (critter_cmp): Change signature to
20735 * manual/string.texi (Collation Functions): Likewise.
20737 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20739 * bits/types.h: Fold copyright years.
20740 * bits/typesizes.h: Likewise.
20741 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20743 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20745 * time/time.h: Likewise.
20747 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20750 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20751 in instead of returning them. Return void.
20752 (__libc_mallinfo): Accumulate over all arenas.
20753 (__malloc_stats): Adjust for change in int_mallinfo interface.
20755 2012-05-16 Roland McGrath <roland@hack.frob.com>
20758 * configure.in (NM): Add AC_CHECK_TOOL for it.
20759 (libc_extra_cflags): New substituted variable.
20760 Check for -fstack-protector being used implicitly.
20761 * configure: Regenerated.
20762 * config.make.in (config-extra-cflags): New variable,
20763 gets @libc_extra_cflags@.
20764 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20767 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20768 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20769 * configure: Regenerated.
20770 * config.make.in (CPPUNDEFS): New substituted variable.
20771 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20772 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20773 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20775 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20777 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20778 (mq_attr): Use __syscall_slong_t.
20780 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20782 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20783 Check __x86_64__ instead of __WORDSIZE.
20784 (_STAT_VER_LINUX): Likewise.
20785 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20786 __syscall_ulong_t and __syscall_slong_t.
20787 (stat64): Likewise.
20789 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20793 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20795 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20799 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20802 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20803 include <bits/wordsize.h>. Check __x86_64__ instead of
20805 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20807 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20809 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20810 include <bits/wordsize.h>. Check __x86_64__ instead of
20812 (user_regs_struct): Use "__extension__ unsigned long long"
20813 instead of "unsigned long" if __x86_64__ is defined.
20814 (user): Likewise. Pad after pointer field if __ILP32__ is
20817 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20819 * configure.in (makeinfo): Require version 4.5 or later. Allow
20821 * configure: Regenerated.
20822 * manual/install.texi (texinfo): Increase version requirement to
20824 * INSTALL: Regenerated.
20826 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20828 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20830 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20832 * sysdeps/x86_64/x32/ffs.c: New file.
20834 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20836 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20837 defined. Use __syscall_ulong_t.
20838 (shminfo): Use __syscall_ulong_t.
20839 (shm_info): Likewise.
20841 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20844 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20846 (msgqnum_t): Use __syscall_ulong_t.
20847 (msglen_t): Likewise.
20848 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20851 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20852 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20854 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20856 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20857 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20859 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20862 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20863 include <bits/wordsize.h>. Check __x86_64__ instead of
20866 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20867 "unsigned long long int" if __x86_64__ is defined.
20868 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20871 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20872 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20874 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20876 (GET_PC): Cast to uintptr_t first.
20877 (GET_FRAME): Likewise.
20878 (GET_STACK): Likewise.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20881 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20882 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20885 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20887 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20889 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20892 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20894 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20895 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20897 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20898 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20900 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20901 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20902 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20903 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20905 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20906 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20907 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20908 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20910 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20912 * Makerules (+depfiles): Also collect depfiles from .oS in
20914 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20915 .oS, $(libnldbl-routines)).
20917 * Makerules (native-compile-mkdep-flags): Define.
20918 * sunrpc/Makefile (extra-objs): Add $(addprefix
20919 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20920 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20921 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20922 calling $(make-target-directory).
20924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20926 * bits/types.h (__snseconds_t): Removed.
20927 * time/time.h (struct timespec): Replace __snseconds_t with
20929 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20930 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20933 (__SNSECONDS_T_TYPE): Likewise.
20934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20935 (__SNSECONDS_T_TYPE): Likewise.
20936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20937 (__SNSECONDS_T_TYPE): Likewise.
20939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/mach/hurd/bits/typesizes.h
20942 (__SYSCALL_SLONG_TYPE): New macro.
20943 (__SYSCALL_ULONG_TYPE): Likewise.
20945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20947 * bits/types.h (__syscall_slong_t): New type.
20948 (__syscall_ulong_t): Likewise.
20950 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20951 (__SYSCALL_ULONG_TYPE): Likewise.
20952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20953 (__SYSCALL_SLONG_TYPE): Likewise.
20954 (__SYSCALL_ULONG_TYPE): Likewise.
20955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20956 (__SYSCALL_SLONG_TYPE): Likewise.
20957 (__SYSCALL_ULONG_TYPE): Likewise.
20958 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20959 (__SYSCALL_SLONG_TYPE): Likewise.
20960 (__SYSCALL_ULONG_TYPE): Likewise.
20962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20964 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20965 Add sigaltstack-offsets.sym.
20966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20967 <sigaltstack-offsets.h>.
20968 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20969 longjmp_msg pointer.
20970 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20971 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20973 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20975 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20977 * elf/stackguard-macros.h: Remove file.
20978 * sysdeps/generic/stackguard-macros.h: New file.
20979 * sysdeps/i386/stackguard-macros.h: Likewise.
20980 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20981 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20982 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20983 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20984 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20985 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20986 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20987 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20988 <elf/stackguard-macros.h>.
20991 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20992 __aligned__ in attribute.
20993 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20994 (gregset_t): Likewise.
20996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20998 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20999 * sysdeps/x86_64/64/Implies-after: Here. New file.
21000 * sysdeps/x86_64/x32/Implies-after: New file.
21002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21004 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21005 and access return value for _dl_profile_fixup. Use R10_LP to
21008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21010 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21012 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21014 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21015 * sysdeps/x86_64/x32/sysdep.h: New file.
21017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21019 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21020 * sysdeps/x86_64/setjmp.S: Likewise.
21022 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21024 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21026 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21027 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21028 remove unused global constant.
21030 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21032 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21033 include of <not-cancel.h>.
21035 2012-05-15 Roland McGrath <roland@hack.frob.com>
21037 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21039 2012-05-15 Jeff Law <law@redhat.com>
21040 Andreas Jaeger <aj@suse.de>
21043 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21045 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21046 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21048 code changing __hst_map_handle.map.
21050 2012-05-15 Roland McGrath <roland@hack.frob.com>
21052 * configure.in (sysnames): Look for Implies-before and Implies-after
21054 * configure: Regenerated.
21056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21058 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21059 8-byte data alignment with LP_SIZE alignment.
21061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21063 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21068 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21072 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21073 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21074 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21076 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21080 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21081 (stackinfo_sub_sp): Likewise.
21083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21100 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21104 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21105 into R11_LP and load __x86_64_shared_cache_size_half into
21108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21110 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21113 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21115 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21119 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21121 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21122 powerpc32/power7/fpu/s_logb.c via #include.
21123 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21124 powerpc32/power7/fpu/s_logbf.c via #include.
21125 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21126 powerpc32/power7/fpu/s_logbl.c via #include.
21128 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21130 * README.libm: Remove file.
21132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21134 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21135 count for x32. Use R*_LP and omit operand-size suffix.
21137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21139 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21140 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21141 * sysdeps/x86_64/x32/shlib-versions: New file.
21143 2012-05-14 Roland McGrath <roland@hack.frob.com>
21145 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21146 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21147 Use _dl_fatal_printf instead.
21149 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21151 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21152 set if not set by the user. Do not allow for being unset.
21153 * sysdeps/unix/sysv/linux/configure: Regenerated.
21155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21157 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21158 the `q' suffix from lea and replace .quad with ASM_ADDR.
21160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21163 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21165 (PTR_DEMANGLE): Likewise.
21167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21169 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21171 (ASM_ADDR): Likewise.
21172 (RAX_LP): Likewise.
21173 (RBP_LP): Likewise.
21174 (RBX_LP): Likewise.
21175 (RCX_LP): Likewise.
21176 (RDI_LP): Likewise.
21177 (RSI_LP): Likewise.
21178 (RSP_LP): Likewise.
21181 (R10_LP): Likewise.
21182 (R10_LP): Likewise.
21183 (R11_LP): Likewise.
21184 (R12_LP): Likewise.
21185 (R13_LP): Likewise.
21186 (R14_LP): Likewise.
21187 (R15_LP): Likewise.
21189 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21191 * sysdeps/x86_64/x32/dl-machine.h: New file.
21193 2012-05-14 Andreas Jaeger <aj@suse.de>
21195 * manual/Makefile (subdir): Remove export of subdir.
21196 (all): Remove target.
21197 (.PHONY): Remove all from list.
21198 (mkinstalldirs): Remove.
21199 (.PHONY): Remove installdirs from list.
21200 ($(inst_infodir)/libc.info): Use make-target-directory.
21201 (installdirs): Remove.
21202 (subdir_%): Remove.
21203 (glibc-targets): Remove.
21206 ($(objpfx)stubs ../po/manual.pot): Remove.
21207 ($(objpfx)stamp%): Remove.
21208 (make-target-directory): Remove.
21209 (subdir_install): Remove.
21210 (routines): Remove.
21217 * manual/.gitignore: Remove, it's not needed anymore.
21218 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21220 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21222 (texis): Renamed to $(objpfx)texis.
21223 (texis-path): New, contains path to generated files.
21224 (chapters.%): Use texis-path for complete path, add extra argument
21226 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21227 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21228 (summary,texi, stamp-summary): Use complete path of
21229 files. Generate files in build dir.
21230 (dir-add.texi): Build in build dir.
21231 (libm-err.texi,stamp-libm-err): Likewise.
21232 (version.texi, stamp-version): Likewise.
21233 (.%c.texi): Likewise.
21234 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21235 (mostlyclean): Remove target.
21236 (realclean): Remove target.
21237 (generated): Add new variable with contents from mostlyclean and
21238 realclean, remove entries duplicated in common-mostlyclean, add
21239 stamp-libm-err and stamp-version.
21240 (generated-dirs): Add libc directory.
21241 ($(inst_infodir)/libc.info): Install files from build dir.
21243 * manual/install.texi (Configuring and compiling): Adjust since
21244 the info files are not part of the tar ball anymore.
21246 2012-05-14 Andreas Jaeger <aj@suse.de>
21248 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21251 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21255 to 2.2.0 where earlier.
21256 * sysdeps/unix/sysv/linux/configure: Regenerated.
21257 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21258 Remove conditional code.
21259 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21260 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21261 Remove conditional code.
21262 [!__NR_lchown]: Likewise.
21263 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21264 [__NR_lchown]: Likewise.
21265 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21266 comment referencing __ASSUME_LCHOWN_SYSCALL.
21267 * sysdeps/unix/sysv/linux/i386/sigaction.c
21268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21270 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21271 Remove conditional code.
21272 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21273 (__protocol_available): Remove #if 0 code.
21274 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21276 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21277 * sysdeps/unix/sysv/linux/kernel-features.h
21278 (__ASSUME_GETCWD_SYSCALL): Don't define.
21279 (__ASSUME_REALTIME_SIGNALS): Likewise.
21280 (__ASSUME_PREAD_SYSCALL): Likewise.
21281 (__ASSUME_PWRITE_SYSCALL): Likewise.
21282 (__ASSUME_POLL_SYSCALL): Likewise.
21283 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21284 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21286 (__ASSUME_SIOCGIFNAME): Don't define.
21287 (__ASSUME_MSG_NOSIGNAL): Likewise.
21288 (__ASSUME_SENDFILE): Define unconditionally.
21289 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21290 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21292 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21293 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21294 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21295 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21296 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21297 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21298 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21323 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21324 Remove conditional code.
21325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21326 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21327 Remove conditional code.
21328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21329 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21330 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21331 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21332 Remove conditional code.
21333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21334 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21335 Remove conditional code.
21336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21337 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21338 Remove conditional code.
21339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21340 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21341 Remove conditional code.
21342 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21343 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21344 Remove conditional code.
21345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21346 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21347 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21349 * sysdeps/unix/sysv/linux/sigaction.c
21350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21352 * sysdeps/unix/sysv/linux/sigpending.c
21353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21355 * sysdeps/unix/sysv/linux/sigprocmask.c
21356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21358 * sysdeps/unix/sysv/linux/sigsuspend.c
21359 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21360 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21361 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21362 (__libc_missing_rt_sigs): Remove.
21363 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21364 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21365 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21366 Remove conditional code.
21367 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21368 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21370 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21371 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21372 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21373 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21375 2012-05-14 Andreas Jaeger <aj@suse.de>
21377 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21378 it's not used in glibc.
21379 (__coshm1): Likewise.
21380 (__acosh1p): Likewise.
21383 * manual/string.texi (Copying and Concatenation): Add missing
21384 variable in concat example.
21385 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21387 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21390 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21391 __builtin_clzl with __builtin_clzll.
21393 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21396 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21399 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21401 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21402 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21403 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21404 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21406 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21408 * NEWS: Update ia64 info.
21410 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21412 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21415 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21417 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21418 * sysdeps/unix/syscalls.list (dup3): Likewise.
21419 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21420 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21422 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21424 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21425 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21427 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21429 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21431 (TLS_IE): Use mov/add instead of movq/addq to load thread
21433 (TLS_GD_PREFIX): New.
21436 2012-05-11 David S. Miller <davem@davemloft.net>
21438 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21439 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21440 (_FPU_SETCW): Likewise.
21442 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21444 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21445 is 32-byte aligned.
21447 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21450 * iconvdata/gb18030.c: Update tables.
21451 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21452 characters specially.
21453 (BODY for TO_LOOP): Add encoding of missing ranges.
21455 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21458 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21459 * sysdeps/mach/hurd/dup3.c: Likewise.
21460 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21461 * sysdeps/powerpc/memmove.c:: Likewise.
21463 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21465 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21466 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21468 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21470 * elf/elf.h (R_X86_64_RELATIVE64): New.
21471 (R_X86_64_NUM): Updated.
21472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21473 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21474 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21475 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21476 tst-quad1pie tst-quad2pie
21477 (modules-names): Add tst-quadmod1 tst-quadmod2.
21478 ($(objpfx)tst-quad1): New dependency.
21479 ($(objpfx)tst-quad2): Likewise.
21480 ($(objpfx)tst-quad1pie): Likewise.
21481 ($(objpfx)tst-quad2pie): Likewise.
21482 * sysdeps/x86_64/tst-quad1.c: New file.
21483 * sysdeps/x86_64/tst-quad1pie.c: New file.
21484 * sysdeps/x86_64/tst-quad2.c: Likewise.
21485 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21486 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21487 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21488 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21489 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21491 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21493 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21494 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21495 * streams/stropts.h (t_scalar_t): Define type.
21497 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21498 (_PATH_PRESERVE): Set to "/var/lib".
21499 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21501 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21504 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21505 if __dir_mkfile succeeded.
21507 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21508 checking for _hurd_dtablesize. Unlock it right after having
21509 finished _hurd_dtable allocation.
21511 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21513 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21514 * sysdeps/mach/hurd/configure: Regenerated.
21515 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21516 special-casing to...
21517 * sysdeps/gnu/configure.in: ... this new file.
21518 * sysdeps/unix/sysv/linux/configure: Regenerated.
21519 * sysdeps/gnu/configure: New generated file.
21521 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21522 for Linux: use nsec instead of usec, as well as:
21523 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21524 members of type struct timespec.
21525 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21527 (struct stat64): Likewise.
21528 (_STATBUF_ST_NSEC): New macro.
21529 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21531 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21532 __strtoul_internal rather than strtoul.
21534 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21536 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21541 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21542 which preserves existing values.
21543 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21545 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21547 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21548 TIMEOUT values. Return EINVAL for NFDS values either negative or
21549 greater than FD_SETSIZE.
21551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21553 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21554 allocated, call __vm_protect to finish enabling the existing space, and
21555 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21556 allocate the remainder.
21558 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21560 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21561 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21565 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21566 sysdeps/mach/hurd/readlink.c.
21568 * posix/tst-sysconf.c (posix_options): Only use
21569 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21570 _POSIX_SYNCHRONIZED_IO when they are defined
21571 * sysdeps/mach/hurd/bits/posix_opt.h:
21572 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21573 (_XOPEN_REALTIME): Undefine macro.
21574 (_XOPEN_REALTIME_THREADS): Undefine macro.
21575 (_XOPEN_SHM): Undefine macro.
21576 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21578 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21580 (_POSIX_ASYNC_IO): Undefine macro.
21581 (_POSIX_PRIORITIZED_IO): Undefine macro.
21582 (_POSIX_SPIN_LOCKS): Define macro to -1.
21584 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21585 SA_NODEFER, SA_RESETHAND.
21586 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21587 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21590 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21592 * elf/Makefile (pldd-modules): Define unconditionally.
21594 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21596 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21600 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21601 Return ENOENT when name is empty.
21602 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21604 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21606 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21608 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21612 Fix mlock in all cases except non-readable pages.
21613 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21614 instead of VM_PROT_ALL as parameter to __vm_wire function.
21616 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21617 (__mkdir): When path is `/', just fail with EEXIST.
21618 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21620 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21622 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21623 <sys/uio.h> (for writev).
21624 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21625 and <sys/param.h> (for MIN).
21627 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21629 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21630 REQUESTED_TIME. Properly set the remaining time and return EINTR
21633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21635 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21636 Depend on against $(link-rpcuserlibs).
21638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21640 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21641 (__libc_stack_end): Do not use attribute_relro.
21642 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21643 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21644 to libthread-provided value.
21645 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21651 * bits/libc-lock.h (__libc_once_get): New macro.
21652 * sysdeps/mach/bits/libc-lock.h: Likewise.
21653 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21655 instead of using implementation details.
21657 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21658 * libio/freopen.c: Likewise.
21659 * libio/freopen64.c: Likewise.
21660 * misc/syslog.c: Likewise.
21661 * nscd/connections.c: Likewise.
21662 * nscd/netgroupcache.c: Likewise.
21663 * sysdeps/posix/getcwd.c: Likewise.
21665 2012-05-10 Roland McGrath <roland@hack.frob.com>
21667 * math/w_ilogbf.c: Add #include <limits.h>.
21669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21671 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21672 path instead of returning without unlocking.
21674 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21675 immediate-write ioctls.
21676 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21678 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21680 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21681 __builtin_frame_address instead of making assumptions about the
21682 location of the return address relative to DATA. Force early load of
21683 the return address.
21684 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21685 __builtin_frame_address.
21688 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21689 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21690 implement dup3 and do some further code clean-ups.
21691 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21692 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21696 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21698 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21699 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21700 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21701 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21702 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21705 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21706 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21707 when handler == SIG_ERR, not when handler != SIG_ERR.
21709 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21711 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21712 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21715 accept4 for GNU Hurd.
21716 * include/sys/socket.h (__libc_accept4): New prototype.
21717 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21718 to implement __libc_accept4.
21719 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21721 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21723 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21724 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21725 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21726 signal-defines.sym.
21728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21730 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21734 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21735 assertion on O_CLOEXEC flag.
21736 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21737 * hurd/intern-fd.c: Likewise.
21738 * hurd/port2fd.c: Likewise.
21740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21743 * bits/in.h (IPV6_PKTINFO): Define new macro.
21744 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21746 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21751 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21753 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21754 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21756 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21757 * math/libm-test.inc (logb_test) : Additional logb tests.
21759 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21760 Andreas Jaeger <aj@suse.de>
21762 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21763 * configure: Regenerated.
21764 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21765 * config.make.in (link-obsolete-rpc): New substituted variable.
21766 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21767 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21768 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21769 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21770 so that libc.a contains the symbols.
21771 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21772 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21773 * sunrpc/auth_none.c: Likewise.
21774 * sunrpc/auth_unix.c: Likewise.
21775 * sunrpc/authdes_prot.c: Likewise.
21776 * sunrpc/authuxprot.c: Likewise.
21777 * sunrpc/clnt_gen.c: Likewise.
21778 * sunrpc/clnt_perr.c: Likewise.
21779 * sunrpc/clnt_raw.c: Likewise.
21780 * sunrpc/clnt_simp.c: Likewise.
21781 * sunrpc/clnt_tcp.c: Likewise.
21782 * sunrpc/clnt_udp.c: Likewise.
21783 * sunrpc/clnt_unix.c: Likewise.
21784 * sunrpc/des_crypt.c: Likewise.
21785 * sunrpc/des_soft.c: Likewise.
21786 * sunrpc/get_myaddr.c: Likewise.
21787 * sunrpc/key_call.c: Likewise.
21788 * sunrpc/key_prot.c: Likewise.
21789 * sunrpc/netname.c: Likewise.
21790 * sunrpc/pm_getmaps.c: Likewise.
21791 * sunrpc/pm_getport.c: Likewise.
21792 * sunrpc/pmap_clnt.c: Likewise.
21793 * sunrpc/pmap_prot.c: Likewise.
21794 * sunrpc/pmap_prot2.c: Likewise.
21795 * sunrpc/pmap_rmt.c: Likewise.
21796 * sunrpc/publickey.c: Likewise.
21797 * sunrpc/rpc_cmsg.c: Likewise.
21798 * sunrpc/rpc_common.c: Likewise.
21799 * sunrpc/rpc_dtable.c: Likewise.
21800 * sunrpc/rpc_prot.c: Likewise.
21801 * sunrpc/rpc_thread.c: Likewise.
21802 * sunrpc/rtime.c: Likewise.
21803 * sunrpc/svc.c: Likewise.
21804 * sunrpc/svc_auth.c: Likewise.
21805 * sunrpc/svc_raw.c: Likewise.
21806 * sunrpc/svc_run.c: Likewise.
21807 * sunrpc/svc_tcp.c: Likewise.
21808 * sunrpc/svc_udp.c: Likewise.
21809 * sunrpc/svc_unix.c: Likewise.
21810 * sunrpc/svcauth_des.c: Likewise.
21811 * sunrpc/xcrypt.c: Likewise.
21812 * sunrpc/xdr.c: Likewise.
21813 * sunrpc/xdr_array.c: Likewise.
21814 * sunrpc/xdr_float.c: Likewise.
21815 * sunrpc/xdr_intXX_t.c: Likewise.
21816 * sunrpc/xdr_mem.c: Likewise.
21817 * sunrpc/xdr_rec.c: Likewise.
21818 * sunrpc/xdr_ref.c: Likewise.
21819 * sunrpc/xdr_sizeof.c: Likewise.
21820 * sunrpc/xdr_stdio.c: Likewise.
21822 2012-05-10 Roland McGrath <roland@hack.frob.com>
21824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21825 change. Update copyright years.
21827 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21829 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21831 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21832 Joseph Myers <joseph@codesourcery.com>
21833 Paul Pluzhnikov <ppluzhnikov@google.com>
21836 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21838 [cross-compiling] (extra-libs): Likewise.
21839 [cross-compiling] (extra-libs-others): Likewise.
21840 [cross-compiling] (librpcsvc-routines): Likewise.
21841 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21842 [cross-compiling] (omit-deps): Likewise.
21843 (sunrpc-CPPFLAGS): New variable.
21844 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21845 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21846 (cross-rpcgen-objs): New variable.
21847 (extra-objs): Append $(cross-rpcgen-objs).
21848 ($(cross-rpcgen-objs)): New rule.
21849 ($(objpfx)cross-rpcgen): Likewise.
21850 (rpcgen-cmd): Define to use $(built-program-file). Expand
21852 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21853 ($(objpfx)x%.stmp): Likewise.
21854 * sunrpc/proto.h [IS_IN_build] (_): Define.
21855 [IS_IN_build] (_libc_intl_domainname): Likewise.
21857 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21859 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21860 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21861 and R_X86_64_TPOFF64.
21863 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21865 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21866 sysdeps/unix/sysv/syscalls.list.
21869 * sysdeps/unix/sysv/syscalls.list: Remove file.
21871 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21874 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21875 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21876 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21877 (__LC_IDENTIFICATION): Make these macros useful in #if
21878 expressions, as required by C99.
21880 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21882 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21883 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21886 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21888 * stdlib/longlong.h: Updated from GCC.
21890 2012-05-09 Andreas Jaeger <aj@suse.de>
21892 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21893 default is first entry.
21894 (run_mode): Set type.
21895 (main): Remove informal message about syslog.
21896 (options): Fix typo.
21899 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21902 (llrintf): Likewise.
21903 (llrint): Likewise.
21906 (nearbyint): Likewise.
21907 (nearbyintf): Likewise.
21909 2012-05-09 Andreas Jaeger <aj@suse.de>
21910 Pedro Alves <palves@redhat.com>
21912 * nscd/nscd.c (run_mode): Use enum.
21913 (main): Cleanup coding style issue.
21915 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21916 Andreas Jaeger <aj@suse.de>
21918 * nscd/nscd.c (go_background): Replaced with...
21919 (run_mode): ... this.
21920 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21921 (options): Add -F --foreground.
21922 (main): Implement it.
21923 (parse_opt): Parse it.
21925 2012-05-09 Andreas Jaeger <aj@suse.de>
21928 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21929 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21930 -Wconversion warning.
21931 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21934 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21936 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21938 (LC_ALL): Use macro-int-constant.
21939 (LC_COLLATE): Likewise.
21940 (LC_CTYPE): Likewise.
21941 (LC_MESSAGES): Likewise.
21942 (LC_MONETARY): Likewise.
21943 (LC_NUMERIC): Likewise.
21944 (LC_TIME): Likewise.
21945 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21946 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21948 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21950 [C99-based standards] (float_t): Expect type.
21951 [C99-based standards] (double_t): Expect type.
21952 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21954 [C99-based standards] (HUGE_VALL): Likewise.
21955 [C99-based standards] (INFINITY): Likewise.
21956 [C99-based standards] (NAN): Likewise.
21957 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21958 [C99-based standards] (FP_NAN): Likewise.
21959 [C99-based standards] (FP_NORMAL): Likewise.
21960 [C99-based standards] (FP_SUBNORMAL): Likewise.
21961 [C99-based standards] (FP_ZERO): Likewise.
21962 [C99-based standards] (FP_FAST_FMA): Use
21963 optional-macro-int-constant. Specify type. Require == 1.
21964 [C99-based standards] (FP_FAST_FMAF): Likewise.
21965 [C99-based standards] (FP_FAST_FMAL): Likewise.
21966 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21967 [C99-based standards] (FP_ILOGBNAN): Likewise.
21968 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21970 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21971 [C99-based standards] (math_errhandling): Specify type.
21972 [ISO99 || ISO11] (signgam): Do not allow.
21973 [non-C99-based standards] (copysignf): Do not allow.
21974 [non-C99-based standards] (exp2f): Likewise.
21975 [non-C99-based standards] (log2f): Likewise.
21976 [non-C99-based standards] (modff): Allow.
21977 [non-C99-based standards] (erff): Do not allow.
21978 [non-C99-based standards] (erfcf): Likewise.
21979 [non-C99-based standards] (gammaf): Likewise.
21980 [non-C99-based standards] (hypotf): Likewise.
21981 [non-C99-based standards] (j0f): Likewise.
21982 [non-C99-based standards] (j1f): Likewise.
21983 [non-C99-based standards] (jnf): Likewise.
21984 [non-C99-based standards] (lgammaf): Likewise.
21985 [non-C99-based standards] (tgammaf): Likewise.
21986 [non-C99-based standards] (y0f): Likewise.
21987 [non-C99-based standards] (y1f): Likewise.
21988 [non-C99-based standards] (ynf): Likewise.
21989 [non-C99-based standards] (isnanf): Likewise.
21990 [non-C99-based standards] (acoshf): Likewise.
21991 [non-C99-based standards] (asinhf): Likewise.
21992 [non-C99-based standards] (atanhf): Likewise.
21993 [non-C99-based standards] (cbrtf): Likewise.
21994 [non-C99-based standards] (expm1f): Likewise.
21995 [non-C99-based standards] (ilogbf): Likewise.
21996 [non-C99-based standards] (log1pf): Likewise.
21997 [non-C99-based standards] (logbf): Likewise.
21998 [non-C99-based standards] (nextafterf): Likewise.
21999 [non-C99-based standards] (remainderf): Likewise.
22000 [non-C99-based standards] (rintf): Likewise.
22001 [non-C99-based standards] (scalbf): Likewise.
22002 [non-C99-based standards] (copysignl): Likewise.
22003 [non-C99-based standards] (exp2l): Likewise.
22004 [non-C99-based standards] (log2l): Likewise.
22005 [non-C99-based standards] (modfl): Allow.
22006 [non-C99-based standards] (erfl): Do not allow.
22007 [non-C99-based standards] (erfcl): Likewise.
22008 [non-C99-based standards] (gammal): Likewise.
22009 [non-C99-based standards] (hypotl): Likewise.
22010 [non-C99-based standards] (j0l): Likewise.
22011 [non-C99-based standards] (j1l): Likewise.
22012 [non-C99-based standards] (jnl): Likewise.
22013 [non-C99-based standards] (lgammal): Likewise.
22014 [non-C99-based standards] (tgammal): Likewise.
22015 [non-C99-based standards] (y0l): Likewise.
22016 [non-C99-based standards] (y1l): Likewise.
22017 [non-C99-based standards] (ynl): Likewise.
22018 [non-C99-based standards] (isnanl): Likewise.
22019 [non-C99-based standards] (acoshl): Likewise.
22020 [non-C99-based standards] (asinhl): Likewise.
22021 [non-C99-based standards] (atanhl): Likewise.
22022 [non-C99-based standards] (cbrtl): Likewise.
22023 [non-C99-based standards] (expm1l): Likewise.
22024 [non-C99-based standards] (ilogbl): Likewise.
22025 [non-C99-based standards] (log1pl): Likewise.
22026 [non-C99-based standards] (logbl): Likewise.
22027 [non-C99-based standards] (nextafterl): Likewise.
22028 [non-C99-based standards] (remainderl): Likewise.
22029 [non-C99-based standards] (rintl): Likewise.
22030 [non-C99-based standards] (scalbl): Likewise.
22031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22032 [non-C99-based standards] (FP_*): Do not allow.
22033 [C99-based standards] (FP_*): Change to
22034 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22035 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22037 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22038 (SIG_ERR): Likewise.
22039 [X/Open-based standards] (SIG_HOLD): Likewise.
22040 (SIG_IGN): Likewise.
22041 (SIGABRT): Use macro-int-constant. Specify type. Require
22043 (SIGFPE): Likewise.
22044 (SIGILL): Likewise.
22045 (SIGINT): Likewise.
22046 (SIGSEGV): Likewise.
22047 (SIGTER): Likewise.
22048 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22051 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22052 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22053 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22054 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22060 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22061 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22062 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22063 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22066 [X/Open-based standards] (SIGTRAP): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22068 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22069 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22070 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22071 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22074 2012-05-08 Ian Wienand <ianw@vmware.com>
22077 * time/tzset.c (__tzset_parse_tz): Update default rules for
22078 daylight time changes in the Energy Policy Act of 2005.
22080 2012-05-09 Andreas Jaeger <aj@suse.de>
22083 * elf/ldconfig.c (parse_conf): Change string to make clear that
22084 ldconfig only issued a warning if ld.so.conf does not exist.
22086 2012-05-08 David S. Miller <davem@davemloft.net>
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22089 movxtod instead of popping the value on the stack.
22091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22093 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22095 * config.h.in: Add HAVE_ARM_PCS_VFP.
22097 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22100 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22101 checking but the checks are disabled for any reason.
22103 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22105 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22106 and ELF64_R_TYPE with ELFW(R_TYPE).
22108 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22110 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22111 (ulimit): Likewise.
22113 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22114 (settimeofday): Likewise.
22116 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22118 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22119 a struct th_u2 inside the union, and move tu_block/tu_code into
22120 a new th_u3 union of tu_block/tu_code inside of that. Move
22121 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22122 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22123 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22124 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22125 (th_stuff): Change to th_u1.tu_stuff.
22127 (th_msg): Change to th_u1.th_u2.tu_data.
22129 2012-05-07 David S. Miller <davem@davemloft.net>
22131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22134 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22135 (SETUP_PIC_REG): Use it.
22136 (SETUP_PIC_REG_LEAF): Use it.
22138 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22142 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22144 (EXPL_FINITE): Likewise.
22145 (FLDLOG): Likewise.
22146 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22147 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22149 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22151 (EXPL_FINITE): Likewise.
22152 (FLDLOG): Likewise.
22153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22154 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22156 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22157 test of -max_value argument for long double.
22158 * sysdeps/i386/fpu/libm-test-ulps: Update.
22159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22161 2012-05-06 David S. Miller <davem@davemloft.net>
22163 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22164 quad soft-float symbols whose references which are compiler
22166 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22168 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22174 (EXPL_FINITE): Likewise.
22175 (FLDLOG): Likewise.
22178 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22179 Adjust comments for base varying.
22180 (__expl_finite): Change alias to EXPL_FINITE.
22181 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22183 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22184 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22186 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22187 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22189 (EXPL_FINITE): Likewise.
22190 (FLDLOG): Likewise.
22193 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22194 Adjust comments for base varying.
22195 (__expl_finite): Change alias to EXPL_FINITE.
22196 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22201 * math/libm-test.inc (check_float_internal): Correct ulp
22202 calculation for subnormal expected results.
22204 2012-05-06 Andreas Jaeger <aj@suse.de>
22206 * Makeconfig (+math-flags): New, set to -frounding-math.
22207 (+cflags): Add +math-flags so that all of glibc gets compiled with
22210 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22212 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22214 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22220 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22221 (__ieee754_expl): Allow for and saturate large arguments.
22222 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22223 (u_threshold): Likewise.
22224 (__exp): Call __ieee754_exp before checking for overflow and
22226 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22227 (u_threshold): Likewise.
22228 (__expf): Call __ieee754_expf before checking for overflow and
22230 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22231 (u_threshold): Likewise.
22232 (__expl): Call __ieee754_expl before checking for overflow and
22234 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22235 (__ieee754_expl): Allow for and saturate large arguments.
22236 * math/libm-test.inc (exp_test): Add another test. Do not allow
22237 missing overflow exception on overflow.
22238 (expm1_test): Do not allow missing overflow exception on overflow.
22240 * sysdeps/i386/fpu/e_expl.c: Move to ...
22241 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22242 rather than using inline asm.
22243 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22244 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22245 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22247 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22250 (signal): Likewise.
22254 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22256 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22257 sysdeps/unix/common/syscalls.list.
22258 (fchmod): Likewise.
22259 (fchown): Likewise.
22260 (ftruncate): Likewise.
22261 (getrusage): Likewise.
22262 (gettimeofday): Likewise.
22263 (setpgid): Likewise.
22264 (setregid): Likewise.
22265 (setreuid): Likewise.
22266 (sigaction): Likewise.
22267 (truncate): Likewise.
22268 (vhangup): Likewise.
22269 * sysdeps/unix/common/syscalls.list: Remove file.
22270 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22271 * sysdeps/unix/sysv/linux/Implies: Likewise.
22273 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22275 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22277 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22281 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22284 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22287 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22290 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22293 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22296 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22299 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22303 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22307 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22310 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22314 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22318 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22320 * sysdeps/unix/common/bits/dirent.h: Remove file.
22321 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22323 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22324 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22325 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22326 * sysdeps/unix/bsd/isatty.c: Likewise.
22327 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22328 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22329 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22331 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22335 long double comparison inaccuracies.
22336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22339 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22341 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22344 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22348 nonzero digits before rounding a hex value.
22349 * stdlib/tst-strtod.c (tests): Add another test.
22351 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22353 * sysdeps/s390/fpu/libm-test-ulps: Update.
22355 2012-05-03 Andreas Jaeger <aj@suse.de>
22357 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22358 does not get optimized out.
22359 (malloc_opt_barrier): New.
22361 2012-05-03 Andreas Jaeger <aj@suse.de>
22362 Roland McGrath <roland@hack.frob.com>
22364 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22365 intermediate file deletion.
22366 (generated): Add .symlist files.
22368 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22371 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22372 Redirect under this condition.
22373 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22374 [__USE_GNU] (__dprintf_chk): Not under this condition.
22375 [__USE_GNU] (__vdprintf_chk): Likewise.
22376 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22377 under this condition.
22378 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22379 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22380 [__USE_XOPEN2K8] (vdprintf): Likewise.
22381 [__USE_GNU] (__dprintf_chk): Not under this condition.
22382 [__USE_GNU] (__vdprintf_chk): Likewise.
22383 [__USE_GNU] (dprintf): Likewise.
22384 [__USE_GNU] (vdprintf): Likewise.
22386 2012-05-03 Roland McGrath <roland@hack.frob.com>
22388 * elf/Makefile (common-generated): Set this instead of generated for
22389 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22390 $(all-built-dso)-derived lists.
22392 2012-05-03 Andreas Jaeger <aj@suse.de>
22394 * sysdeps/i386/fpu/libm-test-ulps: Update.
22397 * FAQ.in: Likewise.
22398 * scripts/gen-FAQ.pl: Likewise.
22399 * manual/install.texi (Installation): Point to online location of
22401 * Makefile (files-for-dist): Remove FAQ.
22404 2012-05-02 Allan McRae <allan@archlinux.org>
22406 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22407 (LDFLAGS-reldepmod5.so): Likewise.
22408 (LDFLAGS-reldep6mod1.so): Likewise.
22409 (LDFLAGS-reldep6mod4.so): Likewise.
22410 (LDFLAGS-reldep8mod3.so): Likewise.
22411 (LDFLAGS-unload4mod1.so): Likewise.
22412 (LDFLAGS-unload4mod2.so): Likewise.
22413 (LDFLAGS-tst-initorder): Likewise.
22414 (LDFLAGS-tst-initordera2.so): Likewise.
22415 (LDFLAGS-tst-initordera3.so): Likewise.
22416 (LDFLAGS-tst-initordera4.so): Likewise.
22417 (LDFLAGS-tst-initorderb2.so): Likewise.
22418 (LDFLAGS-noload): Likewise.
22419 (LDFLAGS-next): Likewise.
22420 (LDFLAGS-order2mod1.so): Likewise.
22421 (LDFLAGS-order2mod2.so): Likewise.
22422 (LDFLAGS-tst-initorder2): Likewise.
22423 (LDFLAGS-tst-initorder2a.so): Likewise.
22424 (LDFLAGS-tst-initorder2b.so): Likewise.
22425 (LDFLAGS-tst-initorder2c.so): Likewise.
22426 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22428 2012-05-02 David S. Miller <davem@davemloft.net>
22430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22432 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22435 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22437 2012-05-02 Andreas Jaeger <aj@suse.de>
22439 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22440 since we manipulate rounding mode.
22441 (CPPFLAGS-test-idouble.c): Likewise.
22442 (CPPFLAGS-test-ifloat.c): Likewise.
22443 (CFLAGS-test-ldouble.c): Likewise.
22444 (CFLAGS-test-double.c): Likewise.
22445 (CFLAGS-test-float.c): Likewise.
22446 (CFLAGS-test-misc.c): Likewise.
22447 (CFLAGS-test-test-fenv.c): Likewise.
22449 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22454 comparisons to determine direction to adjust input.
22456 2012-05-01 Roland McGrath <roland@hack.frob.com>
22458 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22459 output to the target.
22461 * scripts/localplt.awk: New file.
22462 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22463 (check-localplt-CFLAGS): Variable removed.
22464 ($(all-built-dso:=.jmprel)): New static pattern rule.
22465 (generated): Add those targets.
22466 (localplt-built-dso): New variable.
22467 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22469 * elf/check-localplt.c: File removed.
22471 * scripts/check-execstack.awk: New file.
22472 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22473 (check-execstack-CFLAGS): Variable removed.
22474 ($(objpfx)check-execstack.h): Target removed.
22475 ($(objpfx)execstack-default): New target.
22476 (generated): Add that instead of check-execstack.h.
22477 ($(all-built-dso:=.phdr)): New static pattern rule.
22478 (generated): Add those targets.
22479 * elf/check-execstack.c: File removed.
22481 * scripts/check-textrel.awk: New file.
22482 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22483 (check-textrel-CFLAGS): Variable removed.
22484 (all-built-dso): Use := to define.o
22485 ($(all-built-dso:=.dyn)): New static pattern rule.
22486 (generated): Add those targets.
22487 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22488 * config.make.in (READELF): New substituted variable.
22489 * elf/check-textrel.c: File removed.
22491 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22493 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22495 * conform/data/ctype.h-data [C99-based standards] (isblank):
22497 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22498 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22499 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22500 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22501 Specify type. Require positive value.
22502 (EILSEQ): Likewise.
22503 (ERANGE): Likewise.
22504 [ISO || POSIX] (EILSEQ): Do not expect.
22505 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22506 Specify type. Require positive value.
22507 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22513 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22514 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22515 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22516 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22517 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22524 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22526 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22548 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22550 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22551 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22557 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22558 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22559 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22560 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22561 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22567 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22580 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22581 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22582 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22583 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22585 (FLT_ROUNDS): Expect as macro, not constant.
22586 (FLT_MANT_DIG): Use macro-int-constant.
22587 (DBL_MANT_DIG): Likewise.
22588 (LDBL_MANT_DIG): Likewise.
22589 (FLT_DIG): Likewise.
22590 (DBL_DIG): Likewise.
22591 (LDBL_DIG): Likewise.
22592 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22593 (DBL_MIN_EXP): Likewise.
22594 (LDBL_MIN_EXP): Likewise.
22595 (FLT_MAX_EXP): Use macro-int-constant.
22596 (DBL_MAX_EXP): Likewise.
22597 (LDBL_MAX_EXP): Likewise.
22598 (FLT_MAX_10_EXP): Likewise.
22599 (DBL_MAX_10_EXP): Likewise.
22600 (LDBL_MAX_10_EXP): Likewise.
22601 (FLT_MAX): Use macro-constant.
22602 (DBL_MAX): Likewise.
22603 (LDBL_MAX): Likewise.
22604 (FLT_EPSILON): Use macro-constant. Give upper bound.
22605 (DBL_EPSILON): Likewise.
22606 (LDBL_EPSILON): Likewise.
22607 (FLT_MIN): Likewise.
22608 (DBL_MIN): Likewise.
22609 (LDBL_MIN): Likewise.
22610 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22611 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22612 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22613 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22614 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22615 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22616 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22617 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22618 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22619 [ISO11] (FLT_TRUE_MIN): Likewise.
22620 [ISO11] (LDBL_TRUE_MIN): Likewise.
22621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22622 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22623 (SCHAR_MIN): Use macro-int-constant. Specify type.
22624 (SCHAR_MAX): Likewise.
22625 (UCHAR_MAX): Likewise.
22626 (CHAR_MIN): Likewise.
22627 (CHAR_MAX): Likewise.
22628 (MB_LEN_MAX): Use macro-int-constant.
22629 (SHRT_MIN): Use macro-int-constant. Specify type.
22630 (SHRT_MAX): Likewise.
22631 (USHRT_MAX): Likewise.
22632 (INT_MAX): Likewise.
22633 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22635 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22637 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22639 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22640 bound negative. Suffix upper bound with "L".
22641 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22643 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22645 [C99-based standards] (LLONG_MAX): Likewise.
22646 [C99-based standards] (ULLONG_MAX): Likewise.
22647 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22649 [ISO11] (max_align_t): Require type.
22650 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22652 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22653 from $CFLAGS, without defining away __attribute__ calls.
22654 (checknamespace): Use $CFLAGS_namespace.
22656 * conform/conformtest.pl (@keywords): Only include C99 keywords
22657 for standards based on C99 or C11.
22659 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22661 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22664 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22665 usability of symbols in #if.
22667 * conform/conformtest.pl: If macro or constant types start
22668 "promoted:", expect the symbol to be of the following type
22669 promoted by the integer promotions.
22671 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22672 in one place. Also handle "macro-constant".
22674 * conform/conformtest.pl: Only accept expected macro values with
22675 "==". Parse all "macro" lines in one place.
22676 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22678 * conform/conformtest.pl: Handle braced types on "constant" lines
22679 instead of handling "typed-constant".
22680 * conform/data/signal.h-data: Use "constant" instead of
22683 * conform/conformtest.pl: Handle "optional-" at start of lines in
22684 one place rather than duplicating several cases. Handle each
22685 format of "macro" line with initial "optional-".
22687 * conform/conformtest.pl: Only accept expected constant or
22688 optional-constant values with "==". Parse all "constant" lines in
22689 one place. Parse all "optional-constant" lines in one place.
22690 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22691 * conform/data/fmtmsg.h-data: Likewise.
22692 * conform/data/netinet/in.h-data: Likewise.
22693 * conform/data/tar.h-data: Likewise.
22694 * conform/data/limits.h-data: Use "==" form on "constant" and
22695 "optional-constant" lines.
22697 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22698 Use -std=c99 for XOPEN2K.
22699 (@knownproblems): Remove.
22700 (newtoken): Don't check %isknown.
22702 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22703 Do not expect macro.
22704 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22716 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22717 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22731 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22732 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22734 [XPG3] (acosh): Likewise.
22735 [XPG3] (asinh): Likewise.
22736 [XPG3] (atanh): Likewise.
22737 [XPG3] (cbrt): Likewise.
22738 [XPG3] (expm1): Likewise.
22739 [XPG3] (ilogb): Likewise.
22740 [XPG3] (log1p): Likewise.
22741 [XPG3] (logb): Likewise.
22742 [XPG3] (nextafter): Likewise.
22743 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22744 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22745 [XPG3] (remainder): Likewise.
22746 [XPG3] (rint): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22751 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22752 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22753 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22754 [UNIX98 || XOPEN2K] (scalb): Expect.
22755 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22756 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22757 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22758 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22759 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22760 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22761 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22762 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22763 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22764 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22765 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22766 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22767 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22768 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22769 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22770 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22771 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22772 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22773 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22774 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22775 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22776 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22777 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22778 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22779 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22780 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22781 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22782 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22783 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22784 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22785 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22787 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22788 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22789 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22790 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22791 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22792 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22793 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22794 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22795 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22796 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22797 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22798 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22800 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22801 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22802 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22803 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22804 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22805 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22806 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22809 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22810 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22811 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22812 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22813 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22814 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22815 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22816 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22817 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22818 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22819 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22820 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22821 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22822 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22823 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22824 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22825 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22826 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22827 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22828 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22829 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22830 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22831 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22832 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22833 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22834 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22835 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22836 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22837 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22838 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22839 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22840 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22841 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22842 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22843 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22844 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22845 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22846 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22848 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22849 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22850 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22851 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22852 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22853 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22854 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22855 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22857 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22858 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22859 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22860 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22861 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22862 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22863 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22864 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22865 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22866 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22867 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22868 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22869 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22870 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22871 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22872 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22873 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22874 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22875 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22876 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22877 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22878 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22879 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22880 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22881 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22882 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22883 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22884 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22885 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22886 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22887 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22888 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22889 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22890 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22891 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22893 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22894 _XOPEN_SOURCE_EXTENDED for XPG4.
22896 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22898 * Makeconfig (localtime): Remove variable.
22899 (inst_localtime-file): Likewise.
22901 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22922 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22926 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22927 comparisons to determine direction to adjust input.
22928 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22929 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22932 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22936 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22939 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22941 * math/libm-test.inc (nexttoward_test): Add more tests.
22943 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22946 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22947 in version GLIBC_2.1, not GLIBC_2.0.
22948 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22951 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22954 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22956 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22957 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22958 * math/libm-test.inc (acos_test): Add more tests.
22959 (asin_test): Likewise.
22960 * sysdeps/i386/fpu/libm-test-ulps: Update.
22961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22964 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22966 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22967 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22968 * math/libm-test.inc (acos_test_tonearest): New function.
22969 (acos_test_towardzero): Likewise.
22970 (acos_test_downward): Likewise.
22971 (acos_test_upward): Likewise.
22972 (asin_test_tonearest): Likewise.
22973 (asin_test_towardzero): Likewise.
22974 (asin_test_downward): Likewise.
22975 (asin_test_upward): Likewise.
22976 (main): Call the new functions.
22977 * sysdeps/i386/fpu/libm-test-ulps: Update.
22978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22982 * math/e_exp10.c: Include <float.h>.
22983 (__ieee754_exp10): Handle underflow here rather than multiplying
22984 large negative argument by M_LN10.
22985 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22987 * math/e_exp10l.c: Include <float.h>.
22988 (__ieee754_exp10l): Handle underflow here rather than multiplying
22989 large negative argument by M_LN10l.
22990 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22991 spurious overflow exception on underflow.
22993 2012-04-29 Marek Polacek <polacek@redhat.com>
22995 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22996 (__fortify_function): New macro.
22997 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22998 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22999 __extern_always_inline.
23000 * libio/bits/stdio2.h: Likewise.
23001 * libio/bits/stdio.h: Likewise.
23002 * string/string.h: Likewise.
23003 * string/bits/string3.h: Likewise.
23004 * include/stdio.h: Likewise.
23005 * stdlib/bits/stdlib.h: Likewise.
23006 * stdlib/stdlib.h: Likewise.
23007 * rt/bits/mqueue2.h: Likewise.
23008 * rt/mqueue.h: Likewise.
23009 * posix/bits/unistd.h: Likewise.
23010 * posix/unistd.h: Likewise.
23011 * io/bits/poll2.h: Likewise.
23012 * io/bits/fcntl2.h: Likewise.
23013 * io/fcntl.h: Likewise.
23014 * io/sys/poll.h: Likewise.
23015 * misc/bits/syslog.h: Likewise.
23016 * misc/bits/syslog-ldbl.h: Likewise.
23017 * misc/sys/syslog.h: Likewise.
23018 * socket/bits/socket2.h: Likewise.
23019 * socket/sys/socket.h: Likewise.
23020 * debug/tst-chk1.c: Likewise.
23021 * wcsmbs/bits/wchar2.h: Likewise.
23022 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23023 * wcsmbs/wchar.h: Likewise.
23025 2012-04-29 Andreas Jaeger <aj@suse.de>
23027 * Makerules (tests): Remove enable-check-abi protection.
23028 (check-abi-warn): Remove.
23029 (check-abi-%): Remove check-abi-warn usage.
23031 * configure.in: Remove check-abi configure option.
23032 * configure: Regenerated.
23033 * config.make.in (enable-check-abi): Remove.
23035 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23038 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23039 double functions to double *_finite functions.
23042 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23043 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23045 * stdio-common/Makefile (tests): Add tst-sprintf3.
23046 * stdio-common/tst-sprintf3.c: New file.
23048 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23049 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23051 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23053 * conform/conformtest.pl: Remove duplicate typed-constant
23056 2012-04-28 David S. Miller <davem@davemloft.net>
23058 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23059 (check-abi-%): Remove AWK script prerequisite and explicit
23061 (check-abi): Rewrite to just diff the symlist with the abilist.
23062 (config-tls, config-abi-config): Delete, no longer used.
23063 (update-abi-%): Remove AWK script and explicit abilist directory.
23064 (update-abi): Rewrite to simply compare and conditionally copy the
23065 symlist and the sysdep abilist file. Remove update-abi-config
23067 * abilist/ld.abilist: Remove.
23068 * abilist/libBrokenLocale.abilist: Remove.
23069 * abilist/libanl.abilist: Remove.
23070 * abilist/libcrypt.abilist: Remove.
23071 * abilist/libdl.abilist: Remove.
23072 * abilist/librt.abilist: Remove.
23073 * abilist/libthread_db.abilist: Remove.
23074 * abilist/libutil.abilist: Remove.
23075 * scripts/extract-abilist.awk: Remove.
23076 * scripts/merge-abilist.awk: Remove.
23077 * sysdeps/generic/libcidn.abilist: New file.
23078 * sysdeps/generic/libnss_compat.abilist: New file.
23079 * sysdeps/generic/libnss_db.abilist: New file.
23080 * sysdeps/generic/libnss_dns.abilist: New file.
23081 * sysdeps/generic/libnss_files.abilist: New file.
23082 * sysdeps/generic/libnss_hesiod.abilist: New file.
23083 * sysdeps/generic/libnss_nis.abilist: New file.
23084 * sysdeps/generic/libnss_nisplus.abilist: New file.
23085 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23086 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23087 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23089 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23090 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23091 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23092 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23093 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23094 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23095 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23096 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23097 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23099 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23100 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23101 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23102 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23104 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23105 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23106 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23107 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23108 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23109 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23111 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23112 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23113 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23218 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23219 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23220 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23223 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23224 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23225 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23226 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23227 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23228 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23229 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23230 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23231 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23283 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23285 * conform/conformtest.pl: Fix typo in handling typed-constant from
23288 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23290 * README: Cut down references to pre-2.6 Linux kernels and
23291 Linuxthreads. Update lists of configurations in libc and ports
23292 and sort alphabetically. Say "or newer" with Linux kernel version
23295 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23297 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23300 * math/libm-test.inc (logb_test_downward): New test to expose
23301 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23304 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23307 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23309 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23310 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23312 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23314 * sysdeps/unix/i386/brk.S: Remove file.
23315 * sysdeps/unix/i386/dl-brk.S: Likewise.
23316 * sysdeps/unix/i386/pipe.S: Likewise.
23317 * sysdeps/unix/i386/sigreturn.S: Likewise.
23318 * sysdeps/unix/i386/syscall.S: Likewise.
23319 * sysdeps/unix/i386/vfork.S: Likewise.
23320 * sysdeps/unix/i386/wait.S: Likewise.
23322 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23323 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23325 * configure.in (arm*-none*): Do not allow without
23326 --enable-hacker-mode.
23327 (netbsd*): Remove case setting base_os.
23328 (386bsd*): Likewise.
23329 (freebsd*): Likewise.
23332 (sunos*): Likewise.
23333 (ultrix*): Likewise.
23334 (newsos*): Likewise.
23335 (dynix*): Likewise.
23341 (minix*): Likewise.
23342 (irix4*): Likewise.
23343 (irix6*): Likewise.
23344 (solaris[2-9]*): Likewise.
23346 * configure: Regenerated.
23348 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23351 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23352 overflow or cancellation in calculating denominator.
23353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23355 down expression to avoid unexpected rounding in newer GCCs.
23356 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23358 2012-04-26 David S. Miller <davem@davemloft.net>
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23361 long-double compat symbols.
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23376 2012-04-25 David S. Miller <davem@davemloft.net>
23378 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23379 HWCAP_* values only after the memory barriers have been defined.
23380 (atomic_full_barrier): Define.
23381 (atomic_read_barrier): Define.
23382 (atomic_write_barrier): Define.
23384 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23386 * shlib-versions: Add libgcc_s version information.
23387 * sysdeps/generic/libgcc_s.h: Remove.
23388 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23390 * sysdeps/gnu/unwind-resume.c: Likewise.
23391 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23393 2012-04-25 David S. Miller <davem@davemloft.net>
23395 * sysdeps/unix/sparc/brk.S: Delete.
23396 * sysdeps/unix/sparc/dl-brk.S: Delete.
23397 * sysdeps/unix/sparc/pipe.S: Delete.
23398 * sysdeps/unix/sparc/sysdep.S: Delete.
23399 * sysdeps/unix/sparc/sysdep.h: Delete.
23400 * sysdeps/unix/sparc/vfork.S: Delete.
23401 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23402 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23404 ret_ERRVAL, r0, r1, MOVE): Define.
23405 (JUMPTARGET): Remove.
23406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23407 sysdeps/unix/sparc/sysdep.h
23408 (ENTRY, END): Remove.
23409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23411 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23413 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23414 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23417 * timezone/README: Update upstream location and email address for
23419 * timezone/zdump.c: Update from tzcode 2012b.
23420 * timezone/zic.c: Likewise.
23422 * configure.in (libc_cv_as_needed): Remove test.
23423 * configure: Regenerated.
23424 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23425 conditional definition.
23426 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23427 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23428 * config.make.in (have-as-needed): Remove variable.
23430 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23431 Paul Pluzhnikov <ppluzhnikov@google.com>
23433 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23436 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23438 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23439 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23440 * sysdeps/sh/strlen.S: Likewise.
23442 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23444 * sysdeps/unix/fork.S: Remove file.
23445 * sysdeps/unix/i386/fork.S: Likewise.
23446 * sysdeps/unix/sparc/fork.S: Likewise.
23448 * sysdeps/unix/system.c: Remove file.
23449 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23451 * sysdeps/unix/getegid.S: Remove file.
23452 * sysdeps/unix/geteuid.S: Likewise.
23454 2012-04-24 Roland McGrath <roland@hack.frob.com>
23456 * scripts/check-localplt.awk: New file.
23457 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23459 * scripts/data/localplt-generic.data: Add a comment.
23461 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23462 NODE when __dir_mkfile failed.
23463 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23464 Reported by Ludovic Courtès <ludo@gnu.org>.
23466 2012-04-24 Andreas Jaeger <aj@suse.de>
23468 * Makerules (common-clean): Also remove gen-as-const-headers
23471 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23473 * Makerules (native-compile): Do not change working directory for
23474 build. Use $(OUTPUT_OPTION) in command.
23475 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23477 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23480 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23481 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23482 * math/libm-test.inc (floor_test): Add more tests.
23483 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23485 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23487 * sysdeps/unix/getdents.c: Remove file.
23488 * sysdeps/unix/sysv/getdents.c: Likewise.
23489 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23491 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23492 sysdeps/unix/mman/syscalls.list.
23494 (mprotect): Likewise.
23496 (munmap): Likewise.
23497 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23498 * sysdeps/unix/mman/syscalls.list: Remove.
23499 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23501 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23502 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23503 * configure: Regenerated.
23504 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23505 $(libgcc_s_suffix).
23506 * config.make.in (libgcc_s_suffix): Remove variable.
23508 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23510 * sysdeps/unix/sysv/gethostname.c: Move to ...
23511 * sysdeps/posix/gethostname.c: ... here.
23513 * sysdeps/unix/execve.S: Remove file.
23515 * sysdeps/unix/_exit.S: Remove file.
23517 2012-04-23 Andreas Jaeger <aj@suse.de>
23520 * manual/Makefile: Remove make dist support, there's no
23521 need for a stand-alone documentation tar ball.
23522 (TEXI2DVI): Define always, it's not in Makeconfig.
23525 (edition): Removed.
23526 (glibc-doc-$(edition).tar): Removed
23530 (ETAGS): Remove, it's in Makeconfig.
23531 (move-if-change): Remove, it's in Makeconfig.
23533 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23536 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23537 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23538 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23539 (strtod_l, strtof_l, strtold_l): Remove __wur.
23540 It is not necessarily an error to ignore strtol's return value.
23541 One can reliably look at the stored endptr to decide whether
23542 the number had valid syntax.
23544 2012-04-21 Andreas Jaeger <aj@suse.de>
23547 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23549 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23551 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23552 * sysdeps/unix/sysv/Versions: Remove file.
23554 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23559 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23562 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23563 version from __vm86.
23565 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23567 * sysdeps/unix/common/lxstat.c: Remove file.
23568 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23570 * sysdeps/unix/sysv/Makefile: Remove file.
23572 * sysdeps/unix/sysv/direct.h: Remove file.
23574 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23575 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23576 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23577 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23578 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23579 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23580 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23582 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23584 * sysdeps/unix/xmknod.c: Remove file.
23585 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23587 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23589 * sysdeps/unix/sysv/i386/time.S: Remove file.
23591 * sysdeps/unix/fxstat.c: Remove file.
23592 * sysdeps/unix/xstat.c: Likewise.
23593 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23595 * sysdeps/unix/sysv/sigaction.c: Remove file.
23597 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23598 (sysdep_headers): Remove variable.
23599 [termio.h not in sysdep_headers] (generated): Likewise.
23600 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23601 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23602 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23603 * sysdeps/unix/sysv/tcflow.c: Likewise.
23604 * sysdeps/unix/sysv/tcflush.c: Likewise.
23605 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23606 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23607 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23608 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23609 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23611 * sysdeps/unix/siglist.c: Remove file.
23613 * sysdeps/unix/getppid.S: Remove file.
23615 * sysdeps/unix/mkdir.c: Remove file.
23616 * sysdeps/unix/rmdir.c: Likewise.
23618 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23620 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23622 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23623 errlist-compat value.
23625 2012-04-18 David S. Miller <davem@davemloft.net>
23627 * sysdeps/generic/memcopy.h (reg_char): Delete.
23628 * debug/strcat_chk.c: Use char, not reg_char.
23629 * debug/strcpy_chk.c: Likewise.
23630 * debug/strncat_chk.c: Likewise.
23631 * debug/strncpy_chk.c: Likewise.
23632 * string/memchr.c: Likewise.
23633 * string/memrchr.c: Likewise.
23634 * string/rawmemchr.c: Likewise.
23635 * string/strcat.c: Likewise.
23636 * string/strchr.c: Likewise.
23637 * string/strchrnul.c: Likewise.
23638 * string/strcmp.c: Likewise.
23639 * string/strcpy.c: Likewise.
23640 * string/strncat.c: Likewise.
23641 * string/strncmp.c: Likewise.
23642 * string/strncpy.c: Likewise.
23644 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23646 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23647 __builtin_memcopy is called when src and dest ranges are known to not
23650 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23653 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23654 fwd_align_merge macro call.
23655 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23656 bwd_align_merge macro call.
23657 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23659 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23661 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23662 bwd_align_merge macros.
23663 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23664 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23665 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23667 2012-04-18 David S. Miller <davem@davemloft.net>
23669 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23671 2012-04-18 Andreas Jaeger <aj@suse.de>
23674 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23675 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23676 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23678 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23679 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23680 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23682 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23683 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23684 Adjust for changed ldbl-128 files.
23686 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23687 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23690 2012-04-17 David S. Miller <davem@davemloft.net>
23692 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23694 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23696 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23697 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23698 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23699 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23700 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23701 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23703 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23706 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23707 * math/libm-test.inc: Add ilogb errno and exception tests.
23708 * math/w_ilogb.c: New file: ilogb wrapper.
23709 * math/w_ilogbf.c: New file: ilogbf wrapper.
23710 * math/w_ilogbl.c: New file: ilogbl wrapper.
23711 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23712 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23713 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23714 exception being thrown with 0.0 as argument.
23715 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23716 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23717 exception being thrown with 0.0 as argument.
23718 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23719 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23720 exception being thrown with 0.0 as argument.
23721 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23722 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23723 exception being thrown with 0.0 as argument.
23724 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23725 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23727 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23728 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23729 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23730 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23731 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23732 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23734 2012-04-17 Petr Baudis <pasky@ucw.cz>
23736 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23739 2012-04-16 Marek Polacek <polacek@redhat.com>
23741 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23743 2012-04-16 Marek Polacek <polacek@redhat.com>
23745 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23746 operands of fdivp instruction.
23748 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23750 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23751 * elf/tst-auditmod3b.c: Likewise.
23752 * elf/tst-auditmod4b.c: Likewise.
23753 * elf/tst-auditmod5b.c: Likewise.
23754 * elf/tst-auditmod6b.c: Likewise.
23755 * elf/tst-auditmod6c.c: Likewise.
23756 * elf/tst-auditmod7b.c: Likewise.
23757 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23758 * sysdeps/x86_64/preconfigure.in: Likewise.
23759 * sysdeps/x86_64/preconfigure: Regenerated.
23761 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23766 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23769 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23771 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23774 * locale/iso-639.def: Fix gl language name. Spotted by
23777 2012-04-12 Roland McGrath <roland@hack.frob.com>
23780 * libio/libio.h (__io_write_fn): Update comment.
23782 2012-04-12 Petr Baudis <pasky@ucw.cz>
23785 * stdio.texi (Hook Functions): The user provided writer function
23786 is not allowed to return -1.
23788 2012-04-11 David S. Miller <davem@davemloft.net>
23790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23792 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23794 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23795 Add a leading slash to rtkaio.
23797 2012-04-11 Jim Meyering <meyering@redhat.com>
23800 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23801 It is not necessarily an error to ignore fwrite's return
23802 value. One can reliably use ferror to test for errors after
23805 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23807 * bits/types.h (__snseconds_t): New type.
23808 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23810 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23812 (__SNSECONDS_T_TYPE): Likewise.
23813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23814 (__SNSECONDS_T_TYPE): Likewise.
23815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23816 (__SNSECONDS_T_TYPE): Likewise.
23818 2012-04-10 Andreas Jaeger <aj@suse.de>
23821 * manual/time.texi (Processor Time): Return type of times is
23822 elapsed real time since an arbitrary point in the past.
23823 (CPU Time): Move CLK_TCK from here...
23824 (Processor Time): ...to here. Correct description.
23825 * manual/conf.texi (Constants for Sysconf): Correct description of
23828 2012-04-10 David S. Miller <davem@davemloft.net>
23831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23832 where the is a gap between DT_REL(A) and DT_JMPREL.
23834 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23836 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23837 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23838 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23840 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23842 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23843 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23844 (dl_main): Handle --inhibit-cache.
23845 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23847 * elf/dl-load.c (_dl_map_object): Use it.
23848 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23850 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23853 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23854 (__ieee754_powl): Saturate large exponents rather than testing for
23855 overflow of y*log2(x).
23856 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23857 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23861 * math/s_ctan.c: Include <float.h>.
23862 (__ctan): Avoid internal overflow or cancellation in calculating
23864 * math/s_ctanf.c: Likewise.
23865 * math/s_ctanl.c: Likewise.
23866 * math/s_ctanh.c: Likewise.
23867 * math/s_ctanhf.c: Likewise.
23868 * math/s_ctanhl.c: Likewise.
23869 * math/libm-test.inc (ctan_test): Add more tests.
23870 (ctanh_test): Likewise.
23871 * sysdeps/i386/fpu/libm-test-ulps: Update.
23872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23874 2012-04-09 Andreas Jaeger <aj@suse.de>
23877 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23878 is an optional BSD extension.
23881 * manual/stdio.texi (Opening Streams): Document additional fopen
23884 2012-04-09 Roland McGrath <roland@hack.frob.com>
23886 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23887 %eax without telling the compiler.
23889 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23892 * manual/install.texi: Use sourceware.org.
23894 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23897 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23898 (__ieee754_pow): Generate overflow and underflow using huge*huge
23899 and tiny*tiny rather than just returning constant infinity or zero
23900 for large exponents.
23901 * math/libm-test.inc (pow_test): Require overflow exceptions for
23902 applicable cases of large exponents.
23905 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23906 (__ieee754_pow): Use iterative multiplication algorithm only for
23907 integer exponents with absolute value below 1024. Check for odd
23908 integer exponents when using algorithm for real exponents.
23909 * math/libm-test.inc (pow_test): Add more tests.
23910 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23912 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23915 * math/libm-test.inc (exp_test): Do not allow overflow exception
23918 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23921 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23922 instead of __kernel_standard_f.
23924 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23926 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23927 * sysdeps/x86_64/memset_chk.S: Likewise.
23929 2012-04-08 Andreas Jaeger <aj@suse.de>
23932 * manual/startup.texi (Environment Access): Describe return value
23933 for putenv and setenv.
23936 * manual/filesys.texi (Directory Entries): Add description for
23940 * manual/filesys.texi (Directory Entries): Clarify that it's file
23941 system not operating system in the description of DT_UNKNOWN.
23944 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23946 2012-04-08 Stephen Compall <s11@member.fsf.org>
23949 * manual/llio.texi (Opening and Closing Files): Add cross
23950 reference to explain mode argument.
23952 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23954 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23955 * sysdeps/x86_64/memset_chk.S: Likewise.
23957 2012-04-07 David S. Miller <davem@davemloft.net>
23959 * elf/elf.h (R_SPARC_WDISP10): Define.
23960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23963 R_SPARC_SIZE64 and R_SPARC_H34.
23965 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23967 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23968 conditions and remove no longer applicable assertion.
23970 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23972 * bits/byteswap.h: Include <features.h>.
23973 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23974 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23976 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23978 * bits/byteswap.h (__bswap_16): Removed.
23979 Include <bits/byteswap-16.h> to get __bswap_16.
23980 * sysdeps/i386/bits/byteswap.h: Likewise.
23981 * sysdeps/s390/bits/byteswap.h: Likewise.
23982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23983 * bits/byteswap-16.h: New file.
23984 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23985 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23986 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23987 * string/Makefile (headers): Add bits/byteswap-16.h.
23989 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23992 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23994 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23995 * nss/tst-nss-static.c: New.
23997 2012-04-06 Robert Millan <rmh@gnu.org>
24000 * manual/llio.texi (File Position Primitive): lseek
24001 refers to WHENCE when it really means OFFSET.
24003 2012-04-06 Andreas Jaeger <aj@suse.de>
24005 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24006 strncmp declarations.
24008 * abilist/libc.abilist: Add __poll and __ppoll.
24010 2012-04-05 David S. Miller <davem@davemloft.net>
24012 * scripts/check-local-headers.sh: Accept a host triplet in the
24013 path matched by the exclude regexp.
24015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24017 * sysdeps/powerpc/powerpc32/dl-machine.h
24018 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24019 * sysdeps/s390/s390-32/dl-machine.h
24020 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24021 * sysdeps/sparc/sparc32/dl-machine.h
24022 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24023 * sysdeps/sparc/sparc64/dl-machine.h
24024 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24026 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24028 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24029 undefined symbol errors.
24031 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24034 2012-04-05 Michael Matz <matz@suse.de>
24037 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24039 2012-04-05 Andreas Jaeger <aj@suse.de>
24042 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24045 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24047 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24048 which ROUND is no valid rounding mode.
24050 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24052 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24054 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24056 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24058 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24059 an exception using FPU order intentionally.
24061 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24063 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24064 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24065 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24066 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24068 2012-04-05 Simon Josefsson <simon@josefsson.org>
24071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24072 EINVAL when BUFLEN is too smal.
24074 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24077 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24078 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24080 2012-04-03 Andreas Jaeger <aj@suse.de>
24083 * manual/setjmp.texi (System V contexts): Fix sentence.
24086 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24087 New macro for this case.
24088 [!__GNUC__] (__bswap_64): New inline function for this case.
24089 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24090 * bits/byteswap.h: Likewise.
24091 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24092 ull, guard with __GLIBC_HAVE_LONG_LONG.
24094 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24095 __GLIBC_HAVE_LONG_LONG.
24097 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24098 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24100 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24103 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24104 inptr and inend, rather than using last_ch.
24106 2012-04-02 David S. Miller <davem@davemloft.net>
24108 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24109 * stdio-common/printf-parse.h (read_int): Change return type to
24110 'int', return -1 on INT_MAX overflow.
24111 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24112 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24113 overflows INT_MAX. Check for overflow of in-format-string precision
24114 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24115 SIZE_MAX not INT_MAX for integer overflow test.
24116 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24117 skip the construct in the format string but do not record anything.
24118 * stdio-common/bug22.c: Adjust to test both width/prevision
24119 INT_MAX overflow as well as total length INT_MAX overflow. Check
24120 explicitly for proper errno values.
24122 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24124 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24126 * string/test-strcmp.c [! WIDE]: Likewise.
24127 * time/tst-mktime2.c: Likewise for INT_MAX.
24128 * string/test-string.h: #include <sys/param.h> for MIN.
24130 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24131 * sysdeps/i386/init-first.c (init): Likewise.
24132 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24133 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24134 * sysdeps/sh/init-first.c (init): Likewise.
24136 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24138 * po/ru.po: Update from translation team.
24139 * po/vi.po: Likewise.
24141 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24143 * resolv/nss_dns/dns-host.c: Merge copyright years.
24145 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24147 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24148 Optimize memcpy with prefetch if
24149 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24150 src, dst pointers have unequal 16 byte alignments.
24152 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24155 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24156 from a CNAME entry and return the minimum ttl for the query.
24157 (gaih_getanswer_slice): Likewise.
24159 2012-03-30 Jeff Law <law@redhat.com>
24161 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24163 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24164 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24166 * resolv/nss_dns/dns-host.c: Update copyright year.
24168 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24170 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24171 requests to save a system call. Fix check that all bytes are sent.
24173 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24174 comments for sendmmsg.
24176 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24179 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24180 with only 1 character between 0x0041 and 0x01b0.
24181 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24182 * wcsmbs/tst-mbsnrtowcs.c: New file.
24184 2012-03-29 David S. Miller <davem@davemloft.net>
24186 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24187 small copies by hand.
24189 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24192 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24193 _nss_compat_initgroups_dyn): Fall back to malloc/free
24194 for large group memberships.
24196 2012-03-28 David S. Miller <davem@davemloft.net>
24198 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24199 that branches into memcpy.
24200 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24201 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24203 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24206 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24207 implementation too.
24208 * sysdeps/sparc/mempcpy.S: New file.
24210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24211 the IFUNC routine in the libc case.
24212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24214 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24215 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24216 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24217 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24218 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24219 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24220 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24221 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24223 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24224 loop to 256 bytes instead of 64 bytes and fix test signedness.
24226 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24227 * sysdeps/sparc/sparc32/Makefile: rather than here...
24228 * sysdeps/sparc/sparc64/Makefile: and here.
24230 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24232 * malloc/mallocbug.c: Avoid warnings about unused variables.
24234 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24237 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24238 in the right place. Discard and retry query if response is
24239 larger than input buffer size.
24241 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24246 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24247 x for large integer exponent.
24248 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24249 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24250 sign of result as needed afterwards.
24251 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24252 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24253 result for underflowing pow the same as for overflow.
24254 (__kernel_standard_l): Handle powl overflow and underflow here
24255 rather than calling __kernel_standard.
24256 * math/libm-test.inc (pow_test): Add more tests.
24271 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24272 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24273 (__kernel_standard_l): New function.
24274 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24276 * math/w_acosl.c (__acosl): Likewise.
24277 * math/w_asinl.c (__asinl): Likewise.
24278 * math/w_atan2l.c (__atan2l): Likewise.
24279 * math/w_atanhl.c (__atanhl): Likewise.
24280 * math/w_coshl.c (__coshl): Likewise.
24281 * math/w_exp10l.c (__exp10l): Likewise.
24282 * math/w_exp2l.c (__exp2l): Likewise.
24283 * math/w_fmodl.c (__fmodl): Likewise.
24284 * math/w_hypotl.c (__hypotl): Likewise.
24285 * math/w_j0l.c (__j0l, __y0l): Likewise.
24286 * math/w_j1l.c (__j1l, __y1l): Likewise.
24287 * math/w_jnl.c (__jnl, __ynl): Likewise.
24288 * math/w_lgammal.c (__lgammal): Likewise.
24289 * math/w_log10l.c (__log10l): Likewise.
24290 * math/w_log2l.c (__log2l): Likewise.
24291 * math/w_logl.c (__logl): Likewise.
24292 * math/w_powl.c (__powl): Likewise.
24293 * math/w_remainderl.c (__remainderl): Likewise.
24294 * math/w_scalbl.c (sysv_scalbl): Likewise.
24295 * math/w_sinhl.c (__sinhl): Likewise.
24296 * math/w_sqrtl.c (__sqrtl): Likewise.
24297 * math/w_tgammal.c (__tgammal): Likewise.
24298 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24299 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24300 * math/libm-test.inc (acos_test): Add more tests.
24301 (acosh_test): Likewise.
24302 (asin_test): Likewise.
24303 (atanh_test): Likewise.
24304 (exp_test): Likewise.
24305 (exp10_test): Likewise.
24306 (exp2_test): Likewise.
24307 (expm1_test): Likewise.
24308 (lgamma_test): Likewise.
24309 (log_test): Likewise.
24310 (log10_test): Likewise.
24311 (log1p_test): Likewise.
24312 (log2_test): Likewise.
24313 (pow_test): Do not allow some spurious overflow exceptions.
24314 (sqrt_test): Add more tests.
24315 (tgamma_test): Likewise.
24316 (y0_test): Likewise.
24317 (y1_test): Likewise.
24318 (yn_test): Likewise.
24320 2012-03-27 Anton Blanchard <anton@samba.org>
24322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24328 2012-03-27 David S. Miller <davem@davemloft.net>
24330 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24332 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24333 have-as-vis3 check.
24335 2012-03-27 Andreas Jaeger <aj@suse.de>
24337 * sysdeps/x86_64/elf/configure.in: Moved to ...
24338 * sysdeps/x86_64/configure.in: ... here.
24339 * sysdeps/x86_64/elf/start.S: Moved to ...
24340 * sysdeps/x86_64/start.S: ... here.
24341 * sysdeps/x86_64/elf/configure: Delete.
24343 * sysdeps/x86_64/configure.in: Merge contents from
24344 sysdeps/i386/configure.in (without i686 check).
24346 * sysdeps/i386/elf/Versions: Merge into ...
24347 * sysdeps/i386/Versions: ... this.
24348 * sysdeps/i386/elf/Versions: Delete file.
24349 * sysdeps/i386/elf/start.S: Moved to ...
24350 * sysdeps/i386/start.S: ...here.
24351 * sysdeps/i386/elf/configure.in: Merge into...
24352 * sysdeps/i386/configure.in: ...here.
24353 * sysdeps/i386/elf/configure.in: Delete file.
24354 * sysdeps/i386/elf/configure: Delete file.
24356 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24357 * debug/backtracesyms.c: ... here.
24358 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24359 * debug/backtracesymsfd.c: ... here.
24360 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24361 * sysdeps/generic/ifunc-sel.h: ... here.
24363 * sysdeps/unix/i386/start.c: Delete file.
24364 * sysdeps/unix/sparc/start.c: Delete file.
24365 * sysdeps/unix/start.c: Delete file.
24367 * sysdeps/sh/elf/configure.in: Moved to ...
24368 * sysdeps/sh/configure.in: ... here.
24369 * sysdeps/sh/elf/start.S: Moved to ...
24370 * sysdeps/sh/start.S: ... here.
24371 * sysdeps/sh/elf/configure: Delete file.
24373 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24374 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24375 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24376 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24377 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24378 * sysdeps/powerpc/powerpc64/start.S: here.
24379 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24380 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24381 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24382 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24383 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24385 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24386 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24387 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24388 * sysdeps/powerpc/powerpc32/start.S: ... here.
24389 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24390 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24391 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24393 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24394 * sysdeps/powerpc/ifunc-sel.h: ... here.
24395 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24396 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24398 * sysdeps/sparc/elf/configure.in: Moved to ...
24399 * sysdeps/sparc/configure.in: ... here.
24400 * sysdeps/sparc/elf/configure: Delete file.
24401 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24402 * sysdeps/sparc/sparc32/start.S: ... here.
24403 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24404 * sysdeps/sparc/sparc64/start.S: ... here.
24405 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24406 * sysdeps/sparc/sparc32/Makefile: ... this.
24407 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24408 * sysdeps/sparc/sparc64/Makefile: ... this.
24410 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24411 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24412 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24413 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24414 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24415 * sysdeps/s390/s390-32/setjmp.S: ... here.
24416 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24417 * sysdeps/s390/s390-32/configure.in: ... here.
24418 * sysdeps/s390/s390-32/elf/configure: Delete file.
24419 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24420 * sysdeps/s390/s390-32/start.S: ... here.
24422 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24423 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24424 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24425 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24426 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24427 * sysdeps/s390/s390-64/setjmp.S: ... here.
24428 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24429 * sysdeps/s390/s390-64/configure.in: ... here
24430 * sysdeps/s390/s390-64/elf/configure: Delete file.
24431 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24432 * sysdeps/s390/s390-64/start.S: ... here.
24433 * sysdeps/s390/s390-64/elf/configure: Delete.
24435 * configure.in: Remove support for elf directories in sysdeps.
24437 * configure: Regenerated.
24438 * sysdeps/i386/configure: Regenerated.
24439 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24440 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24441 * sysdeps/s390/s390-32/configure: Regenerated.
24442 * sysdeps/s390/s390-64/configure: Regenerated.
24443 * sysdeps/sh/configure: Regenerated.
24444 * sysdeps/sparc/configure: Regenerated.
24445 * sysdeps/x86_64/configure: Regenerated.
24447 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24451 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24452 denormal result into account.
24454 2012-03-25 Roland McGrath <roland@hack.frob.com>
24456 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24457 Reported by Allan McRae <allan@archlinux.org>.
24459 2012-03-23 Jeff Law <law@redhat.com>
24461 * nss/getnssent.c (__nss_getent): Fix typo.
24463 2012-03-23 David S. Miller <davem@davemloft.net>
24465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24467 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24469 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24470 to pad to uint64_t for each field.
24471 (dl_tls_index): Replace unsigned long with uint64_t.
24473 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24474 Paul Pluzhnikov <ppluzhnikov@google.com>
24477 * grp/Makefile (otherlibs): Don't set it.
24478 * inet/Makefile (otherlibs): Likewise.
24479 * login/Makefile (otherlibs): Likewise.
24480 * nscd/Makefile (otherlibs): Likewise.
24481 * posix/Makefile (otherlibs): Likewise.
24482 * pwd/Makefile (otherlibs): Likewise.
24483 * rt/Makefile (otherlibs): Likewise.
24484 * sunrpc/Makefile (otherlibs): Likewise.
24485 * nss/Makefile (otherlibs): Likewise.
24486 Add libnss_files to routines and static-only-routines.
24487 ($(objpfx)getent): Remove rule.
24488 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24489 static-only-routines.
24491 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24494 * math/s_cexp.c: Include <float.h>.
24495 (__cexp): Handle exp result overflowing not necessarily
24496 overflowing both real and imaginary parts of result.
24497 * math/s_cexpf.c: Likewise.
24498 * math/s_cexpl.c: Likewise.
24499 * math/libm-test.inc (cexp_test): Add more tests.
24500 * sysdeps/i386/fpu/libm-test-ulps: Update.
24501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24503 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24505 * include/link.h (ELFW): New macro.
24506 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24507 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24509 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24511 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24514 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24516 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24518 (struct La_x32_retval): Likewise.
24520 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24522 * sysdeps/x86_64/preconfigure.in: New file.
24523 * sysdeps/x86_64/preconfigure: New generated file.
24525 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24528 * math/e_exp2l.c: Include <float.h>.
24529 (__ieee754_exp2l): Handle overflow and underflow cases
24530 separately. Only pass fractional part of argument to
24532 * math/libm-test.inc (exp2_test): Add more tests.
24534 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24535 negating x to take absolute value.
24536 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24541 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24542 computing low part if x was negated.
24543 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24545 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24547 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24548 la_x32_gnu_pltexit.
24549 (pltexit): Cast int_retval to ptrdiff_t.
24550 * elf/tst-auditmod3b.c: Likewise.
24551 * elf/tst-auditmod4b.c: Likewise.
24552 * elf/tst-auditmod5b.c: Likewise.
24553 * elf/tst-auditmod6b.c: Likewise.
24554 * elf/tst-auditmod6c.c: Likewise.
24555 * elf/tst-auditmod7b.c: Likewise.
24557 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24558 and x32_gnu_pltexit.
24560 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24561 __ELF_NATIVE_CLASS.
24562 (La_x32_regs): New macro.
24563 (La_x32_retval): Likewise.
24564 (la_x32_gnu_pltenter): New function prototype.
24565 (la_x32_gnu_pltexit): Likewise.
24567 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24574 * configure.in (libc_cv_cc_nofma): Check for option to disable
24575 generation of FMA instructions.
24576 * configure: Regenerate.
24577 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24578 * sysdeps/ieee754/dbl-64/Makefile: New file.
24579 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24580 Remove brandred-fma4.
24581 (CFLAGS-brandred-fma4.c): Remove.
24582 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24583 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24588 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24590 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24591 LLONG_MAX != LONG_MAX.
24592 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24593 (_fitoa_word): Likewise.
24594 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24595 LLONG_MAX != LONG_MAX.
24596 * stdio-common/_itowa.h: Include <_itoa.h>.
24597 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24598 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24599 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24600 only if not defined.
24601 (_ITOA_WORD_TYPE): Likewise.
24602 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24603 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24605 2012-03-21 David S. Miller <davem@davemloft.net>
24607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24609 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24611 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24612 of x86_64 when setting libc_cv_slibdir, libdir and
24614 * sysdeps/unix/sysv/linux/configure: Regenerated.
24616 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24618 * manual/lang.texi (Old Varargs): Remove section.
24619 (How Variadic): Update menu.
24620 (va_start): Do not mention varargs.h.
24622 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24623 Joseph Myers <joseph@codesourcery.com>
24625 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24627 * configure: Regenerated.
24629 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24631 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24632 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24635 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24638 * Makefile (files-for-dist): Remove NOTES.
24639 (NOTES): Remove rule.
24640 * README: Don't refer to NOTES.
24641 * manual/creature.texi: Don't include macros.texi.
24642 * manual/intro.texi (creature.texi): Remove comment referring to
24645 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24646 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24647 * configure: Regenerated.
24648 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24649 LIBC_TRY_CC_OPTION.
24650 (libc_cv_as_i686): Likewise.
24651 (libc_cv_cc_avx): Likewise.
24652 (libc_cv_cc_sse2avx): Likewise.
24653 (libc_cv_cc_fma4): Likewise.
24654 (libc_cv_cc_novzeroupper): Likewise.
24655 * sysdeps/i386/configure: Regenerated.
24658 * sysdeps/i386/fpu/s_cexp.S: Remove.
24659 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24660 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24661 * math/libm-test.inc (cexp_test): Add more tests.
24662 * sysdeps/i386/fpu/libm-test-ulps: Update.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24665 2012-03-21 Allan McRae <allan@archlinux.org>
24667 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24669 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24672 * math/w_exp2.c: Do not include <float.h>.
24673 (o_threshold, u_threshold): Remove.
24674 (__exp2): Calculate result before checking finiteness and calling
24676 * math/w_exp2f.c: Likewise.
24677 * math/w_exp2l.c: Likewise.
24678 * math/libm-test.inc (exp2_test): Require overflow exception for
24682 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24683 range of signed 64-bit integers before using fistpll. Remove
24684 checks for whether integers fit in mantissa bits.
24685 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24686 the range of signed 32-bit integers before using fistpl. Remove
24687 checks for whether integers fit in mantissa bits.
24688 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24689 (__ieee754_powl): Test for y outside the range of signed 64-bit
24690 integers before using fistpll. Reduce 64-bit values to 63-bit
24692 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24693 divide-by-zero is raised for zero to large negative powers.
24694 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24695 (__ieee754_powl): Test for y outside the range of signed 64-bit
24696 integers before using fistpll. Reduce 64-bit values to 63-bit
24698 * math/libm-test.inc (pow_test): Add more tests.
24700 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24702 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24703 <stdio-common/_itoa.h>.
24704 * debug/segfault.c: Likewise.
24705 * elf/dl-cache.c: Likewise.
24706 * elf/dl-minimal.c: Likewise.
24707 * elf/dl-misc.c: Likewise.
24708 * elf/dl-sysdep.c: Likewise.
24709 * elf/dl-version.c: Likewise.
24710 * elf/rtld.c: Likewise.
24711 * hurd/hurdsock.c: Likewise.
24712 * hurd/lookup-retry.c: Likewise.
24713 * malloc/malloc.c: Likewise.
24714 * malloc/mtrace.c: Likewise.
24715 * nscd/nscd_getgr_r.c: Likewise.
24716 * nscd/nscd_getpw_r.c: Likewise.
24717 * nscd/nscd_getserv_r.c: Likewise.
24718 * posix/getopt_init.c: Likewise.
24719 * posix/wordexp.c: Likewise.
24720 * stdio-common/_itoa.c: Likewise.
24721 * stdio-common/printf_fphex.c: Likewise.
24722 * stdio-common/vfprintf.c: Likewise.
24723 * string/_strerror.c: Likewise.
24724 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24725 * sysdeps/i386/i686/hp-timing.h: Likewise.
24726 * sysdeps/mach/_strerror.c: Likewise.
24727 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24728 * sysdeps/mach/hurd/sethostid.c: Likewise.
24729 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24730 * sysdeps/mach/xpg-strerror.c: Likewise.
24731 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24733 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24734 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24735 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24736 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24737 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24738 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24739 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24740 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24741 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24742 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24743 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24744 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24745 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24746 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24747 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24748 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24749 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24750 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24751 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24753 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24755 * stdio-common/_itoa.h: Moved to ...
24756 * sysdeps/generic/_itoa.h: Here.
24758 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24760 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24761 instead of "_itoa.h" and "_itowa.h".
24762 * stdio-common/vfprintf.: Likewise.
24764 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24766 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24768 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24769 (__signbit): Likwise.
24770 (llrintf): Likwise.
24773 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24775 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24778 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24780 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24781 OVERFLOW_EXCEPTION_OK.
24782 * math/libm-test.inc ("Philosophy"): Update comment about
24784 (OVERFLOW_EXCEPTION): Define.
24785 (OVERFLOW_EXCEPTION_OK): Likewise.
24786 (INVALID_EXCEPTION_OK): Renumber.
24787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24788 (IGNORE_ZERO_INF_SIGN): Likewise.
24789 (test_exceptions): Handle FE_OVERFLOW.
24790 (exp10_test): Expect overflow exceptions.
24791 (exp2_test): Likewise.
24792 (expm1_test): Likewise.
24793 (nextafter_test): Likewise.
24794 (pow_test): Likewise.
24795 (scalbn_test): Likewise.
24796 (scalbln_test): Likewise.
24798 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24800 * sysdeps/x86_64/bits/atomic.h
24801 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24803 (atomic_exchange_acq): Likewise.
24804 (__arch_exchange_and_add_body): Likewise.
24805 (__arch_add_body): Likewise.
24806 (atomic_add_negative): Likewise.
24807 (atomic_add_zero): Likewise.
24809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24811 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24812 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24814 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24816 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24817 Check __x86_64__ instead of __WORDSIZE.
24819 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24821 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24823 2012-03-19 David S. Miller <davem@davemloft.net>
24825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24827 * sysdeps/sparc/fpu/fenv_private.h: New file.
24828 * sysdeps/sparc/fpu/math_private.h: Use it.
24829 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24831 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24832 (libc_feholdexcept_setroundl): Remove.
24833 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24835 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24836 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24838 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24840 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24841 int64_t instead of long int.
24842 (INSERT_WORDS64): Likwise.
24844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24846 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24847 _Unwind_GetCFA return to _Unwind_Ptr first.
24849 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24852 * math/s_clog.c: Include <float.h>.
24853 (__clog): Scale large or subnormal inputs.
24854 * math/s_clogf.c: Likewise.
24855 * math/s_clogl.c: Likewise.
24856 * math/s_clog10.c: Include <float.h>.
24857 (M_LOG10_2): Define.
24858 (__clog10): Scale large or subnormal inputs.
24859 * math/s_clog10f.c: Likewise.
24860 * math/s_clog10l.c: Likewise.
24861 * math/libm-test.inc (clog_test): Add more tests.
24862 (clog10_test): Likewise.
24863 * sysdeps/i386/fpu/libm-test-ulps: Update.
24864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24867 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24869 * math/libm-test.inc (atan2_test): Add another test.
24871 * Makerules (common-objdir-compile): Remove.
24872 * sysdeps/unix/Makefile (config-generated): Do not add
24873 $(unix-generated) to variable.
24874 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24875 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24877 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24879 [generic bits/local_lim.h] (before-compile): Do not append to
24881 [generic bits/local_lim.h] (common-generated): Likewise.
24882 [generic sys/param.h] (before-compile): Do not append to variable.
24883 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24884 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24885 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24886 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24888 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24889 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24890 [generic sys/param.h] ($(addprefix
24891 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24892 [generic sys/param.h] (common-generated): Do not append to
24894 [generic sys/param.h] (sysdep_headers): Likewise.
24895 [generic bits/errno.h] (before-compile): Do not append to
24897 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24899 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24900 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24901 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24902 [generic bits/errno.h] (common-generated): Do not append to
24904 [generic bits/ioctls.h] (before-compile): Do not append to
24906 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24908 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24909 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24910 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24912 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24913 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24914 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24915 [generic bits/ioctls.h] (common-generated): Do not append to
24917 [generic sys/syscall.h] (syscall.h): Remove variable.
24918 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24920 [generic sys/syscall.h] (before-compile): Do not append to
24922 [generic sys/syscall.h] (common-generated): Likewise.
24923 * sysdeps/unix/errnos-tmpl.c: Remove file.
24924 * sysdeps/unix/errnos.awk: Likewise.
24925 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24926 * sysdeps/unix/ioctls.awk: Likewise.
24927 * sysdeps/unix/mk-local_lim.c: Likewise.
24928 * sysdeps/unix/snarf-ioctls: Likewise.
24930 2012-03-19 Richard Henderson <rth@twiddle.net>
24932 * sysdeps/i386/fpu/fenv_private.h: New file.
24933 * sysdeps/i386/fpu/math_private.h: Use it.
24934 (math_opt_barrier, math_force_eval): Remove.
24935 (libc_feholdexcept_setround_53bit): Remove.
24936 (libc_feupdateenv_53bit): Remove.
24937 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24938 (math_opt_barrier, math_force_eval): Remove.
24939 (libc_feholdexcept): Remove.
24940 (libc_feholdexcept_setround): Remove.
24941 (libc_fetestexcept, libc_fesetenv): Remove.
24942 (libc_feupdateenv_test): Remove.
24943 (libc_feupdateenv, libc_feholdsetround): Remove.
24944 (libc_feresetround): Remove.
24946 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24947 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24949 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24950 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24951 (libc_feupdateenv_testl): New.
24952 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24953 (libc_feupdateenv_testf): New.
24954 (libc_feupdateenv): Use libc_feupdateenv_test.
24955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24958 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24959 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24960 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24961 (libc_feresetround_noex): New.
24962 (libc_feresetround_noexf): New.
24963 (libc_feresetround_noexl): New.
24964 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24965 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24966 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24967 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24969 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24970 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24972 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24973 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24974 SET_RESTORE_ROUND_NOEX.
24975 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24976 SET_RESTORE_ROUND_NOEXF.
24977 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24978 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24979 (libc_feholdsetroundf): New.
24980 (libc_feresetround, libc_feresetroundf): New.
24982 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24983 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24984 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24986 * sysdeps/generic/math_private.h: Include <fenv.h>.
24987 (default_libc_feholdexcept): New.
24988 (default_libc_feholdexcept_setround): New.
24989 (default_libc_fesetenv, default_libc_feupdateenv): New.
24990 (libc_feholdexcept): Only define if undefined.
24991 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24992 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24993 (libc_feholdexcept_setroundl): Likewise.
24994 (libc_feholdexcept_setround_53bit): Likewise.
24995 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24996 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24997 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24998 (libc_feupdateenv_53bit): Likewise.
24999 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25000 (libc_feholdexcept): Convert from macro to inline function.
25001 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25002 (libc_fesetenv, libc_feupdateenv): Likewise.
25004 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25005 not previously defined.
25006 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25007 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25008 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25009 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25010 * sysdeps/ieee754/flt-32/math_private.h: New file.
25011 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25012 math_private.h below SET_FLOAT_WORD.
25013 (__isnan, __isinf_ns, __finite): Remove.
25014 (__isnanf, __isinf_nsf, __finitef): Remove.
25016 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25020 2012-03-17 David S. Miller <davem@davemloft.net>
25023 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25026 2012-03-16 David S. Miller <davem@davemloft.net>
25028 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25032 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25034 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25035 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25036 sysdep_routines when subdir is sysvipc.
25037 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25038 __getshmlba helper.
25040 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25042 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25044 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25047 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25051 (__lround): Renamed to ...
25052 (__llround): This. Replace long int with long long int.
25053 Define lround functions as aliases of llround functions.
25054 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25056 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25058 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25059 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25060 adresses to uintptr_t. Replace "long int" and "unsigned long
25061 int" with "greg_t" on va_arg.
25063 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25065 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25066 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25068 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25069 Move e_machine check before EI_CLASS check. Handle x32
25070 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25071 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25072 SKIP_EM_IA_64 and include
25073 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25075 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25076 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25077 (add_system_dir): New macro.
25079 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25080 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25082 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25093 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25095 * math/w_j0f.c (j0f): Likewise.
25097 * math/w_j0l.c (__j0l): Likewise.
25099 * math/w_j1.c (j1): Likewise.
25101 * math/w_j1f.c (j1f): Likewise.
25103 * math/w_j1l.c (__j1l): Likewise.
25105 * math/w_jn.c (jn): Likewise.
25107 * math/w_jnf.c (jnf): Likewise.
25109 * math/w_jnl.c (__jnl): Likewise.
25111 * math/libm-test.inc (j0_test): Add more tests.
25112 (j1_test): Likewise.
25113 (jn_test): Likewise. Add trailing semicolon to existing test.
25114 (y0_test): Likewise.
25115 (y1_test): Likewise.
25116 * sysdeps/i386/fpu/libm-test-ulps: Update.
25117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25122 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25123 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25125 (__tanl): Set errno for infinite argument.
25126 * sysdeps/i386/fpu/mptan.c: Remove.
25127 * sysdeps/i386/fpu/s_tan.S: Likewise.
25128 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25129 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25130 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25131 * math/libm-test.inc (tan_test): Add more tests and enable more
25132 tests for double and long double.
25133 * sysdeps/i386/fpu/libm-test-ulps: Update.
25134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25136 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25138 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25139 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25141 2012-03-16 Roland McGrath <roland@hack.frob.com>
25143 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25144 * configure.in: Use it for both main tree and add-ons.
25145 * configure: Regenerated.
25147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25149 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25151 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25153 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25157 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25158 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25159 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25160 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25163 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25165 != 0 for prec == 2.
25166 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25167 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25168 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25169 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25170 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25171 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25172 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25173 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25174 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25175 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25176 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25177 * math/libm-test.inc (cos_test): Add more tests and enable more
25178 tests for long double.
25179 (sin_test): Likewise.
25180 (sincos_test): Likewise.
25181 * sysdeps/i386/fpu/libm-test-ulps: Update.
25182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25184 2012-03-16 David S. Miller <davem@davemloft.net>
25186 * sysdeps/sparc/fpu/math_private.h: New file.
25188 2012-03-15 David S. Miller <davem@davemloft.net>
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25204 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25205 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25207 * sysdeps/sparc/sparc-ifunc.h: New file.
25208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25250 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25253 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25255 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25259 2012-03-15 Andreas Jaeger <aj@suse.de>
25262 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25263 ieee754/flt-32 implementation for sin, cos and sincos.
25264 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25265 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25266 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25267 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25268 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25269 ieee754/flt-32 implementation for tan.
25271 * math/libm-test.inc (cos_test): Enable some large input tests for
25273 (sin_test): Likewise.
25274 (sincos_test): Likewise.
25275 (tan_test): Add tests for large input.
25277 * sysdeps/i386/fpu/libm-test-ulps: Update.
25279 2012-03-15 Andreas Jaeger <aj@suse.de>
25282 * math/libm-test.inc (cos_test): Add more test cases.
25283 (sin_test): Likewise.
25284 (sincos_test): Likewise.
25286 2012-03-15 Andreas Jaeger <aj@suse.de>
25289 * math/libm-test.inc (cos_test): Add a test case for large input
25291 (sin_test): Likewise.
25292 (sincos_test): Likewise.
25294 2012-03-15 Andreas Jaeger <aj@suse.de>,
25295 Joseph Myers <joseph@codesourcery.com>
25298 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25299 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25300 * sysdeps/i386/fpu/branred.c: Likewise.
25301 * sysdeps/i386/fpu/dosincos.c: Likewise.
25302 * sysdeps/i386/fpu/mpa.c: Likewise.
25303 * sysdeps/i386/fpu/s_cos.S: Likewise.
25304 * sysdeps/i386/fpu/s_sin.S: Likewise.
25305 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25306 * sysdeps/i386/fpu/sincos32.c: Likewise.
25308 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25310 (libc_feupdateenv_53bit): Define.
25311 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25313 (libc_feupdateenv_53bit): Define.
25315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25316 53 bit (without extend i386 double precision).
25318 * math/libm-test.inc (sincos_test): Add tests for large input.
25322 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25324 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25328 2012-03-15 David S. Miller <davem@davemloft.net>
25330 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25331 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25332 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25333 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25358 fmin/fmax sysdep routines.
25359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25361 2012-03-14 David S. Miller <davem@davemloft.net>
25363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25380 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25381 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25384 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25385 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25386 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25388 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25389 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25391 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25440 * sysdeps/sparc/configure.in: New file.
25441 * sysdeps/sparc/configure: Generate.
25442 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25443 * configure: Regenerate.
25444 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25445 * config.make.in (have-as-vis3): New.
25446 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25447 available use -Av9d instead of -Av9a.
25448 * sysdeps/sparc/sparc64/Makefile: Likewise.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25460 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25464 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25465 fzeros/fnegs to load 0x80000000 into a float register instead of
25467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25469 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25473 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25474 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25475 ($(inst_includedir)/bits/syscall.h): Remove rule.
25476 ($(objpfx)bits/syscall.d): Include instead of
25477 $(objpfx)syscall-list.d.
25478 (generated): Change syscall-list.h and syscall-list.d to
25479 bits/syscall.h and bits/syscall.d.
25481 2012-03-14 Roland McGrath <roland@hack.frob.com>
25484 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25486 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25489 * math/s_csqrt.c: Include <float.h>.
25490 (__csqrt): Scale large or subnormal inputs.
25491 * math/s_csqrtf.c: Likewise.
25492 * math/s_csqrtl.c: Likewise.
25493 * math/libm-test.inc (csqrt_test): Add more tests.
25494 * sysdeps/i386/fpu/libm-test-ulps: Update.
25495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498 * math/libm-test.inc (hypot_test): Add more tests.
25500 2012-03-13 David S. Miller <davem@davemloft.net>
25503 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25504 double-precision for the calculation instead of scaling.
25506 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25508 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25509 manipulate bits before adding and subtracting TWO52[sx].
25510 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25511 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25513 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25515 2012-03-13 David S. Miller <davem@davemloft.net>
25517 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25518 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25520 rtld-global-offsets.h
25521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25526 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25528 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25529 'err' in the ifdef scope in which it is actually used.
25531 * nss/nss_db/db-init.c: Include string.h
25533 2012-03-12 David S. Miller <davem@davemloft.net>
25535 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25536 masking out of the most significant byte of random value used.
25537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25538 Fix coding style in previous change.
25540 * sysdeps/unix/sysv/linux/kernel-features.h
25541 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25542 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25544 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25547 2012-03-11 David S. Miller <davem@davemloft.net>
25549 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25550 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25551 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25552 for 'resultvar' otherwise things get truncated on 64-bit.
25554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25555 Fix masking out of the most significant byte of random value used.
25557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25559 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25563 2012-03-09 David S. Miller <davem@davemloft.net>
25565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25566 variables with appropriate CPP guards.
25567 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25568 frame pointer, not the stack pointer. Correct layout comments. Fix test
25569 on resulting framesize and the management of the outregs buffer for pltexit.
25570 Preserve floating point return values across _dl_call_pltexit call.
25571 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25572 framesize and the management of the outregs buffer for pltexit.
25573 Preserve floating point return values across _dl_call_pltexit
25575 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25576 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25577 (print_exit): Fix format string for return register value.
25579 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25581 * sunrpc/Makefile (others): Add rpcgen.
25582 ($(objpfx)rpcgen): Remove special build rule and dependency on
25584 * sunrpc/rpcgen.c: New file.
25586 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25589 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25590 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25591 * sysdeps/i386/crti.S: Likewise.
25592 * sysdeps/i386/crtn.S: Likewise.
25593 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25594 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25595 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25596 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25597 * sysdeps/sh/crti.S: Likewise.
25598 * sysdeps/sh/crtn.S: Likewise.
25599 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25602 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25604 * locale/programs/locfile-kw.gperf: Likewise.
25605 * locale/programs/charmap-kw.h: Regenerated.
25606 * locale/programs/locfile-kw.h: Likewise.
25609 * intl/plural.y: Replace FSF snail mail address with URL.
25610 * intl/plural.c: Regenerated.
25612 2012-03-09 Richard Henderson <rth@twiddle.net>
25614 * include/math_private.h: Remove file.
25615 * math/math_private.h: Move file ...
25616 * sysdeps/generic/math_private.h: ... here.
25618 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25619 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25620 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25622 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25623 and <math_private.h>.
25624 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25625 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25626 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25627 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25628 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25635 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25636 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25640 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25642 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25674 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25698 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25703 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25704 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25705 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25707 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25708 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25709 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25711 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25712 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25713 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25714 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25715 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25717 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25718 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25719 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25720 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25721 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25722 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25723 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25724 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25725 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25726 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25727 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25729 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25730 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25731 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25732 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25733 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25734 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25735 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25736 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25737 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25738 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25739 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25741 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25743 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25744 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25745 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25747 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25748 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25749 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25751 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25752 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25753 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25754 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25755 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25756 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25757 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25758 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25759 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25761 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25762 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25763 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25765 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25766 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25767 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25768 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25769 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25770 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25771 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25772 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25773 * sysdeps/ieee754/k_standard.c: Likewise.
25774 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25778 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25791 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25792 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25793 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25833 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25834 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25835 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25836 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25837 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25838 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25840 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25841 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25844 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25846 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25889 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25893 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25894 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25901 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25906 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25923 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25934 * sysdeps/ieee754/s_lib_version.c: Likewise.
25935 * sysdeps/ieee754/s_matherr.c: Likewise.
25936 * sysdeps/ieee754/s_signgam.c: Likewise.
25937 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25938 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25939 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25940 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25941 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25942 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25943 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25944 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25945 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25946 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25947 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25948 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25949 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25950 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25951 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25952 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25954 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25959 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25961 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25962 * sunrpc/rpc_main.c: Likewise.
25963 * sunrpc/rpc_svcout.c: Likewise.
25965 2012-03-09 David S. Miller <davem@davemloft.net>
25967 * include/math_private.h: New file.
25969 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25971 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25972 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25973 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25974 from <bits/socket_type.h>.
25975 (enum __socket_type): Don't define here.
25976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25978 bits/socket_type.h.
25981 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25982 checking __USE_GNU.
25984 * Makerules ($(inst_includedir)/%.h): New rule.
25985 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25986 (install-others): Remove variable setting.
25987 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25989 2012-03-08 Richard Henderson <rth@twiddle.net>
25991 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25992 from macro to inline function; merge with the
25993 !__LIBC_INTERNAL_MATH_INLINES version.
25994 (__ieee754_sqrtf): Likewise.
25996 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25997 to inline function.
25998 (__rintf, __floor, __floorf): Likewise.
26000 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26001 macro to inline function.
26002 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26004 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26005 not <math/math_private.h>.
26007 2012-03-08 David S. Miller <davem@davemloft.net>
26009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26011 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26013 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26015 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26017 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26018 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26020 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26022 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26023 be defined individually, they must be defined as a block. Define
26024 S for printing a string instead of hidint the different by using a
26025 macro for adding the 'l'.
26026 * stdio-common/tst-fphex-wide.c: Adjust.
26028 2012-03-07 Marek Polacek <polacek@redhat.com>
26030 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26032 2012-03-08 Marek Polacek <polacek@redhat.com>
26035 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26036 * stdio-common/tst-fphex.c: Define a few macros to make the
26037 test reusable. Use them.
26038 * stdio-common/tst-fphex-wide.c: New file.
26040 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26043 * manual/macros.texi (gnusystems): New macro.
26044 (nongnusystems): Likewise.
26045 (gnulinuxhurdsystems): Likewise.
26046 (gnuhurdsystems): Likewise..
26047 (gnulinuxsystems): Likewise.
26048 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26049 variants of the GNU system, not "GNU system".
26050 * manual/conf.texi: Likewise.
26051 * manual/errno.texi: Likewise. Update example of errno macro
26053 * manual/filesys.texi: Likewise.
26054 (getumask): Document as specific to GNU/Hurd.
26055 * manual/install.texi: Likewise. Reword some references to
26057 * manual/intro.texi: Likewise.
26058 * manual/io.texi: Likewise.
26059 (File Name Portability): Detail which constraints are inapplicable
26060 to all GNU systems and which are only inapplicable to GNU/Hurd.
26061 * manual/job.texi: Likewise.
26062 * manual/llio.texi: Likewise.
26063 (O_NOCTTY): Document as present on GNU/Linux.
26064 * manual/maint.texi: Likewise.
26065 * manual/memory.texi: Likewise.
26066 * manual/pattern.texi: Likewise.
26067 * manual/pipe.texi: Likewise.
26068 * manual/process.texi: Likewise.
26069 * manual/resource.texi: Likewise.
26070 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26072 * manual/setjmp.texi: Likewise.
26073 * manual/signal.texi: Likewise.
26074 * manual/startup.texi: Likewise.
26075 * manual/stdio.texi: Likewise.
26076 * manual/terminal.texi: Likewise.
26077 (ONLCR): Document as POSIX.
26078 (OXTABS): Document availability on GNU/Linux as XTABS.
26079 (ONOEOT): Document availability separately from other bits.
26080 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26081 * manual/time.texi: Likewise.
26082 * manual/users.texi: Likewise.
26083 * INSTALL: Regenerated.
26084 * sysdeps/gnu/errlist.c: Regenerated.
26086 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26087 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26088 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26090 * configure: Regenerated.
26092 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26094 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26095 default includes instead of AC_HEADER_CHECK.
26096 * sysdeps/i386/configure: Regenerated.
26099 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26100 * math/s_cacoshf.c (__cacoshf): Likewise.
26101 * math/s_cacoshl.c (__cacoshl): Likewise.
26102 * math/s_casinh.c (__casinh): Set signs of result from argument.
26103 * math/s_casinhf.c (__casinhf): Likewise.
26104 * math/s_casinhl.c (__casinhl): Likewise.
26105 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26106 (casinh_test): Add more tests.
26107 * sysdeps/i386/fpu/libm-test-ulps: Update.
26108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26110 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26112 * po/zh_TW.po: Update from translation team.
26114 * login/Makefile (distribute): Remove variable.
26115 * catgets/Makefile: Likewise.
26116 * mach/Makefile: Likewise.
26117 * malloc/Makefile: Likewise.
26118 * misc/Makefile: Likewise.
26119 * iconv/Makefile: Likewise.
26120 * nscd/Makefile: Likewise.
26121 * hurd/Makefile: Likewise.
26122 * manual/Makefile: Likewise.
26123 * locale/Makefile: Likewise.
26124 * intl/Makefile: Likewise.
26125 * conform/Makefile: Likewise.
26126 * nss/Makefile: Likewise.
26127 * time/Makefile: Likewise.
26128 * soft-fp/Makefile: Likewise.
26129 * dirent/Makefile: Likewise.
26130 * gmon/Makefile: Likewise.
26131 * po/Makefile: Likewise.
26132 * rt/Makefile: Likewise.
26133 * socket/Makefile: Likewise.
26134 * math/Makefile: Likewise.
26135 * signal/Makefile: Likewise.
26136 * debug/Makefile: Likewise.
26137 * elf/Makefile: Likewise.
26138 * timezone/Makefile: Likewise.
26139 * stdlib/Makefile: Likewise.
26140 * iconvdata/Makefile: Likewise.
26141 * sunrpc/Makefile: Likewise.
26142 * io/Makefile: Likewise.
26143 * argp/Makefile: Likewise.
26144 * inet/Makefile: Likewise.
26145 * hesiod/Makefile: Likewise.
26146 * grp/Makefile: Likewise.
26147 * csu/Makefile: Likewise.
26148 * wctype/Makefile: Likewise.
26149 * crypt/Makefile: Likewise.
26150 * libio/Makefile: Likewise.
26151 * string/Makefile: Likewise.
26152 * nis/Makefile: Likewise.
26153 * resolv/Makefile: Likewise.
26154 * stdio-common/Makefile: Likewise.
26155 * wcsmbs/Makefile: Likewise.
26156 * dlfcn/Makefile: Likewise.
26157 * posix/Makefile: Likewise.
26160 * timezone/Makefile: Don't install timezone files, just the programs
26163 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26165 * nss/databases.def: Add missing gshadow entry.
26167 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26169 2012-03-06 Marek Polacek <polacek@redhat.com>
26172 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26173 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26174 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26175 * stdio-common/tst-long-dbl-fphex.c: New file.
26177 2012-03-06 David S. Miller <davem@davemloft.net>
26179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26180 (set_obp_int): New function.
26181 (get_obp_int): New function.
26182 (__get_clockfreq_via_dev_openprom): Likewise.
26183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26184 Avoid unused variable warnings on 'val' and use builtin_expect.
26185 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26187 (INLINE_CLONE_SYSCALL): Likewise.
26189 2012-03-05 David S. Miller <davem@davemloft.net>
26191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26193 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26198 only for |x| >= 40.
26199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26201 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26204 Replace gettimeofday with __vdso_gettimeofday.
26206 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26207 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26208 __vdso_clock_gettime and __vdso_getcpu.
26210 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26211 time with __vdso_time.
26213 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26215 * manual/lang.texi (size_t): Note types to which size_t may be
26216 equivalent with the GNU C Library, but do not describe when
26217 differences between them are significant.
26219 2012-03-05 Andreas Jaeger <aj@suse.de>
26221 * sysdeps/i386/fpu/libm-test-ulps: Update.
26223 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26226 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26227 (__ieee754_pow): Save and restore rounding mode and use
26228 round-to-nearest for main computations.
26229 * math/libm-test.inc (pow_test_tonearest): New function.
26230 (pow_test_towardzero): Likewise.
26231 (pow_test_downward): Likewise.
26232 (pow_test_upward): Likewise.
26233 (main): Call the new functions.
26234 * sysdeps/i386/fpu/libm-test-ulps: Update.
26235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26238 * math/libm-test.inc (cosh_test_tonearest): New function.
26239 (cosh_test_towardzero): Likewise.
26240 (cosh_test_downward): Likewise.
26241 (cosh_test_upward): Likewise.
26242 (sinh_test_tonearest): Likewise.
26243 (sinh_test_towardzero): Likewise.
26244 (sinh_test_downward): Likewise.
26245 (sinh_test_upward): Likewise.
26246 (main): Call the new functions.
26247 * sysdeps/i386/fpu/libm-test-ulps: Update.
26248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26250 2012-03-05 Tom de Vries <tom@codesourcery.com>
26252 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26253 default stack guard is set in last bytes.
26254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26256 2012-03-05 Kees Cook <keescook@chromium.org>
26258 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26261 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26262 possibly allocate from heap instead of stack.
26263 * stdio-common/bug-vfprintf-nargs.c: New file.
26264 * stdio-common/Makefile (tests): Add nargs overflow test.
26266 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26270 2012-03-03 Marek Polacek <polacek@redhat.com>
26272 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26273 * math/math_private.h: Likewise.
26274 * stdlib/tst-strtod.c: Likewise.
26275 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26276 * sysdeps/x86_64/bits/atomic.h: Likewise.
26278 2012-03-02 David S. Miller <davem@davemloft.net>
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26285 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26286 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26287 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26289 2012-03-02 Roland McGrath <roland@hack.frob.com>
26292 * manual/examples/README: New file, says the example source files
26293 can be used under GPL>=2.
26294 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26295 line containing just "*/".
26296 * manual/examples/add.c: Add copyright header (GPL>=2).
26297 * manual/examples/argp-ex1.c: Likewise.
26298 * manual/examples/argp-ex2.c: Likewise.
26299 * manual/examples/argp-ex3.c: Likewise.
26300 * manual/examples/argp-ex4.c: Likewise.
26301 * manual/examples/atexit.c: Likewise.
26302 * manual/examples/db.c: Likewise.
26303 * manual/examples/dir.c: Likewise.
26304 * manual/examples/dir2.c: Likewise.
26305 * manual/examples/execinfo.c: Likewise.
26306 * manual/examples/filecli.c: Likewise.
26307 * manual/examples/filesrv.c: Likewise.
26308 * manual/examples/fmtmsgexpl.c: Likewise.
26309 * manual/examples/genpass.c: Likewise.
26310 * manual/examples/inetcli.c: Likewise.
26311 * manual/examples/inetsrv.c: Likewise.
26312 * manual/examples/isockad.c: Likewise.
26313 * manual/examples/longopt.c: Likewise.
26314 * manual/examples/memopen.c: Likewise.
26315 * manual/examples/memstrm.c: Likewise.
26316 * manual/examples/mkfsock.c: Likewise.
26317 * manual/examples/mkisock.c: Likewise.
26318 * manual/examples/mygetpass.c: Likewise.
26319 * manual/examples/pipe.c: Likewise.
26320 * manual/examples/popen.c: Likewise.
26321 * manual/examples/rprintf.c: Likewise.
26322 * manual/examples/search.c: Likewise.
26323 * manual/examples/select.c: Likewise.
26324 * manual/examples/setjmp.c: Likewise.
26325 * manual/examples/sigh1.c: Likewise.
26326 * manual/examples/sigusr.c: Likewise.
26327 * manual/examples/stpcpy.c: Likewise.
26328 * manual/examples/strdupa.c: Likewise.
26329 * manual/examples/strftim.c: Likewise.
26330 * manual/examples/strncat.c: Likewise.
26331 * manual/examples/subopt.c: Likewise.
26332 * manual/examples/swapcontext.c: Likewise.
26333 * manual/examples/termios.c: Likewise.
26334 * manual/examples/testopt.c: Likewise.
26335 * manual/examples/testpass.c: Likewise.
26336 * manual/examples/timeval_subtract.c: Likewise.
26339 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26341 * manual/timeval_subtract.c.texi: ... here, new file.
26343 2012-03-02 David S. Miller <davem@davemloft.net>
26345 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26347 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26350 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26351 (__sin): Save and restore rounding mode and use round-to-nearest
26352 for all computations.
26353 (__cos): Save and restore rounding mode and use round-to-nearest
26354 for all computations.
26355 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26357 (tan): Save and restore rounding mode and use round-to-nearest for
26359 * math/libm-test.inc (cos_test_tonearest): New function.
26360 (cos_test_towardzero): Likewise.
26361 (cos_test_downward): Likewise.
26362 (cos_test_upward): Likewise.
26363 (sin_test_tonearest): Likewise.
26364 (sin_test_towardzero): Likewise.
26365 (sin_test_downward): Likewise.
26366 (sin_test_upward): Likewise.
26367 (tan_test_tonearest): Likewise.
26368 (tan_test_towardzero): Likewise.
26369 (tan_test_downward): Likewise.
26370 (tan_test_upward): Likewise.
26371 (main): Call the new functions.
26372 * sysdeps/i386/fpu/libm-test-ulps: Update.
26373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26377 small n, then large n, before computing and testing k+n.
26378 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26379 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26383 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26384 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26385 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26386 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26387 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26388 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26389 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26391 * math/libm-test.inc (scalbn_test): Add more tests.
26392 (scalbln_test): Likewise.
26394 * manual/filesys.texi (mode_t): Describe constraints on size and
26395 signedness, not exact equivalence to a particular type.
26397 (ino64_t): Likewise.
26399 (nlink_t): Likewise.
26400 (blkcnt_t): Likewise.
26401 (blkcnt64_t): Likewise.
26402 * manual/llio.texi (off_t): Likewise.
26405 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26406 (__ieee754_exp): Save and restore rounding mode and use
26407 round-to-nearest for all computations.
26408 * math/libm-test.inc (exp_test_tonearest): New function.
26409 (exp_test_towardzero): Likewise.
26410 (exp_test_downward): Likewise.
26411 (exp_test_upward): Likewise.
26412 (main): Call the new functions.
26413 * sysdeps/i386/fpu/libm-test-ulps: Update.
26414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26416 2012-03-01 Chris Demetriou <cgd@google.com>
26418 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26419 have predictable order.
26421 2012-03-01 David S. Miller <davem@davemloft.net>
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26425 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26426 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26427 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26428 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26430 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26431 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26432 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26434 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26435 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26436 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26437 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26438 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26443 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26444 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26446 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26447 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26448 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26449 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26450 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26452 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26454 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26455 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26456 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26457 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26459 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26460 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26461 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26462 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26463 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26464 * sysdeps/sparc/elf/configure: Regenerated.
26466 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26468 * configure.in (AS, LD): Require binutils 2.20 or later.
26469 * configure: Regenerated.
26470 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26471 as required minimum version.
26472 * INSTALL: Regenerated.
26476 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26477 before squaring exponent.
26478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26479 bottom long double and 27 bits of top long double before squaring
26481 * math/libm-test.inc (erfc_test): Add more tests.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26486 2012-03-01 Kai Tietz <ktietz@redhat.com>
26488 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26489 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26490 containing bit-fields.
26491 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26492 * soft-fp/single.h (_FP_UNION_S): Likewise.
26493 * soft-fp/double.h (_FP_UNION_D): Likewise.
26495 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26498 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26499 not include ../strcmp.S.
26500 [USE_AS_STRNCASECMP_L]: Likewise.
26501 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26502 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26503 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26504 (__strncasecmp_l_ia32): Define as alias to
26505 __strncasecmp_l_nonascii.
26508 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26509 * sysdeps/i386/fpu/libm-test-ulps: Update.
26510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26512 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26515 2012-02-29 Jeff Law <law@redhat.com>
26517 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26518 out of bounds read.
26520 2012-02-29 Marek Polacek <polacek@redhat.com>
26523 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26524 * elf/Makefile: Add rules to run tst-unused-dep.out.
26526 2012-02-28 David S. Miller <davem@davemloft.net>
26528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26532 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26533 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26535 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26537 * math/libm-test.inc (llround_test): Move one test from
26538 lround_test. Use TEST_f_L in moved test.
26539 (lround_test): Move misplaced test to llround_test. Add testcase
26542 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26544 * sysdeps/x86_64/fpu/e_expf.S: New file.
26545 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26547 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26550 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26551 of remain_len that may cause incomplete multi-byte character and
26553 * posix/bug-regex33.c: New file.
26554 * posix/Makefile (tests): Add bug-regex33.
26556 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26558 * manual/macros.texi: New file.
26559 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26560 * manual/libc.texinfo: Include macros.texi.
26561 * manual/creatute.texi: Likewise.
26562 * manual/install.texi: Likewise.
26563 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26564 @glibcadj{} in references to the GNU C Library.
26565 * manual/charset.texi: Likewise.
26566 * manual/conf.texi: Likewise.
26567 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26568 when not using those macros.
26569 * manual/creature.texi: Likewise.
26570 * manual/crypt.texi: Likewise.
26571 * manual/errno.texi: Likewise.
26572 * manual/filesys.texi: Likewise.
26573 * manual/header.texi: Likewise.
26574 * manual/install.texi: Likewise.
26575 * manual/intro.texi: Likewise.
26576 * manual/io.texi: Likewise.
26577 * manual/job.texi: Likewise.
26578 * manual/lang.texi: Likewise.
26579 * manual/libc.texiinfo: Likewise.
26580 * manual/llio.texi: Likewise.
26581 * manual/locale.texi: Likewise.
26582 * manual/maint.texi: Likewise.
26583 * manual/math.texi: Likewise.
26584 * manual/memory.texi: Likewise.
26585 * manual/message.texi: Likewise.
26586 * manual/nss.texi: Likewise.
26587 * manual/pattern.texi: Likewise.
26588 * manual/process.texi: Likewise.
26589 * manual/resource.texi: Likewise.
26590 * manual/search.texi: Likewise.
26591 * manual/setjmp.texi: Likewise.
26592 * manual/signal.texi: Likewise.
26593 * manual/socket.texi: Likewise.
26594 * manual/startup.texi: Likewise.
26595 * manual/stdio.texi: Likewise.
26596 * manual/string.texi: Likewise.
26597 * manual/sysinfo.texi: Likewise.
26598 * manual/syslog.texi: Likewise.
26599 * manual/terminal.texi: Likewise.
26600 * manual/time.texi: Likewise.
26601 * manual/users.texi: Likewise.
26602 * INSTALL: Regenerated.
26603 * NOTES: Regenerated.
26604 * sysdeps/gnu/errlist.c: Regenerated.
26606 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26608 * include/dirent.h: Include <dirstream.h> before
26611 2012-02-28 David S. Miller <davem@davemloft.net>
26613 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26614 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26615 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26616 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26618 2012-02-27 David S. Miller <davem@davemloft.net>
26620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26622 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26623 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26626 frame pointer instead of stack pointer relative arg slot.
26627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26628 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26629 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26631 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26634 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26636 2012-02-27 David S. Miller <davem@davemloft.net>
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26642 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26643 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26644 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26645 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26647 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26649 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26650 later. Allow versions 5-9.
26651 * configure: Regenerated.
26652 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26653 required minimum version and 4.6 as recommended version. Do not
26654 mention bugs in GCC 2.7 and 2.8.
26655 * INSTALL: Regenerated.
26657 2012-02-27 David S. Miller <davem@davemloft.net>
26659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26663 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26664 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26665 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26666 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26669 manipulate bits before adding and subtracting TWO112[sx].
26670 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26672 2012-02-27 Roland McGrath <roland@hack.frob.com>
26675 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26676 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26677 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26678 being in POSIX, because they are in 1003.1-2008.
26680 * rt/tst-aio.c: Include <fcntl.h>.
26681 * rt/tst-aio7.c: Likewise.
26682 * rt/tst-aio64.c: Likewise.
26684 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26686 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26688 * manual/install.texi (--with-headers): Describe headers as
26689 interface headers, not private headers.
26690 (Specific advice for GNU/Linux systems): Describe use of headers
26691 from "make headers_install", not private headers from older
26693 * INSTALL: Regenerated.
26694 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26696 * sysdeps/unix/sysv/linux/configure: Regenerated.
26698 * manual/llio.texi (fclean): Remove documentation.
26700 * manual/Makefile (libc-texi-generated): New variable. Include
26702 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26703 $(libc-texi-generated), not duplicated list of files.
26704 (version.texi, stamp-version): New rules.
26705 (realclean): Remove $(libc-texi-generated), not individual files
26706 from that list. Do not remove dir-add.texinfo.
26707 * manual/libc.texinfo: Comment out uses of edition numbers and
26708 references to printed manual. Remove last-updated dates.
26709 (EDITION): Comment out.
26711 (VERSION, UPDATED): Remove.
26712 (version.texi): Include.
26714 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26716 * sysdeps/posix/spawni.c: Include <signal.h>.
26717 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26718 * sysdeps/pthread/aio_fsync.c: Likewise.
26720 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26722 * conform/Makefile (tests): Run only when not cross-compiling and
26723 when fast-check is not defined.
26725 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26726 * conform/data/limits.h-data: Fixes for POSIX2008.
26727 * conform/run-conformtest.sh: Run all tests.
26728 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26730 * include/bits/dlfcn.h: Likewise.
26731 * include/langinfo.h: Likewise.
26732 * include/monetary.h: Likewise.
26733 * include/sys/poll.h: Likewise.
26735 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26737 * posix/spawn.h: Define __need_sigset_t.
26738 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26739 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26740 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26741 to get sigevent_t only.
26742 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26743 only for __USE_GNU.
26744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26745 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26746 process_vm_writev only for __USE_GNU.
26747 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26749 * conform/Makefile: For now ignore errors from run-conformtest.
26750 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26751 POSIX to avoid namespace pollution. Don't prepend headers.
26752 * conform/data/aio.h-data: Fixes for POSIX testing.
26753 * conform/data/fcntl.h-data: Likewise.
26754 * conform/data/glob.h-data: Likewise.
26755 * conform/data/grp.h-data: Likewise.
26756 * conform/data/pthread.h-data: Likewise.
26757 * conform/data/pwd.h-data: Likewise.
26758 * conform/data/signal.h-data: Likewise.
26759 * conform/data/spawn.h-data: Likewise.
26760 * conform/data/stdio.h-data: Likewise.
26761 * conform/data/stdlib.h-data: Likewise.
26762 * conform/data/stropts.h-data: Likewise.
26763 * conform/data/sys/mman.h-data: Likewise.
26764 * conform/data/sys/stat.h-data: Likewise.
26765 * conform/data/sys/types.h-data: Likewise.
26766 * conform/data/sys/wait.h-data: Likewise.
26767 * conform/data/time.h-data: Likewise.
26768 * conform/data/unistd.h-data: Likewise.
26769 * conform/data/utime.h-data: Likewise.
26771 * io/sys/stat.h: fchmod was always in POSIX.
26772 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26773 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26774 * rt/aio.h: Define __need_timespec before including <time.h>.
26775 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26776 struct. Add forward declaration of pthread_attr_t and use it in
26778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26780 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26781 always remove CLK_TCK definition.
26783 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26785 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26787 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26789 * conform/run-conformtest.sh: New file.
26790 * conform/Makefile: Run run-conformtest for tests.
26791 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26794 * conform/data/uchar.h-data: New file.
26795 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26796 * conform/data/arpa/inet.h-data: Likewise.
26797 * conform/data/assert.h-data: Likewise.
26798 * conform/data/complex.h-data: Likewise.
26799 * conform/data/cpio.h-data: Likewise.
26800 * conform/data/ctype.h-data: Likewise.
26801 * conform/data/dirent.h-data: Likewise.
26802 * conform/data/dlfcn.h-data: Likewise.
26803 * conform/data/errno.h-data: Likewise.
26804 * conform/data/fcntl.h-data: Likewise.
26805 * conform/data/float.h-data: Likewise.
26806 * conform/data/fmtmsg.h-data: Likewise.
26807 * conform/data/fnmatch.h-data: Likewise.
26808 * conform/data/ftw.h-data: Likewise.
26809 * conform/data/glob.h-data: Likewise.
26810 * conform/data/grp.h-data: Likewise.
26811 * conform/data/iconv.h-data: Likewise.
26812 * conform/data/inttypes.h-data: Likewise.
26813 * conform/data/langinfo.h-data: Likewise.
26814 * conform/data/libgen.h-data: Likewise.
26815 * conform/data/limits.h-data: Likewise.
26816 * conform/data/locale.h-data: Likewise.
26817 * conform/data/math.h-data: Likewise.
26818 * conform/data/monetary.h-data: Likewise.
26819 * conform/data/mqueue.h-data: Likewise.
26820 * conform/data/ndbm.h-data: Likewise.
26821 * conform/data/net/if.h-data: Likewise.
26822 * conform/data/netdb.h-data: Likewise.
26823 * conform/data/netinet/in.h-data: Likewise.
26824 * conform/data/nl_types.h-data: Likewise.
26825 * conform/data/poll.h-data: Likewise.
26826 * conform/data/pthread.h-data: Likewise.
26827 * conform/data/pwd.h-data: Likewise.
26828 * conform/data/regex.h-data: Likewise.
26829 * conform/data/sched.h-data: Likewise.
26830 * conform/data/search.h-data: Likewise.
26831 * conform/data/semaphore.h-data: Likewise.
26832 * conform/data/setjmp.h-data: Likewise.
26833 * conform/data/signal.h-data: Likewise.
26834 * conform/data/spawn.h-data: Likewise.
26835 * conform/data/stdarg.h-data: Likewise.
26836 * conform/data/stdio.h-data: Likewise.
26837 * conform/data/stdlib.h-data: Likewise.
26838 * conform/data/string.h-data: Likewise.
26839 * conform/data/strings.h-data: Likewise.
26840 * conform/data/stropts.h-data: Likewise.
26841 * conform/data/sys/ipc.h-data: Likewise.
26842 * conform/data/sys/mman.h-data: Likewise.
26843 * conform/data/sys/msg.h-data: Likewise.
26844 * conform/data/sys/resource.h-data: Likewise.
26845 * conform/data/sys/select.h-data: Likewise.
26846 * conform/data/sys/sem.h-data: Likewise.
26847 * conform/data/sys/shm.h-data: Likewise.
26848 * conform/data/sys/socket.h-data: Likewise.
26849 * conform/data/sys/stat.h-data: Likewise.
26850 * conform/data/sys/statvfs.h-data: Likewise.
26851 * conform/data/sys/time.h-data: Likewise.
26852 * conform/data/sys/timeb.h-data: Likewise.
26853 * conform/data/sys/times.h-data: Likewise.
26854 * conform/data/sys/types.h-data: Likewise.
26855 * conform/data/sys/uio.h-data: Likewise.
26856 * conform/data/sys/un.h-data: Likewise.
26857 * conform/data/sys/utsname.h-data: Likewise.
26858 * conform/data/sys/wait.h-data: Likewise.
26859 * conform/data/syslog.h-data: Likewise.
26860 * conform/data/tar.h-data: Likewise.
26861 * conform/data/termios.h-data: Likewise.
26862 * conform/data/utime.h-data: Likewise.
26863 * conform/data/utmpx.h-data: Likewise.
26864 * conform/data/varargs.h-data: Likewise.
26865 * conform/data/wchar.h-data: Likewise.
26866 * conform/data/wctype.h-data: Likewise.
26867 * conform/data/wordexp.h-data: Likewise.
26869 * include/stropts.h: New file.
26870 * include/uchar.h: New file.
26871 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26872 * include/assert.h: Likewise.
26873 * include/ctype.h: Likewise.
26874 * include/dirent.h: Likewise.
26875 * include/dlfcn.h: Likewise.
26876 * include/fcntl.h: Likewise.
26877 * include/fnmatch.h: Likewise.
26878 * include/glob.h: Likewise.
26879 * include/grp.h: Likewise.
26880 * include/libio.h: Likewise.
26881 * include/locale.h: Likewise.
26882 * include/math.h: Likewise.
26883 * include/net/if.h: Likewise.
26884 * include/netdb.h: Likewise.
26885 * include/netinet/in.h: Likewise.
26886 * include/pthread.h: Likewise.
26887 * include/pwd.h: Likewise.
26888 * include/regex.h: Likewise.
26889 * include/sched.h: Likewise.
26890 * include/search.h: Likewise.
26891 * include/setjmp.h: Likewise.
26892 * include/signal.h: Likewise.
26893 * include/stdio.h: Likewise.
26894 * include/stdlib.h: Likewise.
26895 * include/string.h: Likewise.
26896 * include/sys/cdefs.h: Likewise.
26897 * include/sys/mman.h: Likewise.
26898 * include/sys/msg.h: Likewise.
26899 * include/sys/resource.h: Likewise.
26900 * include/sys/select.h: Likewise.
26901 * include/sys/socket.h: Likewise.
26902 * include/sys/stat.h: Likewise.
26903 * include/sys/statvfs.h: Likewise.
26904 * include/sys/time.h: Likewise.
26905 * include/sys/times.h: Likewise.
26906 * include/sys/uio.h: Likewise.
26907 * include/sys/utsname.h: Likewise.
26908 * include/sys/wait.h: Likewise.
26909 * include/termios.h: Likewise.
26910 * include/time.h: Likewise.
26911 * include/ulimit.h: Likewise.
26912 * include/unistd.h: Likewise.
26913 * include/utime.h: Likewise.
26914 * include/wchar.h: Likewise.
26915 * include/wctype.h: Likewise.
26916 * include/wordexp.h: Likewise.
26918 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26920 * time/time.h: TIME_UTC must be a macro.
26921 Make timespec_get available for ISO C11 only as well.
26923 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26925 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26926 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26928 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26930 * configure.in: Use -o not -a in test for unsupported multi-arch.
26932 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26934 * manual/texinfo.tex: Update to version 2012-01-19.16.
26936 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26938 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26940 2012-02-24 Roland McGrath <roland@hack.frob.com>
26943 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26944 * manual/fdl-1.3.texi: New file.
26945 * manual/fdl-1.1.texi: File removed.
26948 * manual/libc.texinfo (FDL_VERSION): New @set.
26949 Use it for mention of FDL in cover text.
26950 (Documentation License): Use it in @include file name.
26952 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26953 Roland McGrath <roland@hack.frob.com>
26956 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26957 not LONG_LONG_MAX and LONG_LONG_MIN.
26958 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26959 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26961 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26963 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26967 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26968 manipulate bits before adding and subtracting TWO23[sx].
26969 * math/libm-test.inc (nearbyint_test): Add more tests.
26971 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26974 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26975 bits before adding and subtracting TWO23[sx].
26976 * math/libm-test.inc (rint_test): Add more tests.
26977 (rint_test_tonearest): Likewise.
26978 (rint_test_towardzero): Likewise.
26979 (rint_test_downward): Likewise.
26980 (rint_test_upward: Likewise.
26982 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26985 * include/stdc-predef.h: New file. Extracted from features.h.
26986 * include/features.h: Include stdc-predef.h.
26987 * Makefile (headers): Add stdc-predef.h.
26988 * CONFORMANCE (Compiler limitations): Update.
26990 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26992 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26994 2012-02-21 David S. Miller <davem@davemloft.net>
26996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26999 2012-02-20 David S. Miller <davem@davemloft.net>
27001 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27002 using a normal save/restore sequence, rather than allocating a
27003 dummy stack frame just to store a frame pointer and restore.
27004 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27006 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27008 * manual/install.texi: Fix stray word in line-wrapped comment.
27010 2012-02-20 David S. Miller <davem@davemloft.net>
27012 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27013 both binutils and gcc support GOTDATA.
27015 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27016 "rd %pc" in the PIC register setup sequences.
27018 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27019 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27020 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27021 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27022 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27024 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27025 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27027 (SYSCALL_ERROR_HANDLER): Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27029 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27031 (SYSCALL_ERROR_HANDLER): Likewise.
27033 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27034 (HAVE_GCC_GOTDATA): New.
27035 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27036 relocation support in both binutils and gcc.
27037 * sysdeps/sparc/elf/configure: Regenerate.
27039 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27040 * sysdeps/sparc/sparc32/elf/configure: Delete.
27041 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27042 * sysdeps/sparc/sparc64/elf/configure: Delete.
27043 * sysdeps/sparc/elf/configure.in: New file.
27044 * sysdeps/sparc/elf/configure: Generate.
27046 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27047 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27049 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27050 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27052 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27054 * manual/install.texi: Do not mention specific glibc version
27056 * manual/libc.texinfo (VERSION, UPDATED): Update.
27057 (@copying): Use @copyright{} and range of years.
27059 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27062 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27063 [crti.S not in sysdirs] (generated): Do not append.
27064 [crti.S not in sysdirs] (omit-deps): Likewise.
27065 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27066 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27067 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27068 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27069 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27071 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27072 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27073 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27074 * csu/defs.awk: Remove file.
27075 * sysdeps/generic/initfini.c: Likewise.
27076 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27078 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27081 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27083 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27084 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27085 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27087 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27088 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27090 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27091 (__EPOLL_PACKED): Define to empty if not defined by
27093 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27097 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27099 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27100 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27101 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27102 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27104 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27108 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27110 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27112 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27113 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27114 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27117 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27119 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27120 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27122 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27124 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27125 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27127 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27129 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27132 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27134 * math/w_acos.c: Use non-signaling floating-point comparisons.
27135 * math/w_acosf.c: Likewise.
27136 * math/w_acosh.c: Likewise.
27137 * math/w_acoshf.c: Likewise.
27138 * math/w_acoshl.c: Likewise.
27139 * math/w_acosl.c: Likewise.
27140 * math/w_asin.c: Likewise.
27141 * math/w_asinf.c: Likewise.
27142 * math/w_asinl.c: Likewise.
27143 * math/w_atanh.c: Likewise.
27144 * math/w_atanhf.c: Likewise.
27145 * math/w_atanhl.c: Likewise.
27146 * math/w_exp2.c: Likewise.
27147 * math/w_exp2f.c: Likewise.
27148 * math/w_exp2l.c: Likewise.
27149 * math/w_j0.c: Likewise.
27150 * math/w_j0f.c: Likewise.
27151 * math/w_j0l.c: Likewise.
27152 * math/w_j1.c: Likewise.
27153 * math/w_j1f.c: Likewise.
27154 * math/w_j1l.c: Likewise.
27155 * math/w_jn.c: Likewise.
27156 * math/w_jnf.c: Likewise.
27157 * math/w_log.c: Likewise.
27158 * math/w_log10.c: Likewise.
27159 * math/w_log10f.c: Likewise.
27160 * math/w_log10l.c: Likewise.
27161 * math/w_log2.c: Likewise.
27162 * math/w_log2f.c: Likewise.
27163 * math/w_log2l.c: Likewise.
27164 * math/w_logf.c: Likewise.
27165 * math/w_logl.c: Likewise.
27166 * math/w_sqrt.c: Likewise.
27167 * math/w_sqrtf.c: Likewise.
27168 * math/w_sqrtl.c: Likewise.
27169 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27170 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27171 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27172 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27173 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27175 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27178 * manual/string.texi (strnlen): Use correct parameter name in
27179 equivalent expression.
27181 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27184 * manual/users.texi (seteuid): Consistently use neweuid for
27187 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27190 * manual/nss.texi (Services in the NSS configuration): Correct
27191 list of services in example configuration file.
27193 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27196 * manual/arith.texi: Remove statements about negative zero
27197 behaving identically to zero.
27199 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27202 * manual/install.texi: Do not document upgrading from libc5.
27204 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27207 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27209 2012-02-18 David S. Miller <davem@davemloft.net>
27211 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27212 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27213 %o7 across the call.
27214 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27217 SETUP_PIC_REG_LEAF.
27218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27219 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27220 * sysdeps/sparc/crtn.S: Likewise.
27222 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27224 * aout/Makefile: Remove.
27226 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27229 * manual/examples/argp-ex1.c (main): Format definition in GNU
27231 * manual/examples/argp-ex2.c (main): Likewise.
27232 * manual/examples/argp-ex3.c (main): Likewise.
27233 * manual/examples/argp-ex4.c (main): Likewise.
27234 * manual/examples/longopt.c (main): Use new-style prototype
27236 * manual/examples/strncat.c (main): Specify return type and use
27237 (void) for arguments.
27238 * manual/examples/subopt.c (main): Use char **argv argument.
27240 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27243 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27246 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27249 * manual/string.texi (strchr): Change when strchrnul is
27252 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27255 * manual/locale.texi (setlocale): Document LOCPATH.
27257 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27260 * manual/process.texi (execle): Move @dots{} before last argument.
27262 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27265 * manual/charset.texi (Generic Charset Conversion): Fix typo
27266 (LC_TYPE -> LC_CTYPE).
27268 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27271 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27272 (scalbnf): Likewise.
27273 (scalbnl): Likewise.
27274 (scalbln): Likewise.
27275 (scalblnf): Likewise.
27276 (scalblnl): Likewise.
27277 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27278 (vwarnx): Likewise.
27281 * manual/filesys.texi (telldir): Use braces around return type.
27282 * manual/llio.texi (mmap): Add space after comma.
27283 (mmap64): Likewise.
27284 * manual/math.texi (jn): Use @var{} on parameter names.
27290 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27292 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27294 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27295 (sched_get_priority_max): Likewise.
27296 * manual/signal.texi (sigvec): Add space after comma.
27297 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27299 (if_indextoname): Likewise.
27300 (if_freenameindex): Likewise.
27301 (sendto): Use ',' instead of '.' in prototype.
27302 * manual/startup.texi (syscall): Use @dots{} instead of literal
27304 * manual/stdio.texi (__fpending): Separate initial words of
27305 paragraph from @deftypefun line.
27306 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27308 (vsyslog): Use @var{} on parameter names.
27309 * manual/terminal.texi (stty): Use @var{} on parameter names.
27310 * manual/users.texi (getutmp): Use @var{} on parameter names.
27311 (getutmpx): Likewise.
27313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27316 * manual/stdio.texi (fopen): Fix typos in description of
27319 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27322 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27323 get clock_id definition.
27325 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27328 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27329 (madvise): Cast every argument to void on its own.
27331 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27334 * manual/startup.texi (Exit Status): Fix typo.
27336 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27339 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27340 * manual/examples/argp-ex2.c: Likewise.
27341 * manual/examples/argp-ex3.c: Likewise.
27343 2012-02-16 Richard Henderson <rth@redhat.com>
27345 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27346 * sysdeps/s390/s390-32/initfini.c: Remove.
27347 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27348 * sysdeps/s390/s390-64/initfini.c: Remove.
27350 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27352 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27353 compiler output for sysdeps/generic/initfini.c.
27354 * sysdeps/sh/elf/initfini.c: Remove file.
27356 2012-02-16 David S. Miller <davem@davemloft.net>
27359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27361 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27362 * sysdeps/sparc/crti.S: New file.
27363 * sysdeps/sparc/crtn.S: New file.
27364 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27365 * sysdeps/sparc/sparc64/Makefile: Likewise.
27367 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27370 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27372 2012-02-15 Roland McGrath <roland@hack.frob.com>
27375 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27377 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27378 (write, read, close): Likewise.
27379 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27381 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27383 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27384 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27385 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27386 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27388 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27389 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27392 2012-02-14 Marek Polacek <polacek@redhat.com>
27394 * sysdeps/x86_64/crti.S: New file.
27395 * sysdeps/x86_64/crtn.S: New file.
27396 * sysdeps/x86_64/elf/initfini.c: Remove file.
27398 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27400 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27401 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27402 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27403 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27405 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27409 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27411 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27412 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27413 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27414 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27416 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27420 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27422 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27423 __feraiseexcept instead of feraiseexcept.
27425 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27426 nanosleep invocations.
27427 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27428 strings, and add error checking for a nanosleep invocations.
27430 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27432 Replace FSF snail mail address with URLs, as per GNU coding standards.
27433 Most of the snail mail addresses were wrong anyway, and omitting
27434 them makes the source code easier to maintain. Almost all of the
27435 changes are to license notices and to locale LC_IDENTIFICATION
27436 addresses, except for this one:
27437 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27438 not its snail mail address.
27440 2012-02-09 Richard Henderson <rth@twiddle.net>
27442 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27443 of kernel-features.h.
27445 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27447 2012-02-08 Marek Polacek <polacek@redhat.com>
27449 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27450 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27451 * sysdeps/gnu/_G_config.h: Likewise.
27452 * sysdeps/generic/_G_config.h: Likewise.
27454 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27456 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27460 * sysdeps/powerpc/powerpc32/crti.S: New file.
27461 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27462 * sysdeps/powerpc/powerpc64/crti.S: New file.
27463 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27465 * Makeconfig (have-initfini): Don't set.
27466 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27467 * configure.in (nopic_initfini): Don't substitute.
27468 * config.h.in (HAVE_INITFINI): Don't #undef.
27469 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27470 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27472 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27474 Support crti.S and crtn.S provided directly by architectures.
27475 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27476 [crti.S in sysdirs] (omit-deps): Likewise.
27477 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27478 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27479 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27480 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27481 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27482 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27483 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27484 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27485 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27486 compiler output for sysdeps/generic/initfini.c.
27487 * sysdeps/i386/elf/Makefile: Remove file.
27488 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27490 2012-02-07 Marek Polacek <polacek@redhat.com>
27492 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27493 * sysdeps/gnu/_G_config.h: Likewise.
27494 * sysdeps/mach/hurd/_G_config.h: Likewise.
27496 2012-02-07 Marek Polacek <polacek@redhat.com>
27498 * math/Makefile (tests): Add tst-CMPLX2.
27499 * math/tst-CMPLX2.c: New file.
27501 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27505 * math/libm-test.inc (jn_test): Add missing L suffix.
27507 2012-02-06 Marek Polacek <polacek@redhat.com>
27509 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27510 * sysdeps/i386/fpu/e_powf.S: Likewise.
27511 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27512 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27514 * sysdeps/i386/fpu/e_pow.S: Likewise.
27515 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27516 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27517 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27518 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27519 * sysdeps/i386/fpu/e_log2.S: Likewise.
27520 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27521 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27522 * sysdeps/i386/fpu/e_powl.S: Likewise.
27523 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27524 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27525 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27526 * sysdeps/i386/fpu/e_logl.S: Likewise.
27527 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27528 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27529 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27530 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27531 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27533 * sysdeps/i386/fpu/e_log.S: Likewise.
27534 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27535 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27536 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27537 * sysdeps/i386/fpu/e_logf.S: Likewise.
27538 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27539 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27540 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27541 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27542 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27543 * sysdeps/i386/fpu/e_log10.S: Likewise.
27544 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27545 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27546 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27547 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27548 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27549 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27550 * sysdeps/i386/asm-syntax.h: Likewise.
27551 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27552 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27553 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27554 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27555 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27556 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27557 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27558 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27559 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27560 * sysdeps/powerpc/sysdep.h: Likewise.
27561 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27562 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27564 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27567 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27569 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27571 * sysdeps/i386/sysdep.h: Include <features.h>.
27572 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27575 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27577 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27579 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27582 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27584 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27585 (SETUP_PIC_REG): Use GET_PC_THUNK.
27586 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27589 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27591 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27592 for non-PIC compilation.
27593 (SETUP_PIC_REG): Add .p2align directive.
27594 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27595 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27596 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27597 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27598 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27599 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27600 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27602 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27603 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27604 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27605 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27606 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27607 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27608 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27609 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27610 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27611 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27612 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27613 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27615 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27616 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27617 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27622 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27623 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27624 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27630 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27631 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27632 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27633 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27634 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27636 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27638 * math/tst-CMPLX.c: Include <stdio.h>.
27640 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27642 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27644 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27645 * sysdeps/sparc/bits/mathdef.h: Likewise.
27647 2012-01-31 Marek Polacek <polacek@redhat.com>
27649 * libio/libio.h: Don't define _PARAMS.
27650 * locale/programs/config.h: Don't define PARAMS.
27651 * stdlib/strtol_l.c: Likewise.
27652 (__strtol_l): Remove PARAMS from the prototype.
27654 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27656 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27657 names. Just use the correct names. Remove unnecessary wrapper
27659 * malloc/arena.c: Likewise.
27660 * malloc/hooks.c: Likewise.
27662 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27663 ARENA_TEST says not to. Simplify test for creation of a new arena.
27664 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27666 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27668 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27670 (update_get_addr): New function.
27671 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27672 GET_ADDR_MODULE parameter.
27674 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27676 * crypt/cert.c: Remove __STDC__ conditionals.
27677 * crypt/crypt-entry.c: Likewise.
27678 * crypt/crypt_util.c: Likewise.
27679 * libio/filedoalloc.c: Likewise.
27680 * libio/fileops.c: Likewise.
27681 * libio/genops.c: Likewise.
27682 * libio/iofclose.c: Likewise.
27683 * libio/iofdopen.c: Likewise.
27684 * libio/iofopen.c: Likewise.
27685 * libio/iofopen64.c: Likewise.
27686 * libio/iogetdelim.c: Likewise.
27687 * libio/iopopen.c: Likewise.
27688 * libio/obprintf.c: Likewise.
27689 * libio/oldfileops.c: Likewise.
27690 * libio/oldiofclose.c: Likewise.
27691 * libio/oldiofdopen.c: Likewise.
27692 * libio/oldiofopen.c: Likewise.
27693 * libio/oldiopopen.c: Likewise.
27694 * libio/wfiledoalloc.c: Likewise.
27695 * libio/wgenops.c: Likewise.
27696 * locale/programs/xmalloc.c: Likewise.
27697 * misc/syslog.c: Likewise.
27698 * stdio-common/xbug.c: Likewise.
27699 * string/memchr.c: Likewise.
27700 * string/memcmp.c: Likewise.
27701 * string/memrchr.c: Likewise.
27702 * string/rawmemchr.c: Likewise.
27703 * sysdeps/posix/getcwd.c: Likewise.
27704 * time/strftime_l.c: Likewise.
27706 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27708 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27709 * config.make.in (config-cflags-sse2avx): Define.
27710 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27713 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27715 * scripts/config.guess: Update from upstream config git repository.
27716 * scripts/config.sub: Likewise.
27718 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27720 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27722 (R_TILEPRO_*, R_TILEGX_*): New macros.
27724 * scripts/firstversions.awk: Fix bug in version range handling.
27726 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27728 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27730 * include/sys/epoll.h: New file.
27731 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27734 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27736 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27737 Avoid unnecessary __WORDSIZE == 64 test.
27738 (fmaxf): Use VEX format if possible.
27743 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27744 * math/math_private.h: Remove libc_fegetround* and
27746 * sysdeps/i386/configure.in: Check for -msse2avx.
27747 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27748 also if SSE2AVX is defined.
27749 Remove libc_fegetround* and libc_fesetround*.
27750 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27751 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27752 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27754 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27755 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27757 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27760 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27762 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27766 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27768 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27771 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27773 * Makeconfig (libm): Define.
27774 * elf/Makefile: Add rules to build and run tst-relsort1.
27775 * elf/tst-relsort1.c: New file.
27776 * elf/tst-relsort1mod1.c: New file.
27777 * elf/tst-relsort1mod2.c: New file.
27779 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27781 * math/s_ldexp.c: Remove __STDC__ conditionals.
27782 * math/s_ldexpf.c: Likewise.
27783 * math/s_ldexpl.c: Likewise.
27784 * math/s_nextafter.c: Likewise.
27785 * math/s_nexttowardf.c: Likewise.
27786 * math/s_significand.c: Likewise.
27787 * math/s_significandf.c: Likewise.
27788 * math/s_significandl.c: Likewise.
27789 * math/w_jnl.c: Likewise.
27790 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27791 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27792 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27793 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27794 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27797 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27811 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27812 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27813 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27814 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27815 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27817 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27818 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27819 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27820 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27821 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27822 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27823 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27824 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27825 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27826 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27827 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27828 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27829 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27830 * sysdeps/ieee754/k_standard.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27882 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27892 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27894 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27897 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27906 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27907 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27910 * sysdeps/ieee754/s_matherr.c: Likewise.
27911 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27912 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27916 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27918 * crypt/md5.h: Remove __STDC__ conditionals.
27919 * libio/libioP.h: Likewise.
27920 * locale/programs/config.h: Likewise.
27921 * sysdeps/generic/sysdep.h: Likewise.
27922 * sysdeps/i386/asm-syntax.h: Likewise.
27923 * sysdeps/s390/asm-syntax.h: Likewise.
27924 * sysdeps/unix/sysdep.h: Likewise.
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27928 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27930 * libio/libio.h: Remove __STDC__ conditionals.
27931 * malloc/obstack.h: Likewise.
27932 * math/complex.h: Likewise.
27933 * math/math.h: Likewise.
27934 * sysdeps/generic/_G_config.h: Likewise.
27935 * sysdeps/gnu/_G_config.h: Likewise.
27936 * sysdeps/mach/hurd/_G_config.h: Likewise.
27937 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27938 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27939 * sysdeps/sparc/bits/mathdef.h: Likewise.
27941 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27944 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27945 Clean up HAS_* macros.
27946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27947 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27949 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27957 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27959 * elf/tst-unique3.cc (gets): Remove declaration.
27960 * elf/tst-unique3lib.cc (gets): Likewise.
27961 * elf/tst-unique3lib2.cc (gets): Likewise.
27962 * elf/tst-unique4.cc (gets): Likewise.
27964 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27966 * include/stdio.h: Add C++ protection. Add gets declarations and
27968 * debug/tst-chk1.c: Don't declare gets here.
27969 * stdio-common/tst-gets.c: Likewise.
27971 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27973 * posix/glob: Remove directory.
27975 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27977 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27979 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27981 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27982 of the non-standard EPFNOSUPPORT.
27984 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27986 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27987 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27988 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27990 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27992 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27994 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27996 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27998 * nscd/grpcache.c (cache_addgr): Likewise.
27999 * nscd/hstcache.c (cache_addhst): Likewise.
28000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28001 * nscd/pwdcache.c (cache_addpw): Likewise.
28002 * nscd/servicescache.c (cache_addserv): Likewise.
28004 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28006 * malloc/malloc.c: Various cleanups.
28007 * malloc/hooks.c: Likewise.
28009 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28010 * stdlib/bug-fmtmsg1.c: New file.
28012 * stdlib/fmtmsg.c (init): Add missing unlock.
28013 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28015 2012-01-12 Marek Polacek <polacek@redhat.com>
28017 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28020 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28022 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28023 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28024 macro to ensure uniqueness of label name.
28025 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28026 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28028 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28030 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28032 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28033 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28037 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28039 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28041 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28042 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28045 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28047 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28048 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28049 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28052 * math/bits/math-finite.h: Add ldexp support.
28054 2012-01-10 Marek Polacek <polacek@redhat.com>
28056 * locale/programs/localedef.h (show_archive_content): Add noreturn
28059 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28061 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28063 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28065 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28067 * io/Makefile (headers): Add bits/poll2.h.
28069 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28072 typo #include statement.
28074 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28076 * include/sys/cdefs.h: Define __attribute_alloc_size.
28077 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28078 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28079 * elf/pldd.c: Likewise.
28080 * iconv/iconv_charmap.c: Likewise.
28081 * iconv/iconvconfig.c: Likewise.
28082 * iconv/strtab.c: Likewise.
28083 * locale/programs/locale.c: Likewise.
28084 * locale/programs/localedef.h: Likewise.
28085 * locale/programs/simple-hash.c: Likewise.
28086 * nscd/nscd.h: Likewise.
28087 * nss/makedb.c: Likewise.
28088 * sysdeps/generic/ldconfig.h: Likewise.
28089 * locale/programs/localedef.c: Remove xmalloc prototype.
28090 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28092 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28097 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28099 * math/Makefile (tests): Add tst-CMPLX.
28100 * math/tst-CMPLX.c: New file.
28102 * math/complex.h (CMPLXL): Fix typo.
28104 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28105 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28107 * debug/tst-chk1.c: Add poll and ppoll tests.
28108 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28109 * include/sys/poll.h: Add hidden proto for ppoll.
28110 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28111 * sysdeps/mach/hurd/ppoll.c: Likewise.
28112 * io/ppoll.c: Likewise.
28113 * debug/poll_chk.c: New file.
28114 * debug/ppoll_chk.c: New file.
28115 * include/bits/poll2.h: New file.
28116 * io/bits/poll2.h: New file.
28119 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28121 * configure.in: static is always set to yes. Remove.
28122 * config.make.in: Don't set build-static.
28123 * Makeconfig: Remove use of build-static.
28124 * dlfcn/Makefile: Likewise.
28125 * elf/Makefile: Likewise.
28126 * math/Makefile: Likewise.
28127 * misc/Makefile: Likewise.
28128 * nptl/Makefile: Likewise.
28129 * sysdeps/mach/hurd/Makefile: Likewise.
28131 * configure.in: PWD_P is not used anymore.
28132 * config.make.in: Remove PWD_P entry.
28134 * configure.in: Remove last remnants of RANLIB.
28135 No need to check for signed size_t anymore.
28136 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28138 Remove __builtin_expect test because we require at least gcc 3.4.
28139 * aclocal.m4: Likewise.
28141 * wcsmbs/mbrtoc16.c: Implement using towc function.
28142 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28143 * wcsmbs/wcsmbsload.c: Likewise.
28144 * iconv/gconv_simple.c: Likewise.
28145 * iconv/gconv_int.h: Likewise.
28146 * iconv/gconv_builtin.h: Likewise.
28147 * iconv/iconv_prog.c: Remove CHAR16 handling.
28149 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28151 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28153 * configure.in: Remove --with-elf and --enable-bounded options.
28154 Dont set base_machine for ia64. More non-ELF conditions removed.
28155 Remove testing and setting of leading underscore information.
28156 * config.make.in (build-bounded): Set to no.
28157 * config.h.in: Remove NO_UNDERSCORES entry.
28158 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28160 * csu/start.c: Remove !NO_UNDERSCORE code.
28161 * locale/localeinfo.h: Likewise.
28162 * sysdeps/generic/machine-gmon.h: Likewise.
28163 * sysdeps/generic/sysdep.h: Likewise.
28164 * sysdeps/i386/sysdep.h: Likewise.
28165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28166 * sysdeps/mach/sysdep.h: Likewise.
28167 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28168 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28169 * sysdeps/sh/sysdep.h: Likewise.
28170 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28171 * sysdeps/unix/i386/sysdep.S: Likewise.
28172 * sysdeps/unix/sparc/start.c: Likewise.
28173 * sysdeps/unix/sparc/sysdep.S: Likewise.
28174 * sysdeps/unix/sparc/sysdep.h: Likewise.
28175 * sysdeps/unix/start.c: Likewise.
28176 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28177 * sysdeps/x86_64/sysdep.h: Likewise.
28179 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28182 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28184 * argp/argp-fmtstream.h: Use const instead __const.
28185 * argp/argp.h: Likewise.
28186 * assert/assert.h: Likewise.
28187 * bits/fenv.h: Likewise.
28188 * bits/sched.h: Likewise.
28189 * bits/sigset.h: Likewise.
28190 * bits/sigthread.h: Likewise.
28191 * catgets/nl_types.h: Likewise.
28192 * conform/data/pthread.h-data: Likewise.
28193 * crypt/crypt-private.h: Likewise.
28194 * crypt/crypt.h: Likewise.
28195 * crypt/crypt_util.c: Likewise.
28196 * ctype/ctype.h: Likewise.
28197 * debug/execinfo.h: Likewise.
28198 * debug/mbsnrtowcs_chk.c: Likewise.
28199 * debug/mbsrtowcs_chk.c: Likewise.
28200 * debug/wcsnrtombs_chk.c: Likewise.
28201 * debug/wcsrtombs_chk.c: Likewise.
28202 * debug/wcstombs_chk.c: Likewise.
28203 * dirent/dirent.h: Likewise.
28204 * dlfcn/dlfcn.h: Likewise.
28205 * elf/neededtest4.c: Likewise.
28206 * grp/grp.h: Likewise.
28207 * gshadow/gshadow.h: Likewise.
28208 * iconv/gconv.h: Likewise.
28209 * iconv/gconv_int.h: Likewise.
28210 * iconv/gconv_simple.c: Likewise.
28211 * iconv/iconv.h: Likewise.
28212 * iconv/loop.c: Likewise.
28213 * iconv/skeleton.c: Likewise.
28214 * include/aio.h: Likewise.
28215 * include/aliases.h: Likewise.
28216 * include/argz.h: Likewise.
28217 * include/arpa/inet.h: Likewise.
28218 * include/assert.h: Likewise.
28219 * include/dirent.h: Likewise.
28220 * include/dlfcn.h: Likewise.
28221 * include/execinfo.h: Likewise.
28222 * include/fcntl.h: Likewise.
28223 * include/fenv.h: Likewise.
28224 * include/glob.h: Likewise.
28225 * include/grp.h: Likewise.
28226 * include/libintl.h: Likewise.
28227 * include/mntent.h: Likewise.
28228 * include/netdb.h: Likewise.
28229 * include/pwd.h: Likewise.
28230 * include/rpc/netdb.h: Likewise.
28231 * include/sched.h: Likewise.
28232 * include/search.h: Likewise.
28233 * include/shadow.h: Likewise.
28234 * include/signal.h: Likewise.
28235 * include/stdio.h: Likewise.
28236 * include/stdlib.h: Likewise.
28237 * include/string.h: Likewise.
28238 * include/sys/socket.h: Likewise.
28239 * include/sys/stat.h: Likewise.
28240 * include/sys/statfs.h: Likewise.
28241 * include/sys/statvfs.h: Likewise.
28242 * include/sys/syslog.h: Likewise.
28243 * include/sys/time.h: Likewise.
28244 * include/sys/uio.h: Likewise.
28245 * include/time.h: Likewise.
28246 * include/unistd.h: Likewise.
28247 * include/utmp.h: Likewise.
28248 * include/wchar.h: Likewise.
28249 * include/wctype.h: Likewise.
28250 * inet/aliases.h: Likewise.
28251 * inet/arpa/inet.h: Likewise.
28252 * inet/netinet/ether.h: Likewise.
28253 * inet/netinet/in.h: Likewise.
28254 * intl/libintl.h: Likewise.
28255 * io/bits/fcntl2.h: Likewise.
28256 * io/fcntl.h: Likewise.
28257 * io/ftw.h: Likewise.
28258 * io/sys/poll.h: Likewise.
28259 * io/sys/stat.h: Likewise.
28260 * io/sys/statfs.h: Likewise.
28261 * io/sys/statvfs.h: Likewise.
28262 * io/utime.h: Likewise.
28263 * libio/bits/stdio.h: Likewise.
28264 * libio/bits/stdio2.h: Likewise.
28265 * libio/libio.h: Likewise.
28266 * libio/libioP.h: Likewise.
28267 * libio/stdio.h: Likewise.
28268 * locale/lc-ctype.c: Likewise.
28269 * locale/locale.h: Likewise.
28270 * login/utmp.h: Likewise.
28271 * malloc/arena.c: Likewise.
28272 * malloc/malloc.c: Likewise.
28273 * malloc/malloc.h: Likewise.
28274 * malloc/mcheck.c: Likewise.
28275 * malloc/mtrace.c: Likewise.
28276 * math/bits/mathcalls.h: Likewise.
28277 * math/fenv.h: Likewise.
28278 * math/math_private.h: Likewise.
28279 * misc/bits/error.h: Likewise.
28280 * misc/bits/syslog.h: Likewise.
28281 * misc/err.h: Likewise.
28282 * misc/error.h: Likewise.
28283 * misc/fstab.h: Likewise.
28284 * misc/mntent.h: Likewise.
28285 * misc/regexp.h: Likewise.
28286 * misc/search.h: Likewise.
28287 * misc/sgtty.h: Likewise.
28288 * misc/sys/mman.h: Likewise.
28289 * misc/sys/syslog.h: Likewise.
28290 * misc/sys/uio.h: Likewise.
28291 * misc/sys/xattr.h: Likewise.
28292 * misc/ttyent.h: Likewise.
28293 * nis/rpcsvc/ypclnt.h: Likewise.
28294 * nss/nss.h: Likewise.
28295 * posix/bits/unistd.h: Likewise.
28296 * posix/fnmatch.h: Likewise.
28297 * posix/glob.h: Likewise.
28298 * posix/sched.h: Likewise.
28299 * posix/spawn.h: Likewise.
28300 * posix/sys/wait.h: Likewise.
28301 * posix/unistd.h: Likewise.
28302 * posix/wordexp.h: Likewise.
28303 * pwd/pwd.h: Likewise.
28304 * resolv/netdb.h: Likewise.
28305 * resource/sys/resource.h: Likewise.
28306 * rt/aio.h: Likewise.
28307 * rt/bits/mqueue2.h: Likewise.
28308 * rt/mqueue.h: Likewise.
28309 * shadow/shadow.h: Likewise.
28310 * signal/signal.h: Likewise.
28311 * socket/send.c: Likewise.
28312 * socket/sendto.c: Likewise.
28313 * socket/sys/socket.h: Likewise.
28314 * stdio-common/printf.h: Likewise.
28315 * stdlib/bits/stdlib.h: Likewise.
28316 * stdlib/fmtmsg.h: Likewise.
28317 * stdlib/monetary.h: Likewise.
28318 * stdlib/stdlib.h: Likewise.
28319 * stdlib/ucontext.h: Likewise.
28320 * streams/stropts.h: Likewise.
28321 * string/argz.h: Likewise.
28322 * string/bits/string2.h: Likewise.
28323 * string/string.h: Likewise.
28324 * string/strings.h: Likewise.
28325 * sunrpc/rpc/auth.h: Likewise.
28326 * sunrpc/rpc/auth_des.h: Likewise.
28327 * sunrpc/rpc/clnt.h: Likewise.
28328 * sunrpc/rpc/netdb.h: Likewise.
28329 * sunrpc/rpc/pmap_clnt.h: Likewise.
28330 * sunrpc/rpc/xdr.h: Likewise.
28331 * sysdeps/generic/inttypes.h: Likewise.
28332 * sysdeps/generic/net/if.h: Likewise.
28333 * sysdeps/generic/sys/swap.h: Likewise.
28334 * sysdeps/gnu/net/if.h: Likewise.
28335 * sysdeps/gnu/utmpx.h: Likewise.
28336 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28337 * sysdeps/i386/i486/bits/string.h: Likewise.
28338 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28339 * sysdeps/s390/bits/string.h: Likewise.
28340 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28341 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28342 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28343 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28344 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28345 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28346 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28347 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28348 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28349 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28350 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28351 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28352 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28353 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28354 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28355 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28356 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28361 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28362 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28363 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28364 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28365 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28366 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28367 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28368 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28369 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28370 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28371 * sysvipc/sys/ipc.h: Likewise.
28372 * sysvipc/sys/msg.h: Likewise.
28373 * sysvipc/sys/sem.h: Likewise.
28374 * sysvipc/sys/shm.h: Likewise.
28375 * termios/termios.h: Likewise.
28376 * time/sys/time.h: Likewise.
28377 * time/time.h: Likewise.
28378 * wcsmbs/bits/wchar2.h: Likewise.
28379 * wcsmbs/uchar.h: Likewise.
28380 * wcsmbs/wchar.h: Likewise.
28381 * wctype/wctype.h: Likewise.
28384 * Makeconfig: Remove all but ELF support including AIX support.
28385 * Makerules: Likewise.
28386 * config.h.in: Likewise.
28387 * config.make.in: Likewise.
28388 * configure: Likewise.
28389 * configure.in: Likewise.
28390 * csu/Makefile: Likewise.
28391 * csu/version.c: Likewise.
28392 * debug/Makefile: Likewise.
28393 * dlfcn/Makefile: Likewise.
28394 * elf/Makefile: Likewise.
28395 * extra-lib.mk: Likewise.
28396 * iconv/Makefile: Likewise.
28397 * include/libc-symbols.h: Likewise.
28398 * include/shlib-compat.h: Likewise.
28399 * resolv/Makefile: Likewise.
28400 * resolv/res_libc.c: Likewise.
28401 * rt/Makefile: Likewise.
28402 * sysdeps/i386/asm-syntax.h: Likewise.
28403 * sysdeps/i386/sysdep.h: Likewise.
28404 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28405 * sysdeps/mach/sysdep.h: Likewise.
28406 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28407 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28408 * sysdeps/s390/asm-syntax.h: Likewise.
28409 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28411 * sysdeps/sh/sysdep.h: Likewise.
28412 * sysdeps/unix/sparc/sysdep.h: Likewise.
28413 * sysdeps/wordsize-32/divdi3.c: Likewise.
28414 * sysdeps/x86_64/sysdep.h: Likewise.
28416 * argp/Versions: Remove _argp_unlock_xxx.
28419 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28420 * abilist/libBrokenLocale.abilist: Likewise.
28421 * abilist/libanl.abilist: Likewise.
28422 * abilist/libc.abilist: Likewise.
28423 * abilist/libcrypt.abilist: Likewise.
28424 * abilist/libdl.abilist: Likewise.
28425 * abilist/libm.abilist: Likewise.
28426 * abilist/libnsl.abilist: Likewise.
28427 * abilist/libpthread.abilist: Likewise.
28428 * abilist/libresolv.abilist: Likewise.
28429 * abilist/librt.abilist: Likewise.
28430 * abilist/libthread_db.abilist: Likewise.
28431 * abilist/libutil.abilist: Likewise.
28432 * abilist/libnss_db.abilist: New file.
28434 * scripts/abilist.awk: Add support for indirect functions.
28436 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28438 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28440 * shlib-versions: Remove entries for ports architectures.
28442 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28444 * elf/stackguard-macros.h: Remove support for IA-64.
28445 * elf/tst-auditmod1.c: Likewise.
28446 * sysdeps/generic/ldsodefs.h: Likewise.
28448 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28449 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28453 * configure.in: Remove --enable-omitfp support.
28455 * config.make.in: Likewise.
28456 * Makeconfig: Likewise.
28457 * manual/install.texi: Likewise.
28459 In case anyone cares, the IA-64 architecture could move to ports.
28460 * sysdeps/ia64/*: Removed.
28461 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28462 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28465 * configure.in: Remove entries for unsupported architectures.
28468 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28469 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28471 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28472 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28473 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28474 fall back to using wcrtomb.
28475 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28476 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28478 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28479 * wcsmbs/tst-c16c32-1.c: New file.
28481 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28484 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28486 * elf/tst-unique3.cc: Add explicit declaration of gets.
28487 * elf/tst-unique3lib.cc: Likewise.
28488 * elf/tst-unique3lib2.cc: Likewise.
28489 * elf/tst-unique4.cc: Likewise.
28491 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28493 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28496 * assert/assert.h (static_assert): Don't define for C++.
28497 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28498 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28500 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28502 * iconv/loop.c (single loop): Fix assertion in storing of
28505 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28507 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28509 * posix/getconf.c: Update copyright year.
28510 * nss/getent.c: Likewise.
28511 * nss/makedb.c: Likewise.
28512 * iconv/iconvconfig.c: Likewise.
28513 * iconv/iconv_prog.c: Likewise.
28514 * elf/ldconfig.c: Likewise.
28515 * elf/pldd.c: Likewise.
28516 * elf/sotruss.ksh: Likewise.
28517 * catgets/gencat.c: Likewise.
28518 * csu/version.c: Likewise.
28519 * elf/ldd.bash.in: Likewise.
28520 * elf/sprof.c (print_version): Likewise.
28521 * locale/programs/locale.c: Likewise.
28522 * locale/programs/localedef.c: Likewise.
28523 * login/programs/pt_chown.c: Likewise.
28524 * nscd/nscd.c (print_version): Likewise.
28525 * debug/xtrace.sh: Likewise.
28526 * malloc/memusage.sh: Likewise.
28527 * malloc/mtrace.pl: Likewise.
28528 * debug/catchsegv.sh: Likewise.
28530 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28532 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28535 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28538 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28539 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28541 * iconv/gconv_int.h: Likewise.
28542 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28543 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28544 from libc for GLIBC_2.16.
28545 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28546 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28547 * wcsmbs/uchar.h: Really define mbstate_t.
28548 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28549 * wcsmbs/c16rtomb.c: New file.
28550 * wcsmbs/mbrtoc16.c: New file.
28551 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28552 for C/POSIX locale.
28553 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28554 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28556 * wcsmbs/wchar.h: Add missing __restrict.
28558 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28561 * time/Makefile (routines): Add timespec_get.
28562 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28563 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28564 timespec for ISO C11.
28565 * time/timespec_get.c: New file.
28566 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28567 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28570 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28571 * stdlib/stdlib.h: Declare aligned_alloc.
28572 * Versions.def: Add GLIBC_2.16 for libc.
28573 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28576 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28579 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28583 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28586 * assert/assert.h (static_assert): Define.
28588 * version.h: Update for 2.16 development version.
28591 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28594 * version.h (RELEASE): Bump for 2.15 release.
28595 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28597 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28598 Patch by Marek Polacek <mpolacek@redhat.com>.
28600 * bits/byteswap.h: Protect long long constants with __extension__.
28601 * sysdeps/i386/bits/byteswap.h: Likewise.
28602 * sysdeps/ia64/bits/byteswap.h: Likewise.
28603 * sysdeps/s390/bits/byteswap.h: Likewise.
28604 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28606 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28610 destination buffer.
28611 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28613 2011-12-23 Marek Polacek <polacek@redhat.com>
28615 * elf/dl-addr.c (determine_info): Add inline keyword.
28616 * elf/tst-auditmod4b.c (check_avx): Likewise.
28617 * elf/tst-auditmod6b.c (check_avx): Likewise.
28618 * elf/tst-auditmod6c.c (check_avx): Likewise.
28619 * elf/tst-auditmod7b.c (check_avx): Likewise.
28621 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28623 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28626 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28629 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28630 processing for last bytes.
28632 2011-08-06 Bruno Haible <bruno@clisp.org>
28635 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28636 U+0385, not to U+1FEE.
28639 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28640 entry for U+00A5 U+0301.
28642 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28645 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28646 buffer for the output is too small.
28648 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28652 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28653 SSE flags if possible.
28655 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28659 processing for last bytes.
28661 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28663 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28664 (syscall-list-default-options, syscall-list-default-condition)
28665 (syscall-list-includes): Define.
28666 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28667 list of ABIs and options and #if conditions for each ABI. Do not
28668 handle common syscalls between ABIs specially.
28669 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28671 (syscall-list-variants, syscall-list-32bit-options)
28672 (syscall-list-32bit-condition, syscall-list-64bit-options)
28673 (syscall-list-64bit-condition): Define.
28674 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28675 (syscall-list-variants, syscall-list-32bit-options)
28676 (syscall-list-32bit-condition, syscall-list-64bit-options)
28677 (syscall-list-64bit-condition): Define.
28678 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28680 (syscall-list-variants, syscall-list-32bit-options)
28681 (syscall-list-32bit-condition, syscall-list-64bit-options)
28682 (syscall-list-64bit-condition): Define.
28683 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28685 (syscall-list-variants, syscall-list-32bit-options)
28686 (syscall-list-32bit-condition, syscall-list-64bit-options)
28687 (syscall-list-64bit-condition): Define.
28689 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28691 * locale/iso-639.def: Add brx entry.
28694 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28695 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28697 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28698 __feraiseexcept_renamed.
28700 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28703 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28704 EPOLLET with unsigned values.
28705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28708 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28709 to large cancellation.
28710 * math/s_cacoshf.c: Likewise.
28711 * math/s_cacoshl.c: Likewise.
28713 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28717 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28718 * math/s_cacoshf.c: Likewise.
28719 * math/s_cacoshl.c: Likewise.
28721 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28724 * iconv/gconv.h: Define __GCONV_SWAP.
28725 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28726 * iconvdata/utf-16.c: Likewise.
28727 * iconvdata/utf-32.c: Likewise.
28729 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28733 numerator after shifting it by one limb.
28735 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28737 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28738 under [__USE_EXTERN_INLINES].
28740 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28743 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28745 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28747 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28748 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28750 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28751 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28752 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28753 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28754 for strncasecmp/strncasecmp_l compilation.
28755 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28756 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28758 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28761 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28764 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28767 * time/tzfile.c (__tzfile_read): Check values from file header.
28769 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28771 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28772 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28773 * powerpc/powerpc32/dl-start.S: Likewise.
28774 * powerpc/powerpc32/elf/start.S: Likewise.
28775 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28776 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28777 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28778 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28779 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28780 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28781 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28782 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28783 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28784 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28785 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28786 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28787 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28788 * powerpc/powerpc32/memset.S: Likewise.
28789 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28790 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28791 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28792 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28793 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28794 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28795 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28796 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28797 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28798 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28799 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28800 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28801 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28803 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28805 * math/libm-test.inc: Added more nearbyint tests.
28806 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28807 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28808 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28811 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28813 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28816 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28818 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28819 Add wcscpy-ssse3 wcscpy-c.
28820 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28821 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28822 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28823 * sysdeps/x86_64/wcschr.S: New file.
28824 * sysdeps/x86_64/wcsrchr.S: New file.
28825 * string/test-strcmp.c: Remove checking of wcscmp function for
28827 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28828 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28829 wcsrchr-sse2 wcsrchr-c.
28830 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28831 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28832 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28833 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28834 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28835 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28836 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28837 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28838 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28839 * wcsmbc/wcschr.c (WCSCHR): New macro.
28841 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28843 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28844 * wcsmbs/test-wcsrchr.c: New file.
28845 * string/test-strrchr.c: Add wcsrchr support.
28847 * wcsmbs/test-wcscpy.c: New file.
28848 * string/test-strcpy.c: Add wcscpy support.
28851 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28853 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28856 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28859 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28861 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28863 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28864 Minor optimizations.
28866 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28867 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28868 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28870 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28872 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28873 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28874 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28875 for gcc to avoid warnings.
28876 * inet/Makefile (tests): Add tst-checks.
28877 * inet/tst-checks.c: New file.
28879 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28882 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28885 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28886 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28888 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28890 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28892 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28895 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28897 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28899 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28900 conditional on GCC version.
28901 (__arch_compare_and_exchange_val_8_acq)
28902 (__arch_compare_and_exchange_val_16_acq)
28903 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28904 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28905 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28907 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28909 * sysdeps/sh/backtrace.c: New file.
28911 2011-12-02 Andreas Schwab <schwab@redhat.com>
28913 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28916 2011-12-01 Andreas Schwab <schwab@redhat.com>
28918 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28919 falling back to utime.
28921 2011-11-30 Andreas Schwab <schwab@redhat.com>
28923 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28924 expectations for float.
28926 2011-11-29 Andreas Schwab <schwab@redhat.com>
28928 * locale/weight.h (findidx): Add parameter len.
28929 * locale/weightwc.h (findidx): Likewise.
28930 * posix/fnmatch_loop.c (FCT): Adjust caller.
28931 * posix/regcomp.c (build_equiv_class): Likewise.
28932 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28933 * posix/regexec.c (check_node_accept_bytes): Likewise.
28934 * string/strcoll_l.c (STRCOLL): Likewise.
28935 * string/strxfrm_l.c (STRXFRM): Likewise.
28937 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28939 * Makefile.in: Remove CVSOPT handling.
28940 * configure.in: Remove use of AC_REVISION.
28941 * iconvdata/Makefile (distribute): No need to filter out CVS.
28942 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28945 2011-11-16 Andreas Schwab <schwab@redhat.com>
28947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28948 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28949 [USE_AS_STRNCASECMP_L]: Likewise.
28950 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28951 NO_TLS_DIRECT_SEG_REFS.
28952 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28953 Fix argument offsets for non-PIC.
28954 [USE_AS_STRNCASECMP_L]: Likewise.
28955 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28956 NO_TLS_DIRECT_SEG_REFS.
28958 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28960 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28962 * locale/loadlocale.c (_nl_load_locale): Likewise.
28964 2011-11-15 Andreas Schwab <schwab@redhat.com>
28966 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28967 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28968 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28969 (SYSCALL_GETTIME): Set errno on error.
28971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28972 count references to noai6ai_cached.
28974 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28976 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28978 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28979 FD_CLOEXEC for /proc/self/maps.
28981 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28982 FD_CLOEXEC for /proc/meminfo.
28984 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28987 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28988 FD_CLOEXEC for given file.
28990 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28992 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28993 FD_CLOEXEC for /etc/hosts.
28994 (_gethtent): Likewise.
28996 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28998 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28999 cancellation and set FD_CLOEXEC for /etc/netgroup.
29001 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29002 reading /etc/publickey.
29004 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29005 allow cancellation when reading /etc/group.
29007 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29009 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29011 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29012 when using data file.
29014 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29016 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29017 (write_nis_obj): Use "c" and "e" in fopen.
29019 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29021 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29023 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29025 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29027 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29030 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29032 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29034 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29036 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29037 file parsing and set FD_CLOEXEC.
29039 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29041 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29043 2011-11-14 Andreas Schwab <schwab@redhat.com>
29045 * malloc/arena.c (arena_get2): Don't call reused_arena when
29046 _int_new_arena failed.
29048 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29050 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29051 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29052 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29053 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29054 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29055 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29056 to compile strcasecmp and strncasecmp.
29057 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29058 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29062 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29064 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29065 locale-defines.sym to gen-as-const-headers.
29066 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29067 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29069 to compile strcasecmp and strncasecmp.
29070 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29071 strcasecmp_l and strncasecmp_l.
29072 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29073 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29074 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29075 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29076 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29077 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29078 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29079 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29080 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29081 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29082 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29084 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29086 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29087 result of SYSDEP_GETTIME_CPU to retval.
29088 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29089 parameter list to macro. Remove trailing semicolon. Adjust users.
29091 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29094 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29096 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29098 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29099 from unused variable.
29101 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29103 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29106 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29109 * sunrpc/rpc_prot.c (rejected): Fix case value.
29111 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29112 unsigned long long int to avoid warnings in shift.
29114 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29116 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29119 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29120 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29121 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29123 * nis/nis_table.c (nis_list): Use variable of correct type for
29124 result of __follow_path call.
29126 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29128 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29129 of math functions ceil, trunc, floor, round, and sqrt, when
29130 avaliable on the platform.
29131 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29133 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29134 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29135 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29137 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29139 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29140 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29142 2011-11-11 Roland McGrath <roland@hack.frob.com>
29144 * include/unistd.h: Fix __readlink return type.
29145 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29147 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29149 * stdlib/ucontext.h: Undo last change for makecontext.
29151 2011-11-11 Andreas Schwab <schwab@redhat.com>
29153 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29155 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29156 * setjmp/setjmp.h: Mark functions as non-leaf.
29157 * setjmp/bits/setjmp2.h: Likewise.
29158 * stdlib/ucontext.h: Likewise.
29160 2011-11-10 Andreas Schwab <schwab@redhat.com>
29162 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29163 (reused_arena): Don't check arena limit.
29164 (arena_get2): Atomically check arena limit.
29166 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29168 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29169 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29174 2011-11-07 Andreas Schwab <schwab@redhat.com>
29176 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29177 handler when locking.
29179 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29180 Fix size of allocated buffer.
29182 2011-11-04 Andreas Schwab <schwab@redhat.com>
29185 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29186 declarations for long double functions.
29187 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29189 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29191 2011-11-03 Andreas Schwab <schwab@redhat.com>
29193 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29196 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29199 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29201 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29203 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29205 * include/alloca.h (stackinfo_alloca_round): Define.
29206 (extend_alloca): Use it.
29207 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29208 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29211 * scripts/check-local-headers.sh: Ignore libaudit.h.
29213 * nscd/Makefile (extra-objs): Make recursively expanded.
29215 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29217 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29220 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29221 * posix/tst-rfc3484-2.c: Likewise.
29222 * posix/tst-rfc3484-3.c: Likewise.
29224 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29226 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29228 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29229 process_vm_writev from libc using GLIBC_2.15 version.
29231 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29233 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29235 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29238 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29241 * nss/getent.c (initgroups_keys): Show error message in case no group
29244 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29245 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29246 __bump_nl_timestamp.
29247 * nscd/connections (nscd_init): When host database is served open
29248 netlink socket and request notification about configuration changes.
29249 (main_loop_poll): Track netlink file descriptor and bump timestamp
29250 in case data becomes available.
29251 (main_loop_epoll): Likewise.
29252 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29253 (database_pers_head): Add extra_data fileds.
29254 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29255 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29256 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29258 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29259 in6ai data, call __free_in6ai.
29260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29261 Add -DHAVE_NETLINK.
29262 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29263 interface information. Reuse previous data if netlink timestamp
29265 (__bump_nl_timestamp): New function.
29266 (__free_in6ai): New function.
29268 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29270 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29271 close_not_cancel_no_status here.
29272 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29274 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29277 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29280 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29281 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29282 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29284 2011-07-03 Andreas Jaeger <aj@suse.de>
29287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29288 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29289 * math/libm-test.inc (sin_test): Add test case.
29291 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29294 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29295 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29297 * elf/chroot_canon.c (chroot_canon): Cleanups.
29299 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29302 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29303 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29305 * string/test-strchr.c: Make usable for strchrnul testing.
29306 * string/test-strchrnul.c: New file.
29307 * string/Makefile (strop-tests): Add strchrnul.
29309 * po/it.po: Update from translation team.
29310 * po/es.po: Likewise.
29312 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29314 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29315 the three constants needed as parameters. Drop the others.
29316 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29317 __m128i_strloadu_tolower.
29318 Create and initialize variable zero and use it in all the places
29319 where _mm_setzero_si128 was used.
29321 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29322 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29323 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29324 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29326 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29327 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29328 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29329 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29330 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29331 __mpranred, __mptan.
29332 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29333 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29334 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29335 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29336 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29337 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29338 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29339 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29340 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29342 2011-10-28 Andreas Schwab <schwab@redhat.com>
29344 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29345 redefine if SHARED.
29346 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29349 wide char related routines to wcsmbs subdir.
29351 2011-10-27 Andreas Schwab <schwab@redhat.com>
29354 * misc/sys/cdefs.h (__THROWNL): Define.
29355 * posix/unistd.h: Use __THREADNL instead of __THREAD
29356 for memory synchronization functions.
29358 2011-10-26 Roland McGrath <roland@hack.frob.com>
29361 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29363 * manual/stdio.texi (Obstack Streams): Node removed.
29365 2011-10-26 Andreas Schwab <schwab@redhat.com>
29367 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29368 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29369 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29371 * math/math_private.h (math_force_eval): Allow non-addressable
29373 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29375 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29377 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29378 file is not needed.
29380 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29381 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29382 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29383 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29384 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29385 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29386 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29387 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29393 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29396 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29399 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29400 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29401 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29402 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29403 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29404 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29405 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29406 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29407 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29409 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29410 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29413 place. Use VEX encoding when compiling for AVX.
29415 2011-10-25 Andreas Schwab <schwab@redhat.com>
29417 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29418 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29420 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29422 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29424 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29425 useless if() expression.
29426 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29432 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29436 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29438 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29440 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29441 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29443 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29444 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29446 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29448 2011-10-25 Andreas Schwab <schwab@redhat.com>
29450 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29452 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29454 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29456 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29457 .text section. Avoid duplicate constants.
29458 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29462 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29463 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29465 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29466 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29467 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29468 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29470 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29471 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29472 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29473 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29474 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29475 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29478 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29479 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29480 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29481 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29482 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29483 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29484 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29485 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29486 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29489 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29490 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29491 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29492 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29493 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29494 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29495 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29496 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29497 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29498 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29499 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29500 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29501 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29502 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29504 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29506 * sysdeps/x86_64/dla.h: Move to ...
29507 * sysdeps/x86_64/fpu/dla.h: ...here.
29508 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29509 situations. Use __builtin_fma only for gcc 4.6 and up.
29511 * config.make.in: Add have-mfma4 entry.
29512 * configure.in: Substitute libc_cv_cc_fma4.
29513 * math/Makefile (dbl-only-routines): Add sincostab.
29514 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29515 Use __sincostab not sincos.
29516 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29523 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29524 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29525 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29526 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29528 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29529 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29531 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29532 define aliases when function name is a macro.
29533 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29534 sysdeps/ieee754/dbl-64/sincos.tbl.
29535 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29536 fma4-enabled routines.
29537 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29538 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29539 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29540 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29541 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29543 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29544 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29545 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29546 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29547 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29549 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29559 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29560 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29562 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29563 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29564 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29566 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29568 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29570 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29576 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29577 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29579 2011-10-24 Andreas Schwab <schwab@redhat.com>
29581 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29583 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29587 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29591 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29592 Remove unused variable magic_bits.
29593 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29595 * string/strnlen.c: Define and use STRNLEN macro.
29596 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29597 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29599 * wcsmbs/wcslen.c: Define and use WCSLEN.
29600 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29601 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29602 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29603 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29604 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29605 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29606 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29608 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29610 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29611 strnlen-sse2-no-bsf.
29612 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29613 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29614 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29615 Add strnlen support.
29616 (USE_AS_STRNLEN): New macro.
29617 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29618 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29619 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29620 * sysdeps/x86_64/wcslen.S: New file.
29622 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29624 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29625 XMM-moves are used for copying on small sizes.
29627 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29629 * wcsmbs/Makefile (strop-tests): Add wcschr.
29630 * wcsmbs/test-wcschr.c: New file.
29631 * string/test-strchr.c: Update.
29632 Add wcschr support.
29635 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29637 * wcsmbs/Makefile (strop-tests): Add wcslen.
29638 * wcsmbs/test-wcslen.c: New file.
29639 * string/test-strlen.c: Update.
29640 Add wcslen support.
29643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29645 * po/it.po: Update from translation team.
29647 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29649 * sysdeps/x86_64/wcscmp.S: Update.
29650 Fix wrong comparison semantics.
29651 wcscmp shall use signed comparison not unsigned.
29652 Don't use substraction to avoid overflow bug.
29653 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29654 * wcsmbc/wcscmp.c: Likewise.
29655 * string/test-strcmp.c: Likewise.
29656 Add new tests to check cases with negative values.
29658 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29660 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29661 * sysdeps/x86_64/dla.h: ...here. New file.
29662 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29672 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29675 __ynl_finite aliases.
29677 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29681 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29683 [DLA_FMA] (EMULV): Use DLA_FMA.
29684 [DLA_FMA] (MUL12): Use EMULV.
29685 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29686 that are not needed.
29687 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29692 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29695 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29697 * math/s_nan.c: Undef __nan.
29698 * math/s_nanf.c: Undef __nanf.
29699 * math/s_nanl.c: Undef __nanl.
29700 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29703 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29705 * math/s_catan.c: Add branch predictions.
29706 * math/s_catanf.c: Likewise.
29707 * math/s_catanh.c: Likewise.
29708 * math/s_catanhf.c: Likewise.
29709 * math/s_catanhl.c: Likewise.
29710 * math/s_catanl.c: Likewise.
29711 * math/s_cexp.c: Likewise.
29712 * math/s_cexpf.c: Likewise.
29713 * math/s_cexpl.c: Likewise.
29714 * math/s_clog.c: Likewise.
29715 * math/s_clog10.c: Likewise.
29716 * math/s_clog10f.c: Likewise.
29717 * math/s_clog10l.c: Likewise.
29718 * math/s_clogf.c: Likewise.
29719 * math/s_clogl.c: Likewise.
29720 * math/s_csqrt.c: Likewise.
29721 * math/s_csqrtf.c: Likewise.
29722 * math/s_csqrtl.c: Likewise.
29723 * math/s_ctanf.c: Likewise.
29724 * math/s_ctanh.c: Likewise.
29725 * math/s_ctanhf.c: Likewise.
29726 * math/s_ctanhl.c: Likewise.
29727 * math/s_ctanl.c: Likewise.
29729 * math/math_private.h: Define __nan, __nanf, __nanl.
29730 * math/s_cacosh.c: Include <math_private.h>.
29731 * math/s_cacoshl.c: Likewise.
29732 * math/s_casinh.c: Likewise.
29733 * math/s_casinhf.c: Likewise.
29734 * math/s_casinhl.c: Likewise.
29735 * math/s_ccos.c: Rely entire on ccosh.
29736 * math/s_ccosf.c: Rely entire on ccoshf.
29737 * math/s_ccosl.c: Rely entirely on ccoshl.
29738 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29739 Remove tests for FE_INVALID.
29740 * math/s_ccoshf.c: Likewise.
29741 * math/s_ccoshl.c: Likewise.
29742 * math/s_csin.c: Likewise.
29743 * math/s_csinf.c: Likewise.
29744 * math/s_csinh.c Likewise.
29745 * math/s_csinhf.c: Likewise.
29746 * math/s_csinhl.c: Likewise.
29747 * math/s_csinl.c: Likewise.
29748 * math/s_ctan.c: Likewise.
29749 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29750 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29753 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29756 compilation problems.
29758 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29761 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29763 * sysdeps/i386/configure.in: Test for -mfma4 option.
29764 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29765 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29766 COMMON_CPUID_INDEX_80000001.
29767 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29768 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29769 use it if FMA3 is not supported.
29770 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29772 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29773 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29775 2011-10-20 Andreas Schwab <schwab@redhat.com>
29778 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29779 it would create a cycle with a link time dependency.
29781 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29783 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29785 * string/Makefile (strop-tests): Add rawmemchr.
29786 * string/test-rawmemchr.c: New file.
29788 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29790 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29791 when compiling str{,n}casecmp and when AVX is available. Hook up
29792 new optimized code in initializers.
29794 2011-10-19 Andreas Schwab <schwab@redhat.com>
29796 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29797 __feraiseexcept instead of feraiseexcept.
29799 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29801 * math/math_private.h: Define defaults for libc_fetestexcept and
29803 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29804 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29805 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29806 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29807 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29808 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29809 libc_fetestexcept and libc_feupdateenv.
29811 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29812 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29813 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29814 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29815 libc_feholdexcept_setround.
29817 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29818 Add s_nearbyint-c and s_nearbyintf-c.
29819 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29820 nearbyintf inlines.
29821 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29822 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29823 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29824 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29826 * math/math_private.h: Define defaults for libc_fegetround,
29827 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29828 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29829 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29831 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29832 standard functions.
29833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29834 Remove comments and hacks for old compiler versions.
29835 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29836 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29837 libc_feholdexceptl.
29839 2011-10-18 Andreas Schwab <schwab@redhat.com>
29841 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29842 (__feraiseexcept_renamed): Add __NTH.
29843 (feraiseexcept): Add __NTH. Rename local variables to fix
29844 namespace violations.
29846 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29848 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29852 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29853 recently added interfaces.
29854 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29856 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29857 about macro parameter expansion.
29859 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29860 __NO_MATH_INLINES is defined. Cleanups.
29862 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29863 and __floorf is target has SSE4.1.
29864 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29865 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29866 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29867 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29869 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29871 (floorf): Likewise.
29873 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29875 2011-10-17 Andreas Schwab <schwab@redhat.com>
29877 * misc/sys/cdefs.h: Fix last change.
29879 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29882 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29884 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29886 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29888 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29892 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29893 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29894 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29895 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29896 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29897 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29898 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29899 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29900 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29901 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29902 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29903 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29904 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29905 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29906 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29907 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29909 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29910 ceil, ceilf, floor, floorf.
29912 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29913 Perform IRELATIVE relocations last.
29915 * elf/do-rel.h: Add another parameter nrelative, replacing the
29916 local variable with the same name. Change name of the function
29917 to end in Rel or Rela (uppercase).
29918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29919 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29920 elf_dynamic_do_##reloc function.
29922 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29924 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29925 is sufficient, at least on modern CPUs.
29927 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29929 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29932 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29934 * math/bits/math-finite.h: Add entries for exp.
29935 * math/e_expl.c: Add __*_finite alias.
29936 * sysdeps/i386/fpu/e_exp.S: Likewise.
29937 * sysdeps/i386/fpu/e_expf.S: Likewise.
29938 * sysdeps/i386/fpu/e_expl.c: Likewise.
29939 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29940 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29943 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29944 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29945 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29947 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29948 is sufficient, at least on modern CPUs.
29950 * ctype/ctype-info.c (__ctype_init): Define.
29951 * include/ctype.h (__ctype_init): Declare.
29952 (__ctype_b_loc): The variable is always initialized.
29953 (__ctype_toupper_loc): Likewise.
29954 (__ctype_tolower_loc): Likewise.
29955 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29956 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29958 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29960 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29962 * configure.in: Also look in $cxxmachine/include for C++ system
29965 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29967 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29968 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29969 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29970 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29971 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29972 (USE_AS_WMEMCMP): New macro.
29974 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29975 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29976 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29977 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29979 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29980 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29981 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29982 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29983 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29985 (USE_AS_WMEMCMP): New macro.
29986 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29987 * sysdeps/string/test-memcmp.c: Update.
29988 Fix simple_wmemcmp.
29990 * wcsmbs/wmemcmp.c: Update.
29991 (WMEMCMP): New macro.
29994 2011-10-12 Andreas Jaeger <aj@suse.de>
29997 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29999 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30001 * libio/iofwide.c (do_length): Avoid warning.
30003 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30005 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30007 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30009 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30010 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30011 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30012 * sysdeps/i386/i686/fpu/e_log.S: New file.
30013 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30014 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30016 * ctype/ctype.h: Add support for inlined isXXX functions when
30017 compiling C++ code.
30019 2011-10-14 Andreas Schwab <schwab@redhat.com>
30021 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30023 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30025 2011-10-13 Roland McGrath <roland@hack.frob.com>
30028 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30030 2011-10-13 Andreas Schwab <schwab@redhat.com>
30032 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30033 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30036 * sysdeps/x86_64/memrchr.S: Check for zero size.
30038 * string/stratcliff.c: Add memrchr tests.
30040 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30043 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30044 rawmemchr-sse2 rawmemchr-sse2-bsf.
30045 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30046 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30047 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30048 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30049 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30050 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30051 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30052 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30053 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30054 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30055 * string/memrchr.c (MEMRCHR): New macro.
30057 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30059 Add integration with gcc's -ffinite-math-only and optimize wrapper
30061 * Versions.def: Define GLIBC_2.15 version for libm.
30062 * math/Makefile (headers): Add bits/math-finite.h.
30063 * math/bits/math-finite.h: New file.
30064 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30065 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30066 * math/e_acoshl.c: Add __*_finite alias.
30067 * math/e_acosl.c: Likewise.
30068 * math/e_asinl.c: Likewise.
30069 * math/e_atan2l.c: Likewise.
30070 * math/e_atanhl.c: Likewise.
30071 * math/e_coshl.c: Likewise.
30072 * math/e_exp10.c: Likewise.
30073 * math/e_exp10f.c: Likewise.
30074 * math/e_exp10l.c: Likewise.
30075 * math/e_exp2l.c: Likewise.
30076 * math/e_fmodl.c: Likewise.
30077 * math/e_gammal_r.c: Likewise.
30078 * math/e_hypotl.c: Likewise.
30079 * math/e_j0l.c: Likewise.
30080 * math/e_j1l.c: Likewise.
30081 * math/e_jnl.c: Likewise.
30082 * math/e_lgammal_r.c: Likewise.
30083 * math/e_log10l.c: Likewise.
30084 * math/e_log2l.c: Likewise.
30085 * math/e_logl.c: Likewise.
30086 * math/e_powl.c: Likewise.
30087 * math/e_sinhl.c: Likewise.
30088 * math/e_sqrtl.c: Likewise.
30089 * math/e_scalb.c: Completely rewritten and optimized.
30090 * math/e_scalbf.c: Likewise.
30091 * math/e_scalbl.c: Likewise.
30092 * math/w_acos.c: Likewise.
30093 * math/w_acosf.c: Likewise.
30094 * math/w_acosl.c: Likewise.
30095 * math/w_acosh.c: Likewise.
30096 * math/w_acoshf.c: Likewise.
30097 * math/w_acoshl.c: Likewise.
30098 * math/w_asin.c: Likewise.
30099 * math/w_asinf.c: Likewise.
30100 * math/w_asinl.c: Likewise.
30101 * math/w_atan2.c: Likewise.
30102 * math/w_atan2f.c: Likewise.
30103 * math/w_atan2l.c: Likewise.
30104 * math/w_atanh.c: Likewise.
30105 * math/w_atanhf.c: Likewise.
30106 * math/w_atanhl.c: Likewise.
30107 * math/w_exp10.c: Likewise.
30108 * math/w_exp10f.c: Likewise.
30109 * math/w_exp10l.c: Likewise.
30110 * math/w_fmod.c: Likewise.
30111 * math/w_fmodf.c: Likewise.
30112 * math/w_fmodl.c: Likewise.
30113 * math/w_j0.c: Likewise.
30114 * math/w_j0f.c: Likewise.
30115 * math/w_j0l.c: Likewise.
30116 * math/w_j1.c: Likewise.
30117 * math/w_j1f.c: Likewise.
30118 * math/w_j1l.c: Likewise.
30119 * math/w_jn.c: Likewise.
30120 * math/w_jnf.c: Likewise.
30121 * math/w_log.c: Likewise.
30122 * math/w_logf.c: Likewise.
30123 * math/w_logl.c: Likewise.
30124 * math/w_log10.c: Likewise.
30125 * math/w_log10f.c: Likewise.
30126 * math/w_log10l.c: Likewise.
30127 * math/w_log2.c: Likewise.
30128 * math/w_log2f.c: Likewise.
30129 * math/w_log2l.c: Likewise.
30130 * math/w_pow.c: Likewise.
30131 * math/w_powf.c: Likewise.
30132 * math/w_powl.c: Likewise.
30133 * math/w_remainder.c: Likewise.
30134 * math/w_remainderf.c: Likewise.
30135 * math/w_remainderl.c: Likewise.
30136 * math/w_scalb.c: Likewise.
30137 * math/w_scalbf.c: Likewise.
30138 * math/w_scalbl.c: Likewise.
30139 * math/w_sqrt.c: Likewise.
30140 * math/w_sqrtf.c: Likewise.
30141 * math/w_sqrtl.c: Likewise.
30142 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30143 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30145 * math/math_private.h: Declare __kernel_standard_f.
30146 * math/w_cosh.c: Remove cruft and optimize a bit.
30147 * math/w_coshf.c: Likewise.
30148 * math/w_coshl.c: Likewise.
30149 * math/w_exp2.c: Likewise.
30150 * math/w_exp2f.c: Likewise.
30151 * math/w_exp2l.c: Likewise.
30152 * math/w_hypot.c: Likewise.
30153 * math/w_hypotf.c: Likewise.
30154 * math/w_hypotl.c: Likewise.
30155 * math/w_lgamma.c: Likewise.
30156 * math/w_lgamma_r.c: Likewise.
30157 * math/w_lgammaf.c: Likewise.
30158 * math/w_lgammaf_r.c: Likewise.
30159 * math/w_lgammal.c: Likewise.
30160 * math/w_lgammal_r.c: Likewise.
30161 * math/w_sinh.c: Likewise.
30162 * math/w_sinhf.c: Likewise.
30163 * math/w_sinhl.c: Likewise.
30164 * math/w_tgamma.c: Likewise.
30165 * math/w_tgammaf.c: Likewise.
30166 * math/w_tgammal.c: Likewise.
30167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30169 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30170 Minor optimizations. Pretty printing. Remove cruft.
30171 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30172 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30173 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30175 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30176 * sysdeps/i386/fpu/e_asin.S: Likewise.
30177 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30178 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30179 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30180 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30181 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30182 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30183 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30184 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30185 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30186 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30187 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30188 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30189 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30190 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30191 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30192 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30193 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30194 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30195 * sysdeps/i386/fpu/e_log.S: Likewise.
30196 * sysdeps/i386/fpu/e_log10.S: Likewise.
30197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30198 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30199 * sysdeps/i386/fpu/e_log2.S: Likewise.
30200 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30202 * sysdeps/i386/fpu/e_logf.S: Likewise.
30203 * sysdeps/i386/fpu/e_logl.S: Likewise.
30204 * sysdeps/i386/fpu/e_pow.S: Likewise.
30205 * sysdeps/i386/fpu/e_powf.S: Likewise.
30206 * sysdeps/i386/fpu/e_powl.S: Likewise.
30207 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30208 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30209 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30210 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30212 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30213 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30214 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30215 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30237 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30238 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30239 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30240 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30241 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30242 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30243 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30244 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30245 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30247 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30250 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30251 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30252 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30253 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30254 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30255 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30256 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30257 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30258 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30259 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30262 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30263 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30264 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30265 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30266 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30268 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30269 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30271 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30272 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30273 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30274 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30275 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30276 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30277 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30279 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30280 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30281 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30282 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30284 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30286 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30287 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30290 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30298 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30299 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30300 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30301 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30302 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30304 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30307 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30308 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30309 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30310 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30311 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30312 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30313 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30314 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30315 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30316 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30317 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30318 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30319 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30320 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30322 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30324 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30326 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30327 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30328 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30329 (__isnanf): Likewise.
30330 (__isinf_ns): Likewise.
30331 (__isinf_nsf): Likewise.
30332 (__finite): Likewise.
30333 (__finitef): Likewise.
30334 (__ieee754_sqrt): Define as macro.
30335 (__ieee754_sqrtf): Define as macro.
30336 (__ieee754_sqrtl): Define as macro.
30337 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30339 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30340 __FINITE_MATH_ONLY__ consistent.
30341 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30343 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30345 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30348 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30350 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30352 * po/ja.po: Update from translation team.
30354 2011-10-08 Roland McGrath <roland@hack.frob.com>
30356 * locale/programs/locarchive.c (prepare_address_space): New function.
30357 (create_archive, enlarge_archive, open_archive): Use it.
30359 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30360 inside [SHARED], where it is used.
30362 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30364 * nss/getent.c (netgroup_keys): Remove unused variable.
30365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30367 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30369 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30370 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30372 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30373 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30374 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30375 * math/Makefile (libm-calls): Add s_isinf_ns.
30376 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30377 * math/multc3.c: Likewise.
30378 * math/s_casin.c: Likewise.
30379 * math/s_casinf.c: Likewise.
30380 * math/s_casinl.c: Likewise.
30381 * math/s_ccos.c: Likewise.
30382 * math/s_ccosf.c: Likewise.
30383 * math/s_ccosl.c: Likewise.
30384 * math/s_ctan.c: Likewise.
30385 * math/s_ctanf.c: Likewise.
30386 * math/s_ctanh.c: Likewise.
30387 * math/s_ctanhf.c: Likewise.
30388 * math/s_ctanhl.c: Likewise.
30389 * math/s_ctanl.c: Likewise.
30390 * math/w_fmod.c: Likewise.
30391 * math/w_fmodf.c: Likewise.
30392 * math/w_fmodl.c: Likewise.
30393 * math/w_remainder.c: Likewise.
30394 * math/w_remainderf.c: Likewise.
30395 * math/w_remainderl.c: Likewise.
30396 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30397 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30398 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30400 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30401 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30402 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30403 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30405 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30407 * stdio-common/printf_fphex.c: Likewise.
30408 * stdio-common/printf_size.c: Likewise.
30410 * math/e_exp10.c: Include math_private.h using <...> not "...".
30411 * math/e_exp10f.c: Likewise.
30412 * math/e_exp10l.c: Likewise.
30413 * math/e_exp2l.c: Likewise.
30414 * math/e_j0l.c: Likewise.
30415 * math/e_j1l.c: Likewise.
30416 * math/e_jnl.c: Likewise.
30417 * math/e_lgammal_r.c: Likewise.
30418 * math/e_rem_pio2l.c: Likewise.
30419 * math/e_scalb.c: Likewise.
30420 * math/e_scalbf.c: Likewise.
30421 * math/e_scalbl.c: Likewise.
30422 * math/k_cosl.c: Likewise.
30423 * math/k_sinl.c: Likewise.
30424 * math/k_tanl.c: Likewise.
30425 * math/s_cacoshf.c: Likewise.
30426 * math/s_catan.c: Likewise.
30427 * math/s_catanf.c: Likewise.
30428 * math/s_catanh.c: Likewise.
30429 * math/s_catanhf.c: Likewise.
30430 * math/s_catanhl.c: Likewise.
30431 * math/s_catanl.c: Likewise.
30432 * math/s_ccosh.c: Likewise.
30433 * math/s_ccoshf.c: Likewise.
30434 * math/s_ccoshl.c: Likewise.
30435 * math/s_cexp.c: Likewise.
30436 * math/s_cexpf.c: Likewise.
30437 * math/s_cexpl.c: Likewise.
30438 * math/s_clog.c: Likewise.
30439 * math/s_clog10.c: Likewise.
30440 * math/s_clog10f.c: Likewise.
30441 * math/s_clog10l.c: Likewise.
30442 * math/s_clogf.c: Likewise.
30443 * math/s_clogl.c: Likewise.
30444 * math/s_csin.c: Likewise.
30445 * math/s_csinf.c: Likewise.
30446 * math/s_csinh.c: Likewise.
30447 * math/s_csinhf.c: Likewise.
30448 * math/s_csinhl.c: Likewise.
30449 * math/s_csinl.c: Likewise.
30450 * math/s_csqrt.c: Likewise.
30451 * math/s_csqrtf.c: Likewise.
30452 * math/s_csqrtl.c: Likewise.
30453 * math/s_ctan.c: Likewise.
30454 * math/s_ctanf.c: Likewise.
30455 * math/s_ctanh.c: Likewise.
30456 * math/s_ctanhf.c: Likewise.
30457 * math/s_ctanhl.c: Likewise.
30458 * math/s_ctanl.c: Likewise.
30459 * math/s_ldexp.c: Likewise.
30460 * math/s_ldexpf.c: Likewise.
30461 * math/s_ldexpl.c: Likewise.
30462 * math/s_significand.c: Likewise.
30463 * math/s_significandf.c: Likewise.
30464 * math/s_significandl.c: Likewise.
30465 * math/w_acos.c: Likewise.
30466 * math/w_acosf.c: Likewise.
30467 * math/w_acosh.c: Likewise.
30468 * math/w_acoshf.c: Likewise.
30469 * math/w_acoshl.c: Likewise.
30470 * math/w_acosl.c: Likewise.
30471 * math/w_asin.c: Likewise.
30472 * math/w_asinf.c: Likewise.
30473 * math/w_asinl.c: Likewise.
30474 * math/w_atan2.c: Likewise.
30475 * math/w_atan2f.c: Likewise.
30476 * math/w_atan2l.c: Likewise.
30477 * math/w_atanh.c: Likewise.
30478 * math/w_atanhf.c: Likewise.
30479 * math/w_atanhl.c: Likewise.
30480 * math/w_cosh.c: Likewise.
30481 * math/w_coshf.c: Likewise.
30482 * math/w_coshl.c: Likewise.
30483 * math/w_dremf.c: Likewise.
30484 * math/w_exp10.c: Likewise.
30485 * math/w_exp10f.c: Likewise.
30486 * math/w_exp10l.c: Likewise.
30487 * math/w_exp2.c: Likewise.
30488 * math/w_exp2f.c: Likewise.
30489 * math/w_fmod.c: Likewise.
30490 * math/w_fmodf.c: Likewise.
30491 * math/w_fmodl.c: Likewise.
30492 * math/w_hypot.c: Likewise.
30493 * math/w_hypotf.c: Likewise.
30494 * math/w_hypotl.c: Likewise.
30495 * math/w_j0.c: Likewise.
30496 * math/w_j0f.c: Likewise.
30497 * math/w_j0l.c: Likewise.
30498 * math/w_j1.c: Likewise.
30499 * math/w_j1f.c: Likewise.
30500 * math/w_j1l.c: Likewise.
30501 * math/w_jn.c: Likewise.
30502 * math/w_jnf.c: Likewise.
30503 * math/w_jnl.c: Likewise.
30504 * math/w_lgamma.c: Likewise.
30505 * math/w_lgamma_r.c: Likewise.
30506 * math/w_lgammaf.c: Likewise.
30507 * math/w_lgammaf_r.c: Likewise.
30508 * math/w_lgammal.c: Likewise.
30509 * math/w_lgammal_r.c: Likewise.
30510 * math/w_log.c: Likewise.
30511 * math/w_log10.c: Likewise.
30512 * math/w_log10f.c: Likewise.
30513 * math/w_log10l.c: Likewise.
30514 * math/w_log2.c: Likewise.
30515 * math/w_log2f.c: Likewise.
30516 * math/w_log2l.c: Likewise.
30517 * math/w_logf.c: Likewise.
30518 * math/w_logl.c: Likewise.
30519 * math/w_pow.c: Likewise.
30520 * math/w_powf.c: Likewise.
30521 * math/w_powl.c: Likewise.
30522 * math/w_remainder.c: Likewise.
30523 * math/w_remainderf.c: Likewise.
30524 * math/w_remainderl.c: Likewise.
30525 * math/w_scalb.c: Likewise.
30526 * math/w_scalbf.c: Likewise.
30527 * math/w_scalbl.c: Likewise.
30528 * math/w_sinh.c: Likewise.
30529 * math/w_sinhf.c: Likewise.
30530 * math/w_sinhl.c: Likewise.
30531 * math/w_sqrt.c: Likewise.
30532 * math/w_sqrtf.c: Likewise.
30533 * math/w_sqrtl.c: Likewise.
30534 * math/w_tgamma.c: Likewise.
30535 * math/w_tgammaf.c: Likewise.
30536 * math/w_tgammal.c: Likewise.
30538 * po/ja.po: Update from translation team.
30540 2011-09-29 Andreas Jaeger <aj@suse.de>
30543 * sunrpc/netname.c (netname2host): Fix logic.
30547 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30549 * math/w_remainder.c (__remainder): Likewise.
30550 * math/w_remainderf.c (__remainderf): Likewise.
30551 * math/libm-test.inc (remainder_test): Add test cases.
30553 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30555 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30558 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30560 * string/test-memcmp.c: Avoid unncessary #defines.
30561 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30563 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30565 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30566 Use new sse2 version for core i3 - i7 as it's faster
30567 than sse42 version.
30568 (bit_Prefer_PMINUB_for_stringop): New.
30569 * sysdeps/x86_64/rawmemchr.S: Update.
30570 Replace with faster SSE2 version.
30571 * sysdeps/x86_64/memrchr.S: New file.
30572 * sysdeps/x86_64/memchr.S: Update.
30573 Replace with faster SSE2 version.
30575 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30577 * elf/dl-load.c (lose): Add cast to avoid warning.
30579 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30581 * po/ca.po: Update from translation team.
30583 * inet/getnetgrent_r.c: Hook up nscd.
30584 * nscd/Makefile (routines): Add nscd_netgroup.
30585 (nscd-modules): Add netgroupcache.
30586 (CFLAGS-netgroupcache.c): Define.
30587 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30588 (cache_search): Add const to second parameter.
30589 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30591 (dbs): Add netgrdb entry.
30592 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30593 (verify_persistent_db): Handle netgrdb.
30594 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30595 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30597 (netgroup_response_header): Define.
30598 (innetgroup_response_header): Define.
30599 (datahead): Add netgroup_response_header and innetgroup_response_header
30601 * nscd/nscd.conf: Add entries for netgroup cache.
30602 * nscd/nscd.h (dbtype): Add netgrdb.
30603 (_PATH_NSCD_NETGROUP_DB): Define.
30604 (netgroup_iov_disabled): Declare.
30605 (xmalloc, xcalloc, xrealloc): Move declarations here.
30606 (cache_search): Adjust prototype.
30607 Add netgroup-related prototypes.
30608 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30609 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30610 (__nscd_innetgr): Declare.
30611 * nscd/selinux.c (perms): Use access_vector_t as element type and
30612 add netgroup-related initializers.
30613 * nscd/netgroupcache.c: New file.
30614 * nscd/nscd_netgroup.c: New file.
30615 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30616 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30617 For four parameters use innetgr.
30618 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30619 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30620 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30621 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30623 * nscd/connections.c (register_traced_file): Don't register file
30624 for disabled databases.
30626 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30628 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30630 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30631 from tree and freeing node.
30633 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30635 * nss/nsswitch.c (__nss_database_lookup): Handle
30636 nss_parse_service_list out of memory case.
30638 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30640 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30641 out of memory case.
30643 2011-10-04 Andreas Schwab <schwab@redhat.com>
30645 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30646 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30648 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30649 elf_machine_rela, elf_machine_lazy_rel.
30650 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30651 (ELF_DYNAMIC_DO_REL): Likewise.
30652 (ELF_DYNAMIC_DO_RELA): Likewise.
30653 (ELF_DYNAMIC_RELOCATE): Likewise.
30654 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30655 to ELF_DYNAMIC_DO_REL.
30656 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30657 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30658 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30661 skip_ifunc, don't call ifunc function if non-zero.
30662 (elf_machine_rela): Likewise.
30663 (elf_machine_lazy_rel): Likewise.
30664 (elf_machine_lazy_rela): Likewise.
30665 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30666 (elf_machine_lazy_rel): Likewise.
30667 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30669 (elf_machine_lazy_rel): Likewise.
30670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30672 (elf_machine_lazy_rel): Likewise.
30673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30674 (elf_machine_lazy_rel): Likewise.
30675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30676 (elf_machine_lazy_rel): Likewise.
30677 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30678 (elf_machine_lazy_rel): Likewise.
30679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30680 (elf_machine_lazy_rel): Likewise.
30681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30682 (elf_machine_lazy_rel): Likewise.
30683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30684 (elf_machine_lazy_rel): Likewise.
30686 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30688 * nss/nss_files/files-init.c (_nss_files_init): Use static
30689 initialization for all the *_traced_file variables.
30691 2011-09-28 Andreas Schwab <schwab@redhat.com>
30693 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30695 2011-09-27 Roland McGrath <roland@hack.frob.com>
30698 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30700 2011-09-27 Andreas Schwab <schwab@redhat.com>
30702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30703 Reread the line before reparsing it.
30705 2011-09-26 Andreas Schwab <schwab@redhat.com>
30707 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30709 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30710 Maxim Kuvyrkov <maxim@codesourcery.com>
30711 Joseph Myers <joseph@codesourcery.com>
30713 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30714 if needed for __stack_chk_guard.
30716 2011-09-19 Roland McGrath <roland@hack.frob.com>
30718 * sysdeps/posix/spawni.c (script_execute): Always define it.
30719 It will be optimized away if unused.
30720 (maybe_script_execute): New function.
30721 (__spawni): Call it.
30723 * Makerules: Don't include tls.make.
30724 (config-tls): Always set to thread.
30725 * tls.make.c: File removed.
30727 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30729 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30730 * config.make.in (CPPFLAGS-config): New substituted variable.
30732 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30734 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30737 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30738 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30740 2011-09-15 Roland McGrath <roland@hack.frob.com>
30742 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30743 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30744 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30745 (CALL_FAIL): Likewise.
30746 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30747 (CALL_FAIL): Macro removed.
30748 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30750 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30752 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30753 for __FINITE_MATH_ONLY__ == 1.
30755 2011-09-15 Andreas Schwab <schwab@redhat.com>
30757 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30758 __ieee754_sqrt instead of sqrt.
30759 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30760 __ieee754_sqrtf instead of sqrtf.
30761 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30762 __floorf instead of floorf.
30763 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30764 __floorf, __truncf instead of floorf, truncf.
30766 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30768 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30770 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30771 __extern_always_inline.
30772 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30775 2011-09-14 Andreas Schwab <schwab@redhat.com>
30777 * elf/rtld.c (dl_main): Also relocate in dependency order when
30778 doing symbol dependency testing.
30780 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30783 Always define `refsym'.
30785 2011-09-13 Andreas Schwab <schwab@redhat.com>
30787 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30788 (__FD_ELT): Renamed from __FDELT.
30789 * misc/bits/select2.h (__FD_ELT): Likewise.
30790 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30791 __FD_MASK instead of __FDELT, __FDMASK.
30792 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30794 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30797 * elf/Makefile (gen-ldd): Fix pattern.
30799 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30800 (init_tls): Likewise.
30802 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30804 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30806 2011-09-12 Andreas Schwab <schwab@redhat.com>
30808 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30809 `struct cmsghdr *' instead of `void *'.
30810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30813 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30815 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30817 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30818 ldd_rewrite_script.
30820 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30822 * configure.in: Remove --with-tls option.
30823 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30824 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30825 out in case it is missing.
30826 * sysdeps/ia64/elf/configure.in: Likewise.
30827 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30828 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30829 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30830 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30831 * sysdeps/sh/elf/configure.in: Likewise.
30832 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30833 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30834 * sysdeps/x86_64/elf/configure.in: Likewise.
30835 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30836 * sysdeps/mach/hurd/tls.h: Likewise.
30839 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30842 * configure.in: Fix use of AC_INIT.
30844 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30846 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30848 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30850 * malloc/hooks.c: Likewise.
30853 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30854 variables statically.
30855 (narenas): Initialize.
30856 (list_lock): Initialize.
30857 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30858 initializtion of main_arena and list_lock. Small cleanups.
30859 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30860 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30861 Add initializers to main_arena and mp_.
30862 (malloc_state): Remove pagesize member. Change all users to use
30865 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30866 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30867 is always initialized.
30869 * malloc/malloc.c: Removed unused configurations and dead code.
30870 * malloc/arena.c: Likewise.
30871 * malloc/hooks.c: Likewise.
30872 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30874 * include/tls.h: Removed. USE___THREAD must always be defined.
30875 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30876 * elf/dl-libc.c: Likewise.
30877 * elf/dl-tsd.c: Likewise.
30878 * include/errno.h: Likewise.
30879 * include/netdb.h: Likewise.
30880 * include/resolv.h: Likewise.
30881 * inet/herrno-loc.c: Likewise.
30882 * inet/herrno.c: Likewise.
30883 * malloc/arena.c: Likewise.
30884 * malloc/hooks.c: Likewise.
30885 * malloc/malloc.c: Likewise.
30886 * resolv/res-state.c: Likewise.
30887 * resolv/res_libc.c: Likewise.
30888 * sysdeps/i386/dl-machine.h: Likewise.
30889 * sysdeps/ia64/dl-machine.h: Likewise.
30890 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30891 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30892 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30893 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30894 * sysdeps/sh/dl-machine.h: Likewise.
30895 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30896 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30897 * sysdeps/unix/i386/sysdep.S: Likewise.
30898 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30899 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30901 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30902 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30904 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30906 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30909 * sysdeps/x86_64/dl-machine.h: Likewise.
30910 * tls.make.c: Likewise.
30912 * configure.in: Remove --with-__thread option. Make tests for
30913 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30914 tls_model attribute fail if no support is available. Remove
30916 * Makeconfig: Adjust for dropped configure option. All features are
30918 * Makerules: Likewise.
30919 * Versions.def: Likewise.
30920 * argp/argp-fmtstream.c: Likewise.
30921 * argp/argp-fmtstream.h: Likewise.
30922 * argp/argp-help.c: Likewise.
30923 * assert/assert.c: Likewise.
30924 * config.h.in: Likewise.
30925 * config.make.in: Likewise.
30926 * configure: Likewise.
30927 * configure.in: Likewise.
30928 * csu/Versions: Likewise.
30929 * csu/init.c: Likewise.
30930 * elf/tst-audit2.c: Likewise.
30931 * elf/tst-tls10.c: Likewise.
30932 * elf/tst-tls10.h: Likewise.
30933 * elf/tst-tls11.c: Likewise.
30934 * elf/tst-tls12.c: Likewise.
30935 * elf/tst-tls14.c: Likewise.
30936 * elf/tst-tlsmod11.c: Likewise.
30937 * elf/tst-tlsmod12.c: Likewise.
30938 * elf/tst-tlsmod13.c: Likewise.
30939 * elf/tst-tlsmod13a.c: Likewise.
30940 * elf/tst-tlsmod14a.c: Likewise.
30941 * elf/tst-tlsmod15b.c: Likewise.
30942 * elf/tst-tlsmod16a.c: Likewise.
30943 * elf/tst-tlsmod16b.c: Likewise.
30944 * elf/tst-tlsmod7.c: Likewise.
30945 * elf/tst-tlsmod8.c: Likewise.
30946 * elf/tst-tlsmod9.c: Likewise.
30947 * gmon/gmon.c: Likewise.
30948 * grp/fgetgrent_r.c: Likewise.
30949 * grp/putgrent.c: Likewise.
30950 * hurd/fopenport.c: Likewise.
30951 * include/libc-symbols.h: Likewise.
30952 * include/tls.h: Likewise.
30953 * intl/gettextP.h: Likewise.
30954 * intl/loadinfo.h: Likewise.
30955 * locale/global-locale.c: Likewise.
30956 * locale/localeinfo.h: Likewise.
30957 * mach/devstream.c: Likewise.
30958 * malloc/arena.c: Likewise.
30959 * malloc/set-freeres.c: Likewise.
30960 * misc/err.c: Likewise.
30961 * misc/getttyent.c: Likewise.
30962 * misc/mntent_r.c: Likewise.
30963 * posix/getopt.c: Likewise.
30964 * posix/wordexp.c: Likewise.
30965 * pwd/fgetpwent_r.c: Likewise.
30966 * resolv/Versions: Likewise.
30967 * resolv/res_hconf.c: Likewise.
30968 * shadow/fgetspent_r.c: Likewise.
30969 * shadow/putspent.c: Likewise.
30970 * stdio-common/printf_fphex.c: Likewise.
30971 * stdio-common/tmpfile.c: Likewise.
30972 * stdlib/abort.c: Likewise.
30973 * stdlib/fmtmsg.c: Likewise.
30974 * sunrpc/auth_unix.c: Likewise.
30975 * sunrpc/clnt_perr.c: Likewise.
30976 * sunrpc/clnt_tcp.c: Likewise.
30977 * sunrpc/clnt_udp.c: Likewise.
30978 * sunrpc/clnt_unix.c: Likewise.
30979 * sunrpc/openchild.c: Likewise.
30980 * sunrpc/svc_simple.c: Likewise.
30981 * sunrpc/svc_tcp.c: Likewise.
30982 * sunrpc/svc_udp.c: Likewise.
30983 * sunrpc/svc_unix.c: Likewise.
30984 * sunrpc/xdr.c: Likewise.
30985 * sunrpc/xdr_array.c: Likewise.
30986 * sunrpc/xdr_rec.c: Likewise.
30987 * sunrpc/xdr_ref.c: Likewise.
30988 * sunrpc/xdr_stdio.c: Likewise.
30990 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30992 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30994 2011-07-03 Andreas Jaeger <aj@suse.de>
30996 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30997 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30998 regenerate with gen-libm-tests.pl.
31000 2010-05-12 Petr Baudis <pasky@suse.cz>
31003 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31004 around j0() zero points by switching to j1().
31005 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31010 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31012 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31014 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31017 Patch in part by Pavel Roskin <proski@gnu.org>.
31020 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31022 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31023 Free memory block if necessary.
31026 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31027 be NULL. Don't lock in this case.
31029 2011-09-09 Roland McGrath <roland@hack.frob.com>
31031 * elf/elf.h (ELFOSABI_GNU): New macro.
31032 (ELFOSABI_LINUX): Define to that.
31034 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31036 * string/strncat.c (strncat): Undef the symbol in case it has been
31037 defined in bits/string.h.
31039 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31041 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31043 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31046 2011-08-17 Andreas Jaeger <aj@suse.de>
31048 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31050 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31051 Ian Lance Taylor <iant@google.com>
31053 * math/libm-test.inc (lround_test): New testcase.
31054 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31056 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31058 * Makefile: Remove support for automatic cvs check-ins.
31059 * Makerules: Likewise.
31060 * config.make.in: Likewise.
31061 * configure.in: Likewise.
31062 * intl/Makefile: Likewise.
31063 * locale/Makefile: Likewise.
31064 * po/Makefile: Likewise.
31065 * posix/Makefile: Likewise.
31066 * sysdeps/gnu/Makefile: Likewise.
31067 * sysdeps/mach/hurd/Makefile: Likewise.
31068 * sysdeps/sparc/sparc32/Makefile: Likewise.
31071 * posix/Makefile (bug-regex32-ENV): Define.
31072 Patch by John Stanley <jpsinthemix@verizon.net>.
31074 * misc/Makefile (headers): Add bits/select2.h.
31075 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31076 * misc/bits/select2.h: New file.
31077 * include/bits/select2.h: New file.
31078 * debug/Makefile (routines): Add fdelt_chk.
31079 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31080 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31082 * debug/fdelt_chk.c: New file.
31084 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31085 * wcsmbs/test-wmemcmp.c: Likewise.
31086 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31087 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31089 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31091 * string/Makefile (strop-tests): Add memcmp.
31092 * string/test-wmemcmp.c: New file.
31093 * string/test-memcmp.c: Add wmemcmp support.
31095 2011-09-08 Roland McGrath <roland@hack.frob.com>
31098 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31101 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31102 garbage value in a __mach_port_mod_refs call in the cases of the
31103 task-self and thread-self ports.
31105 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31107 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31109 2011-09-08 Andreas Schwab <schwab@redhat.com>
31111 * elf/dl-load.c (lose): Check for non-null L.
31113 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31115 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31117 * elf/dl-libc.c (dlerror_run): Pass back error code from
31121 * elf/dl-load.c (lose): Free l_origin if it is valid.
31123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31125 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31127 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31128 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31130 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31132 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31134 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31135 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31136 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31137 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31138 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31139 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31140 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31141 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31142 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31143 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31145 2011-08-15 Alan Modra <amodra@gmail.com>
31148 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31149 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31150 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31151 ppc_mcount to static-only-routines.
31152 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31154 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31155 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31157 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31159 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31160 for finite and infinity parameters.
31162 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31164 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31165 and add nop instructions for throughput optimization.
31166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31168 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31171 aligned copy for power7 with vector-scalar instructions.
31172 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31174 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31176 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31179 2011-09-07 Andreas Schwab <schwab@redhat.com>
31182 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31185 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31187 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31188 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31189 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31190 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31193 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31195 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31196 Forgot to demangle the pointer.
31198 * sysdeps/i386/sysdep.h: Define atom_text_section.
31199 * sysdeps/x86_64/sysdep.h: Likewise.
31200 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31201 section with atom_text_section.
31202 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31204 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31205 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31206 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31208 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31209 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31210 already be defined. Change to take two parameters and don't assign
31211 result to variable. Adjust all users.
31212 Define INTERNAL_GETTIME if not already defined.
31213 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31216 HAVE_CLOCK_GETTIME_VSYSCALL.
31217 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31220 gettimeofday vsyscall, just use time.
31222 2011-09-06 Andreas Schwab <schwab@redhat.com>
31224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31227 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31229 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31233 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31235 syscall if possible.
31237 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31239 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31240 e_ident. Don't pass to find_mapsXX.
31241 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31243 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31246 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31247 * sysdeps/x86_64/multiarch/strchr.S: Update.
31248 Check bit_slow_BSF bit.
31249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31250 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31251 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31253 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31256 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31258 (tryshell): Define.
31259 (__spawni): Change last parameter to be flag. Test
31260 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31261 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31262 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31263 * posix/spawni.c: Likewise.
31264 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31265 * posix/spawnp.c: Likewise. Change normal version to use
31266 SPAWN_XFLAGS_USE_PATH.
31267 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31268 SPAWN_XFLAGS_TRY_SHELL.
31271 * posix/glob.h: Remove gcc 1.x support.
31274 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31276 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31279 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31281 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31282 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31283 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31285 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31286 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31288 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31290 * sysdeps/x86_64/wcscmp.S: New file.
31292 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31293 wcscmp-c wcscmp-sse2
31294 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31295 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31296 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31297 * wcsmbs/wcscmp.c: Allow renaming.
31299 2011-09-05 David S. Miller <davem@davemloft.net>
31301 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31302 stack slot, rather than the struct return pointer slot.
31303 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31304 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31306 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31308 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31310 * po/ja.po: Update from translation team.
31313 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31314 kernel in 64-bit binaries.
31316 2011-09-01 David S. Miller <davem@davemloft.net>
31318 * elf/elf.h (HWCAP_SPARC_*): Move to..
31319 * sysdeps/sparc/sysdep.h: this new file and add new values.
31320 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31321 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31322 _DL_HWCAP_COUNT to 24.
31323 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31325 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31326 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31327 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31328 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31329 instead of magic constants.
31330 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31332 2011-08-31 David S. Miller <davem@davemloft.net>
31334 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31336 Reimplement to do errno handling inline.
31337 (SYSCALL_ERROR_HANDLER): New macro.
31338 (__SYSCALL_STRING): Do not do errno handling in asm.
31339 (__CLONE_SYSCALL_STRING): Delete.
31340 (__INTERNAL_SYSCALL_STRING): Delete.
31341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31342 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31343 (PSEUDO): Reimplement to do errno handling inline.
31344 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31345 (SYSCALL_ERROR_HANDLER): New macro.
31346 (__SYSCALL_STRING): Do not do errno handling in asm.
31347 (__CLONE_SYSCALL_STRING): Delete.
31348 (__INTERNAL_SYSCALL_STRING): Delete.
31349 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31350 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31352 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31353 (inline_syscall*): Add 'err' argument.
31354 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31355 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31356 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31357 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31359 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31360 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31362 2011-08-30 Andreas Schwab <schwab@redhat.com>
31364 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31366 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31368 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31371 2011-08-24 David S. Miller <davem@davemloft.net>
31373 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31375 2011-08-24 Andreas Schwab <schwab@redhat.com>
31377 * elf/Makefile: Add rules to build and run unload8 test.
31378 * elf/unload8.c: New file.
31379 * elf/unload8mod1.c: New file.
31380 * elf/unload8mod1x.c: New file.
31381 * elf/unload8mod2.c: New file.
31382 * elf/unload8mod3.c: New file.
31384 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31387 2011-08-23 David S. Miller <davem@davemloft.net>
31389 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31390 subtract stack bias.
31391 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31392 %sp not %fp in calculations.
31393 (_JMPBUF_UNWINDS_ADJ): Likewise.
31395 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31396 (aio_suspend): Call it to force an exception region around the
31397 AIO_MISC_WAIT() invocation.
31399 2011-08-23 Andreas Schwab <schwab@redhat.com>
31401 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31404 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31406 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31408 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31409 and <dl-machine.h>.
31410 (Elf64_FuncDesc): Remove.
31412 2011-08-22 David S. Miller <davem@davemloft.net>
31414 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31415 sigaltstack check, add missing cfi directives.
31416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31417 missing cfi directives, and sigaltstack handling.
31419 2011-08-16 Andreas Schwab <schwab@redhat.com>
31422 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31423 object is seen twice.
31424 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31426 * elf/Makefile (distribute): Add tst-initorder2.c.
31427 (tests): Add tst-initorder2.
31428 (modules-names): Add tst-initorder2a tst-initorder2b
31429 tst-initorder2c tst-initorder2d. Add rules to build them.
31430 ($(objpfx)tst-initorder2.out): New rule.
31431 * elf/tst-initorder2.c: New file.
31432 * elf/tst-initorder2.exp: New file.
31434 2011-08-22 Andreas Schwab <schwab@redhat.com>
31436 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31438 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31439 dependencies back to end of function.
31441 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31442 $(elfobjdir)/ld.so.
31444 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31447 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31449 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31450 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31451 of __vdso_gettimeofday.
31452 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31453 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31455 (_libc_vdso_platform_setup): Remove initialization of
31456 __vdso_gettimeofday and __vdso_time.
31458 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31460 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31461 and fgetc_unlocked.
31462 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31465 * elf/dl-open.c (add_to_global): Report additions to the global scope
31466 for LD_DEBUG=scopes.
31467 (dl_open_worker): Also print scope of newly loaded dependencies.
31468 (_dl_show_scope): Indicate if there is no scope.
31471 * stdio-common/Makefile (tests): Add bug24.
31472 * stdio-common/bug24.c: New file.
31474 2011-08-19 Andreas Jaeger <aj@suse.de>
31477 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31478 non-existant file when using close-on-exec mode.
31480 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31482 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31483 the very first instruction.
31485 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31486 the CFI state in the end.
31487 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31488 inclusion of dl-trampoline.h.
31489 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31491 2011-08-19 Andreas Schwab <schwab@redhat.com>
31493 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31494 expectations for long double.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31497 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31499 2011-08-14 David S. Miller <davem@davemloft.net>
31501 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31502 artificual limit depends upon the system page size.
31504 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31506 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31507 * resolv/Makefile: Define CFLAGS-libresolv.
31509 2011-08-17 Andreas Schwab <schwab@redhat.com>
31511 * nss/makedb.c (compute_tables): Make variables used in nested
31514 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31516 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31517 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31518 if buffer was too small.
31520 * elf/pldd.c (main): Attach to all threads in the process.
31521 Rewrite /proc handling to use *at functions.
31523 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31525 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31526 specifies first scope to show.
31527 (dl_open_worker): Update callers. Move printing scope of new
31528 object to before the relocation.
31529 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31530 * sysdeps/generic/ldsodefs.h: Update declaration.
31532 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31533 string for the scope number.
31535 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31537 * nscd/servicescache.c (cache_addserv): Make sure written is always
31540 2011-08-14 Roland McGrath <roland@hack.frob.com>
31542 * sysdeps/i386/i486/bits/atomic.h
31543 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31544 statement expression, so as to suppress "set but not used" warning.
31545 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31547 * string/strncat.c (STRNCAT): Use prototype definition.
31549 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31550 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31552 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31553 (localedef-modules): Add localedef.
31554 (locale-modules): Add locale.
31556 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31557 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31558 to avoid a warning.
31560 2011-08-14 David S. Miller <davem@davemloft.net>
31562 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31563 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31565 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31567 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31568 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31569 * elf/rtld.c (dl_main): Set l_name of vDSO.
31570 Call _dl_show_scope when DL_DEBUG_SCOPES.
31571 (process_dl_debug): Recognize scopes flag and also set it for all.
31572 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31573 Declare _dl_show_scope.
31575 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31576 (do_dlopen): Pass caller_dlopen to dl_open.
31577 (__libc_dlopen_mode): Initialize caller_dlopen.
31579 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31580 of libc. Make tolower call locale-independent. Optimize a bit by
31581 using isdigit instead of isalnum.
31582 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31584 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31586 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31587 was a dependency or dynamically loaded.
31589 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31591 * intl/l10nflist.c: Allow architecture-specific pop function.
31592 * sysdeps/x86_64/l10nflist.c: New file.
31594 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31597 2011-08-10 Andreas Schwab <schwab@redhat.com>
31599 * include/dirent.h: Add libc_hidden_proto for scandirat and
31600 scandirat64. Don't declare __scandirat64.
31601 * dirent/scandirat.c: Add libc_hidden_def.
31602 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31603 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31605 2011-08-10 David S. Miller <davem@davemloft.net>
31607 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31611 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31613 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31615 * Versions.def [libc]: Add GLIBC_2.15.
31616 * dirent/Makefile (routines): Add scandirat and scandirat64.
31617 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31619 * dirent/dirent.h: Declare scandirat and scandirat64.
31620 * dirent/scandirat.c: New file.
31621 * dirent/scandirat64.c: New file.
31622 * sysdeps/wordsize-64/scandirat.c: New file.
31623 * sysdeps/wordsize-64/scandirat64.c: New file.
31624 * dirent/opendir.c: Define opendirat.
31625 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31627 * dirent/scandir64.c: Adjust for scandir.c change.
31628 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31629 __scandirat64, and __scandir_cancel_handler.
31630 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31631 additional parameter and use openat instead of open (outside of ld.so).
31632 Add new __opendir as wrapper around __opendirat.
31633 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31634 here without requiring old scandirat implementation.
31636 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31638 * dirent/scandir.c (cancel_handler): Renamed to
31639 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31640 defined. Adjust users.
31641 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31642 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31644 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31646 * string/test-string.h (IMPL): Use __STRING to expand name and then
31649 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31652 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31654 * string/Makefile: Update.
31655 (strop-tests): Append strncat.
31656 * string/test-wcscmp.c: New file.
31657 New comprehensive test for wcscmp.
31658 * string/test-strcmp.c: Update.
31659 (WIDE): New define.
31661 2011-07-22 Andreas Schwab <schwab@redhat.com>
31663 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31666 2011-07-26 Andreas Schwab <schwab@redhat.com>
31668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31669 encoding to ACE if AI_IDN.
31671 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31674 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31676 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31678 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31679 Fix overflow bug in strncat.
31680 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31682 * string/test-strncat.c: Update.
31683 Add new tests for checking overflow bugs.
31685 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31688 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31689 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31690 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31692 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31693 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31694 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31695 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31698 (USE_AS_STRCAT): Define.
31699 Add strcat and strncat support.
31700 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31702 2011-07-25 Andreas Schwab <schwab@redhat.com>
31704 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31705 __n bigger than INT_MAX+1.
31706 (__strncmp_g): Likewise.
31708 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31710 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31711 * libio/stido.h: Likewise.
31713 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31718 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31719 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31721 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31722 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31725 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31730 (_dl_x86_64_save_sse): Likewise.
31732 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31736 (_dl_x86_64_save_sse): Likewise.
31738 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31740 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31742 2011-07-21 Andreas Schwab <schwab@redhat.com>
31744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31746 (_dl_x86_64_save_sse): Use correct AVX check.
31748 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31750 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31751 bug in strncpy/strncat.
31752 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31754 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31756 * string/tester.c (test_strcat): Add tests for different alignments
31757 of source and destination.
31758 (test_strncat): Likewise.
31760 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31763 * posix/glob.c (glob): Check passed in values before using them in
31764 expressions to avoid some overflows.
31765 (glob_in_dir): Likewise.
31768 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31769 check for AVX enablement so that we don't crash with old kernels and
31771 * elf/tst-audit4.c: Add same checks here.
31772 * elf/tst-audit6.c: Likewise.
31774 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31776 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31778 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31780 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31782 * po/cs.po: Update from translation team.
31783 * po/bg.po: Likewise.
31785 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31787 * misc/sys/cdefs.h: Add support for const attribute.
31788 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31789 to gnu_dev_{major,minor,makedev} functions.
31791 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31793 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31795 2011-07-20 Andreas Schwab <schwab@redhat.com>
31797 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31800 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31802 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31803 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31804 register in order to avoid conflicts with the soft frame pointer
31805 being held in r11 when necessary.
31806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31807 (INTERNAL_VSYSCALL_NCS): Likewise.
31809 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31811 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31812 * elf/dl-fini.c (_dl_fini): Adjust caller.
31813 * elf/dl-close.c (_dl_close_worker): Likewise.
31814 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31816 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31818 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31819 "aux_cache->nlibs < 0".
31821 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31822 in the reload-count case.
31824 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31827 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31828 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31829 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31830 * sysdeps/x86_64/multiarch/strcat.S: New file.
31831 * sysdeps/x86_64/multiarch/strncat.S: New file.
31832 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31834 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31835 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31836 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31837 (USE_AS_STRCAT): Define.
31838 Add strcat and strncat support.
31839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31840 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31841 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31842 * string/strncat.c: Update.
31843 (USE_AS_STRNCAT): Define.
31844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31845 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31847 * sysdeps/x86_64/multiarch/init-arch.h
31848 (bit_Prefer_PMINUB_for_stringop): New.
31849 (index_Prefer_PMINUB_for_stringop): Likewise.
31850 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31851 bit_Prefer_PMINUB_for_stringop.
31853 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31855 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31857 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31858 of casting of buffer.
31859 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31860 buffer32 and buffer64.
31861 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31862 writes instead of casting of buffer.
31863 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31865 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31868 2011-07-19 Andreas Schwab <schwab@redhat.com>
31870 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31872 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31874 * nscd/nscd.c (termination_handler): Don't do anything for a database
31875 if it has not yet been initialized.
31877 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31879 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31881 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31883 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31885 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31887 * po/nl.po: Update from translation team.
31888 * po/sv.po: Likewise.
31890 2011-07-16 Roland McGrath <roland@hack.frob.com>
31892 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31893 now disallowed by GCC.
31895 * configure.in (use-default-link): Default to yes if a test -shared
31896 link meets our qualifications.
31897 * configure: Regenerated.
31899 * config.make.in (output-format): New variable.
31900 * configure.in: Check for ld --print-output-format support.
31901 * configure: Regenerated.
31902 * Makerules ($(common-objpfx)format.lds)
31903 [$(output-format) != unknown]: Just use $(output-format),
31904 instead of the linker-script munging.
31906 2011-07-14 Roland McGrath <roland@hack.frob.com>
31908 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31909 of $(common-objpfx)shlib.lds.
31910 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31912 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31913 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31915 * configure.in (-z relro check): Adjust test code to add a large
31916 writable data section after it.
31917 * configure: Regenerated.
31919 2011-07-11 Roland McGrath <roland@hack.frob.com>
31921 * configure.in (-z relro check): Fix test code to make the variable
31923 * configure: Regenerated.
31925 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31927 * nscd/nscd.h (struct traced_file): Define.
31928 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31929 elements. Add traced_files.
31930 (inotify_fd): Declare.
31931 (register_traced_file): Declare.
31932 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31933 (inotify_fd): Export.
31934 (resolv_conf_descr): Remove.
31935 (nscd_init): Move inotify descriptor creation to main.
31936 Don't register files for notification here.
31937 (register_traced_file): New function.
31938 (invalidate_cache): Don't use reset_res to determine whether to call
31939 res_init, go through the list of registered files.
31940 (main_loop_poll): The inotify descriptors are now stored in the
31941 structures for the traced files.
31942 (main_loop_epoll): Likewise
31943 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31944 to __nss_disable_nscd.
31945 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31946 for a database anymore. Check the records for all the registered
31948 * nss/Makefile (libnss_files-routines): Add files-init.
31949 (libnss_db-routines): Add db-init.
31950 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31951 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31952 * nss/nss_db/db-init.c: New file.
31953 * nss/nss_files/files-init.c: New file.
31954 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31955 __nss_lookup_function.
31956 (__nss_lookup_function): Call nss_load_library.
31957 (nss_load_all_libraries): New function.
31958 (__nss_disable_nscd): Take parameter with callback function for files
31959 to register. Set is_nscd. Load all the DSOs for the NSS modules
31960 used for the cached services.
31961 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31962 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31963 options for features to all the files in nscd.
31965 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31967 2011-07-10 Roland McGrath <roland@hack.frob.com>
31969 * csu/elf-init.c (__libc_csu_init): Comment typo.
31971 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31973 * po/pl.po: Update from translation team.
31974 * po/ja.po: Likewise.
31975 * po/ru.po: Likewise.
31976 * po/ko.po: Likewise.
31977 * po/fr.po: Likewise.
31979 2011-07-09 Roland McGrath <roland@hack.frob.com>
31981 * configure.in (.ctors/.dtors header and trailer check):
31982 Use an empirical test on a built program.
31983 * configure: Regenerated.
31985 * configure.in (-z relro check): Use an empirical test on a built DSO.
31986 Detect, but do not require, on ia64.
31987 * configure: Regenerated.
31989 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31990 Update tests that use readelf to use $READELF instead.
31991 * configure: Regenerated.
31993 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31995 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31996 if the result is not used.
31998 2011-07-05 Andreas Jaeger <aj@suse.de>
32001 * stdlib/tst-strtod.c: Add testcase.
32003 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32005 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32006 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32007 The latter has a higher limit. Take additional parameter to pass to
32009 (__pathconf): Pass file to __statfs_link_max.
32010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32012 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32016 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32019 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32020 (__statfs_filesize_max): Likewise.
32021 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32023 2011-07-05 Andreas Jaeger <aj@suse.de>
32025 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32027 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32029 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32031 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32034 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32036 * Makefile (strop-tests): Add strncat.
32037 * string/test-strncat.c: New file.
32039 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32041 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32043 2011-06-21 Andreas Jaeger <aj@suse.de>
32045 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32046 Copy rule from iconvdata/Makefile.
32048 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32051 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32052 but no long options are defined, just return 'W'.
32054 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32057 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32059 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32061 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32063 (innetgr): Likewise.
32065 2011-07-05 Roland McGrath <roland@hack.frob.com>
32067 * config.make.in (install_root): Default to $(DESTDIR).
32069 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32071 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32073 2011-07-02 Roland McGrath <roland@hack.frob.com>
32075 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32077 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32078 containing directory rather than embedding absolute directory names.
32080 * scripts/check-local-headers.sh: Rewritten using awk.
32081 Match by word, not by line. Print error messages for matches.
32082 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32084 * Makerules [shlib-lds-flags empty]:
32085 ($(common-objpfx)libc_pic.opts): New target.
32086 ($(common-objpfx)libc_pic.os.clean): New target.
32087 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32089 * config.make.in (OBJCOPY): New variable.
32090 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32091 * configure: Regenerated.
32093 * config.make.in (use-default-link): New variable.
32094 * configure.in (use_default_link): Grok --with-default-link to set it.
32095 * configure: Regenerated.
32096 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32097 (shlib-lds, shlib-lds-flags): Define to empty.
32099 * Makerules (shlib-lds): New variable.
32100 (shlib-lds-flags): New variable.
32101 (build-shlib, build-moduile, build-module-asneeded): Use it.
32102 ($(common-objpfx)libc.so): Use $(shlib-lds).
32103 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32104 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32106 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32107 DT_FLAGS/DT_FLAGS_1 with zero flags.
32109 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32110 linker script munging.
32112 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32114 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32116 * crypt/sha512.c (sha512_process_block): Perform total addition using
32117 128-bit if possible.
32118 (__sha512_finish_ctx): Likewise.
32119 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32121 * crypt/sha256.c (SWAP64): Define.
32122 (sha256_process_block): Perform total addition using 64-bit if
32124 (__sha256_finish_ctx): Likewise.
32126 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32128 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32130 * nscd/hstcache.c (cache_addhst): Likewise.
32131 * nscd/grpcache.c (cache_addgr): Likewise.
32132 * nscd/aicache.c (addhstaiX): Likewise
32133 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32135 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32137 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32138 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32139 * nscd/hstcache.c (cache_addhst): Likewise.
32140 * nscd/grpcache.c (cache_addgr): Likewise.
32141 * nscd/aicache.c (addhstaiX): Likewise
32143 2011-07-01 Andreas Schwab <schwab@redhat.com>
32145 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32146 domain only when needed.
32148 2011-06-30 Andreas Schwab <schwab@redhat.com>
32150 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32151 is always restored.
32153 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32155 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32156 are re-adding the entry.
32157 * nscd/servicescache.c (cache_addserv): Likewise.
32159 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32161 * sysdeps/generic/dl-irel.h: fix protection against multiple
32163 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32165 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32168 * malloc/memusage.sh: Fix quoting in message.
32169 * debug/xtrace.sh: Likewise.
32171 * configure.in: Remove support for --experimental-malloc option, make
32173 * config.make.in: Likewise.
32174 * malloc/Makefile: Likewise.
32176 2011-06-27 Andreas Schwab <schwab@redhat.com>
32178 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32179 two-byte characters.
32181 2011-06-27 Roland McGrath <roland@hack.frob.com>
32183 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32184 AC_CACHE_CHECK invocation.
32185 * configure: Regenerated.
32187 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32189 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32192 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32193 bit from old_res_options.
32195 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32197 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32198 value type for setfct.
32200 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32203 __gettimeofday instead of gettimeofday.
32205 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32207 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32209 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32211 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32213 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32216 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32219 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32220 strcpy-sse2-unaligned strncpy-sse2-unaligned
32221 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32222 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32223 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32224 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32225 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32228 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32229 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32230 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32231 (STRCPY): Support SSE2 and SSSE3 versions.
32233 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32237 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32238 kernels which artificially limit size of requests.
32240 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32243 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32244 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32245 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32246 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32247 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32248 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32249 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32250 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32252 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32253 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32254 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32255 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32256 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32258 Enable unaligned load optimization for Intel Core i3, i5 and i7
32260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32262 (index_Fast_Unaligned_Load): Define.
32263 (HAS_FAST_UNALIGNED_LOAD): Define.
32265 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32267 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32269 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32273 until it is clear that the information is realy needed.
32274 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32276 2011-06-22 Andreas Schwab <schwab@redhat.com>
32278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32280 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32283 /sys/devices/system/cpu/online if it is usable.
32285 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32286 reading the information from the /proc filesystem to once a second.
32288 2011-06-21 Andreas Jaeger <aj@suse.de>
32290 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32291 NULL after inclusion of kernel headers.
32293 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32295 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32296 calls to internal_setent.
32299 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32300 addresses using gethostbyname4_r ignore IPv4 addresses.
32302 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32303 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32305 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32307 2011-06-20 David S. Miller <davem@davemloft.net>
32309 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32311 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32313 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32314 (elf_irel): Use it.
32315 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32316 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32317 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32318 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32319 * sysdeps/x86_64/dl-irel.h: Likewise.
32321 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32322 * elf/dl-sym.c: Likewise.
32324 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32326 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32327 need to dereference resplen2.
32329 2011-06-14 Andreas Schwab <schwab@redhat.com>
32331 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32333 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32335 * Makeconfig: Define vardbdir and inst_vardbdir.
32336 * nss/Makefile: Add rules to install db-Makefile.
32338 * nss/nss_db/db-XXX.c: Cleanup.
32340 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32341 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32343 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32344 * nss/makedb.c: Implement -g option to specify that value strings
32345 are generated and should not be added to table iterated over for
32347 * nss/nss_db/db-initgroups.c: New file.
32349 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32352 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32353 (internal_getgrouplist): Adjust to name change.
32354 Update use_initgroups_entry if this is not the first call.
32355 * nss/databases.def: Add initgroups entry.
32357 * nss/makedb.c (compute_tables): Check result of multiple hash table
32358 sizes to minimize maximum chain length.
32360 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32362 * Versions.def: Add entry for libnss_db.
32363 * shlib-versions: Likewise.
32364 * nss/Makefile: Add rules to build libnss_db.
32365 * nss/Versions: Add libnss_db information. Organize libnss_files
32367 * nss/db-Makefile: Add gshadow support. Change rules for the new
32368 makedb progra. Some minor improvements to generate smaller files.
32369 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32371 * nss/makedb.c: ...here.
32372 Improve database format to be smaller and require less memory at
32374 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32376 * nss/nss_db/db-netgrp.c: Likewise.
32377 * nss/nss_db/db-open.c: Likewise.
32378 * nss/nss_files/flies-XXX.x: Adjust comments.
32379 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32380 * nss/nss_files/files-grp.c: Likewise.
32381 * nss/nss_files/files-hosts.c: Likewise.
32382 * nss/nss_files/files-network.c: Likewise.
32383 * nss/nss_files/files-proto.c: Likewise.
32384 * nss/nss_files/files-pwd.c: Likewise.
32385 * nss/nss_files/files-rpc.c: Likewise.
32386 * nss/nss_files/files-service.c: Likewise.
32387 * nss/nss_files/files-sgrp.c: Likewise.
32388 * nss/nss_files/files-spwd.c: Likewise.
32389 * nss/nss_db/db-alias.c: Removed.
32390 * nss/nss_db/dummy-db.h: Removed.
32392 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32394 * nss/makedb.c: Rewritten to not use database library.
32395 * nss/Makefile: Update to build new makedb program.
32397 2011-06-14 Andreas Jaeger <aj@suse.de>
32399 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32400 memset declaration.
32402 2011-06-10 Andreas Schwab <schwab@redhat.com>
32404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32407 2011-06-10 Roland McGrath <roland@hack.frob.com>
32409 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32410 * elf/Makefile ($(objpfx)ld.so): Likewise.
32412 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32413 Don't list ld.so twice in dependencies.
32415 * posix/bug-regex31.c: Include <stdlib.h>.
32417 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32419 * nis/nss_compat/compat-spwd.c
32420 (getspent_next_nss_netgr): Remove unused variable.
32421 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32423 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32424 nonmembers" output to use the right array.
32426 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32428 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32430 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32431 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32432 * catgets/gencat.c (read_input_file): Likewise.
32433 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32435 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32436 variable definition inside #if's controlling its use.
32438 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32440 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32442 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32444 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32447 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32449 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32450 * configure: Regenerated.
32452 * Makerules: Revert last change.
32453 * elf/Makefile: Likewise.
32455 2011-06-09 Roland McGrath <roland@hack.frob.com>
32457 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32458 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32459 (reloc-link): Likewise.
32461 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32463 * elf/Makefile: Add rules to build pldd.
32464 * elf/pldd.c: New file.
32465 * elf/pldd-xx.c: New file.
32467 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32469 * version.h: Update for 2.15 development version.
32471 2011-06-07 David S. Miller <davem@davemloft.net>
32473 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32475 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32476 elf_machine_lazy_rel): Likewise.
32477 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32478 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32479 elf_machine_lazy_rel): Likewise.
32480 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32481 dl_hwcap via passed in argument.
32482 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32485 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32487 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32489 2011-06-06 Roland McGrath <roland@hack.frob.com>
32492 * manual/fdl-1.1.texi: New file, verbatim from:
32493 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32494 * manual/lgpl-2.1.texi: New file, verbatim from:
32495 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32496 * manual/Makefile (licenses): New variable, list those new file names.
32498 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32500 * manual/fdl.texi: File removed.
32501 * manual/lesser.texi: File removed.
32502 * manual/libc.texinfo (Copying, Documentation License):
32503 Use new @include file names, put @appendix directive before @include.
32505 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32508 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32509 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32510 (mq_open): Add __NTH.
32512 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32515 Assume Intel Core i3/i5/i7 processor if AVX is available.
32517 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32522 2011-05-31 Andreas Schwab <schwab@redhat.com>
32524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32525 memory. Use alloca_account. Fix memory leak when retrying.
32527 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32529 * version.h (RELEASE): Bump for 2.14 release.
32530 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32532 * config.make.in (RANLIB): Remove entry.
32534 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32536 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32537 (libc.pot): Work around missing support for .ksh extension in xgettext.
32540 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32541 if both request failed.
32542 (send_dg): In case of server errors clear resplen or *resplen2.
32545 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32546 when there are multiple maps.
32547 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32548 (_dl_fini): Remove test here.
32550 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32552 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32555 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32556 bit from old_res_options.
32557 (gaih_inet): Likewise.
32560 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32563 * resolv/res_init.c (res_setoptions): Make the code more compact.
32566 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32570 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32572 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32575 * malloc/malloc.h: Declare malloc hook variables as volatile.
32577 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32581 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32582 raise in the comment.
32583 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32585 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32587 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32590 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32591 grow the buffers more if it already has to be sufficient.
32592 (build_wcs_upper_buffer): Likewise.
32593 * posix/regexec.c (check_matching): Likewise.
32594 (clean_state_log_if_needed): Likewise.
32595 (extend_buffers): Don't enlarge buffers beyond size of the input
32597 Patches mostly by Emil Wojak <emil@wojak.eu>.
32598 * posix/bug-regex32.c: New file.
32599 * posix/Makefile (tests): Add bug-regex32.
32601 * locale/findlocale.c (_nl_find_locale): Return right away if
32602 _nl_explode_name failed.
32603 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32605 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32607 * debug/xtrace.sh: Unify messages.
32608 * malloc/memusage.sh: Likewise.
32611 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32612 time symbol from vDSO. Substitute with vsyscall if not available.
32613 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32616 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32617 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32618 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32619 Add sendmmsg and internal_sendmmsg.
32620 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32621 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32622 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32624 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32625 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32626 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32628 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32632 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32634 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32638 * iconvdata/Makefile (tests): Add bug-iconv9.
32639 * iconvdata/bug-iconv9.c: New file.
32641 2011-05-27 Andreas Schwab <schwab@redhat.com>
32644 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32646 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32649 (struct user_regs_struct): Change intcs field back to cs.
32651 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32653 * po/ja.po: Update from translation team.
32655 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32658 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32659 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32661 2011-05-20 Andreas Schwab <schwab@redhat.com>
32663 * stdlib/longlong.h: Update from GCC.
32665 2011-05-23 Andreas Schwab <schwab@redhat.com>
32667 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32669 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32670 Add parameter name.
32671 (__sysconf): Pass it down.
32673 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32676 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32679 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32680 add in in __libc_use_alloca calls. Adjust callers.
32681 (glob): Use malloc in some situations.
32683 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32684 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32687 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32689 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32690 and CLOCK_BOOTTIME_ALARM.
32693 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32696 * string/_strerror.c (__strerror_r): Print negative errors as signed
32700 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32701 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32702 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32704 * configure.in: Fix typo in redirection and correct removal of test
32705 files in two cases.
32708 * locale/setlocale.c (new_composite_name): Fix test to check for
32709 identical name of all categories.
32712 * libio/filedoalloc.c (local_isatty): New function.
32713 (_IO_file_doallocate): Use local_isatty.
32714 * stdio-common/perror.c (perror): In case a new stream is used
32715 forward the stream error.
32716 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32719 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32724 * include/alloca.h (extend_alloca_account): Define.
32727 * posix/regex.h: Fix comments with documentation of user-accessible
32728 fields after compilation and describe correct free'ing of pattern
32729 after re_compile_pattern.
32730 Patch by Reuben Thomas <rrt@sc3d.org>.
32732 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32734 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32735 and -mno-altivec to prevent the compiler from using Altivec and/or
32736 VSX instructions when the corresponding registers are not available.
32738 2011-05-19 Andreas Schwab <schwab@redhat.com>
32740 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32742 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32744 * libio/freopen.c (freopen): Use __dup2, not dup2.
32745 * libio/freopen64.c (freopen64): Likewise.
32747 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32750 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32751 * math/Makefile (tests): Add test-powl.
32752 (CFLAGS-test-powl.c): Define.
32753 * math/test-powl.c: New file.
32755 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32757 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32759 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32762 * iconvdata/gb18030.c: Update to GB18020-2005.
32764 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32766 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32767 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32768 Patch by Aharon Robbins <arnold@skeeve.com>.
32771 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32775 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32776 through underflows.
32779 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32780 point to strings before performing equality test for error_one_per_line
32784 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32787 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32788 (struct user_fpregs_struct): Avoid __uint*_t types.
32791 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32792 symbol info. Use it instead of calling _dl_addr locally.
32793 (lock_and_info): New function.
32794 (tr_freehook): Call lock_and_info and pass symbol info as additional
32795 parameter to tr_where.
32796 (tr_mallochook): Likewise.
32797 (tr_reallochook): Likewise.
32798 (tr_memalignhook): Likewise.
32800 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32801 used and couldn't be at all thread-safe.
32803 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32805 * libio/freopen.c (freopen): Don't close old file descriptor
32806 before the new one is opened. Instead dup the new file descriptor
32807 to the old one after the new stream is created.
32808 * libio/freopen64.c (freopen64): Likewise.
32809 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32810 * libio/fileops.c (_IO_new_file_close_it): Handle new
32811 _IO_FLAGS2_NOCLOSE flag.
32812 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32813 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32814 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32815 _IO_FLAGS2_NOCLOSE flag.
32816 * include/unistd.h: Add hidden_proto for dup3.
32817 Define __have_dup3.
32818 * io/dup3.c: Define hidden symbol.
32819 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32822 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32823 when an incomplete long option is used.
32824 * posix/tst-getopt_long1.c: New file.
32825 * posix/Makefile (tests): Add tst-getopt_long1.
32828 * scripts/config.guess: Update from autoconf-2.68.
32829 * scripts/config.sub: Likewise.
32832 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32834 (has_cpuclock): ...this. New function.
32835 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32836 macro here based on has_cpuclock code.
32839 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32840 First byte (not low byte) is now always NUL.
32841 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32843 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32844 Use non-cancelable interfaces.
32847 * locale/iso-639.def: Add entry for Sorani.
32850 * include/stdlib.h: Move include protection to the right place.
32851 Define abort_msg_s. Declare __abort_msg with it.
32852 * stdlib/abort.c (__abort_msg): Adjust type.
32853 * assert/assert.c (__assert_fail_base): New function. Majority
32854 of code from __assert_fail. Allocate memory for __abort_msg with
32856 (__assert_fail): Now call __assert_fail_base.
32857 * assert/assert-perr.c: Remove bulk of implementation. Use
32858 __assert_fail_base.
32859 * include/assert.hL Declare __assert_fail_base.
32860 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32862 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32864 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32868 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32869 until all modules are registered in the DTV.
32870 * elf/Makefile: Add rules to build and run tst-tls19.
32871 * elf/tst-tls19.c: New file.
32872 * elf/tst-tls19mod1.c: New file.
32873 * elf/tst-tls19mod2.c: New file.
32874 * elf/tst-tls19mod3.c: New file.
32875 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32878 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32882 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32883 two-byte sequence errors.
32884 * iconvdata/Makefile (tests): Add bug-iconv8.
32885 * iconvdata/bug-iconv8.c: New file.
32888 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32891 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32894 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32895 (dummy_getcfa): New function.
32896 (init): Get _Unwind_GetCFA address, use dummy if not found.
32897 (backtrace_helper): In recursion check, also check whether CFA changes.
32898 (__backtrace): Completely initialize arg.
32900 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32901 storing incomplete byte sequence in state object. Avoid testing for
32902 guaranteed too small input if we know there is enough data available.
32904 2011-05-11 Andreas Schwab <schwab@redhat.com>
32906 * Makeconfig (+link-pie): Indent.
32907 * Rules (binaries-pie): Define if $(have-fpie) and
32909 (binaries-shared): Also filter out $(binaries-pie).
32910 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32911 * nscd/Makefile (others-pie): Add nscd.
32912 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32913 ($(objpfx)nscd): Remove command override.
32914 * login/Makefile (others-pie): Add pt_chown.
32915 ($(objpfx)pt_chown): Remove command override.
32916 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32917 remove command overrides.
32919 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32921 * libio/tst_putwc.c: Fix error messages.
32924 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32925 currently writing and seek to current position when not.
32926 * libio/Makefile (tests): Add bug-fclose1.
32927 * libio/bug-fclose1.c: New file.
32929 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32932 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32933 don't set DF_1_NODELETE here.
32934 (do_lookup_x): When entering new entry test for copy relocation
32935 and if necessary set DF_1_NODELETE flag.
32936 * elf/tst-unique4.cc: New file.
32937 * elf/tst-unique4.h: New file.
32938 * elf/tst-unique4lib.cc: New file.
32939 * elf/Makefile: Add rules to build and run tst-unique4.
32940 Patch by Piotr Bury <pbury@goahead.com>.
32942 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32945 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32948 * misc/mntent_r.c (addmntent): Flush the stream after the output
32951 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32952 (is_trusted_path_normalize): Skip initial colon. Append slash
32953 to empty buffer. Duplicate is_trusted_path code but allow
32954 constructed patch to be prefix.
32955 (is_dst): Allow $ORIGIN followed by /.
32956 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32957 Correct testing of result of is_trusted_path_normalize
32958 (decompose_rpath): Fix warning.
32960 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32963 * grp/initgroups.c (internal_getgrouplist): When we found the service
32964 list through the initgroups entry in nsswitch.conf do not always
32965 continue on a successful lookup. Don't always use the
32966 __nss_group_database value if it is set.
32967 * nss/nsswitch.conf (initgroups): Change action for successful db
32968 lookup to continue for compatibility.
32970 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32973 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32975 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32977 * iconvdata/tst-tables.sh: Likewise.
32978 * iconvdata/cp770.c: New file.
32979 * iconvdata/cp771.c: New file.
32980 * iconvdata/cp772.c: New file.
32981 * iconvdata/cp773.c: New file.
32982 * iconvdata/cp774.c: New file.
32983 * iconvdata/testdata/CP770: New file.
32984 * iconvdata/testdata/CP770..UTF8: New file.
32985 * iconvdata/testdata/CP771: New file.
32986 * iconvdata/testdata/CP771..UTF8: New file.
32987 * iconvdata/testdata/CP772: New file.
32988 * iconvdata/testdata/CP772..UTF8: New file.
32989 * iconvdata/testdata/CP773: New file.
32990 * iconvdata/testdata/CP773..UTF8: New file.
32991 * iconvdata/testdata/CP774: New file.
32992 * iconvdata/testdata/CP774..UTF8: New file.
32994 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32996 * iconvdata/gen-8bit-gap.sh: Likewise.
32997 * iconvdata/gen-8bit.sh: Likewise.
32999 * locale/iso-639.def: Add ary entry.
33002 * locale/C-translit.h.in: Add U20A1 transliteration.
33005 * locale/iso-639.def: Add wae entry.
33006 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33009 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33013 * locale/C-translit.h.in: Add entry for U20B9.
33014 Patch by pravin.d.s@gmail.com.
33016 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33019 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33020 ENAMETOOLONG use generic getcwd.
33021 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33022 in rtld. Use *stat64.
33023 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33024 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33025 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33026 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33027 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33028 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33029 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33030 __fstatat64 macros.
33031 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33032 * dirent/rewinddir.c: Add libc_hidden_def.
33033 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33034 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33036 * include/dirent.h (__alloc_dir): Add flags parameter.
33037 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33038 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33040 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33041 from fdopendir if O_CLOEXEC is already set.
33043 2011-03-15 Alan Modra <amodra@gmail.com>
33045 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33046 l_tls_firstbyte_offset non-zero. Save padding offset in
33047 l_tls_firstbyte_offset for later use.
33048 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33049 freeing static tls block.
33051 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33053 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33054 where #ifdef was intended. The intent is to prevent ARG_MAX from
33055 being defined by the kernel headers.
33057 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33060 * resolv/resolv.h: Define RES_NOTLDQUERY.
33061 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33062 no-tld-query and set RES_NOTLDQUERY.
33063 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33064 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33065 modern BIND to search name as TLD unless forbidden.
33067 2011-05-07 Petr Baudis <pasky@suse.cz>
33068 Ulrich Drepper <drepper@gmail.com>
33071 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33072 (is_trusted_path): ...to here.
33073 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33074 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33075 using is_trusted_path_normalize() in setuid scripts.
33077 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33079 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33080 __BEGIN/__END_DECLS.
33082 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33085 NSS_STATUS_NOTFOUND if no record was found.
33087 2011-05-05 Andreas Schwab <schwab@redhat.com>
33089 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33090 (headers-not-in-tirpc): Remove rpc/netdb.h
33091 * resolv/netdb.h: Revert last change.
33093 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33095 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33096 circular dependency between libgcc.a and libc.a.
33098 2011-05-05 Andreas Schwab <schwab@redhat.com>
33100 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33101 * nis/Makefile: Don't install rpcsvc/*.
33102 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33103 instead of <rpc/types.h>.
33104 (MAXHOSTNAMELEN): Define.
33106 2011-05-03 Andreas Schwab <schwab@redhat.com>
33108 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33110 2011-04-28 Maciej Babinski <mbabinski@google.com>
33113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33114 gethostbyname4_r when IPv6 results are possible.
33116 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33119 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33120 _PC_PIPE_BUF handling.
33122 2011-04-30 Bruno Haible <bruno@clisp.org>
33125 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33126 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33128 * inet/getnameinfo.c (getnameinfo): Likewise.
33130 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33132 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33133 to groups setting in database lookup.
33134 * nss/nsswitch.conf: Add initgroups entry.
33136 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33139 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33141 Patch by Eric Blake <eblake@redhat.com>.
33143 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33145 * sunrpc/Makefile (need-export-routines): Add svc_run.
33146 (routines): Remove svc_run.
33147 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33148 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33149 * sunrpc/svc_run.c (svc_run): Likewise.
33150 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33152 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33155 problem in reallocation in last patch.
33157 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33159 * sunrpc/Makefile: Move inclusion of Rules.
33161 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33163 * nss/nss_files/files-initgroups.c: New file.
33164 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33165 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33166 _nss_files_initgroups_dyn.
33168 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33170 * elf/elf.h (R_ARM_IRELATIVE): Define.
33172 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33174 * po/ru.po: Update from translation team.
33176 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33178 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33181 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33184 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33185 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33188 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33190 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33192 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33195 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33198 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33201 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33203 * stdlib/bug-getcontext.c: New file.
33204 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33206 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33208 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33209 instructions into .machine "z9-109".
33210 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33211 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33213 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33215 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33216 between environment variables and auxiliary vector.
33218 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33220 * Makefile: Add rules to build linkobj/libc.so.
33221 * include/libc-symbols.h: Define libc_hidden_nolink.
33222 * include/rpc/auth.h: Mark functions which are to be hidden.
33223 * include/rpc/auth_des.h: Likewise.
33224 * include/rpc/auth_unix.h: Likewise.
33225 * include/rpc/clnt.h: Likewise.
33226 * include/rpc/des_crypt.h: Likewise.
33227 * include/rpc/key_prot.h: Likewise.
33228 * include/rpc/pmap_clnt.h: Likewise.
33229 * include/rpc/pmap_prot.h: Likewise.
33230 * include/rpc/pmap_rmt.h: Likewise.
33231 * include/rpc/rpc_msg.h: Likewise.
33232 * include/rpc/svc.h: Likewise.
33233 * include/rpc/svc_auth.h: Likewise.
33234 * include/rpc/xdr.h: Likewise.
33235 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33236 * nss/Makefile: Likewise.
33237 * sunrpc/Makefile: Don't install headers. Build library with normal
33238 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33239 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33240 for the compat linking library. Remove use of INTDEF/INTUSE.
33241 * sunrpc/auth_none.c: Likewise.
33242 * sunrpc/auth_unix.c: Likewise.
33243 * sunrpc/authdes_prot.c: Likewise.
33244 * sunrpc/authuxprot.c: Likewise.
33245 * sunrpc/clnt_gen.c: Likewise.
33246 * sunrpc/clnt_perr.c: Likewise.
33247 * sunrpc/clnt_raw.c: Likewise.
33248 * sunrpc/clnt_simp.c: Likewise.
33249 * sunrpc/clnt_tcp.c: Likewise.
33250 * sunrpc/clnt_udp.c: Likewise.
33251 * sunrpc/clnt_unix.c: Likewise.
33252 * sunrpc/des_crypt.c: Likewise.
33253 * sunrpc/des_soft.c: Likewise.
33254 * sunrpc/get_myaddr.c: Likewise.
33255 * sunrpc/key_call.c: Likewise.
33256 * sunrpc/key_prot.c: Likewise.
33257 * sunrpc/netname.c: Likewise.
33258 * sunrpc/pm_getmaps.c: Likewise.
33259 * sunrpc/pm_getport.c: Likewise.
33260 * sunrpc/pmap_clnt.c: Likewise.
33261 * sunrpc/pmap_prot.c: Likewise.
33262 * sunrpc/pmap_prot2.c: Likewise.
33263 * sunrpc/pmap_rmt.c: Likewise.
33264 * sunrpc/publickey.c: Likewise.
33265 * sunrpc/rpc_cmsg.c: Likewise.
33266 * sunrpc/rpc_common.c: Likewise.
33267 * sunrpc/rpc_dtable.c: Likewise.
33268 * sunrpc/rpc_prot.c: Likewise.
33269 * sunrpc/rpc_thread.c: Likewise.
33270 * sunrpc/rtime.c: Likewise.
33271 * sunrpc/svc.c: Likewise.
33272 * sunrpc/svc_auth.c: Likewise.
33273 * sunrpc/svc_authux.c: Likewise.
33274 * sunrpc/svc_raw.c: Likewise.
33275 * sunrpc/svc_run.c: Likewise.
33276 * sunrpc/svc_simple.c: Likewise.
33277 * sunrpc/svc_tcp.c: Likewise.
33278 * sunrpc/svc_udp.c: Likewise.
33279 * sunrpc/svc_unix.c: Likewise.
33280 * sunrpc/svcauth_des.c: Likewise.
33281 * sunrpc/xcrypt.c: Likewise.
33282 * sunrpc/xdr.c: Likewise.
33283 * sunrpc/xdr_array.c: Likewise.
33284 * sunrpc/xdr_float.c: Likewise.
33285 * sunrpc/xdr_intXX_t.c: Likewise.
33286 * sunrpc/xdr_mem.c: Likewise.
33287 * sunrpc/xdr_rec.c: Likewise.
33288 * sunrpc/xdr_ref.c: Likewise.
33289 * sunrpc/xdr_sizeof.c: Likewise.
33290 * sunrpc/xdr_stdio.c: Likewise.
33292 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33295 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33296 * sysdeps/ia64/dl-tls.h: Likewise.
33297 * sysdeps/powerpc/dl-tls.h: Likewise.
33298 * sysdeps/s390/dl-tls.h: Likewise.
33299 * sysdeps/sh/dl-tls.h: Likewise.
33300 * sysdeps/sparc/dl-tls.h: Likewise.
33301 * sysdeps/x86_64/dl-tls.h: Likewise.
33302 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33304 2011-03-14 Andreas Schwab <schwab@redhat.com>
33306 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33307 rpath element also skip the following colon.
33308 (expand_dynamic_string_token): Add is_path parameter and pass
33309 down to DL_DST_REQUIRED and _dl_dst_substitute.
33310 (decompose_rpath): Call expand_dynamic_string_token with
33311 non-zero is_path. Ignore empty rpaths.
33312 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33315 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33320 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33323 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33324 Patch by Filipe David Manana <fdmanana@apache.org>.
33326 2011-04-07 Andreas Schwab <schwab@redhat.com>
33328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33329 Maintain aligned stack.
33330 (CHECK_RSP): Remove unused macro.
33332 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33334 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33335 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33337 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33339 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33341 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33343 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33346 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33347 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33348 * sysdeps/x86_64/memmove.c: New file.
33349 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33350 (memcpy): Renamed to ...
33351 (__new_memcpy): This.
33352 (memcpy): Provide GLIBC_2_14 memcpy.
33353 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33354 (memcpy): Provide GLIBC_2_2_5 memcpy.
33356 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33359 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33361 2011-03-30 Andreas Schwab <schwab@redhat.com>
33363 * misc/syncfs.c: New file.
33364 * misc/Makefile (routines): Add syncfs.
33365 * posix/unistd.h: Declare syncfs.
33366 * sysdeps/unix/syscalls.list: Add syncfs.
33368 2011-04-01 Andreas Schwab <schwab@redhat.com>
33370 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33377 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33380 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33383 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33384 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33390 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33391 sync_file_range.c with -fexceptions.
33392 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33393 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33394 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33395 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33396 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33397 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33399 sync_file_range as cancellation point
33400 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33401 now a wrapper around __call_sync_file_range with cancellation handling.
33402 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33403 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33404 function name to __call_sync_file_range.
33405 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33406 Add call_sync_file_range.
33408 2011-04-01 Andreas Schwab <schwab@redhat.com>
33410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33413 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33415 * iconv/iconv.h: Fix typo in comment.
33416 * io/fcntl.h: Likewise.
33417 * libio/stdio.h: Likewise.
33418 * posix/spawn.h: Likewise.
33419 * posix/unistd.h: Likewise.
33420 * stdlib/stdlib.h: Likewise.
33421 * time/time.h: Likewise.
33422 * wcsmbs/wchar.h: Likewise.
33424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33425 open_by_handle): Add.
33426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33427 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33428 Augment a few comments.
33429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33433 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33434 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33437 * io/fcntl.h (AT_EMPTY_PATH): Define.
33439 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33441 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33442 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33443 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33445 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33446 * Versions.def: Add GLIBC_2.14.
33447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33450 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33452 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33454 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33456 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33459 * string/test-strncmp.c (do_page_test): New function.
33460 (check2): Likewise.
33461 (test_main): Call check2.
33462 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33464 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33467 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33468 Handle cache information in CPU leaf 4.
33469 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33471 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33474 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33475 character representation.
33476 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33478 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33480 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33481 END(__isnan) to END(__isnanf) to match function entry point/label
33482 EALIGN(__isnanf,...).
33484 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33486 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33488 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33491 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33492 copy from the symbol referenced in the relocation to initialize the
33494 Patch by Piotr Bury <pbury@goahead.com>.
33495 * elf/Makefile: Add rules to build and tst-unique3.
33496 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33497 * elf/tst-unique3.cc: New file.
33498 * elf/tst-unique3.h: New file.
33499 * elf/tst-unique3lib.cc: New file.
33500 * elf/tst-unique3lib2.cc: New file.
33502 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33504 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33506 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33507 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33510 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33512 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33513 to-be-loaded object along a path to loader is ld.so.
33515 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33516 Ulrich Drepper <drepper@gmail.com>
33518 * sysdeps/x86_64/memset.S: After aligning destination, code
33519 branches to different locations depending on the value of
33520 misalignment, when multiarch is enabled. Fix this.
33522 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33524 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33525 Set _x86_64_preferred_memory_instruction for AMD processsors.
33526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33527 Set bit_Prefer_SSE_for_memop for AMD processors.
33529 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33531 * libio/fmemopen.c (fmemopen): Optimize a bit.
33533 2011-03-03 Andreas Schwab <schwab@redhat.com>
33535 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33537 2011-03-03 Roland McGrath <roland@redhat.com>
33539 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33541 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33543 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33544 __bzero_ultra1 instead of __memset_ultra1.
33546 2011-02-23 Andreas Schwab <schwab@redhat.com>
33547 Ulrich Drepper <drepper@gmail.com>
33550 * include/link.h (struct link_map): Add l_orig_initfini.
33551 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33552 returning unsuccessfully.
33553 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33554 close of a file loaded at startup, restore the original l_initfini
33556 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33557 list, store the pointer.
33558 * elf/Makefile ($(objpfx)noload-mem): New rule.
33559 (noload-ENV): Define.
33560 (tests): Add $(objpfx)noload-mem.
33561 * elf/noload.c: Include <memcheck.h>.
33562 (main): Call mtrace. Close all opened handles.
33564 2011-02-17 Andreas Schwab <schwab@redhat.com>
33567 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33568 dependencies are missing.
33570 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33572 Fix __if_freereq crash: Unlike the generic version which uses free,
33574 * sysdeps/mach/hurd/ifreq.h: New file.
33576 2011-01-27 Petr Baudis <pasky@suse.cz>
33577 Ulrich Drepper <drepper@gmail.com>
33580 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33581 to extend_alloca().
33582 * stdio-common/bug23.c: New file.
33583 * stdio-common/Makefile (tests): Add bug23.
33585 2010-09-28 Andreas Schwab <schwab@redhat.com>
33586 Ulrich Drepper <drepper@gmail.com>
33589 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33590 before performing relro protection. At old place add assertion
33591 to make sure nothing changed.
33593 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33594 Glauber de Oliveira Costa <glommer@gmail.com>
33596 * elf/elf.h: Add new ARM TLS relocs.
33598 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33601 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33603 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33605 * sysdeps/wordsize-64/tst-writev.c: New file.
33607 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33609 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33610 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33611 insns in _dl_start to prevent a TOC reference before relocs are
33614 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33617 * Makeconfig: Remove RANLIB definition.
33618 * Makerules: Don't use RANLIB.
33619 * aclocal.m4: Remove ranlib test.
33620 * configure.in: No need to check for ranlib.
33621 * elf/rtld-Rules: Don't use RANLIB.
33623 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33625 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33627 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33628 inclusion protection macro.
33630 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33631 SIGRTMIN and SIGRTMAX and print information in that case only when
33632 SIGRTMIN is defined.
33634 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33636 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33637 arginfo fn returning -1.
33639 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33640 and thousands string is zero terminated.
33642 2011-02-03 Andreas Schwab <schwab@redhat.com>
33644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33645 sysdeps/unix/sysv/linux/bits/socket.h.
33647 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33649 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33650 (__CPU_COUNT): Remove old macros.
33651 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33652 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33653 (__CPU_ALLOC, __CPU_FREE): Add macros.
33654 (__sched_cpualloc, __sched_cpufree): Add declarations.
33656 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33658 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33659 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33660 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33661 (readdhstai): Return value of addhstaiX call.
33662 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33663 (addgrbyX): Return value returned by cache_addgr.
33664 (readdgrbyname): Return value returned by addgrbyX.
33665 (readdgrbygid): Likewise.
33666 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33667 (addpwbyX): Return value returned by cache_addpw.
33668 (readdpwbyname): Return value returned by addhstbyX.
33669 (readdpwbyuid): Likewise.
33670 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33671 (addservbyX): Return value returned by cache_addserv.
33672 (readdservbyname): Return value returned by addservbyX:
33673 (readdservbyport): Likewise.
33674 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33675 (addhstbyX): Return value returned by cache_addhst.
33676 (readdhstbyname): Return value returned by addhstbyX.
33677 (readdhstbyaddr): Likewise.
33678 (readdhstbynamev6): Likewise.
33679 (readdhstbyaddrv6): Likewise.
33680 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33681 (readdinitgroups): Return value returned by addinitgroupsX.
33682 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33683 (prune_cache): Keep track of timeout value of re-added entries.
33684 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33685 * nscd/nscd.h: Adjust prototypes of readd* functions.
33687 2011-02-04 Roland McGrath <roland@redhat.com>
33689 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33690 (nis_stats): Likewise.
33691 * nis/nis_modify.c (nis_modify): Likewise.
33692 * nis/nis_remove.c (nis_remove): Likewise.
33693 * nis/nis_add.c (nis_add): Likewise.
33695 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33697 * posix/fnmatch_loop.c: Add some consts.
33699 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33701 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33704 * config.make.in (config-cflags-novzeroupper): Define.
33705 * configure.in: Substitute libc_cv_cc_novzeroupper.
33706 * elf/Makefile (AVX-CFLAGS): Define.
33707 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33708 (CFLAGS-tst-auditmod4a.c): Likewise.
33709 (CFLAGS-tst-auditmod4b.c): Likewise.
33710 (CFLAGS-tst-auditmod6b.c): Likewise.
33711 (CFLAGS-tst-auditmod6c.c): Likewise.
33712 (CFLAGS-tst-auditmod7b.c): Likewise.
33713 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33715 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33717 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33718 function to the callback.
33719 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33721 2011-02-02 Andreas Schwab <schwab@redhat.com>
33723 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33726 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33729 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33731 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33733 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33736 * elf/Makefile: Add rules to build and run new test.
33737 * elf/tst-initorder.c: New file.
33738 * elf/tst-initorder.exp: New file.
33739 * elf/tst-initordera1.c: New file.
33740 * elf/tst-initordera2.c: New file.
33741 * elf/tst-initordera3.c: New file.
33742 * elf/tst-initordera4.c: New file.
33743 * elf/tst-initorderb1.c: New file.
33744 * elf/tst-initorderb2.c: New file.
33745 * elf/tst-order-a1.c: New file.
33746 * elf/tst-order-a2.c: New file.
33747 * elf/tst-order-a3.c: New file.
33748 * elf/tst-order-a4.c: New file.
33749 * elf/tst-order-b1.c: New file.
33750 * elf/tst-order-b2.c: New file.
33751 * elf/tst-order-main.c: New file.
33752 New test case by George Gensure <werkt0@gmail.com>.
33754 2010-10-01 Andreas Schwab <schwab@redhat.com>
33756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33757 decoding ACE if AI_CANONIDN.
33759 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33761 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33763 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33765 * version.h (RELEASE): Bump for 2.13 release.
33766 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33768 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33770 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33772 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33773 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33777 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33779 * posix/getconf.c: Update copyright year.
33780 * catgets/gencat.c: Likewise.
33781 * csu/version.c: Likewise.
33782 * debug/catchsegv.sh: Likewise.
33783 * debug/xtrace.sh: Likewise.
33784 * elf/ldconfig.c: Likewise.
33785 * elf/ldd.bash.in: Likewise.
33786 * elf/sprof.c (print_version): Likewise.
33787 * iconv/iconv_prog.c: Likewise.
33788 * iconv/iconvconfig.c: Likewise.
33789 * locale/programs/locale.c: Likewise.
33790 * locale/programs/localedef.c: Likewise.
33791 * malloc/memusage.sh: Likewise.
33792 * malloc/mtrace.pl: Likewise.
33793 * nscd/nscd.c (print_version): Likewise.
33794 * nss/getent.c: Likewise.
33796 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33797 PF_CAIF, and PF_ALG.
33798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33800 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33802 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33803 (modules-names): Use them.
33804 (ifunc-test-modules, ifunc-pie-tests): Define.
33805 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33806 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33807 (test-extras): Likewise.
33808 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33809 $(compile-command.c).
33810 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33811 (all-built-dso): Define.
33812 (check-textrel.out, check-execstack.out): Depend on it.
33814 * configure.in: Don't override --enable-multi-arch.
33816 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33819 * nscd/hstcache.c (tryagain): Define.
33820 (cache_addhst): Return tryagain not notfound for temporary errors.
33821 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33824 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33827 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33828 to make the syscall.
33829 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33832 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33833 and fall back to matching as normal character if the string ends before
33834 the matching ']' is found. This is what POSIX requires.
33835 * posix/testfnm.c: Adjust test result.
33836 * posix/globtest.sh: Adjust test result. Add new test.
33837 * posix/tst-fnmatch.input: Likewise.
33838 * posix/tst-fnmatch2.c: Add new test.
33840 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33842 * elf/Makefile (check-execstack): Revert last change. Depend on
33844 (check-execstack.h): New target.
33845 (generated): Add check-execstack.h.
33846 * elf/check-execstack.c: Include "check-execstack.h".
33847 (main): Revert last change.
33848 (handle_file): Return zero if GNU_STACK is absent and
33849 DEFAULT_STACK_PERMS doesn't include PF_X.
33851 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33853 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33854 in child fails because the descriptor is already closed.
33855 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33856 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33857 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33860 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33864 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33865 temporary buffer used to handle multi lookups locally.
33866 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33868 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33870 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33873 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33875 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33876 alignment for SSE2.
33878 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33881 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33882 characters. When rounding increased number of integer digits recompute
33884 * stdio-common/tst-grouping.c: New file.
33885 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33887 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33889 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33890 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33892 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33894 * bits/select.h: Likewise.
33896 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33898 * po/ja.po: Update from translation team.
33900 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33903 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33904 implementation just like for lxstat, fxstatat, et al.
33906 2010-12-27 Jim Meyering <meyering@redhat.com>
33909 * posix/regexec.c (build_trtable): Return failure indication upon
33910 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33912 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33915 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33916 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33917 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33918 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33921 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33924 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33925 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33927 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33929 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33930 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33931 script has SORT_BY_INIT_PRIORITY.
33932 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33933 NO_CTORS_DTORS_SECTIONS is defined.
33934 * elf/soinit.c: Likewise.
33935 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33936 NO_CTORS_DTORS_SECTIONS is defined.
33937 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33938 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33939 * sysdeps/sh/init-first.c: Likewise.
33940 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33942 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33944 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33945 always use the slow path.
33947 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33949 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33950 similar rule which adds the sysdep directories to the header search in
33951 order to pick up the correct platform stackinfo.h.
33952 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33953 perform test if it is, otherwise return successfully without testing.
33954 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33955 DEFAULT_STACK_PERMS define in stackinfo.h.
33956 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33957 defined in stackinfo.h.
33958 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33959 DEFAULT_STACK_PERMS defined in stackinfo.h.
33960 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33961 * sysdeps/ia64/stackinfo.h: Likewise.
33962 * sysdeps/s390/stackinfo.h: Likewise.
33963 * sysdeps/sh/stackinfo.h: Likewise.
33964 * sysdeps/sparc/stackinfo.h: Likewise.
33965 * sysdeps/x86_64/stackinfo.h: Likewise.
33966 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33967 PF_X for powerpc64. Retain PF_X for powerpc32.
33969 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33971 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33973 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33974 GETDENTS_64BIT_ALIGNED.
33976 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33978 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33980 2010-12-10 Andreas Schwab <schwab@redhat.com>
33982 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33985 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33986 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33988 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33989 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33991 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33994 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33997 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33999 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34001 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34003 * po/it.po: Update from translation team.
34005 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34010 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34012 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34014 2010-11-24 Andreas Schwab <schwab@redhat.com>
34016 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34018 (gaih_getanswer_slice): Likewise.
34020 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34024 2010-05-31 Petr Baudis <pasky@suse.cz>
34027 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34028 silently even in the chroot mode.
34030 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34032 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34033 last patch a bit. Pretty printing
34035 2010-05-31 Petr Baudis <pasky@suse.cz>
34038 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34039 initialization of skip_initgroups_dyn.
34041 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34043 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34044 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34046 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34048 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34050 2010-11-11 Andreas Schwab <schwab@redhat.com>
34052 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34053 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34054 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34055 ($(objpfx)tst-fnmatch-mem): New rule.
34056 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34057 * posix/tst-fnmatch.c (main): Call mtrace.
34059 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34062 Support Intel processor model 6 and model 0x2c.
34064 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34066 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34069 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34072 * string/test-strncasecmp.c (check_result): New function.
34073 (do_one_test): Use it.
34074 (check1): New function.
34075 (test_main): Use it.
34076 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34077 Support strcasecmp and strncasecmp.
34079 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34082 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34083 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34085 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34087 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34091 * sysdeps/x86_64/multiarch/bzero.S: New file.
34092 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34093 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34094 * sysdeps/x86_64/multiarch/memset.S: New file.
34095 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34097 Set bit_Prefer_SSE_for_memop for Intel processors.
34098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34100 (index_Prefer_SSE_for_memop): Define.
34101 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34103 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34105 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34106 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34108 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34111 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34112 (__x86_64_raw_data_cache_size_half): Likewise.
34113 (__x86_64_raw_shared_cache_size): Likewise.
34114 (__x86_64_raw_shared_cache_size_half): Likewise.
34116 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34117 (__x86_64_raw_data_cache_size_half): Likewise.
34118 (__x86_64_raw_shared_cache_size): Likewise.
34119 (__x86_64_raw_shared_cache_size_half): Likewise.
34120 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34121 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34122 and __x86_64_raw_shared_cache_size_half. Round
34123 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34124 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34125 to multiple of 256 bytes.
34127 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34131 of inacessible symlinks. Verify result of symlink before returning it.
34132 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34133 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34135 2010-10-28 Erich Ritz <erichritz@gmail.com>
34137 * math/math.h (isinf): Fix typo in comment.
34139 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34141 * po/da.po: Update from translation team.
34143 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34145 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34146 is added to the list.
34148 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34149 Ulrich Drepper <drepper@gmail.com>
34151 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34152 the global list here. Move code to...
34153 (_dl_add_to_namespace_list): ...here. New function.
34154 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34155 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34156 * elf/dl-load.c (lose): Don't remove the element from the list.
34157 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34158 (_dl_map_object): Likewise.
34160 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34163 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34164 into all bytes of SSE register.
34165 Patch by Richard Li <richardpku@gmail.com>.
34167 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34170 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34173 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34175 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34176 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34183 2010-10-22 Andreas Schwab <schwab@redhat.com>
34185 * include/dlfcn.h (__RTLD_SECURE): Define.
34186 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34187 mode & __RTLD_SECURE instead.
34188 (open_path): Rename preloaded parameter to secure.
34189 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34190 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34191 * elf/dl-deps.c (openaux): Likewise.
34192 * elf/rtld.c (struct map_args): Remove is_preloaded.
34193 (map_doit): Don't use it.
34194 (dl_main): Likewise.
34195 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34196 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34198 2010-09-09 Andreas Schwab <schwab@redhat.com>
34200 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34201 (sysd-rules-targets): Remove duplicates.
34202 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34203 rtld-%.$o dependency.
34205 2010-10-18 Andreas Schwab <schwab@redhat.com>
34207 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34208 _dl_map_object do it.
34210 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34212 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34213 fast fma builtins, define the macros in the C99 standard.
34214 (FP_FAST_FMAF): Likewise.
34215 (FP_FAST_FMAL): Likewise.
34216 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34218 * bits/mathdef.h: Update copyright year.
34219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34221 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34223 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34224 builtins, define the macros in the C99 standard.
34225 (FP_FAST_FMAF): Likewise.
34226 (FP_FAST_FMAL): Likewise.
34227 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34229 (FP_FAST_FMAF): Likewise.
34231 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34234 * math/libm-test.inc (fma_test): Some new testcases.
34235 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34237 y and infinite z. Do multiplication by C already in long double.
34238 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34240 y and infinite z. Do bitwise or of inexact bit into u.d.
34241 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34242 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34243 * sysdeps/i386/fpu/s_fma.S: Removed.
34244 * sysdeps/i386/fpu/s_fmal.S: Removed.
34246 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34249 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34251 computation is not scheduled after fetestexcept. Fix value
34252 of minimum denormal long double.
34254 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34257 * math/libm-test.inc (fma_test): Add some more tests.
34258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34261 2010-10-15 Andreas Schwab <schwab@redhat.com>
34263 * scripts/data/localplt-s390-linux-gnu.data: New file.
34264 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34266 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34269 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34270 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34272 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34274 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34276 if one of x and y is very large and the other is subnormal.
34277 * sysdeps/s390/fpu/s_fmaf.c: New file.
34278 * sysdeps/s390/fpu/s_fma.c: New file.
34279 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34280 * sysdeps/powerpc/fpu/s_fma.S: New file.
34281 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34282 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34283 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34285 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34288 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34290 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34291 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34292 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34293 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34294 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34295 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34298 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34301 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34302 * posix/bug-regex31.input: Add test case.
34304 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34306 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34307 * posix/bug-regex31.input: New file.
34310 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34311 (parse_sub_exp): Fix last change, use postorder.
34313 * posix/bug-regex31.c: New file.
34314 * posix/Makefile: Add rules to build and run bug-regex31.
34316 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34319 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34322 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34323 to have entries in sys_siglist.
34326 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34329 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34332 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34333 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34334 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34335 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34336 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34337 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34338 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34339 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34340 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34341 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34342 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34343 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34344 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34345 * math/ftestexcept.c (fetestexcept): Likewise.
34346 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34347 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34348 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34349 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34350 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34351 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34352 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34354 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34357 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34360 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34362 * string/bug-strstr1.c: New file.
34363 * string/Makefile: Add rules to build and run bug-strstr1.
34365 2010-10-05 Eric Blake <eblake@redhat.com>
34368 * string/str-two-way.h (two_way_long_needle): Always clear memory
34369 when skipping input due to the shift table.
34371 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34374 * malloc/mcheck.c: Handle large requests.
34377 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34378 for strncmp and strncasecmp.
34379 * string/stratcliff.c: Add tests for strcmp and strncmp.
34380 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34382 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34384 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34387 2010-09-30 Andreas Jaeger <aj@suse.de>
34389 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34390 (CGROUP_SUPER_MAGIC): Define.
34391 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34392 Handle btrfs and cgroup file systems.
34393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34396 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34398 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34399 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34401 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34404 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34405 trying to locate the ELF header.
34407 2010-09-27 Andreas Schwab <schwab@redhat.com>
34410 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34411 Mask out sign-bit copies when constructing f_fsid.
34413 2010-09-24 Petr Baudis <pasky@suse.cz>
34415 * debug/stack_chk_fail_local.c: Add missing licence exception.
34416 * debug/warning-nop.c: Likewise.
34418 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34420 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34421 implementing getdents64 using getdents syscall, set d_type if
34422 __ASSUME_GETDENTS32_D_TYPE.
34424 2010-09-16 Andreas Schwab <schwab@redhat.com>
34426 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34427 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34429 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34432 * posix/unistd.h: Undo change of feature selection for ftruncate from
34435 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34437 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34440 2010-09-20 Andreas Schwab <schwab@redhat.com>
34442 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34444 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34446 2010-09-14 Andreas Schwab <schwab@redhat.com>
34448 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34449 variables after CHECK_SP call.
34450 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34452 2010-09-13 Andreas Schwab <schwab@redhat.com>
34453 Ulrich Drepper <drepper@redhat.com>
34455 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34456 re-relocationg ld.so.
34457 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34458 _dl_init_paths call.
34459 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34462 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34464 * resolv/res_init.c (__res_vinit): Count the default server we added.
34466 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34467 Ulrich Drepper <drepper@redhat.com>
34470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34471 (____longjmp_chk): Use %ebx for saving value across system call.
34474 2010-09-06 Andreas Schwab <schwab@redhat.com>
34476 * manual/Makefile: Don't mix pattern rules with normal rules.
34478 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34480 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34482 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34483 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34484 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34485 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34486 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34489 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34492 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34493 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34495 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34497 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34498 * sysdeps/x86_64/addmul_1.S: Likewise.
34499 * sysdeps/x86_64/lshift.S: Likewise.
34500 * sysdeps/x86_64/mul_1.S: Likewise.
34501 * sysdeps/x86_64/rshift.S: Likewise.
34502 * sysdeps/x86_64/sub_n.S: Likewise.
34503 * sysdeps/x86_64/submul_1.S: Likewise.
34505 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34507 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34508 Define __sched_param instead of SCHED_* and sched_param when
34509 <bits/sched.h> is included with __need_schedparam defined.
34510 * bits/sched.h [__need_schedparam]
34511 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34512 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34513 (__defined_schedparam): Define to 1.
34514 (__sched_param): New structure, identical to sched_param.
34515 (__need_schedparam): Undefine.
34517 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34520 (epoll_create1): Declare.
34522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34524 2010-08-31 Andreas Schwab <schwab@redhat.com>
34527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34528 shifting retval into place.
34530 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34532 * nis/rpcsvc/nis.h: Update copyright notice.
34533 * nis/rpcsvc/nis.x: Likewise.
34534 * nis/rpcsvc/nis_callback.h: Likewise.
34535 * nis/rpcsvc/nis_callback.x: Likewise.
34536 * nis/rpcsvc/nis_object.x: Likewise.
34537 * nis/rpcsvc/nis_tags.h: Likewise.
34538 * nis/rpcsvc/yp.h: Likewise.
34539 * nis/rpcsvc/yp.x: Likewise.
34540 * nis/rpcsvc/ypupd.h: Likewise.
34541 * nis/yp_xdr.c: Likewise.
34542 * nis/ypupdate_xdr.c: Likewise.
34544 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34545 mainly the body of pmap_getport. Add parameters to specify timeouts.
34546 (pmap_getport): Use __libc_rpc_getport.
34547 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34548 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34549 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34551 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34556 2010-08-27 Roland McGrath <roland@redhat.com>
34558 * sysdeps/i386/i686/multiarch/Makefile
34559 (CFLAGS-varshift.c): New variable.
34561 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34563 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34564 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34568 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34570 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34572 * sysdeps/x86_64/strlen.S: Unroll the loop.
34573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34574 strlen-sse2 strlen-sse2-bsf.
34575 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34576 __strlen_no_bsf if bit_Slow_BSF is set.
34577 (__strlen_sse42): Removed.
34578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34579 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34581 2010-08-25 Roland McGrath <roland@redhat.com>
34583 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34584 * sysdeps/x86_64/multiarch/varshift.c: New file.
34585 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34586 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34587 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34588 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34590 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34593 strlen-sse2 strlen-sse2-bsf.
34594 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34595 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34596 (__strlen_sse2): Removed.
34597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34600 bit_Slow_BSF for Atom.
34601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34602 (index_Slow_BSF): Define.
34603 (HAS_SLOW_BSF): Define.
34605 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34608 * resolv/res_init.c (__res_vinit): When no server address at all
34609 is given default to loopback.
34611 2010-08-24 Roland McGrath <roland@redhat.com>
34613 * configure.in: Remove config-name.h generation.
34614 * configure: Regenerated.
34615 * config-name.in: File removed.
34616 * scripts/config-uname.sh: New file.
34617 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34618 ($(objdir)config-name.h): New target.
34620 * sunrpc/rpc_parse.h: Avoid nested comment.
34622 2010-08-24 Richard Henderson <rth@redhat.com>
34623 Ulrich Drepper <drepper@redhat.com>
34624 H.J. Lu <hongjiu.lu@intel.com>
34626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34628 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34629 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34630 _mm_alignr_epi8 with _mm_loadu_si128.
34631 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34632 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34633 (__m128i_shift_right): Removed.
34634 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34635 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34636 * sysdeps/x86_64/multiarch/varshift.h: New file.
34637 * sysdeps/x86_64/multiarch/varshift.S: New file.
34639 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34641 * configure.in: Move assembler checks to before sysdep dir checking.
34643 2010-08-20 Petr Baudis <pasky@suse.cz>
34645 * LICENSES: Sync the sunrpc license.
34647 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34649 * sunrpc/auth_des.c: Update copyright notice once again.
34650 * sunrpc/auth_none.c: Likewise.
34651 * sunrpc/auth_unix.c: Likewise.
34652 * sunrpc/authdes_prot.c: Likewise.
34653 * sunrpc/authuxprot.c: Likewise.
34654 * sunrpc/bindrsvprt.c: Likewise.
34655 * sunrpc/clnt_gen.c: Likewise.
34656 * sunrpc/clnt_perr.c: Likewise.
34657 * sunrpc/clnt_raw.c: Likewise.
34658 * sunrpc/clnt_simp.c: Likewise.
34659 * sunrpc/clnt_tcp.c: Likewise.
34660 * sunrpc/clnt_udp.c: Likewise.
34661 * sunrpc/clnt_unix.c: Likewise.
34662 * sunrpc/des_crypt.c: Likewise.
34663 * sunrpc/des_soft.c: Likewise.
34664 * sunrpc/get_myaddr.c: Likewise.
34665 * sunrpc/getrpcport.c: Likewise.
34666 * sunrpc/key_call.c: Likewise.
34667 * sunrpc/key_prot.c: Likewise.
34668 * sunrpc/openchild.c: Likewise.
34669 * sunrpc/pm_getmaps.c: Likewise.
34670 * sunrpc/pm_getport.c: Likewise.
34671 * sunrpc/pmap_clnt.c: Likewise.
34672 * sunrpc/pmap_prot.c: Likewise.
34673 * sunrpc/pmap_prot2.c: Likewise.
34674 * sunrpc/pmap_rmt.c: Likewise.
34675 * sunrpc/rpc/auth.h: Likewise.
34676 * sunrpc/rpc/auth_unix.h: Likewise.
34677 * sunrpc/rpc/clnt.h: Likewise.
34678 * sunrpc/rpc/des_crypt.h: Likewise.
34679 * sunrpc/rpc/key_prot.h: Likewise.
34680 * sunrpc/rpc/netdb.h: Likewise.
34681 * sunrpc/rpc/pmap_clnt.h: Likewise.
34682 * sunrpc/rpc/pmap_prot.h: Likewise.
34683 * sunrpc/rpc/pmap_rmt.h: Likewise.
34684 * sunrpc/rpc/rpc.h: Likewise.
34685 * sunrpc/rpc/rpc_des.h: Likewise.
34686 * sunrpc/rpc/rpc_msg.h: Likewise.
34687 * sunrpc/rpc/svc.h: Likewise.
34688 * sunrpc/rpc/svc_auth.h: Likewise.
34689 * sunrpc/rpc/types.h: Likewise.
34690 * sunrpc/rpc/xdr.h: Likewise.
34691 * sunrpc/rpc_clntout.c: Likewise.
34692 * sunrpc/rpc_cmsg.c: Likewise.
34693 * sunrpc/rpc_common.c: Likewise.
34694 * sunrpc/rpc_cout.c: Likewise.
34695 * sunrpc/rpc_dtable.c: Likewise.
34696 * sunrpc/rpc_hout.c: Likewise.
34697 * sunrpc/rpc_main.c: Likewise.
34698 * sunrpc/rpc_parse.c: Likewise.
34699 * sunrpc/rpc_parse.h: Likewise.
34700 * sunrpc/rpc_prot.c: Likewise.
34701 * sunrpc/rpc_sample.c: Likewise.
34702 * sunrpc/rpc_scan.c: Likewise.
34703 * sunrpc/rpc_scan.h: Likewise.
34704 * sunrpc/rpc_svcout.c: Likewise.
34705 * sunrpc/rpc_tblout.c: Likewise.
34706 * sunrpc/rpc_util.c: Likewise.
34707 * sunrpc/rpc_util.h: Likewise.
34708 * sunrpc/rpcinfo.c: Likewise.
34709 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34710 * sunrpc/rpcsvc/key_prot.x: Likewise.
34711 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34712 * sunrpc/rpcsvc/mount.x: Likewise.
34713 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34714 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34715 * sunrpc/rpcsvc/rex.x: Likewise.
34716 * sunrpc/rpcsvc/rstat.x: Likewise.
34717 * sunrpc/rpcsvc/rusers.x: Likewise.
34718 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34719 * sunrpc/rpcsvc/spray.x: Likewise.
34720 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34721 * sunrpc/rtime.c: Likewise.
34722 * sunrpc/svc.c: Likewise.
34723 * sunrpc/svc_auth.c: Likewise.
34724 * sunrpc/svc_authux.c: Likewise.
34725 * sunrpc/svc_raw.c: Likewise.
34726 * sunrpc/svc_run.c: Likewise.
34727 * sunrpc/svc_simple.c: Likewise.
34728 * sunrpc/svc_tcp.c: Likewise.
34729 * sunrpc/svc_udp.c: Likewise.
34730 * sunrpc/svc_unix.c: Likewise.
34731 * sunrpc/svcauth_des.c: Likewise.
34732 * sunrpc/xcrypt.c: Likewise.
34733 * sunrpc/xdr.c: Likewise.
34734 * sunrpc/xdr_array.c: Likewise.
34735 * sunrpc/xdr_float.c: Likewise.
34736 * sunrpc/xdr_mem.c: Likewise.
34737 * sunrpc/xdr_rec.c: Likewise.
34738 * sunrpc/xdr_ref.c: Likewise.
34739 * sunrpc/xdr_sizeof.c: Likewise.
34740 * sunrpc/xdr_stdio.c: Likewise.
34742 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34745 2010-08-19 Andreas Schwab <schwab@redhat.com>
34747 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34749 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34751 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34752 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34753 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34754 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34755 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34756 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34757 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34758 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34759 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34760 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34761 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34762 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34763 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34764 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34766 2010-07-26 Anton Blanchard <anton@samba.org>
34768 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34769 * malloc/arena.c (heap_trim): Likewise.
34771 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34773 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34776 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34778 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34780 * sysdeps/i386/elf/Makefile: New file.
34782 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34784 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34785 from fanotify_init.
34786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34789 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34791 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34793 * sysdeps/multiarch/strcmp.S: Likewise.
34795 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34797 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34798 strncase_l-nonascii.
34799 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34800 Add strncase_l-ssse3.
34801 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34802 * sysdeps/x86_64/strcmp.S: Likewise.
34803 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34804 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34805 * sysdeps/x86_64/strncase.S: New file.
34806 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34807 * sysdeps/x86_64/strncase_l.S: New file.
34808 * string/Makefile (strop-tests): Add strncasecmp.
34809 * string/test-strncasecmp.c: New file.
34811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34814 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34815 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34817 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34819 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34821 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34823 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34827 2010-05-01 Alan Modra <amodra@gmail.com>
34829 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34830 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34831 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34832 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34833 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34834 tidying. Don't tail-call __sigjmp_save for static lib.
34835 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34837 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34838 (CALL_MCOUNT): Add eh info, and nop after bl.
34839 (TAIL_CALL_SYSCALL_ERROR): New macro.
34840 (PSEUDO_RET): Use it.
34841 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34842 Correct save location of integer regs and cr.
34843 (_dl_profile_resolve): Correct cr save location. Delete nops
34844 after bl when SHARED. Reduce cfi size a little by better
34845 placement of cfi directives.
34846 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34847 make a stack frame. Instead use parm save area as a temp.
34848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34849 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34851 Don't make a stack frame for parent, use parm save area.
34852 Increase child stack frame to 112 bytes. Don't save unused reg,
34853 and adjust reg usage. Set up cfi on error recovery and
34854 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34856 (__makecontext): Add dummy nop after jump to exit.
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34858 Use correct parm save area and cr save, reduce stack frame.
34859 Correct cfi for possible PSEUDO_RET frame setup.
34860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34861 Branch to local label emitted by PSEUDO_RET rather than
34864 2010-08-12 Andreas Schwab <schwab@redhat.com>
34867 * locale/programs/locale.c (print_assignment): New function.
34868 (show_locale_vars): Use it.
34870 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34872 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34874 (struct statfs64): Likewise.
34875 (_STATFS_F_FLAGS): Define.
34876 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34877 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34878 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34879 (ST_VALID): Define locally.
34880 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34881 __statvfs_getflags, use the provided value.
34882 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34883 __ASSUME_STATFS_F_FLAGS.
34885 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34887 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34888 Add sys/fanotify.h.
34889 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34890 fanotify_mask for GLIBC_2.13.
34891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34892 fanotify_init and fanotify_mark.
34893 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34894 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34896 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34898 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34899 prlimit64 for GLIBC_2.13.
34900 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34902 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34906 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34907 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34910 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34913 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34914 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34916 * nss/Makefile: Add rules to build and run tst-nss-test1.
34917 * shlib-versions: Add entry for libnss_test1.
34918 * nss/nss_test1.c: New file.
34919 * nss/tst-nss-test1.c: New file.
34921 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34922 (__nss_configure_lookup): Set appropriate entry in
34923 __nss_configure_lookup to true.
34924 * nss/nsswitch.h: Define enum with indeces of databases in
34925 databases and __nss_database_custom arrays. Declare
34926 __nss_database_custom.
34927 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34928 to avoid using nscd when custom rules are installed.
34929 * nss/getXXbyYY_r.c: Likewise.
34930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34932 * nss/nss_files/files-parse.c: Whitespace fixes.
34934 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34937 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34938 * posix/fnmatch_loop.c: Likewise.
34940 2010-07-17 Andi Kleen <ak@linux.intel.com>
34942 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34943 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34944 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34945 * Versions.def [GLIBC_2.13]: Add.
34947 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34949 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34950 Also fail if tpwd after pwuid call is NULL.
34952 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34954 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34955 when converting to ms.
34957 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34959 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34960 EOPNOTSUPP errors with ENOTTY.
34961 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34962 EOPNOTSUPP errors with ENOTTY.
34964 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34966 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34967 Add strcasecmp_l-ssse3.
34968 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34970 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34971 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34972 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34974 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34976 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34978 * string/Makefile (strop-tests): Add strcasecmp.
34979 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34980 strcasecmp_l-nonascii.
34981 (gen-as-const-headers): Add locale-defines.sym.
34982 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34983 * sysdeps/x86_64/strcasecmp.S: New file.
34984 * sysdeps/x86_64/strcasecmp_l.S: New file.
34985 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34986 * sysdeps/x86_64/locale-defines.sym: New file.
34987 * string/test-strcasecmp.c: New file.
34989 * string/test-strcasestr.c: Test both ends of the range of characters.
34990 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34992 2010-07-29 Roland McGrath <roland@redhat.com>
34995 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34997 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34999 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35002 2010-07-27 Andreas Schwab <schwab@redhat.com>
35004 * manual/memory.texi (Malloc Tunable Parameters): Document
35007 2010-07-26 Roland McGrath <roland@redhat.com>
35010 * configure.in (-fgnu89-inline check): Set and substitute
35011 gnu89_inline, not libc_cv_gnu89_inline.
35012 * configure: Regenerated.
35013 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35015 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35017 * string/test-strnlen.c: New file.
35018 * string/Makefile (strop-tests): Add strnlen.
35019 * string/tester.c (test_strnlen): Add a few more test cases.
35020 * string/tst-strlen.c: Better error reporting.
35022 * sysdeps/x86_64/strnlen.S: New file.
35024 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35027 lower-latency instructions.
35029 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35031 * string/test-strcasestr.c: New file.
35032 * string/test-strstr.c: New file.
35033 * string/Makefile (strop-tests): Add strstr and strcasestr.
35034 * string/str-two-way.h: Don't undefine MAX.
35035 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35037 2010-07-21 Andreas Schwab <schwab@redhat.com>
35039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35040 strcasestr-nonascii.
35041 (CFLAGS-strcasestr-nonascii.c): Define.
35042 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35043 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35044 Remove unused attribute.
35046 2010-07-20 Roland McGrath <roland@redhat.com>
35048 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35049 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35050 ld.so.cache was broken. With it, there is no way to disable dsocaps
35051 like LD_HWCAP_MASK can disable hwcaps.
35053 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35055 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35057 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35059 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35060 call in strcasestr.
35061 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35062 __strcasestr_sse42_nonascii.
35063 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35064 strcasestr-nonascii.c.
35065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35067 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35069 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35070 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35071 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35072 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35074 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35076 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35079 2010-07-06 Andreas Schwab <schwab@redhat.com>
35082 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35085 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35087 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35088 _PC_PIPE_BUF using F_GETPIPE_SZ.
35090 2010-07-05 Roland McGrath <roland@redhat.com>
35092 * manual/arith.texi (Rounding Functions): Fix rint description
35093 implicit in round description.
35095 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35097 * elf/Makefile: Fix linking for a few tests to make recent linker
35100 2010-06-30 Andreas Schwab <schwab@redhat.com>
35102 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35103 $(common-objpfx)libc_nonshared.a.
35105 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35107 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35108 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35109 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35110 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35111 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35112 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35113 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35114 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35129 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35130 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35131 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35132 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35133 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35134 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35135 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35136 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35137 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35138 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35139 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35140 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35156 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35158 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35159 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35160 * string/memmove.c (memmove): Renamed to ...
35161 (MEMMOVE): ...this. Default to memmove.
35162 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35163 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35166 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35167 mempcpy-ssse3-back memmove-ssse3-back.
35168 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35169 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35171 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35172 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35173 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35174 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35175 * sysdeps/x86_64/multiarch/memmove.c: New file.
35176 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35177 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35178 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35179 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35180 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35183 (index_Fast_Copy_Backward): Define.
35184 (HAS_ARCH_FEATURE): Define.
35185 (HAS_FAST_REP_STRING): Define.
35186 (HAS_FAST_COPY_BACKWARD): Define.
35188 2010-06-21 Andreas Schwab <schwab@redhat.com>
35190 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35191 Restore proper fallback handling.
35193 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35196 * posix/group_member.c (__group_member): Correct checking loop.
35198 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35199 OOM in getpwuid_r correctly. Return error number when the caller
35200 should return, otherwise -1.
35201 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35202 call returning > 0 value.
35203 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35205 2010-06-07 Andreas Schwab <schwab@redhat.com>
35207 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35208 libc_nonshared.a from targets in modules-names.
35210 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35212 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35215 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35218 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35220 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35222 2010-06-02 Andreas Schwab <schwab@redhat.com>
35224 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35226 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35230 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35232 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35234 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35237 2010-06-14 Roland McGrath <roland@redhat.com>
35239 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35241 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35243 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35244 __REDIRECT followed by __THROW.
35245 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35246 * posix/getopt.h (getopt): Likewise.
35248 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35250 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35251 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35252 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35254 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35255 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35257 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35259 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35261 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35265 Properly check family and model.
35267 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35269 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35271 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35273 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35275 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35277 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35280 2010-05-19 Andreas Schwab <schwab@redhat.com>
35282 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35285 2010-05-21 Andreas Schwab <schwab@redhat.com>
35287 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35288 and internal_recvmmsg.
35289 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35290 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35291 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35292 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35294 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35295 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35296 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35298 2010-05-20 Andreas Schwab <schwab@redhat.com>
35300 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35302 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35304 POWER7 optimizations.
35305 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35306 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35308 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35310 * version.h: Update for 2.13 development version.
35312 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35314 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35315 exceptions. Return 0.
35317 2010-05-07 Roland McGrath <roland@redhat.com>
35319 * elf/ldconfig.c (main): Add a const.
35321 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35323 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35324 (args_options): Add no-idn option.
35325 (ahosts_keys_int): Add idn_flags to ai_flags.
35326 (parse_option): Handle 'i' option to clear idn_flags.
35328 * malloc/malloc.c (_int_free): Possible race in the most recently
35329 added check. Only act on the data if no current modification
35332 See ChangeLog.17 for earlier changes.