1 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7 2013-11-25 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18 (__fesetround): Remove define.
19 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20 rounding and exceptions handling.
21 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23 (__fe_nomask_env): Likewise.
24 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25 __fegetround instead of fegetround.
26 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29 2013-11-21 Roland McGrath <roland@hack.frob.com>
31 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36 2013-11-21 Meador Inge <meadori@codesourcery.com>
39 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40 (encrypt_r): Likewise.
41 * malloc/obstack.h (obstack_free): Likewise.
42 * posix/unistd.h (encrypt): Likewise.
44 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
46 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48 DL_CALL_DT_FINI() that call the functions directly.
49 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
51 * elf/dl-fini.c: Likewise.
53 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
55 * malloc/hooks.c (memalign_check): Add alignment rounding.
56 * malloc/malloc.c (_mid_memalign): New function.
57 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58 Implement by calling _mid_memalign.
59 * manual/probes.texi (Memory Allocation Probes): Remove
60 memory_valloc_retry and memory_pvalloc_retry.
62 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64 * locale/programs/locarchive.c (open_archive): Add const
65 qualifier to ARCHIVEFNAME and copy default fname to
69 * libio/tst-widetext.input: Rename Oriya to Odia.
70 * locale/iso-639.def: Likewise.
72 * manual/probes.texi (Mathematical Function Probes): Add
73 documentation for sin, cos, asin and acos probes.
74 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
75 (__sin32): Add slowasin probe.
76 (__cos32): Add slowacos probe.
77 (__mpsin): Add slowsin probe.
78 (__mpcos): Add slowcos probe.
80 2013-11-19 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
84 thread-local __sim_exceptions_thread and global
85 __sim_exceptions_global.
86 (__sim_disabled_exceptions): Change to thread-local
87 __sim_disabled_exceptions_thread and global
88 __sim_disabled_exceptions_global.
89 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
90 and global __sim_round_mode_global.
91 (__simulate_exceptions): Use thread-local floating-point state and
92 set global state from it as needed.
93 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
94 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
95 __sim_round_mode_thread.
96 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
97 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
98 and global __sim_exceptions_global.
99 (__sim_disabled_exceptions): Change to thread-local
100 __sim_disabled_exceptions_thread and global
101 __sim_disabled_exceptions_global.
102 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
103 and global __sim_round_mode_global.
104 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
105 (SIM_SET_GLOBAL): Likewise.
106 * sysdeps/powerpc/soft-fp/sfp-machine.h
107 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
108 __sim_round_mode_thread.
109 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
110 __sim_disabled_exceptions_thread.
111 (__sim_exceptions): Change to __sim_exceptions_thread.
112 (__sim_disabled_exceptions): Change to
113 __sim_disabled_exceptions_thread.
114 (__sim_round_mode): Change to __sim_round_mode_thread.
115 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
116 thread-local floating-point state and set global state from it as
118 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
119 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
120 (__sim_disabled_exceptions): Remove extern declaration.
121 (feenableexcept): Use thread-local floating-point state and set
122 global state from it as needed.
123 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
125 (__sim_disabled_exceptions): Likewise.
126 (__sim_round_mode): Likewise.
127 (__fegetenv): Use thread-local floating-point state.
128 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
129 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
130 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
131 floating-point state and set global state from it as needed.
132 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
133 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
134 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
136 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
137 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
139 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
140 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
141 Use __sim_round_mode_thread.
142 * math/test-fenv-tls.c: New file.
143 * math/Makefile (tests): Add test-fenv-tls.
144 ($(objpfx)test-fenv-tls): Depend on
145 $(common-objpfx)nptl/libpthread.so.
147 2013-11-19 Andreas Schwab <schwab@suse.de>
149 * locale/programs/locale.c (show_info): Decode wordarray elements.
150 * locale/categories.def (LC_MONETARY): Add element for
151 _NL_MONETARY_CRNCYSTR.
152 * locale/C-monetary.c (conversion_rate): New variable.
153 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
156 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
158 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
159 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
161 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
163 * elf/Makefile (tst-auxv): New test.
164 * elf/tst-auxv.c: New
165 * elf/rtld.c (dl_main): Adjust AT_EXECFN
167 2013-11-18 Joseph Myers <joseph@codesourcery.com>
169 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
170 (hidden_proto): Caller changed.
171 (hidden_tls_proto): New macro.
172 (libc_hidden_tls_proto): Likewise.
173 (rtld_hidden_tls_proto): Likewise.
174 (libm_hidden_tls_proto): Likewise.
175 (libresolv_hidden_tls_proto): Likewise.
176 (librt_hidden_tls_proto): Likewise.
177 (libdl_hidden_tls_proto): Likewise.
178 (libnss_files_hidden_tls_proto): Likewise.
179 (libnsl_hidden_tls_proto): Likewise.
180 (libnss_nisplus_hidden_tls_proto): Likewise.
181 (libutil_hidden_tls_proto): Likewise.
183 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
186 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
187 (decompose_rpath): Defer expansion to fillin_rpath.
188 (_dl_init_paths): Pass linkmap to fillin_rpath.
190 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
192 * benchtests/Makefile: Add strsep.
193 * benchtests/bench-strsep.c: New file: strsep benchtest.
194 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
196 2013-11-18 Andreas Schwab <schwab@suse.de>
198 * locale/programs/locale.c (show_info) [case byte]: Check for
199 '\377' instead of '\177'.
200 * locale/C-monetary.c (not_available): Always use "\377".
201 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
202 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
203 detect unavailable sign_posn locale elements.
204 * locale/localeconv.c (__localeconv): For grouping and
205 mon_grouping handle "\177" and "\377" like no grouping.
206 (INT_ELEM): New macro. Use it to set all numeric members.
207 * locale/programs/ld-monetary.c (monetary_read)
208 <tok_mon_grouping>: Normalize single -1 to the empty string.
209 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
212 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
215 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
217 * stdio-common/tst-sscanf.c (struct test): Add testcase.
219 2013-11-16 Joseph Myers <joseph@codesourcery.com>
221 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
222 (NO_TEST_INLINE): Update value.
223 (ERRNO_UNCHANGED): Likewise.
224 (ERRNO_EDOM): Likewise.
225 (ERRNO_ERANGE): Likewise.
226 (IGNORE_RESULT): Likewise.
227 (check_float_internal): Check signs of NaN results if
229 (check_complex): Pass TEST_NAN_SIGN flag through to second
230 check_float_internal call.
231 (copysign_test_data): Add tests with quiet NaNs as second
232 argument. Use TEST_NAN_SIGN.
233 (fabs_test_data): Add test of negative quiet NaN argument. Use
235 (signbit_test_data): Add tests of quiet NaN argument.
236 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
238 * math/gen-libm-test.pl (show_exceptions): Take extra argument
240 (parse_args): Handle function results specified as IGNORE.
241 * math/libm-test.inc (IGNORE_RESULT): New macro.
242 (check_float_internal): Do not check numerical result if flag
244 (check_complex): Pass through IGNORE_RESULT to second
245 check_float_internal call.
246 (check_int): Do not check numerical result if flag IGNORE_RESULT
248 (check_long): Likewise.
249 (check_bool): Likewise.
250 (check_longlong): Likewise.
251 (lrint_test_data): Add tests of infinite and NaN arguments.
252 (lrint_tonearest_test_data): Likewise.
253 (lrint_towardzero_test_data): Likewise.
254 (lrint_downward_test_data): Likewise.
255 (lrint_upward_test_data): Likewise.
256 (llrint_test_data): Likewise.
257 (llrint_tonearest_test_data): Likewise.
258 (llrint_towardzero_test_data): Likewise.
259 (llrint_downward_test_data): Likewise.
260 (llrint_upward_test_data): Likewise.
261 (lround_test_data): Likewise.
262 (llround_test_data): Likewise.
264 * math/libm-test.inc (NO_TEST_INLINE): New macro.
265 (ERRNO_UNCHANGED): Update value.
266 (ERRNO_EDOM): Likewise.
267 (ERRNO_ERANGE): Likewise.
268 (NO_TEST_INLINE_FLOAT): New macro.
269 (NO_TEST_INLINE_DOUBLE): Likewise.
270 (enable_test): New function.
271 (RUN_TEST_f_f): Check enable_test before running test.
272 (RUN_TEST_2_f): Likewise.
273 (RUN_TEST_fff_f): Likewise.
274 (RUN_TEST_c_f): Likewise.
275 (RUN_TEST_f_f1): Likewise.
276 (RUN_TEST_fF_f1): Likewise.
277 (RUN_TEST_fI_f1): Likewise.
278 (RUN_TEST_ffI_f1): Likewise.
279 (RUN_TEST_c_c): Likewise.
280 (RUN_TEST_cc_c): Likewise.
281 (RUN_TEST_f_i): Likewise.
282 (RUN_TEST_f_i_tg): Likewise.
283 (RUN_TEST_ff_i_tg): Likewise.
284 (RUN_TEST_f_b): Likewise.
285 (RUN_TEST_f_b_tg): Likewise.
286 (RUN_TEST_f_l): Likewise.
287 (RUN_TEST_f_L): Likewise.
288 (RUN_TEST_fFF_11): Likewise.
289 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
291 (cosh_test_data): Likewise.
292 (exp_test_data): Likewise.
293 (expm1_test_data): Likewise.
294 (hypot_test_data): Likewise.
295 (pow_test_data): Likewise.
296 (sinh_test_data): Likewise.
297 (tanh_test_data): Likewise.
298 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
301 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
302 tests with quiet NaN input and output.
303 (acosh_test_data): Likewise.
304 (asin_test_data): Likewise.
305 (asinh_test_data): Likewise.
306 (atan_test_data): Likewise.
307 (atanh_test_data): Likewise.
308 (atan2_test_data): Likewise.
309 (cbrt_test_data): Likewise.
310 (cos_test_data): Likewise.
311 (cosh_test_data): Likewise.
312 (erf_test_data): Likewise.
313 (erfc_test_data): Likewise.
314 (exp_test_data): Likewise.
315 (exp10_test_data): Likewise.
316 (exp2_test_data): Likewise.
317 (expm1_test_data): Likewise.
318 (hypot_test_data): Likewise.
319 (j0_test_data): Likewise.
320 (j1_test_data): Likewise.
321 (jn_test_data): Likewise.
322 (lgamma_test_data): Likewise.
323 (log_test_data): Likewise.
324 (log10_test_data): Likewise.
325 (log1p_test_data): Likewise.
326 (log2_test_data): Likewise.
327 (pow_test_data): Likewise.
328 (scalb_test_data): Likewise.
329 (sin_test_data): Likewise.
330 (sincos_test_data): Likewise.
331 (sinh_test_data): Likewise.
332 (tan_test_data): Likewise.
333 (tanh_test_data): Likewise.
334 (tgamma_test_data): Likewise.
335 (y0_test_data): Likewise.
336 (y1_test_data): Likewise.
337 (yn_test_data): Likewise.
340 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
341 argument being NaN and avoid computations with second argument in
343 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
344 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
345 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
347 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
349 * locale/iso-639.def: Add Chitwani Tharu (the).
351 2013-11-14 Andreas Schwab <schwab@suse.de>
353 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
354 word instead of empty string.
356 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
359 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
361 (__fe_nomask_env): Likewise.
363 2013-11-13 Steve Ellcey <sellcey@mips.com>
365 * benchtests/bench-timing.h: Include time.h.
367 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
370 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
372 * sysdeps/unix/sysv/linux/configure: Regenerated.
374 2013-11-13 Joseph Myers <joseph@codesourcery.com>
377 * stdlib/strtod_l.c (round_and_return): Do not consider
378 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
379 exponent one less than half the least subnormal exponent.
380 * stdlib/test-strtod-round-data: Add more tests.
381 * stdlib/tst-strtod-round.c (tests): Regenerated.
383 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
386 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
387 (__fe_mask_env): Likewise.
388 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
389 libm_hidden_proto and add function prototype.
390 (__fe_mask_env): Add function prototype.
391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
392 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
394 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
396 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
398 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
400 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
401 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
403 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
405 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
408 2013-11-11 David S. Miller <davem@davemloft.net>
411 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
412 symbol in the non-vis3 case in static builds.
413 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
414 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
415 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
416 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
418 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
421 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
424 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
426 * benchtests/Makefile: Add bench-strtod.
427 * benchtests/bench-strtod.c: New file: strtod benchtest
429 2013-11-11 Andreas Schwab <schwab@suse.de>
432 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
433 terminating NUL in key length.
435 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
438 Add artificial ODP entry for vDSO symbol for PPC64.
439 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
440 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
442 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
445 * nss/getent.c (services_keys): Recognize services starting with digit.
447 2013-11-06 David S. Miller <davem@davemloft.net>
450 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
451 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
453 2013-11-06 Will Newton <will.newton@linaro.org>
455 * manual/memory.texi (Malloc Examples): Remove register
456 keyword from examples.
458 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
460 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
462 2013-11-04 Joseph Myers <joseph@codesourcery.com>
464 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
465 depending on [__GCC_IEC_559 > 0].
466 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
467 depending on [__GCC_IEC_559_COMPLEX > 0].
469 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
471 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
474 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
476 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
478 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
481 * malloc/malloc (malloc_info): Do not handle first bin as
484 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
486 * locale/iso-639.def: Add Central Nahuatl (nhn).
488 2013-11-01 Bruno Haible <bruno@clisp.org>
491 * manual/math.texi (BSD Random): Specify range upper bound as
494 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
496 * locale/iso-639.def: Add Meadow Mari (mhr).
498 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
500 [BZ #14752], [BZ #15763]
501 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
503 * rt/tst_shm.c: Add test for escaping directory.
505 2013-10-31 Andreas Schwab <schwab@suse.de>
508 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
509 followed by 'x' as part of digit sequence.
510 * stdio-common/tst-sscanf.c (double_tests2): New tests.
512 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
515 * configure.ac: allow GNU Make 4.0 and greater.
516 * configure: Regenerated.
518 2013-10-30 Will Newton <will.newton@linaro.org>
521 * malloc/hooks.c (memalign_check): Limit alignment to the
522 maximum representable power of two.
523 * malloc/malloc.c (__libc_memalign): Likewise.
524 * malloc/tst-memalign.c (do_test): Add test for very
525 large alignment values.
526 * malloc/tst-posix_memalign.c (do_test): Likewise.
528 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
531 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
532 (munmap_chunk): Likewise.
533 (mremap_chunk): Likewise.
535 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
538 * stdlib/div.c (div): Remove obsolete code.
539 * stdlib/ldiv.c (ldiv): Likewise.
540 * stdlib/lldiv.c (lldiv): Likewise.
542 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
545 * nss/nss_files/files-XXX.c (get_contents_ret): New
547 (get_contents): New function.
548 (internal_getent): Use it. Expand size of LINEBUFLEN.
550 2013-10-30 Mike Frysinger <vapier@gentoo.org>
552 * configure.in: Moved to ...
553 * configure.ac: ... here. Change reference to configure.in
555 * sysdeps/arm/preconfigure.ac: ... here.
556 configure.in to configure.ac.
557 * sysdeps/gnu/configure.in: Moved to ...
558 * sysdeps/gnu/configure.ac: ... here.
559 * sysdeps/i386/configure.in: Moved to ...
560 * sysdeps/i386/configure.ac: ... here.
561 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
562 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
563 * sysdeps/mach/configure.in: Moved to ...
564 * sysdeps/mach/configure.ac: ... here.
565 * sysdeps/mach/hurd/configure.in: Moved to ...
566 * sysdeps/mach/hurd/configure.ac: ... here.
567 * sysdeps/powerpc/configure.in: Moved to ...
568 * sysdeps/powerpc/configure.ac: ... here.
569 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
570 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
571 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
572 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
573 * sysdeps/s390/s390-32/configure.in: Moved to ...
574 * sysdeps/s390/s390-32/configure.ac: ... here.
575 * sysdeps/s390/s390-64/configure.in: Moved to ...
576 * sysdeps/s390/s390-64/configure.ac: ... here.
577 * sysdeps/sh/configure.in: Moved to ...
578 * sysdeps/sh/configure.ac: ... here.
579 * sysdeps/sparc/configure.in: Moved to ...
580 * sysdeps/sparc/configure.ac: ... here.
581 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
582 * sysdeps/unix/sysv/linux/configure.ac: ... here.
583 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
584 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
585 * sysdeps/x86_64/configure.in: Moved to ...
586 * sysdeps/x86_64/configure.ac: ... here.
587 * sysdeps/x86_64/preconfigure.in: Moved to ...
588 * sysdeps/x86_64/preconfigure.ac: ... here.
589 * aclocal.m4: Change reference to configure.in to configure.ac.
590 * config.h.in: Likewise.
591 * manual/install.texi: Likewise.
592 * manual/maint.texi: Likewise.
593 * Makefile: Likewise.
594 * malloc/Makefile: Likewise.
595 * nscd/Makefile: Likewise.
596 * Makeconfig: Change reference to configure.in and
597 preconfigure.in to configure.ac and preconfigure.ac
599 * INSTALL: Regenerated.
600 * configure: Likewise.
601 * sysdeps/gnu/configure: Likewise.
602 * sysdeps/i386/configure: Likewise.
603 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
604 * sysdeps/mach/configure: Likewise.
605 * sysdeps/mach/hurd/configure: Likewise.
606 * sysdeps/powerpc/configure: Likewise.
607 * sysdeps/powerpc/powerpc32/configure: Likewise.
608 * sysdeps/powerpc/powerpc64/configure: Likewise.
609 * sysdeps/s390/s390-32/configure: Likewise.
610 * sysdeps/s390/s390-64/configure: Likewise.
611 * sysdeps/sh/configure: Likewise.
612 * sysdeps/sparc/configure: Likewise.
613 * sysdeps/unix/sysv/linux/configure: Likewise.
614 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
615 * sysdeps/x86_64/configure: Likewise.
616 * sysdeps/x86_64/preconfigure: Likewise.
618 2013-10-29 Andreas Schwab <schwab@suse.de>
620 * stdio-common/Makefile (tst-swscanf-ENV): Define.
622 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * benchtests/pow-inputs: Add new inputs.
626 * benchtests/exp-inputs: Add new inputs.
628 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
629 conditional check for return value.
632 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
635 to provide a boost for large inputs with word alignment.
636 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
637 implementation based on optimized PPC64 strcpy.
638 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
639 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
640 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
641 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
643 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
646 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
648 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
651 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
652 * time/tst-strptime.c (day_tests): Add testcase.
654 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
657 * manual/pattern.texi: Acknowledge that fnmatch can fail.
659 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
662 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
665 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
669 heap for large requests.
671 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
674 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
675 result if the result has no associated interface.
676 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
677 interface for all 127.X.Y.Z addresses.
679 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
681 * locale/iso-639.def: Add Ligurian (lij)
683 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
686 * sunrpc/rpc_main.c: Document rpcgen -5.
688 2013-10-19 Michael Stahl <mstahl@redhat.com>
690 * elf/rtld.c (do_preload): Print the reason why preloading failed.
692 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
695 * posix/glob.c: Match only directories when trailing slash is present.
696 * posix/tst-gnuglob.c (my_opendir): Do not open files.
697 (main): Add testcase.
699 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
702 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
704 2013-10-18 Carlos O'Donell <carlos@redhat.com>
706 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
707 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
708 AUTH_DES and cindex for FIPS 140-2.
709 (DES Encryption): Add cindex FIPS 46-3.
711 * locale/locarchive.h (struct locarhandle): Add fname.
712 * locale/programs/localedef.c (main): Pass ARGV[remaining]
713 if an optional argument was specified to --list-archive,
715 * locale/programs/locarchive.c (show_archive_content): Take new
716 argument fname and pass it via ah.fname to open_archive.
717 * locale/programs/localedef.h: Update decl.
718 (open_archive): If AH->fname is non-null, open that file
719 rather than the default file name, and don't ignore ENOENT.
720 (create_archive): Set AH.fname to NULL.
721 (delete_locales_from_archive): Likewise.
722 (add_locales_to_archive): Likewise.
723 * locale/programs/locfile.c (write_all_categories): Likewise.
725 2013-10-18 Joseph Myers <joseph@codesourcery.com>
726 Aldy Hernandez <aldyh@redhat.com>
728 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
729 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
730 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
731 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
732 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
735 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
736 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
737 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
738 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
739 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
740 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
741 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
742 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
744 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
746 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
748 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
750 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
751 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
753 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
754 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
755 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
756 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
758 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
759 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
760 * sysdeps/powerpc/preconfigure: Likewise.
761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
763 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
764 Replace contents of file by #include of <fenv_libc.h>.
765 * sysdeps/powerpc/soft-fp/sfp-machine.h
766 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
768 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
773 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
775 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
776 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
777 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
778 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
781 Allow copysignl PLT reference to be missing.
783 2013-10-18 Richard Sandiford <richard@codesourcery.com>
784 Joseph Myers <joseph@codesourcery.com
787 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
789 (add_to_tablewc): Assert sequence of wide characters is nonempty.
791 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
793 * elf/tst-tls-dlinfo.c: Don't include tls.h.
794 * elf/tst-tls1.c: Likewise.
795 * elf/tst-tls10.h: Likewise.
796 * elf/tst-tls14.c: Likewise.
797 * elf/tst-tls2.c: Likewise.
798 * elf/tst-tls3.c: Likewise.
799 * elf/tst-tls4.c: Likewise.
800 * elf/tst-tls5.c: Likewise.
801 * elf/tst-tls6.c: Likewise.
802 * elf/tst-tls7.c: Likewise.
803 * elf/tst-tls8.c: Likewise.
804 * elf/tst-tls9.c: Likewise.
805 * elf/tst-tlsmod1.c: Likewise.
806 * elf/tst-tlsmod13.c: Likewise.
807 * elf/tst-tlsmod13a.c: Likewise.
808 * elf/tst-tlsmod14a.c: Likewise.
809 * elf/tst-tlsmod16a.c: Likewise.
810 * elf/tst-tlsmod16b.c: Likewise.
811 * elf/tst-tlsmod2.c: Likewise.
812 * elf/tst-tlsmod3.c: Likewise.
813 * elf/tst-tlsmod4.c: Likewise.
814 * elf/tst-tlsmod5.c: Likewise.
815 * elf/tst-tlsmod6.c: Likewise.
817 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
820 * malloc/malloc.c: remove checks for statistics.
822 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
825 * inet/inet_net.c (inet_network): Detect additional invalid strings.
826 * inet/tst-network.c: Add testcase.
828 2013-10-17 Andreas Schwab <schwab@suse.de>
831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
832 to determine canonical name.
834 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
836 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
837 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
839 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
841 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
842 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
843 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
844 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
845 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
846 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
847 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
848 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
849 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
850 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
851 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
853 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
854 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
855 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
856 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
857 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
859 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
860 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
861 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
862 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
863 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
864 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
865 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
866 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
868 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
869 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
870 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
871 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
872 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
873 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
874 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
875 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
876 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
877 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
878 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
879 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
880 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
881 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
882 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
883 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
884 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
886 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
887 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
888 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
889 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
890 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
891 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
895 2013-10-17 Joseph Myers <joseph@codesourcery.com>
898 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
899 make result into a quiet NaN.
901 2013-10-16 Joseph Myers <joseph@codesourcery.com>
903 * soft-fp/adddf3.c: Fix horizontal whitespace.
904 * soft-fp/addsf3.c: Likewise.
905 * soft-fp/addtf3.c: Likewise.
906 * soft-fp/divdf3.c: Likewise.
907 * soft-fp/divsf3.c: Likewise.
908 * soft-fp/divtf3.c: Likewise.
909 * soft-fp/double.h: Likewise.
910 * soft-fp/eqdf2.c: Likewise.
911 * soft-fp/eqsf2.c: Likewise.
912 * soft-fp/eqtf2.c: Likewise.
913 * soft-fp/extenddftf2.c: Likewise.
914 * soft-fp/extended.h: Likewise.
915 * soft-fp/extendsfdf2.c: Likewise.
916 * soft-fp/extendsftf2.c: Likewise.
917 * soft-fp/extendxftf2.c: Likewise.
918 * soft-fp/fixdfdi.c: Likewise.
919 * soft-fp/fixdfsi.c: Likewise.
920 * soft-fp/fixdfti.c: Likewise.
921 * soft-fp/fixsfdi.c: Likewise.
922 * soft-fp/fixsfsi.c: Likewise.
923 * soft-fp/fixsfti.c: Likewise.
924 * soft-fp/fixtfdi.c: Likewise.
925 * soft-fp/fixtfsi.c: Likewise.
926 * soft-fp/fixtfti.c: Likewise.
927 * soft-fp/fixunsdfdi.c: Likewise.
928 * soft-fp/fixunsdfsi.c: Likewise.
929 * soft-fp/fixunsdfti.c: Likewise.
930 * soft-fp/fixunssfdi.c: Likewise.
931 * soft-fp/fixunssfsi.c: Likewise.
932 * soft-fp/fixunssfti.c: Likewise.
933 * soft-fp/fixunstfdi.c: Likewise.
934 * soft-fp/fixunstfsi.c: Likewise.
935 * soft-fp/fixunstfti.c: Likewise.
936 * soft-fp/floatdidf.c: Likewise.
937 * soft-fp/floatdisf.c: Likewise.
938 * soft-fp/floatditf.c: Likewise.
939 * soft-fp/floatsidf.c: Likewise.
940 * soft-fp/floatsisf.c: Likewise.
941 * soft-fp/floatsitf.c: Likewise.
942 * soft-fp/floattidf.c: Likewise.
943 * soft-fp/floattisf.c: Likewise.
944 * soft-fp/floattitf.c: Likewise.
945 * soft-fp/floatundidf.c: Likewise.
946 * soft-fp/floatundisf.c: Likewise.
947 * soft-fp/floatunditf.c: Likewise.
948 * soft-fp/floatunsidf.c: Likewise.
949 * soft-fp/floatunsisf.c: Likewise.
950 * soft-fp/floatunsitf.c: Likewise.
951 * soft-fp/floatuntidf.c: Likewise.
952 * soft-fp/floatuntisf.c: Likewise.
953 * soft-fp/floatuntitf.c: Likewise.
954 * soft-fp/fmadf4.c: Likewise.
955 * soft-fp/fmasf4.c: Likewise.
956 * soft-fp/fmatf4.c: Likewise.
957 * soft-fp/gedf2.c: Likewise.
958 * soft-fp/gesf2.c: Likewise.
959 * soft-fp/getf2.c: Likewise.
960 * soft-fp/ledf2.c: Likewise.
961 * soft-fp/lesf2.c: Likewise.
962 * soft-fp/letf2.c: Likewise.
963 * soft-fp/muldf3.c: Likewise.
964 * soft-fp/mulsf3.c: Likewise.
965 * soft-fp/multf3.c: Likewise.
966 * soft-fp/negdf2.c: Likewise.
967 * soft-fp/negsf2.c: Likewise.
968 * soft-fp/negtf2.c: Likewise.
969 * soft-fp/op-1.h: Likewise.
970 * soft-fp/op-2.h: Likewise.
971 * soft-fp/op-4.h: Likewise.
972 * soft-fp/op-8.h: Likewise.
973 * soft-fp/op-common.h: Likewise.
974 * soft-fp/quad.h: Likewise.
975 * soft-fp/single.h: Likewise.
976 * soft-fp/soft-fp.h: Likewise.
977 * soft-fp/sqrtdf2.c: Likewise.
978 * soft-fp/sqrtsf2.c: Likewise.
979 * soft-fp/sqrttf2.c: Likewise.
980 * soft-fp/subdf3.c: Likewise.
981 * soft-fp/subsf3.c: Likewise.
982 * soft-fp/subtf3.c: Likewise.
983 * soft-fp/truncdfsf2.c: Likewise.
984 * soft-fp/trunctfdf2.c: Likewise.
985 * soft-fp/trunctfsf2.c: Likewise.
986 * soft-fp/trunctfxf2.c: Likewise.
987 * soft-fp/unorddf2.c: Likewise.
988 * soft-fp/unordsf2.c: Likewise.
989 * soft-fp/unordtf2.c: Likewise.
991 2013-10-15 Joseph Myers <joseph@codesourcery.com>
993 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
994 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
996 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
998 * elf/dl-libc.c: Clear initfini list after freeing.
1000 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1002 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1003 * soft-fp/addsf3.c: Likewise.
1004 * soft-fp/addtf3.c: Likewise.
1005 * soft-fp/divdf3.c: Likewise.
1006 * soft-fp/divsf3.c: Likewise.
1007 * soft-fp/divtf3.c: Likewise.
1008 * soft-fp/double.h: Likewise.
1009 * soft-fp/eqdf2.c: Likewise.
1010 * soft-fp/eqsf2.c: Likewise.
1011 * soft-fp/eqtf2.c: Likewise.
1012 * soft-fp/extenddftf2.c: Likewise.
1013 * soft-fp/extended.h: Likewise.
1014 * soft-fp/extendsfdf2.c: Likewise.
1015 * soft-fp/extendsftf2.c: Likewise.
1016 * soft-fp/extendxftf2.c: Likewise.
1017 * soft-fp/fixdfdi.c: Likewise.
1018 * soft-fp/fixdfsi.c: Likewise.
1019 * soft-fp/fixdfti.c: Likewise.
1020 * soft-fp/fixsfdi.c: Likewise.
1021 * soft-fp/fixsfsi.c: Likewise.
1022 * soft-fp/fixsfti.c: Likewise.
1023 * soft-fp/fixtfdi.c: Likewise.
1024 * soft-fp/fixtfsi.c: Likewise.
1025 * soft-fp/fixtfti.c: Likewise.
1026 * soft-fp/fixunsdfdi.c: Likewise.
1027 * soft-fp/fixunsdfsi.c: Likewise.
1028 * soft-fp/fixunsdfti.c: Likewise.
1029 * soft-fp/fixunssfdi.c: Likewise.
1030 * soft-fp/fixunssfsi.c: Likewise.
1031 * soft-fp/fixunssfti.c: Likewise.
1032 * soft-fp/fixunstfdi.c: Likewise.
1033 * soft-fp/fixunstfsi.c: Likewise.
1034 * soft-fp/fixunstfti.c: Likewise.
1035 * soft-fp/floatdidf.c: Likewise.
1036 * soft-fp/floatdisf.c: Likewise.
1037 * soft-fp/floatditf.c: Likewise.
1038 * soft-fp/floatsidf.c: Likewise.
1039 * soft-fp/floatsisf.c: Likewise.
1040 * soft-fp/floatsitf.c: Likewise.
1041 * soft-fp/floattidf.c: Likewise.
1042 * soft-fp/floattisf.c: Likewise.
1043 * soft-fp/floattitf.c: Likewise.
1044 * soft-fp/floatundidf.c: Likewise.
1045 * soft-fp/floatundisf.c: Likewise.
1046 * soft-fp/floatunsidf.c: Likewise.
1047 * soft-fp/floatunsisf.c: Likewise.
1048 * soft-fp/floatuntidf.c: Likewise.
1049 * soft-fp/floatuntisf.c: Likewise.
1050 * soft-fp/floatuntitf.c: Likewise.
1051 * soft-fp/fmadf4.c: Likewise.
1052 * soft-fp/fmasf4.c: Likewise.
1053 * soft-fp/fmatf4.c: Likewise.
1054 * soft-fp/gedf2.c: Likewise.
1055 * soft-fp/gesf2.c: Likewise.
1056 * soft-fp/getf2.c: Likewise.
1057 * soft-fp/ledf2.c: Likewise.
1058 * soft-fp/lesf2.c: Likewise.
1059 * soft-fp/letf2.c: Likewise.
1060 * soft-fp/muldf3.c: Likewise.
1061 * soft-fp/mulsf3.c: Likewise.
1062 * soft-fp/multf3.c: Likewise.
1063 * soft-fp/negdf2.c: Likewise.
1064 * soft-fp/negsf2.c: Likewise.
1065 * soft-fp/negtf2.c: Likewise.
1066 * soft-fp/op-1.h: Likewise.
1067 * soft-fp/op-2.h: Likewise.
1068 * soft-fp/op-4.h: Likewise.
1069 * soft-fp/op-8.h: Likewise.
1070 * soft-fp/op-common.h: Likewise.
1071 * soft-fp/quad.h: Likewise.
1072 * soft-fp/single.h: Likewise.
1073 * soft-fp/soft-fp.h: Likewise.
1074 * soft-fp/sqrtdf2.c: Likewise.
1075 * soft-fp/sqrtsf2.c: Likewise.
1076 * soft-fp/sqrttf2.c: Likewise.
1077 * soft-fp/subdf3.c: Likewise.
1078 * soft-fp/subsf3.c: Likewise.
1079 * soft-fp/subtf3.c: Likewise.
1080 * soft-fp/truncdfsf2.c: Likewise.
1081 * soft-fp/trunctfdf2.c: Likewise.
1082 * soft-fp/trunctfsf2.c: Likewise.
1083 * soft-fp/trunctfxf2.c: Likewise.
1084 * soft-fp/unorddf2.c: Likewise.
1085 * soft-fp/unordsf2.c: Likewise.
1086 * soft-fp/unordtf2.c: Likewise.
1088 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1091 * misc/error.c (error_tail): Fix possible buffer overflow.
1093 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1096 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1099 2013-10-14 P. J. McDermott <pj@pehjota.net>
1102 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1103 testing pipefail option.
1105 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1107 * soft-fp/double.h: Indent preprocessor directives inside #if.
1108 * soft-fp/extended.h: Likewise.
1109 * soft-fp/op-2.h: Likewise.
1110 * soft-fp/op-4.h: Likewise.
1111 * soft-fp/op-common.h: Likewise.
1112 * soft-fp/quad.h: Likewise.
1113 * soft-fp/single.h: Likewise.
1114 * soft-fp/soft-fp.h: Likewise.
1116 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1118 * iconv/iconv_prog.c: Fix typos.
1119 * stdio-common/psiginfo-data.h: Likewise.
1121 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1124 * locale/setlocale.c: Fix typo.
1126 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1129 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1130 signaling NaN arguments.
1131 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1132 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1135 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1137 * soft-fp/gesf2.c (__gesf2): Likewise.
1138 * soft-fp/getf2.c (__getf2): Likewise.
1139 * soft-fp/ledf2.c (__ledf2): Likewise.
1140 * soft-fp/lesf2.c (__lesf2): Likewise.
1141 * soft-fp/letf2.c (__letf2): Likewise.
1143 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1144 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1145 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1146 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1147 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1148 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1149 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1150 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1151 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1152 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1153 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1154 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1155 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1156 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1157 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1158 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1159 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1160 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1161 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1162 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1163 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1164 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1165 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1166 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1167 * soft-fp/floattidf.c (__floattidf): Likewise.
1168 * soft-fp/floattisf.c (__floattisf): Likewise.
1169 * soft-fp/floattitf.c (__floattitf): Likewise.
1170 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1171 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1172 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1173 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1174 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1175 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1176 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1177 * soft-fp/gesf2.c (__gesf2): Likewise.
1178 * soft-fp/getf2.c (__getf2): Likewise.
1179 * soft-fp/ledf2.c (__ledf2): Likewise.
1180 * soft-fp/lesf2.c (__lesf2): Likewise.
1181 * soft-fp/letf2.c (__letf2): Likewise.
1183 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1184 Undefine and redefine.
1185 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1186 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1187 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1188 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1189 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1190 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1191 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1192 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1193 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1194 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1195 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1196 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1197 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1198 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1199 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1202 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1203 without decrementing exponent if mantissa >= that for the
1205 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1206 denominator, not >. Decrement exponent in < case instead of
1207 incrementing in >= case.
1208 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1209 without decrementing exponent if mantissa >= that for the
1212 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1213 computing saturated result for unsigned overflow.
1215 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1216 Jeff Law <law@redhat.com>
1218 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1219 (atan2Mp): Add systemtap probe marker.
1220 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1221 (__ieee754_log): Add systemtap probe marker.
1222 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1223 (atanMp): Add systemtap probe marker.
1224 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1225 (tanMp): Add systemtap probe marker.
1226 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1227 (__slowexp): Add systemtap probe marker.
1228 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1229 (__slowpow): Add systemtap probe marker.
1230 * manual/probes.texi: Document probes.
1232 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1235 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1237 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1239 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1240 written to buffer but not flushed.
1241 * libio/iofwrite_u.c: Likewise.
1242 * libio/iopadn.c: Return bytes returned even if EOF was
1244 * libio/iowpadn.c: Likewise.
1245 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1246 if _IO_padn does not write the whole buffer.
1247 [!COMPILE_WPRINTF] (PAD): Likewise.
1249 2013-10-10 David S. Miller <davem@davemloft.net>
1251 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1254 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1256 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1257 instead of FSF address.
1258 * soft-fp/fixdfti.c: Likewise.
1259 * soft-fp/fixsfti.c: Likewise.
1260 * soft-fp/fixtfti.c: Likewise.
1261 * soft-fp/fixunsdfti.c: Likewise.
1262 * soft-fp/fixunssfti.c: Likewise.
1263 * soft-fp/fixunstfti.c: Likewise.
1264 * soft-fp/floattidf.c: Likewise.
1265 * soft-fp/floattisf.c: Likewise.
1266 * soft-fp/floattitf.c: Likewise.
1267 * soft-fp/floatuntidf.c: Likewise.
1268 * soft-fp/floatuntisf.c: Likewise.
1269 * soft-fp/floatuntitf.c: Likewise.
1270 * soft-fp/trunctfxf2.c: Likewise.
1272 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1273 * soft-fp/fixdfti.c: Likewise.
1274 * soft-fp/fixsfti.c: Likewise.
1275 * soft-fp/fixtfti.c: Likewise.
1276 * soft-fp/fixunsdfti.c: Likewise.
1277 * soft-fp/fixunssfti.c: Likewise.
1278 * soft-fp/fixunstfti.c: Likewise.
1279 * soft-fp/floattidf.c: Likewise.
1280 * soft-fp/floattisf.c: Likewise.
1281 * soft-fp/floattitf.c: Likewise.
1282 * soft-fp/floatuntidf.c: Likewise.
1283 * soft-fp/floatuntisf.c: Likewise.
1284 * soft-fp/floatuntitf.c: Likewise.
1285 * soft-fp/trunctfxf2.c: Likewise.
1287 2013-10-10 David S. Miller <davem@davemloft.net>
1289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1291 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1293 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1294 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1295 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1296 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1297 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1298 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1299 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1301 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1302 for NaNs before doing comparisons on argument.
1303 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1306 2013-10-10 Will Newton <will.newton@linaro.org>
1308 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1309 passed to _int_memalign does not overflow.
1311 2013-10-10 Torvald Riegel <triegel@redhat.com>
1313 * scripts/bench.pl: Add include-sources directive.
1314 * benchtests/README: Update documentation.
1316 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1318 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1319 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1320 instead of FP_INIT_ROUNDMODE.
1321 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1322 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1325 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1326 copy class of input value.
1327 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1328 not handle exceptions.
1329 * soft-fp/negsf2.c (__negsf2): Likewise.
1330 * soft-fp/negtf2.c (__negtf2): Likewise.
1331 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1333 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1335 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1336 semicolon. From Linux kernel.
1338 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1340 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1342 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1345 * manual/socket.texi: Added statement about buffer
1346 for gethostbyname2_r.
1348 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1350 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1351 Use .p2align directive instead, throughout.
1352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1353 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1354 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1357 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1358 * sysdeps/x86_64/strchr.S: Likewise.
1359 * sysdeps/x86_64/strrchr.S: Likewise.
1361 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1363 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1365 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1367 * sysdeps/generic/math_private.h (__mpsin1): Remove
1369 (__mpcos1): Likewise.
1370 (__mpsin): New argument __range_reduce.
1371 (__mpcos): Likewise.
1372 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1373 (slow): Use __mpsin and __mpcos.
1380 (bsloww1): Likewise.
1381 (bsloww2): Likewise.
1384 (csloww1): Likewise.
1385 (csloww2): Likewise.
1386 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1387 range_reduce. Merge in __mpsin1.
1388 (__mpcos): Likewise.
1390 (__mpcos1): Likewise.
1392 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1394 * locale/loadlocale.c (_nl_intern_locale_data): Use
1396 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1397 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1398 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1399 obstack data is appropriately aligned.
1400 (obstack_int32_grow_fast): Likewise.
1401 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1402 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1403 (add_locale_uint32_array): Likewise.
1405 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1407 * benchtests/Makefile: Remove ARGLIST and RET variables.
1408 ($(objpfx)bench-%.c): Pass only function name to the script.
1409 * benchtests/README: Update documentation.
1410 * benchtests/acos-inputs: Add new directives.
1411 * benchtests/acosh-inputs: Likewise.
1412 * benchtests/asin-inputs: Likewise.
1413 * benchtests/asinh-inputs: Likewise.
1414 * benchtests/atan-inputs: Likewise.
1415 * benchtests/atanh-inputs: Likewise.
1416 * benchtests/cos-inputs: Likewise.
1417 * benchtests/cosh-inputs: Likewise.
1418 * benchtests/exp-inputs: Likewise.
1419 * benchtests/log-inputs: Likewise.
1420 * benchtests/pow-inputs: Likewise.
1421 * benchtests/rint-inputs: Likewise.
1422 * benchtests/sin-inputs: Likewise.
1423 * benchtests/sinh-inputs: Likewise.
1424 * benchtests/tan-inputs: Likewise.
1425 * benchtests/tanh-inputs: Likewise.
1426 * scripts/bench.pl: Add support for new directives.
1428 2013-10-07 Alan Modra <amodra@gmail.com>
1430 * README: Fix careless merge.
1432 2013-10-05 Alan Modra <amodra@gmail.com>
1434 * NEWS: Mention powerpc64le support and bugs fixed.
1435 * README: Both big-endian and little-endian powerpc64 supported.
1437 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1439 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1440 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1441 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1442 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1444 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1446 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1449 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1451 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1452 Move -mhard-float appending from
1453 ports/sysdeps/powerpc/powerpc32/Makefile.
1454 [$(with-fp) = yes] (ASFLAGS): Likewise.
1455 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1456 * sysdeps/powerpc/nofpu: Move directory from
1457 ports/sysdeps/powerpc/nofpu.
1458 * sysdeps/powerpc/soft-fp: Move directory from
1459 ports/sysdeps/powerpc/soft-fp.
1460 * sysdeps/powerpc/powerpc32/405: Move directory from
1461 ports/sysdeps/powerpc/powerpc32/405.
1462 * sysdeps/powerpc/powerpc32/440: Move directory from
1463 ports/sysdeps/powerpc/powerpc32/440.
1464 * sysdeps/powerpc/powerpc32/464: Move directory from
1465 ports/sysdeps/powerpc/powerpc32/464.
1466 * sysdeps/powerpc/powerpc32/476: Move directory from
1467 ports/sysdeps/powerpc/powerpc32/476.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1469 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1471 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1473 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1475 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1477 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1478 * README: Update for powerpc-*-linux-gnu software floating point
1481 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1482 case to powerpc/powerpc32*.
1483 * sysdeps/unix/sysv/linux/configure: Regenerated.
1485 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1486 (_FPU_MASK_OM): Define as 0x04.
1487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1495 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1498 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1501 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1502 and setcontext_e500.
1504 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1506 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1508 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1510 * manual/threads.texi (Default Thread Attributes): Fix typo.
1512 2013-10-04 Will Newton <will.newton@linaro.org>
1514 * malloc/Makefile: Add tst-memalign.
1515 * malloc/tst-memalign.c: New file.
1517 * malloc/tst-posix_memalign.c: Add comments.
1518 (do_test): Add comments and call free on all potentially
1519 allocated pointers. Add space after cast.
1521 * malloc/tst-pvalloc.c: Add comments.
1522 (do_test): Add comments and call free on all potentially
1523 allocated pointers. Remove duplicate check for NULL pointer.
1524 Add space after cast.
1526 * malloc/tst-valloc.c: Add comments.
1527 (do_test): Add comments and call free on all potentially
1528 allocated pointers. Remove duplicate check for NULL pointer.
1529 Add space after cast.
1531 2013-10-04 Alan Modra <amodra@gmail.com>
1533 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1534 Use stdint types in rather than __attribute__((mode())).
1535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1537 2013-10-04 Alan Modra <amodra@gmail.com>
1539 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1540 Correct handling of unaligned relocs for little-endian.
1541 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1543 2013-10-04 Alan Modra <amodra@gmail.com>
1545 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1546 * configure: Regenerate.
1547 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1548 * shlib-versions: Likewise.
1550 2013-10-04 Alan Modra <amodra@gmail.com>
1552 * string/tester.c (test_memrchr): Increment reported test cycle.
1554 2013-10-04 Alan Modra <amodra@gmail.com>
1556 * string/test-memcpy.c (do_one_test): When reporting errors, print
1557 string address and don't overrun end of string.
1559 2013-10-04 Alan Modra <amodra@gmail.com>
1561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1562 insrdi. Make better use of reg selection to speed exit slightly.
1563 Schedule entry path a little better. Remove useless "are we done"
1564 checks on entry to main loop. Handle wrapping around zero address.
1565 Correct main loop count. Handle single left-over word from main
1566 loop inline rather than by using loop_small. Remove extra word
1567 case in loop_small caused by wrong loop count. Add little-endian
1569 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1572 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1574 support. Avoid rlwimi.
1575 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1577 2013-10-04 Alan Modra <amodra@gmail.com>
1579 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1581 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1582 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1583 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1585 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1586 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1588 2013-10-04 Alan Modra <amodra@gmail.com>
1590 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1591 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1592 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1593 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1594 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1596 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1599 use of regs. Use power7 mtocrf. Tidy function tails.
1601 2013-10-04 Alan Modra <amodra@gmail.com>
1603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1604 Formatting. Consistently use rXXX register defines or rN defines.
1605 Use early exit labels that avoid restoring unused non-volatile regs.
1606 Make cr field use more consistent with rWORDn compares. Rename
1607 regs used as shift registers for unaligned loop, using rN defines
1608 for short lifetime/multiple use regs.
1609 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1611 addi 1,1,64 to pop stack frame. Simplify return value code.
1612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1614 2013-10-04 Alan Modra <amodra@gmail.com>
1616 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1617 support. Correct typos, formatting. Optimize tail. Use insrdi
1619 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1620 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1621 little-endian support. Correct typos.
1622 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1624 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1625 in loop and entry code to keep "and." results.
1626 (strchr): Add little-endian support. Comment. Move cntlzd
1628 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1630 2013-10-04 Alan Modra <amodra@gmail.com>
1632 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1633 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1634 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1635 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1637 2013-10-04 Alan Modra <amodra@gmail.com>
1639 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1640 (rTMP): Define as r11.
1641 (strcmp): Add little-endian support. Optimise tail.
1642 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1643 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1644 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1645 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1646 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1648 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1650 2013-10-04 Alan Modra <amodra@gmail.com>
1652 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1653 little-endian support. Remove unnecessary "are we done" tests.
1654 Handle "s" wrapping around zero and extremely large "size".
1655 Correct main loop count. Handle single left-over word from main
1656 loop inline rather than by using small_loop. Correct comments.
1657 Delete "zero" tail, use "end_max" instead.
1658 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1660 2013-10-04 Alan Modra <amodra@gmail.com>
1662 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1663 support. Don't branch over align.
1664 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1665 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1666 support. Rearrange tmp reg use to suit. Comment.
1667 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1669 2013-10-04 Alan Modra <amodra@gmail.com>
1671 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1673 2013-10-04 Alan Modra <amodra@gmail.com>
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1676 conditional form of branch and link when obtaining pc.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1679 2013-10-04 Alan Modra <amodra@gmail.com>
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1686 2013-10-04 Alan Modra <amodra@gmail.com>
1688 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1689 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1690 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1691 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1692 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1693 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1694 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1695 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1697 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1699 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1700 Alistair Popple <alistair@ozlabs.au.ibm.com>
1701 Alan Modra <amodra@gmail.com>
1704 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1705 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1706 _dl_hwcap access for little-endian.
1707 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1708 destroy vmx regs when saving unaligned.
1709 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1710 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1711 destroy vmx regs when saving unaligned.
1713 2013-10-04 Alan Modra <amodra@gmail.com>
1715 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1716 Don't use a union to pack hi/low value.
1718 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1720 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1722 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1724 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1725 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1726 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1728 2013-10-04 Alan Modra <amodra@gmail.com>
1730 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1731 constants to usual value for .cst8 section, and remove redundant
1733 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1734 constant for 0x1p52. Load little-endian words of double from
1735 correct stack offsets.
1737 2013-10-04 Alan Modra <amodra@gmail.com>
1739 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1740 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1741 words of double from correct stack offsets.
1742 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1743 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1744 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1745 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1747 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1748 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1749 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1750 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1751 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1752 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1753 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1754 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1755 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1756 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1758 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1760 2013-10-04 Alan Modra <amodra@gmail.com>
1762 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1763 64-bit int/double union.
1764 (_FPU_SETCW): Likewise.
1765 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1766 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1768 2013-10-04 Alan Modra <amodra@gmail.com>
1770 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1771 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1773 2013-10-04 Alan Modra <amodra@gmail.com>
1775 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1776 use vector int constants.
1777 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1779 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1781 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1782 array with long long.
1783 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1784 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1785 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1786 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1787 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1788 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1789 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1790 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1791 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1792 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1793 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1794 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1795 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1797 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1799 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1800 (__signbit): Likewise. Correct for little-endian.
1801 (__signbitl): Call __signbit.
1802 (lrint): Correct for little-endian.
1803 (lrintf): Call lrint.
1805 2013-10-04 Alan Modra <amodra@gmail.com>
1807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1808 union 32-bit int array member with 64-bit int array.
1809 (t515, tm256): Double rather than long double.
1810 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1812 2013-10-04 Alan Modra <amodra@gmail.com>
1814 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1816 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1818 version of math_ldbl.h.
1820 2013-10-04 Alan Modra <amodra@gmail.com>
1822 [BZ #15734], [BZ #15735]
1823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1824 all uses of ieee875 long double macros and unions. Simplify test
1825 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1826 ldbl_extract_mantissa value for ix,iy exponents. Properly
1827 normalize after ldbl_extract_mantissa, and don't add hidden bit
1828 already handled. Don't treat low word of ieee854 mantissa like
1829 low word of IBM long double and mask off bit when testing for
1831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1832 all uses of ieee875 long double macros and unions. Simplify tests
1833 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1834 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1835 two1022, instead use their values. Recognise that tests for large
1836 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1837 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1838 Rewrite all uses of ieee875 long double macros and unions. Simplify
1839 test for 0.0L and nan. Correct negation.
1840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1841 ieee875 long double macros and unions. Correct output for large
1842 magnitude x. Correct absolute value calculation.
1843 (__erfcl): Likewise.
1844 * math/libm-test.inc: Add tests for errors discovered in IBM long
1845 double versions of fmodl, remainderl, erfl and erfcl.
1847 2013-10-04 Alan Modra <amodra@gmail.com>
1849 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1850 all uses of ieee854 long double macros and unions. Simplify tests
1851 for long doubles that are fully specified by the high double.
1852 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1854 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1855 Remove dead code too.
1856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1857 (__ieee754_ynl): Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1861 Remove dead code too.
1862 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1869 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1872 Comment on variable precision.
1873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1876 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1877 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1880 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1882 2013-10-04 Alan Modra <amodra@gmail.com>
1884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1885 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1886 all uses of ieee854 long double macros and unions.
1887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1889 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1891 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1894 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1900 Simplify sign and nan test too.
1901 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1906 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1916 2013-10-04 Alan Modra <amodra@gmail.com>
1918 * stdio-common/printf_size.c (__printf_size): Don't use
1919 union ieee854_long_double in fpnum union.
1920 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1921 signbit macro to retrieve sign from long double.
1922 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1923 retrieve sign from long double.
1924 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1925 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1926 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1927 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1928 * math/test-misc.c (main): Don't use union ieee854_long_double.
1930 2013-10-04 Alan Modra <amodra@gmail.com>
1933 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1934 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1935 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1936 calculation. Remove unnecessary test for denormal exponent.
1937 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1938 Correct handling of denormals. Avoid undefined shift behaviour.
1939 Correct normalisation of low mantissa when low double is denormal.
1940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1941 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1942 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1943 Correct normalisation of low mantissa. Test for overflow of high
1944 mantissa and normalise.
1945 (ldbl_nearbyint): Use more readable constant for two52.
1946 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1947 (__mpn_construct_long_double): Fix test for overflow of high
1948 mantissa and correct normalisation. Avoid undefined shift.
1950 2013-10-04 Alan Modra <amodra@gmail.com>
1952 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1953 (union ibm_extended_long_double): Define as an array of ieee754_double.
1954 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1955 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1956 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1957 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1961 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1966 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1968 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1969 page size instead of calling getpagesize.
1971 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1972 (LOCFILE_ALIGN_MASK): Likewise.
1973 (LOCFILE_ALIGN_UP): Likewise.
1974 (LOCFILE_ALIGNED_P): Likewise.
1975 * locale/programs/ld-collate.c (collate_output): Use the new
1976 macros instead of __alignof__ (int32_t).
1977 * locale/weight.h (findidx): Likewise.
1979 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1982 * manual/string.texi: Fix strncat and wcsncat.
1984 2013-10-03 Brooks Moses <bmoses@google.com>
1987 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1988 * Makerules: ...here, and adjust associated comments.
1990 2013-10-02 Will Newton <will.newton@linaro.org>
1992 * malloc/Makefile: Add tst-pvalloc.
1993 * malloc/tst-pvalloc.c: New file.
1995 2013-10-02 Will Newton <will.newton@linaro.org>
1997 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1998 improve test coverage.
2000 2013-10-02 Will Newton <will.newton@linaro.org>
2002 * malloc/Makefile: Add tst-posix_memalign.
2003 * malloc/tst-posix_memalign.c: New file.
2005 2013-10-01 Eric Blake <eblake@redhat.com>
2007 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2008 Use __THROWNL rather than __THROW on static functions.
2010 2013-09-30 Petr Machata <pmachata@redhat.com>
2012 * elf/elf.h (R_AARCH64_ABS16): New macro.
2013 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2014 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2015 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2016 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2017 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2018 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2019 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2020 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2021 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2022 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2023 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2024 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2025 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2026 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2027 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2028 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2029 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2030 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2031 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2032 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2033 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2034 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2035 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2036 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2037 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2038 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2039 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2040 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2041 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2042 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2043 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2044 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2045 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2046 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2047 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2048 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2049 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2050 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2051 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2052 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2053 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2054 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2055 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2056 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2057 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2058 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2059 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2060 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2061 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2062 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2063 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2064 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2065 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2066 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2067 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2068 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2069 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2070 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2071 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2072 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2073 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2074 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2075 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2076 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2077 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2078 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2079 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2080 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2081 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2082 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2083 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2084 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2085 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2086 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2087 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2088 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2089 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2090 (R_AARCH64_TLSDESC_LDR): Likewise.
2091 (R_AARCH64_TLSDESC_ADD): Likewise.
2092 (R_AARCH64_TLSDESC_CALL): Likewise.
2094 2013-09-30 Andreas Schwab <schwab@suse.de>
2097 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2098 the nss database lookup.
2099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2102 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2104 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2106 2013-09-28 P. J. McDermott <pj@pehjota.net>
2108 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2109 ${Bash-specific parameter/pattern/string} parameter expansion.
2110 * sysdeps/unix/make-syscalls.sh: Likewise.
2112 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2114 * sysdeps/sh/stackguard-macros.h: New file.
2116 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2120 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2122 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2123 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2125 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2128 Fix thread ID register.
2130 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2132 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2133 [POSIX || UNIX98]: Require rather than permitting all symbols from
2135 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2136 element of struct sched_param.
2137 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2138 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2139 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2140 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2143 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2145 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2146 argument calculation.
2148 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2150 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2152 [POSIX] (pthread_attr_t): Do not require type.
2153 [POSIX] (pthread_cond_t): Likewise.
2154 [POSIX] (pthread_condattr_t): Likewise.
2155 [POSIX] (pthread_key_t): Likewise.
2156 [POSIX] (pthread_mutex_t): Likewise.
2157 [POSIX] (pthread_mutexattr_t): Likewise.
2158 [POSIX] (pthread_once_t): Likewise.
2159 [POSIX] (pthread_t): Likewise.
2160 [POSIX-based standards] (pthread_atfork): Expect function.
2162 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2163 Richard Sandiford <richard@codesourcery.com>
2165 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2166 (swap_endianness_p): New extern variable.
2167 (set_big_endian): New inline function.
2168 (maybe_swap_uint32): Likewise.
2169 (maybe_swap_uint32_array): Likewise.
2170 (maybe_swap_uint32_obstack): Likewise.
2171 * locale/programs/locfile.c: Include <stdbool.h>.
2172 (swap_endianness_p): New variable.
2173 (add_locale_uint32): Call maybe_swap_uint32.
2174 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2175 (write_locale_data): Call maybe_swap_uint32_array.
2176 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2178 (obstack_int32_grow_fast): Likewise.
2179 (output_weightwc): Call maybe_swap_uint32_obstack.
2180 (collate_output): Likewise.
2181 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2182 (OPT_LITTLE_ENDIAN): Likewise.
2183 (options): Add --little-endian and --big-endian options.
2184 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2185 * locale/programs/locarchive.c: Include "locfile.h".
2189 (create_archive): Use the new macros to access fields of
2190 structures directly mapped from or written to locale archives.
2191 (oldlocrecentcmp): Likewise.
2192 (enlarge_archive): Likewise.
2193 (insert_name): Likewise.
2194 (add_alias): Likewise.
2195 (add_locale): Likewise.
2196 (delete_locales_from_archive): Likewise.
2197 (show_archive_content): Likewise.
2198 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2201 2013-09-24 Roland McGrath <roland@hack.frob.com>
2203 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2204 http://www.gnu.org/doc/freemanuals.texi.
2205 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2207 2013-09-24 Will Newton <will.newton@linaro.org>
2209 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2212 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2214 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2217 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2219 * manual/threads.texi (POSIX Threads): Fix a typo.
2221 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2224 * string/tst-strcoll-overflow.c: New test case.
2225 * string/Makefile (xtests): Add tst-strcoll-overflow.
2226 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2227 cache if string sizes may cause integer overflow.
2230 * string/strcoll_l.c (coll_seq): New members rule, idx,
2231 save_idx and back_us.
2232 (get_next_seq_nocache): New function.
2233 (do_compare_nocache): New function.
2234 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2237 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2240 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2241 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2242 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2245 * elf/Makefile (tests): Add tst-ptrguard1.
2246 (tests-static): Add tst-ptrguard1-static.
2247 (tst-ptrguard1-ARGS): Define.
2248 (tst-ptrguard1-static-ARGS): Define.
2249 * elf/tst-ptrguard1.c: New file.
2250 * elf/tst-ptrguard1-static.c: New file.
2251 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2252 * sysdeps/i386/stackguard-macros.h: Likewise.
2253 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2254 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2255 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2256 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2257 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2258 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2260 2013-09-23 Hector Marco <hecmargi@upv.es>
2261 Ismael Ripoll <iripoll@disca.upv.es>
2262 Carlos O'Donell <carlos@redhat.com>
2265 * sysdeps/generic/stackguard-macros.h: Define
2266 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2267 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2268 Define __pointer_chk_guard_local.
2269 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2270 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2272 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2275 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2277 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2279 * include/string.h (__ffs): Declare as hidden.
2280 * string/ffs.c (__ffs): Define as hidden.
2281 * sysdeps/i386/ffs.c (__ffs): Likewise.
2282 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2283 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2284 * sysdeps/s390/ffs.c (__ffs): Likewise.
2285 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2287 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2289 * NEWS: Mention malloc probes.
2291 * malloc/arena.c (new_heap): New memory_heap_new probe.
2292 (grow_heap): New memory_heap_more probe.
2293 (shrink_heap): New memory_heap_less probe.
2294 (heap_trim): New memory_heap_free probe.
2295 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2296 (systrim): New memory_sbrk_less probe.
2297 * manual/probes.texi: Document them.
2299 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2300 * manual/probes.texi: Document it.
2302 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2303 (__libc_realloc): Add memory_realloc_retry probe.
2304 (__libc_memalign): Add memory_memalign_retry probe.
2305 (__libc_valloc): Add memory_valloc_retry probe.
2306 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2307 (__libc_calloc): Add memory_calloc_retry probe.
2308 * manual/probes.texi: Document them.
2310 * malloc/arena.c (get_free_list): Add probe
2311 memory_arena_reuse_free_list.
2312 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2313 and memory_arena_reuse.
2314 (arena_get2) [!PER_THREAD]: Likewise.
2315 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2316 memory_arena_reuse_realloc.
2317 * manual/probes.texi: Document them.
2319 * malloc/malloc.c (__libc_free): Add
2320 memory_mallopt_free_dyn_thresholds probe.
2321 (__libc_mallopt): Add multiple memory_mallopt probes.
2322 * manual/probes.texi: Document them.
2324 * malloc/malloc.c: Include stap-probe.h.
2325 (__libc_mallopt): Add memory_mallopt probe.
2326 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2327 * manual/probes.texi: New.
2328 * manual/Makefile (chapters): Add probes.
2329 * manual/threads.texi: Set next node.
2331 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2334 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2335 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2336 Add `Chinese' to `nan' entry name.
2338 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2340 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2341 (POLYNOMIAL): Likewise.
2342 (TAYLOR_SINCOS): Likewise.
2343 (TAYLOR_SLOW): Likewise.
2344 (__sin): Use TAYLOR_SINCOS.
2346 (slow): Use TAYLOR_SLOW.
2351 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2353 * stdlib/strtod_l.c: Fix buffer overrun.
2355 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2357 * benchtests/Makefile (bench): Add sincos.
2358 * benchtests/bench-sincos.c: New file.
2360 * math/libm-test.inc (cos_test_data): New test inputs.
2361 (sin_test_data): Likewise.
2363 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2371 (bsloww1): Likewise.
2372 (bsloww2): Likewise.
2374 (csloww1): Likewise.
2375 (csloww2): Likewise.
2377 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2386 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2388 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2389 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2390 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2391 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2392 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2393 * elf/cache.c (print_entry): Handle the new cache flags.
2395 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2396 Aldy Hernandez <aldyh@redhat.com>
2398 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2399 Change condition to [_SOFT_FLOAT].
2400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2405 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2409 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2412 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2415 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2418 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2420 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2421 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2422 (__longjmp): Use LOAD_GP to load saved GPRs.
2423 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2424 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2425 (__sigsetjmp): Use SAVE_GP to save GPRs.
2427 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2428 Do not append -msoft-float.
2429 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2431 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2433 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2435 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2438 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2439 (_FPU_GETCW): Use initial "__" on variable and field names but not
2440 on macro parameter name.
2441 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2442 parentheses around reference to macro parameter.
2444 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2446 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2448 (ctype_startup): Use uint32_t in cast and sizeof for
2451 2013-09-11 Jia Liu <proljc@gmail.com>
2453 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2455 [__FreeBSD__]: Likewise.
2457 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2460 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2461 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2462 (strchr): Remove __strchr_sse42 ifunc selection.
2463 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2464 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2466 2013-09-11 Will Newton <will.newton@linaro.org>
2468 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2469 parameter to RES. Remove hardcoded 1000 value.
2470 * benchtests/bench-skeleton.c (main): Pass RES parameter
2471 to TIMING_INIT and multiply result by 1000.
2473 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2477 2013-09-11 Andreas Schwab <schwab@suse.de>
2479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2481 (O_TMPFILE) [__USE_GNU]: Define.
2482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2485 2013-09-11 Will Newton <will.newton@linaro.org>
2488 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2491 2013-09-11 Will Newton <will.newton@linaro.org>
2494 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2497 2013-09-11 Will Newton <will.newton@linaro.org>
2500 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2503 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2505 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2507 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2508 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2511 2013-09-10 Allan McRae <allan@archlinux.org>
2514 * manual/arith.texi (Parsing of Floats): Clarify
2518 * manual/install.texi (Running make install): Mention
2520 * INSTALL: Regenerated.
2522 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2524 * csu/init-first.c (_init): Remove the !SHARED condition around
2525 FPU control word initialization.
2526 * elf/dl-support.c (_dl_fpu_control): New variable.
2527 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2528 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2529 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2530 * math/test-fpucw-static.c: New file.
2531 * math/test-fpucw-ieee.c: New file.
2532 * math/test-fpucw-ieee-static.c: New file.
2533 * math/Makefile (tests): Add `test-fpucw-ieee' and
2535 (tests-static): New variable.
2536 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2538 [($(build-shared),yes)]
2539 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2541 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2544 2013-09-09 Allan McRae <allan@archlinux.org>
2547 * manual/string.texi (Collation Functions): Fix typo in
2549 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2552 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2555 * libio/memstream.c (open_memstream): Fix memory leak.
2556 * libio/wmemstream.c (open_wmemstream): Likewise.
2559 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2561 2013-09-09 Will Newton <will.newton@linaro.org>
2563 * malloc/Makefile: Add tst-realloc to tests.
2564 * malloc/tst-realloc.c: New file.
2566 2013-09-09 Allan McRae <allan@archlinux.org>
2569 * COPYING: Update from GNU website to fix FSF address.
2570 * COPYING.LIB: Likewise.
2572 2013-09-06 David S. Miller <davem@davemloft.net>
2574 * po/zh_TW.po: Update Chinese (traditional) translation from
2575 translation project.
2577 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2578 Joseph Myers <joseph@codesourcery.com>
2580 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2582 (obstack_chunk_alloc): New macro.
2583 (obstack_chunk_free): Likewise.
2584 (record_offset): New function.
2585 (init_locale_data): Likewise.
2586 (align_locale_data): Likewise.
2587 (add_locale_empty): Likewise.
2588 (add_locale_raw_data): Likewise.
2589 (add_locale_raw_obstack): Likewise.
2590 (add_locale_string): Likewise.
2591 (add_locale_wstring): Likewise.
2592 (add_locale_uint32): Likewise.
2593 (add_locale_uint32_array): Likewise.
2594 (add_locale_char): Likewise.
2595 (start_locale_structure): Likewise.
2596 (end_locale_structure): Likewise.
2597 (start_locale_prelude): Likewise.
2598 (end_locale_prelude): Likewise.
2599 (write_locale_data): Take locale_file structure rather than an
2601 * locale/programs/locfile.h: Include "obstack.h".
2602 (struct locale_file): Change to store locale file contents instead
2604 (init_locale_data): New prototype.
2605 (align_locale_data): Likewise.
2606 (add_locale_empty): Likewise.
2607 (add_locale_raw_data): Likewise.
2608 (add_locale_raw_obstack): Likewise.
2609 (add_locale_string): Likewise.
2610 (add_locale_wstring): Likewise.
2611 (add_locale_uint32): Likewise.
2612 (add_locale_uint32_array): Likewise.
2613 (add_locale_char): Likewise.
2614 (start_locale_structure): Likewise.
2615 (end_locale_structure): Likewise.
2616 (start_locale_prelude): Likewise.
2617 (end_locale_prelude): Likewise.
2618 (write_locale_data): Update prototype.
2619 * locale/programs/3level.h (struct TABLE): Remove result field.
2620 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2621 Use new locale_file interface.
2622 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2623 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2624 * locale/programs/ld-address.c (address_output): Use new
2625 locale_file interface.
2626 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2628 (collate_finish): Don't call collseq_table_finalize.
2629 (collate_output): Use new locale_file interface.
2630 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2632 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2633 (TABLE): Move defines earlier in file.
2634 (ELEMENT): Likewise.
2635 (DEFAULT): Likewise.
2636 (wctrans_table_add): Move macro and inline function earlier in
2638 (struct wctype_table): Move type earlier in file.
2639 (add_locale_wctype_table): New static prototype.
2640 (struct locale_ctype_t): Use logical types instead of struct iovec
2641 pointers for members.
2642 (ctype_output): Use new locale_file interface.
2643 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2644 new locale_file interface.
2645 (allocate_arrays): Update for use of new locale_file interface.
2646 * locale/programs/ld-identification.c (identification_output): Use
2647 new locale_file interface.
2648 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2649 * locale/programs/ld-messages.c (messages_output): Likewise.
2650 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2651 * locale/programs/ld-name.c (name_output): Likewise.
2652 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2653 * locale/programs/ld-paper.c (paper_output): Likewise.
2654 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2655 * locale/programs/ld-time.c (time_output): Likewise.
2657 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2659 * benchtests/Makefile: Add memrchr benchmark.
2660 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2661 benchmark as memrchr.
2662 * benchtests/bench-memrchr-ifunc.c: New file.
2663 * benchtests/bench-memrchr.c: New file.
2665 2013-09-06 Will Newton <will.newton@linaro.org>
2667 * benchtests/Makefile (string-bench): Add memcpy.
2669 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2670 Cong Wang <amwang@redhat.com>
2672 * sysdeps/unix/sysv/linux/bits/in.h
2673 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2674 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2675 before __USE_KERNEL_IPV6_DEFS uses.
2676 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2678 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2679 sockaddr_in6, or ipv6_mreq.
2681 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2684 memory access for final bytes in some large inputs.
2685 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2687 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2689 * string/test-memrchr.c: New file.
2690 * string/test-memrchr-ifunc.c: New file.
2691 * string/Makefile: Add new memrchr testcase.
2693 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2695 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2696 fanotify_init returns EPERM.
2698 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2700 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2702 (top level): Treat second token from macro or constant entries for
2703 allowed headers as allowed.
2704 * include/complex.h: Condition internal declarations on
2706 * include/fenv.h: Condition include of <stdbool.h> and internal
2707 declarations on [!_ISOMAC].
2709 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2712 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2714 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2716 * configure.in (--enable-versioning): Remove configure option.
2717 (libc_cv_asm_symver_directive): Remove configure test.
2718 (libc_cv_ld_version_script_option): Likewise.
2719 (VERSIONING): Remove variable and AC_SUBST.
2720 (DO_VERSIONING): Remove AC_DEFINE.
2721 * configure: Regenerated.
2722 * config.h.in (DO_VERSIONING): Remove macro.
2723 * Makerules [$(versioning) = yes]: Change conditionals to
2724 [$(build-shared) = yes].
2725 * config.make.in (versioning): Remove variable.
2726 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2727 [$(build-shared) = yes].
2728 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2729 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2730 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2731 [$(build-shared) = yes].
2732 * extra-lib.mk [$(versioning) = yes]: Likewise.
2733 * hurd/Makefile [$(versioning) = yes]: Likewise.
2734 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2736 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2738 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2739 [SHARED && !NO_HIDDEN].
2740 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2742 [SHARED && DO_VERSIONING]: Likewise..
2743 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2744 [$(build-shared) = yes].
2745 * manual/install.texi (--disable-versioning): Remove
2747 * INSTALL: Regenerated.
2748 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2750 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2751 [$(build-shared) = yes].
2752 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2753 * sysdeps/i386/i686/multiarch/strstr-c.c
2754 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2755 [SHARED && !NO_HIDDEN].
2756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2757 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2758 * sysdeps/powerpc/powerpc32/dl-machine.c
2759 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2760 * sysdeps/powerpc/powerpc32/sysdep.h
2761 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2762 to [SHARED && PIC && !NO_HIDDEN].
2763 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2764 conditional to [SHARED].
2766 2013-09-04 Will Newton <will.newton@linaro.org>
2768 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2769 * benchtests/bench-string.h: Include bench-timing.h instead
2770 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2771 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2772 call to HP_TIMING_DIFF_INIT.
2773 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2774 instead of hp-timing.h macros.
2775 * benchtests/bench-memchr.c: Likewise.
2776 * benchtests/bench-memcmp.c: Likewise.
2777 * benchtests/bench-memcpy.c: Likewise.
2778 * benchtests/bench-memmem.c: Likewise.
2779 * benchtests/bench-memmove.c: Likewise.
2780 * benchtests/bench-memset.c: Likewise.
2781 * benchtests/bench-rawmemchr.c: Likewise.
2782 * benchtests/bench-strcasecmp.c: Likewise.
2783 * benchtests/bench-strcasestr.c: Likewise.
2784 * benchtests/bench-strcat.c: Likewise.
2785 * benchtests/bench-strchr.c: Likewise.
2786 * benchtests/bench-strcmp.c: Likewise.
2787 * benchtests/bench-strcpy.c: Likewise.
2788 * benchtests/bench-strcpy_chk.c: Likewise.
2789 * benchtests/bench-strlen.c: Likewise.
2790 * benchtests/bench-strncasecmp.c: Likewise.
2791 * benchtests/bench-strncat.c: Likewise.
2792 * benchtests/bench-strncmp.c: Likewise.
2793 * benchtests/bench-strncpy.c: Likewise.
2794 * benchtests/bench-strnlen.c: Likewise.
2795 * benchtests/bench-strpbrk.c: Likewise.
2796 * benchtests/bench-strrchr.c: Likewise.
2797 * benchtests/bench-strspn.c: Likewise.
2798 * benchtests/bench-strstr.c: Likewise.
2800 2013-09-04 Will Newton <will.newton@linaro.org>
2802 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2804 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2807 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2808 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2809 * math/libm-test.inc (lgamma_test_data): Add more tests.
2810 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2815 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2819 Add strcmp-sse2-unaligned
2820 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2822 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2824 * Versions.def (libc): Add GLIBC_2.19.
2826 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2828 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2829 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2831 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2834 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2835 intermediate calculations in recurrence.
2836 (__ieee754_ynf): Likewise.
2837 * math/libm-test.inc (jn_test_data): Do not allow spurious
2838 underflow exception. Add more tests.
2839 (yn_test_data): Add more tests.
2840 * sysdeps/i386/fpu/libm-test-ulps: Update.
2841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2843 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2845 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2847 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2849 * csu/init-first.c: Fix then/than typos.
2850 * locale/programs/ld-collate.c: Likewise.
2851 * locale/programs/linereader.h: Likewise.
2852 * manual/charset.texi: Likewise.
2853 * manual/filesys.texi: Likewise.
2854 * manual/stdio.texi: Likewise.
2855 * manual/string.texi: Likewise.
2856 * stdlib/fmtmsg.c: Likewise.
2857 * sysdeps/i386/stpncpy.S: Likewise.
2858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2859 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2861 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2863 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2865 * elf/dl-open.c: Fix typos.
2866 * iconvdata/gbbig5.c: Likewise.
2867 * iconvdata/iso-2022-jp.c: Likewise.
2868 * iconv/gconv_int.h: Likewise.
2869 * iconv/loop.c: Likewise.
2870 * nis/rpcsvc/nis.h: Likewise.
2871 * resolv/ns_name.c: Likewise.
2872 * stdio-common/vfscanf.c: Likewise.
2873 * streams/stropts.h: Likewise.
2874 * sunrpc/rpc_thread.c: Likewise.
2875 * sysdeps/i386/strpbrk.S: Likewise.
2876 * sysdeps/ieee754/k_standard.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2879 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2880 * sysdeps/mach/hurd/profil.c: Likewise.
2881 * sysdeps/s390/dl-procinfo.h: Likewise.
2882 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2883 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2884 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2885 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2888 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2890 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2893 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2895 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2897 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2899 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2900 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2902 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2903 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2904 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2906 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2907 Roland McGrath <roland@hack.frob.com>
2909 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2910 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2912 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2914 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2915 __executable_start symbol instead of _start.
2917 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2919 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2920 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2922 * sysdeps/gnu/ldsodefs.h: ... this new file.
2924 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2925 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2926 instead of ELFOSABI_LINUX.
2928 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2929 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2930 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2931 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2933 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2934 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2935 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2937 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2938 (ibm_extended_long_double): Add ieee_nan member.
2939 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2940 (do_test): New function.
2942 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2944 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2945 functions, renamed from truncdfsf_test, trunctfsf_test,
2947 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2949 (do_test): Run all these.
2951 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2953 * argp/argp-help.c: Fix typos.
2954 * argp/argp-parse.c: Likewise.
2955 * debug/backtracesyms.c: Likewise.
2956 * elf/elf.h: Likewise.
2957 * malloc/malloc.c: Likewise.
2958 * nis/nis_print.c: Likewise.
2959 * resolv/res_comp.c: Likewise.
2960 * stdlib/stdlib.h: Likewise.
2961 * sunrpc/clnt_tcp.c: Likewise.
2962 * sunrpc/clnt_udp.c: Likewise.
2963 * sunrpc/clnt_unix.c: Likewise.
2964 * sysdeps/unix/bsd/ptsname.c: Likewise.
2965 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2966 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2973 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2975 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2977 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2980 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2983 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2984 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2985 ($(objpfx)bug-dl-leaf): New rule.
2986 ($(objpfx)bug-dl-leaf.so): Likewise.
2987 ($(objpfx)bug-dl-leaf.out): Likewise.
2988 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2989 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2990 * dlfcn/bug-dl-leaf.c: New test.
2991 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2992 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2993 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2994 (dlclose): Likewise.
2995 (dlmopen): Likewise.
2997 2013-08-27 Roland McGrath <roland@hack.frob.com>
2999 * include/netdb.h [!_ISOMAC]:
3000 Don't include <tls.h>.
3001 (h_errno, __libc_h_errno): Move declaration and macros out of
3004 * include/resolv.h [_RESOLV_H_]:
3005 Don't include <tls.h>.
3006 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3007 * resolv/res_libc.c: Don't include <tls.h>.
3008 (_res): Use __attribute__ ((nocommon)) in place of
3009 __attribute__ ((section (".bss"))).
3011 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3012 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3014 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3016 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3017 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3019 * resolv/res_mkquery.c: Include <sys/time.h>.
3021 * inet/ifreq.c: Moved to ...
3022 * sysdeps/unix/ifreq.c: ... here.
3023 * inet/ifreq.c: New file, true stub version.
3025 * socket/sa_len.c: New file.
3026 * socket/Makefile (aux): Add it.
3027 * sysdeps/unix/sysv/linux/Makefile
3028 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3029 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3030 and #include <socket/sa_len.c>.
3031 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3032 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3034 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3035 * bits/socket.h: ... here.
3037 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3038 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3039 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3041 2013-08-27 Andreas Schwab <schwab@suse.de>
3044 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3045 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3046 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3047 * string/test-strcasecmp.c (test_main): Run tests in several
3049 * string/test-strncasecmp.c (test_main): Likewise.
3051 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3052 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3053 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3054 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3055 (__strncasecmp_ssse3) [PIC]: Likewise.
3057 2013-08-26 Roland McGrath <roland@hack.frob.com>
3059 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3061 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3062 instead of explicitly declaring xdecrypt.
3063 * nis/nss_nis/nis-publickey.c: Likewise.
3065 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3068 * nscd/aicache.c: Include res_hconf.h.
3069 (addhstaiX): Initialize res_hconf.
3071 2013-08-26 Andreas Schwab <schwab@suse.de>
3073 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3074 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3076 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3078 * nscd/aicache.c (addhstaiX): Fix indentation.
3080 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3082 * configure.ac: Quote $build_pt_chown test.
3083 * configure: Regenerated.
3085 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3088 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3089 * math/s_cexpf.c (__cexpf): Likewise.
3090 * math/s_cexpl.c (__cexpl): Likewise.
3091 * math/libm-test.inc (cexp_test_data): Correct expected return
3092 value for NaN + i0. Add another test.
3094 2013-08-22 David S. Miller <davem@davemloft.net>
3096 * po/ca.po: Update Catalan translation from translation project.
3097 * po/uk.po: Add Ukrainian translations from translation project.
3099 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3102 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3103 is infinite, not alongside NaN test.
3104 * math/s_fdimf.c (__fdimf): Likewise.
3105 * math/s_fdiml.c (__fdiml): Likewise.
3106 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3109 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3111 * argp/argp-help.c: Fix typos.
3112 * crypt/speeds.c: Likewise.
3113 * csu/check_fds.c: Likewise.
3114 * elf/dl-load.c: Likewise.
3115 * elf/dl-open.c: Likewise.
3116 * elf/reldep3.c: Likewise.
3117 * elf/reldep.c: Likewise.
3118 * elf/sprof.c: Likewise.
3119 * iconv/iconv_charmap.c: Likewise.
3120 * iconv/skeleton.c: Likewise.
3121 * iconv/strtab.c: Likewise.
3122 * io/lockf64.c: Likewise.
3123 * libio/libioP.h: Likewise.
3124 * resolv/gai_notify.c: Likewise.
3125 * resolv/ns_name.c: Likewise.
3126 * resolv/ns_samedomain.c: Likewise.
3127 * resolv/res_send.c: Likewise.
3128 * stdlib/random.c: Likewise.
3129 * sunrpc/rpc/xdr.h: Likewise.
3130 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3131 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3138 * sysdeps/mach/hurd/check_fds.c: Likewise.
3139 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3140 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3142 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3143 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3144 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3145 * sysdeps/pthread/aio_notify.c: Likewise.
3146 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3147 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3148 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3150 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3152 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3154 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3155 version if bit_Slow_SSE4_2 is set.
3156 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3159 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3163 trampoline stack frame information.
3164 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3166 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3167 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3168 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3169 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3170 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3171 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3173 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3174 interrupting a syscall and set with option SA_SIGINFO.
3176 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3179 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3180 argument is infinite.
3181 * math/s_cprojf.c (__cprojf): Likewise.
3182 * math/s_cprojl.c (__cprojl): Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3184 * math/libm-test.inc (cproj_test_data): Add more tests.
3186 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3188 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3189 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3190 size. Use __ffs to determine corresponding shift.
3192 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3193 Roland McGrath <roland@hack.frob.com>
3195 * Makefile (INSTALL): Remove trailing blank lines from output of
3198 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3200 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3201 Align 32 bit compat elf_greg to 8 bytes.
3203 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3205 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3207 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * string/strcoll_l.c (coll_seq): New structure.
3210 (get_next_seq_cached): New function.
3211 (get_next_seq): New function.
3212 (do_compare): New function.
3213 (STRCOLL): Use GNU style definition. Simplify implementation
3214 by using get_next_seq, get_next_seq_cached and do_compare.
3216 2013-08-16 Florian Weimer <fweimer@redhat.com>
3220 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3222 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3224 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3225 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3226 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3228 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3229 GETDENTS_64BIT_ALIGNED.
3230 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3231 * manual/filesys.texi (Reading/Closing Directory): Document
3232 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3234 * manual/conf.texi (Limits for Files): Add portability note to
3236 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3238 2013-08-13 Andreas Schwab <schwab@suse.de>
3241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3243 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3244 LDBL_MAX_EXP >= 16384]: Add tests for it.
3246 2013-08-12 David S. Miller <davem@davemloft.net>
3248 * version.h (RELEASE): Set to "development".
3249 (VERSION): Set to "2.18.90".
3250 * NEWS: Add 2.19 section.
3252 2013-08-03 David S. Miller <davem@davemloft.net>
3254 * po/ko.po: Update Korean translation from translation project.
3256 2013-08-01 David S. Miller <davem@davemloft.net>
3258 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3259 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3262 2013-07-30 David S. Miller <davem@davemloft.net>
3264 * po/fr.po: Update French translation from translation project.
3266 2013-07-28 David S. Miller <davem@davemloft.net>
3268 * po/cs.po: Update Czech translation from translation project.
3270 * po/sv.po: Update Swedish translation from translation project.
3272 2013-07-27 David S. Miller <davem@davemloft.net>
3274 * po/eo.po: Update Esperanto translation from translation project.
3276 * po/vi.po: Update Vietnamese translation from translation project.
3278 * po/de.po: Update German translation from translation project.
3280 2013-07-26 David S. Miller <davem@davemloft.net>
3282 * po/bg.po: Update Bulgarian translation from translation project.
3284 * po/nl.po: Update Dutch translation from translation project.
3285 * po/pl.po: Update Polish translation from translation project.
3286 * po/ru.po: Update Russian translation from translation project.
3288 2013-07-24 David S. Miller <davem@davemloft.net>
3290 * po/libc.pot: Update.
3292 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3296 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3298 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3300 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3302 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3304 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3305 Andreas Schwab <schwab@suse.de>
3306 Roland McGrath <roland@hack.frob.com>
3307 Joseph Myers <joseph@codesourcery.com>
3308 Carlos O'Donell <carlos@redhat.com>
3311 * config.h.in: Define HAVE_PT_CHOWN.
3312 * config.make.in (build-pt-chown): New variable.
3313 * configure.in (--enable-pt_chown): New configure option.
3314 * configure: Regenerate.
3315 * login/Makefile: Include Makeconfig. Build pt_chown only if
3316 build-pt-chown is enabled.
3317 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3318 pt_chown to fix pty ownership.
3319 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3321 * manual/install.texi (Configuring and compiling): Mention
3322 --enable-pt_chown. Add @findex for grantpt.
3323 * INSTALL: Regenerate.
3325 2013-07-20 David S. Miller <davem@davemloft.net>
3327 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3328 difference between 32-bit and 64-bit.
3330 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3333 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3334 Avoid system header dependency with -ffreestanding.
3335 ($(objpfx)bits/syscall%d): Likewise.
3337 2013-07-13 David S. Miller <davem@davemloft.net>
3339 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3340 underflows from atanl/atan2l due to bug 15319.
3341 (casinh_test_data): Likewise.
3343 2013-07-07 David S. Miller <davem@davemloft.net>
3345 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3347 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3349 * sysdeps/i386/fpu/libm-test-ulps: Update.
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3352 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3354 * configure.in (--enable-lock-elision): Fix message text.
3355 * INSTALL: Regenerate.
3356 * configure: Regenerate.
3358 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3362 2013-07-03 Andreas Jaeger <aj@suse.de>
3364 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3366 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3367 (ptrace_peeksiginfo_args): Add.
3368 (__ptrace_peeksiginfo_flags): Add.
3369 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3371 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3373 2013-07-03 Allan McRae <allan@archlinux.org>
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3377 2013-07-02 David S. Miller <davem@davemloft.net>
3379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3381 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3385 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3387 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390 2013-07-02 Andi Kleen <ak@linux.intel.com>
3392 * config.h.in (ENABLE_LOCK_ELISION): Add.
3393 * configure.in (--enable-lock-elision): Add option.
3394 * manual/install.texi: Document --enable lock elision.
3395 * configure: Regenerate
3396 * INSTALL: Regenerate.
3398 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3400 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3401 SSE4.2 strcasecmp for libc.a.
3402 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3404 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3407 * soft-fp/op-common.h (_FP_FMA): New macro.
3408 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3409 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3410 (_FP_MUL_MEAT_1_imm): ... here.
3411 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3412 (_FP_MUL_MEAT_1_wide): ... here.
3413 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3414 (_FP_MUL_MEAT_1_hard): ... here.
3415 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3416 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3417 (_FP_MUL_MEAT_2_wide): ... here.
3418 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3419 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3420 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3421 (_FP_MUL_MEAT_2_gmp): ... here.
3422 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3423 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3424 (_FP_MUL_MEAT_4_wide): ... here.
3425 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3426 (_FP_MUL_MEAT_4_gmp): ... here.
3427 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3428 (_FP_WFRACBITS_DW_S): Likewise.
3429 (_FP_WFRACXBITS_DW_S): Likewise.
3430 (_FP_HIGHBIT_DW_S): Likewise.
3431 (FP_FMA_S): Likewise.
3432 (_FP_FRAC_HIGH_DW_S): Likewise.
3433 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3434 (_FP_WFRACBITS_DW_D): Likewise.
3435 (_FP_WFRACXBITS_DW_D): Likewise.
3436 (_FP_HIGHBIT_DW_D): Likewise.
3437 (FP_FMA_D): Likewise.
3438 (_FP_FRAC_HIGH_DW_D): Likewise.
3439 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3440 (_FP_WFRACBITS_DW_E): Likewise.
3441 (_FP_WFRACXBITS_DW_E): Likewise.
3442 (_FP_HIGHBIT_DW_E): Likewise.
3443 (FP_FMA_E): Likewise.
3444 (_FP_FRAC_HIGH_DW_E): Likewise.
3445 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3446 (_FP_WFRACBITS_DW_Q): Likewise.
3447 (_FP_WFRACXBITS_DW_Q): Likewise.
3448 (_FP_HIGHBIT_DW_Q): Likewise.
3449 (FP_FMA_Q): Likewise.
3450 (_FP_FRAC_HIGH_DW_Q): Likewise.
3451 * soft-fp/fmasf4.c: New file.
3452 * soft-fp/fmadf4.c: Likewise.
3453 * soft-fp/fmatf4.c: Likewise.
3455 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3458 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3462 (index_Slow_SSE4_2): Likewise.
3463 (index_Prefer_PMINUB_for_stringop): Likewise.
3464 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3465 bit_Slow_SSE4_2 is set.
3466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3467 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3469 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3471 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3472 rtld_global._dl_hwcap2.
3473 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3475 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3476 POWER8 feature descriptions defined in _dl_hwcap2.
3477 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3478 string handling for POWER8 feature bits.
3479 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3480 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3481 _dl_powerpc_cap_flags.
3482 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3483 * sysdeps/powerpc/rtld-global-offsets.sym
3484 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3485 _dl_hwcap2 in the rtld_global_ro structure.
3487 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3489 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3490 hardware capabilities in support of AT_HWCAP2.
3491 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3492 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3494 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3495 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3496 explicitly the unknown a_type display mechanism is used.
3497 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3498 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3500 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3501 to macro prototype for AT_HWCAP2 support.
3502 * sysdeps/i386/dl-procinfo.h: Likewise.
3503 * sysdeps/s390/dl-procinfo.h: Likewise.
3504 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3505 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3506 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3507 return -1 for unknown a_type display fallback.
3508 * sysdeps/sparc/dl-procinfo.h: Likewise.
3509 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3510 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3512 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3514 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3515 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3517 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3520 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3521 mprotect making __stack_prot writable.
3523 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3524 Joseph Myers <joseph@codesourcery.com>
3526 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3527 as being properly aligned.
3529 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3531 * dlfcn/modstatic5.c: New file.
3532 * dlfcn/tststatic5.c: New file.
3533 * dlfcn/Makefile (tests): Add tststatic5.
3534 (tests-static): Likewise.
3535 (modules-names): Add modstatic5.
3536 (tststatic5-ENV): New variable.
3537 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3540 * elf/dl-support.c (_dl_main_map): New variable.
3541 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3542 (_dl_nns, _dl_load_adds): Set to 1.
3543 (_dl_initial_searchlist): Refer to _dl_main_map.
3544 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3545 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3546 call to _dl_get_origin.
3547 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3549 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3550 * dlfcn/modstatic3.c: New file.
3551 * dlfcn/tststatic3.c: New file.
3552 * dlfcn/tststatic4.c: New file.
3553 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3554 (tests-static): Likewise.
3555 (modules-names): Add modstatic3.
3556 (tststatic3-ENV, tststatic4-ENV): New variables.
3557 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3558 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3560 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3562 * configure.in (CC): Require GCC version 4.4 or later.
3563 * configure: Regenerated.
3564 * manual/install.texi (Tools for Compilation): Update GCC version
3566 * INSTALL: Regenerated.
3568 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3571 * string/test-memcmp.c (check2): New.
3572 (main): Call check2.
3574 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3576 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3579 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3581 (dl_open_worker) [!SHARED]: ... here.
3583 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3585 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3587 2013-06-25 Richard Henderson <rth@redhat.com>
3589 * locale/programs/locarchive.c: Include <libc-internal.h>
3591 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3593 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3594 trailing whitespace removed.
3596 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3599 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3600 * locale/programs/locarchive.c: Include libc-mmap.h.
3601 (prepare_address_space): Take two new outputs (the mmap base and len).
3602 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3604 (create_archive): Declare new mmap base and len values for
3605 prepare_address_space, and store the result in ah.
3606 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3607 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3608 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3609 Declare new mmap base and len values for
3610 prepare_address_space, and store the result in new_ah.
3611 (open_archive): Declare new mmap base and len values for
3612 prepare_address_space, and store the result in ah.
3613 (close_archive): If ah->mmap_base is not NULL, use that and
3614 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3615 * sysdeps/generic/libc-mmap.h: New file.
3617 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3619 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3620 (ALIGN_UP): Likewise.
3621 (PTR_ALIGN_DOWN): Likewise.
3622 (PTR_ALIGN_UP): Likewise.
3624 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3626 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3627 entry mapped to PPC_PLATFORM_POWER8.
3628 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3630 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3631 (_dl_string_platform): Add case for exporting platform position for
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3634 search path to sysdeps/powerpc/powerpc32/power8 directory.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3636 search path to sysdeps/powerpc/powerpc64/power8 directory.
3637 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3639 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3642 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3644 * INSTALL: Regenerate.
3646 * nscd/connections.c (nscd_init): Fix comment.
3648 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3650 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3653 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3654 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3656 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3658 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3660 (DL_DST_REQ_STATIC): Remove macro.
3662 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3665 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3666 with a shift of 0 bits.
3668 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3670 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3673 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3676 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3678 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3681 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3682 accepts -fno-tree-loop-distribute-patterns.
3683 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3684 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3686 * string/memset.c (memset): Likewise.
3687 * string/test-memmove.c (simple_memmove): Disable loop transformation
3689 * string/test-memset.c (simple_memset): Likewise.
3690 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3691 * benchtests/bench-memset.c (simple_memset): Likewise.
3692 * configure: Regenerated.
3694 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3696 * math/test-misc.c (main): Ignore fesetround failure when failures
3697 of subsequent rounding tests would be ignored.
3700 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3701 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3702 * math/fegetenv.c (__fegetenv): Return 0.
3703 * math/fegetexcept.c (fegetexcept): Return 0.
3704 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3706 * math/feholdexcpt.c (feholdexcept): Return 0.
3707 * math/fesetenv.c (__fesetenv): Return 0.
3708 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3709 argument FE_TONEAREST.
3710 * math/feupdateenv.c (__feupdateenv): Return 0.
3711 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3713 2013-06-18 Roland McGrath <roland@hack.frob.com>
3715 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3716 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3717 ($(objpfx)rtld-%.os rules): Use them.
3719 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3721 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3724 2013-06-17 Roland McGrath <roland@hack.frob.com>
3726 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3727 length of target pattern, then descending length of dependency pattern.
3728 * configure.in (AWK): Require gawk 3.1.2 or newer.
3729 * manual/install.texi (Tools for Compilation): Say that we do.
3730 * configure: Regenerated.
3732 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3733 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3734 * scripts/sysd-rules.awk: ... this new script.
3735 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3736 than a glob-style pattern.
3738 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3740 * math/test-misc.c (main): Do not treat incorrectly rounded
3741 conversions as failure unless ROUNDING_TESTS passes.
3743 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3746 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3747 restore exception state around main square root computation, then
3748 check for inexactness explicitly.
3750 * math/libm-test.inc (fma_test_data): Add another test.
3752 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3754 * manual/threads.texi (Non-POSIX Extensions): New document
3755 node. Document pthread_getattr_default_np and
3756 pthread_setattr_default_np.
3758 * Versions.def (libpthread): Add GLIBC_2.18.
3759 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3768 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3779 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3782 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3784 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3785 H.J. Lu <hjl.tools@gmail.com>
3788 * sysdeps/x86_64/rtld-memset.c: Remove file.
3789 * sysdeps/x86_64/rtld-memset.S: New file.
3791 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3793 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3794 (test_in_one_mode): Take arguments for whether the rounding mode
3795 is supported for each floating-point type.
3796 (do_test): Pass new arguments to test_in_one_mode using
3799 2013-06-13 Roland McGrath <roland@hack.frob.com>
3801 * posix/tst-waitid.c (do_test): Distinguish different instances of
3802 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3803 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3804 before entering the kernel for waitpid.
3806 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3808 * NEWS: Fix note on clock function precision. Text by Roland
3811 2013-06-13 Roland McGrath <roland@hack.frob.com>
3813 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3814 it into place only when and if the sanity check passes.
3816 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3818 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3819 output for whether conversion result is exact. Take argument
3820 indicating whether type is IBM long double.
3821 (round_for_all): Change need_exact field to ibm_ld.
3822 * stdlib/tst-strtod-round.c (struct exactness): New type.
3823 (struct test): Change bool ld_ok field to struct exactness exact.
3824 (TEST): Update all definitions for change to field.
3825 (tests): Regenerate array contents.
3826 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3827 field value. Check for IBM long double here.
3828 (do_test): Update calls to test_in_one_mode.
3830 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3833 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3834 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3836 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3840 generated by the compiler on loop optimizations.
3841 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3842 general definitions.
3844 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3846 * math/bug-nextafter.c: Include <math-tests.h>.
3847 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3849 * math/bug-nexttoward.c: Include <math-tests.h>.
3850 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3852 * math/test-misc.c: Include <math-tests.h>.
3853 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3856 2013-06-12 Andreas Jaeger <aj@suse.de>
3858 * po/ia.po: Update Interlingua translation from translation
3861 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3863 * include/fenv.h: Include stdbool.h.
3864 (struct rm_ctx): New structure.
3865 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3867 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3868 (SET_RESTORE_ROUNDF): Likewise.
3869 (SET_RESTORE_ROUNDL): Likewise.
3870 (SET_RESTORE_ROUND_NOEX): Likewise.
3871 (SET_RESTORE_ROUND_NOEXF): Likewise.
3872 (SET_RESTORE_ROUND_NOEXL): Likewise.
3873 (SET_RESTORE_ROUND_53BIT): Likewise.
3874 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3875 (libc_feresetround_noexf_ctx): Likewise.
3876 (libc_feresetround_noexl_ctx): Likewise.
3877 (libc_feholdsetround_53bit_ctx): Likewise.
3878 (libc_feresetround_53bit_ctx): Likewise.
3879 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3880 (libc_feholdexcept_setround_sse_ctx): New function.
3881 (libc_fesetenv_sse_ctx): Likewise.
3882 (libc_feupdateenv_sse_ctx): Likewise.
3883 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3884 (libc_feholdexcept_setround_387_ctx): Likewise.
3885 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3886 (libc_feholdsetround_387_prec_ctx): Likewise.
3887 (libc_feholdsetround_387_ctx): Likewise.
3888 (libc_feholdsetround_387_53bit_ctx): Likewise.
3889 (libc_feholdsetround_sse_ctx): Likewise.
3890 (libc_feresetround_sse_ctx): Likewise.
3891 (libc_feresetround_387_ctx): Likewise.
3892 (libc_feupdateenv_387_ctx): Likewise.
3893 (libc_feholdexcept_setroundf_ctx): Define macro.
3894 (libc_fesetenvf_ctx): Likewise.
3895 (libc_feupdateenvf_ctx): Likewise.
3896 (libc_feholdsetroundf_ctx): Likewise.
3897 (libc_feresetroundf_ctx): Likewise.
3898 (libc_feholdexcept_setround_ctx): Likewise.
3899 (libc_fesetenv_ctx): Likewise.
3900 (libc_feupdateenv_ctx): Likewise.
3901 (libc_feholdsetround_ctx): Likewise.
3902 (libc_feresetround_ctx): Likewise.
3903 (libc_feholdexcept_setroundl_ctx): Likewise.
3904 (libc_feupdateenvl_ctx): Likewise.
3905 (libc_feholdsetroundl_ctx): Likewise.
3906 (libc_feresetroundl_ctx): Likewise.
3907 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3908 (libc_feresetround_53bit_ctx): Likewise.
3910 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3912 * locale/iso-639.def: Convert to UTF-8.
3914 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3916 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3917 (EXCEPTION_TESTS_double): Likewise.
3918 (EXCEPTION_TESTS_long_double): Likewise.
3919 (EXCEPTION_TESTS): Likewise.
3920 * math/libm-test.inc (test_exceptions): Only test exceptions if
3921 EXCEPTION_TESTS (FLOAT).
3923 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3925 * benchtests/Makefile (string-bench): Add strcpy_chk and
3927 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3928 * benchtests/bench-stpcpy_chk.c: New file.
3929 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3930 * benchtests/bench-strcpy_chk.c: New file.
3931 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3933 (do_test): Likewise.
3935 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3937 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3938 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3939 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3940 with tabs where appropriate.
3941 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3943 [PPC_PLATFORM_PPC440]: Likewise.
3944 [PPC_PLATFORM_PPC464]: Likewise.
3945 [PPC_PLATFORM_PPC476]: Likewise.
3946 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3947 ppc464, and ppc476 platform strings merging from ports/
3950 2013-06-11 Andreas Schwab <schwab@suse.de>
3953 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3954 (from_ucs4_idx): Regenerate.
3955 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3956 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3957 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3958 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3959 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3960 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3961 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3962 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3963 from FROM_LOOP and TO_LOOP specific macros.
3964 (BODY): Handle combining characters.
3965 * iconvdata/BIG5HKSCS.irreversible: Update.
3966 * iconvdata/BIG5HKSCS.precomposed: New file.
3967 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3969 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3971 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3973 * include/sys/time.h: Fix indentation and add copyright header.
3975 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3976 (do_test): Likewise.
3977 * string/test-memchr.c (do_one_test): Likewise.
3978 (do_test): Likewise.
3979 * string/test-memcmp.c (do_one_test): Likewise.
3980 (do_test): Likewise.
3981 * string/test-memcpy.c (do_one_test): Likewise.
3982 (do_test): Likewise.
3983 * string/test-memmem.c (do_one_test): Likewise.
3984 (do_test): Likewise.
3985 (do_random_tests): Likewise.
3986 * string/test-memmove.c (do_one_test): Likewise.
3987 (do_test): Likewise.
3988 * string/test-memset.c (do_one_test): Likewise.
3989 (do_test): Likewise.
3990 * string/test-rawmemchr.c (do_one_test): Likewise.
3991 (do_test): Likewise.
3992 * string/test-strcasecmp.c (do_one_test): Likewise.
3993 (do_test): Likewise.
3994 * string/test-strcasestr.c (do_one_test): Likewise.
3995 (do_test): Likewise.
3996 * string/test-strcat.c (do_one_test): Likewise.
3997 (do_test): Likewise.
3998 * string/test-strchr.c (do_one_test): Likewise.
3999 (do_test): Likewise.
4000 * string/test-strcmp.c (do_one_test): Likewise.
4001 (do_test): Likewise.
4002 * string/test-strcpy.c (do_one_test): Likewise.
4003 (do_test): Likewise.
4004 * string/test-string.h: Likewise.
4005 (test_init): Likewise.
4006 * string/test-strlen.c (do_one_test): Likewise.
4007 (do_test): Likewise.
4008 * string/test-strncasecmp.c (do_one_test): Likewise.
4009 (do_test): Likewise.
4010 * string/test-strncat.c (do_one_test): Likewise.
4011 (do_test): Likewise.
4012 * string/test-strncmp.c (do_one_test): Likewise.
4013 (do_test_limit): Likewise.
4014 (do_test): Likewise.
4015 * string/test-strncpy.c (do_one_test): Likewise.
4016 (do_test): Likewise.
4017 * string/test-strnlen.c (do_one_test): Likewise.
4018 (do_test): Likewise.
4019 * string/test-strpbrk.c (do_one_test): Likewise.
4020 (do_test): Likewise.
4021 * string/test-strrchr.c (do_one_test): Likewise.
4022 (do_test): Likewise.
4023 * string/test-strspn.c (do_one_test): Likewise.
4024 (do_test): Likewise.
4025 * string/test-strstr.c (do_one_test): Likewise.
4026 (do_test): Likewise.
4028 * benchtests/Makefile (string-bench): Add string benchmarks.
4029 * benchtests/bench-bcopy-ifunc.c: New file.
4030 * benchtests/bench-bcopy.c: New file.
4031 * benchtests/bench-bzero-ifunc.c: New file.
4032 * benchtests/bench-bzero.c: New file.
4033 * benchtests/bench-memccpy-ifunc.c: New file.
4034 * benchtests/bench-memccpy.c: New file.
4035 * benchtests/bench-memchr-ifunc.c: New file.
4036 * benchtests/bench-memchr.c: New file.
4037 * benchtests/bench-memcmp-ifunc.c: New file.
4038 * benchtests/bench-memcmp.c: New file.
4039 * benchtests/bench-memmem-ifunc.c: New file.
4040 * benchtests/bench-memmem.c: New file.
4041 * benchtests/bench-memmove-ifunc.c: New file.
4042 * benchtests/bench-memmove.c: New file.
4043 * benchtests/bench-mempcpy-ifunc.c: New file.
4044 * benchtests/bench-mempcpy.c: New file.
4045 * benchtests/bench-memset-ifunc.c: New file.
4046 * benchtests/bench-memset.c: New file.
4047 * benchtests/bench-rawmemchr-ifunc.c: New file.
4048 * benchtests/bench-rawmemchr.c: New file.
4049 * benchtests/bench-stpcpy-ifunc.c: New file.
4050 * benchtests/bench-stpcpy.c: New file.
4051 * benchtests/bench-stpncpy-ifunc.c: New file.
4052 * benchtests/bench-stpncpy.c: New file.
4053 * benchtests/bench-strcasecmp-ifunc.c: New file.
4054 * benchtests/bench-strcasecmp.c: New file.
4055 * benchtests/bench-strcasestr-ifunc.c: New file.
4056 * benchtests/bench-strcasestr.c: New file.
4057 * benchtests/bench-strcat-ifunc.c: New file.
4058 * benchtests/bench-strcat.c: New file.
4059 * benchtests/bench-strchr-ifunc.c: New file.
4060 * benchtests/bench-strchr.c: New file.
4061 * benchtests/bench-strchrnul-ifunc.c: New file.
4062 * benchtests/bench-strchrnul.c: New file.
4063 * benchtests/bench-strcmp-ifunc.c: New file.
4064 * benchtests/bench-strcmp.c: New file.
4065 * benchtests/bench-strcpy-ifunc.c: New file.
4066 * benchtests/bench-strcpy.c: New file.
4067 * benchtests/bench-strcspn-ifunc.c: New file.
4068 * benchtests/bench-strcspn.c: New file.
4069 * benchtests/bench-strlen-ifunc.c: New file.
4070 * benchtests/bench-strlen.c: New file.
4071 * benchtests/bench-strncasecmp-ifunc.c: New file.
4072 * benchtests/bench-strncasecmp.c: New file.
4073 * benchtests/bench-strncat-ifunc.c: New file.
4074 * benchtests/bench-strncat.c: New file.
4075 * benchtests/bench-strncmp-ifunc.c: New file.
4076 * benchtests/bench-strncmp.c: New file.
4077 * benchtests/bench-strncpy-ifunc.c: New file.
4078 * benchtests/bench-strncpy.c: New file.
4079 * benchtests/bench-strnlen-ifunc.c: New file.
4080 * benchtests/bench-strnlen.c: New file.
4081 * benchtests/bench-strpbrk-ifunc.c: New file.
4082 * benchtests/bench-strpbrk.c: New file.
4083 * benchtests/bench-strrchr-ifunc.c: New file.
4084 * benchtests/bench-strrchr.c: New file.
4085 * benchtests/bench-strspn-ifunc.c: New file.
4086 * benchtests/bench-strspn.c: New file.
4087 * benchtests/bench-strstr-ifunc.c: New file.
4088 * benchtests/bench-strstr.c: New file.
4090 * benchtests/Makefile: Disable parallel execution of targets.
4091 (string-bench): Add memcpy.
4092 (benchset): New variable to store a list of benchmark sets.
4093 (bench-func): Renamed from bench.
4094 (bench-set): New target.
4095 (bench): Depend on bench-func and bench-set.
4096 * benchtests/README: Add section on benchmark sets.
4097 * benchtests/bench-memcpy-ifunc.c: New file.
4098 * benchtests/bench-memcpy.c: New file.
4099 * benchtests/bench-string.h: New file.
4101 2013-06-11 Andreas Schwab <schwab@suse.de>
4104 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4105 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4106 values in the triple.
4107 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4108 terminator in the group key.
4110 2013-06-11 Andreas Jaeger <aj@suse.de>
4112 * po/zh_TW.po: Update Chinese (traditional) translation from
4113 translation project.
4115 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4117 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4118 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4119 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4120 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4121 (clock_getcpuclockid): Likewise.
4122 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4123 Add weak_alias and libc_hidden_def.
4124 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4125 * rt/clock_gettime.c (clock_gettime): Rename to
4126 __clock_gettime. Add weak_alias and libc_hidden_def.
4127 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4128 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4129 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4130 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4131 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4133 * rt/clock_settime.c (clock_settime): Rename to
4134 __clock_settime. Add weak_alias and libc_hidden_def.
4135 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4137 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4139 * mach/err_boot.sub: Remove trailing whitespace.
4140 * mach/err_ipc.sub: Likewise.
4141 * mach/err_mach.sub: Likewise.
4143 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4144 (ROUNDING_TESTS_double): Likewise.
4145 (ROUNDING_TESTS_long_double): Likewise.
4146 (ROUNDING_TESTS): Likewise.
4147 * math/libm-test.inc: Include <math-tests.h>.
4148 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4149 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4150 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4151 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4153 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4155 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4158 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4160 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4161 otherwise empty TRANS lines.
4162 * sysdeps/gnu/errlist.c: Regenerated.
4164 * catgets/gencat.c (error_print): Use (void) in function
4166 * crypt/crypt_util.c (__init_des): Likewise.
4167 * crypt/speeds.c (Stop): Likewise.
4169 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4170 * inet/ruserpass.c (token): Likewise.
4171 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4172 * intl/localealias.c (extend_alias_table): Likewise.
4173 * intl/plural-exp.c (init_germanic_plural): Likewise.
4174 * libio/fcloseall.c (__fcloseall): Likewise.
4175 * libio/genops.c (_IO_flush_all): Likewise.
4176 (_IO_flush_all_linebuffered): Likewise.
4177 (_IO_cleanup): Likewise.
4178 (_IO_iter_begin): Likewise.
4179 (_IO_iter_end): Likewise.
4180 (_IO_list_lock): Likewise.
4181 (_IO_list_unlock): Likewise.
4182 (_IO_list_resetlock): Likewise.
4183 * libio/getchar.c (getchar): Likewise.
4184 * libio/getchar_u.c (getchar_unlocked): Likewise.
4185 * libio/getwchar.c (getwchar): Likewise.
4186 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4187 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4188 * login/getpt.c (__getpt): Likewise.
4189 * login/tst-utmp.c (main): Likewise.
4190 * malloc/hooks.c (__malloc_check_init): Likewise.
4191 * malloc/malloc.c (__malloc_stats): Likewise.
4192 * malloc/mtrace.c (tr_break): Likewise.
4194 (muntrace): Likewise.
4195 * misc/fstab.c (endfsent): Likewise.
4196 * misc/getclktck.c (__getclktck): Likewise.
4197 * misc/getdtsz.c (__getdtablesize): Likewise.
4198 * misc/gethostid.c (gethostid): Likewise.
4199 * misc/getpagesize.c (__getpagesize): Likewise.
4200 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4201 (__get_nprocs): Likewise.
4202 (__get_phys_pages): Likewise.
4203 (__get_avphys_pages): Likewise.
4204 * misc/getttyent.c (getttyent): Likewise.
4205 (setttyent): Likewise.
4206 (endttyent): Likewise.
4207 * misc/getusershell.c (getusershell): Likewise.
4208 (endusershell): Likewise.
4209 (setusershell): Likewise.
4210 (initshells): Likewise.
4211 * misc/hsearch.c (__hdestroy): Likewise.
4212 * misc/sync.c (sync): Likewise.
4213 * misc/syslog.c (closelog_internal): Likewise.
4214 (closelog): Likewise.
4215 * misc/ttyslot.c (ttyslot): Likewise.
4216 * misc/vhangup.c (vhangup): Likewise.
4217 * posix/fork.c (__fork): Likewise.
4218 * posix/getegid.c (__getegid): Likewise.
4219 * posix/geteuid.c (__geteuid): Likewise.
4220 * posix/getgid.c (__getgid): Likewise.
4221 * posix/getpid.c (__getpid): Likewise.
4222 * posix/getppid.c (__getppid): Likewise.
4223 * posix/getuid.c (__getuid): Likewise.
4224 * posix/pause.c (pause): Likewise.
4225 * posix/setpgrp.c (setpgrp): Likewise.
4226 * posix/setsid.c (__setsid): Likewise.
4227 * posix/test-vfork.c (noop): Likewise.
4228 * resolv/gethnamaddr.c (_endhtent): Likewise.
4229 (_gethtent): Likewise.
4230 (ht_endhostent): Likewise.
4231 (gethostent): Likewise.
4232 (dns_service): Likewise.
4233 * stdlib/drand48.c (drand48): Likewise.
4234 * stdlib/lrand48.c (lrand48): Likewise.
4235 * stdlib/mrand48.c (mrand48): Likewise.
4236 * stdlib/rand.c (rand): Likewise.
4237 * stdlib/random.c (__random): Likewise.
4238 * stdlib/setenv.c (clearenv): Likewise.
4239 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4240 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4241 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4242 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4243 (__get_nprocs): Likewise.
4244 (__get_phys_pages): Likewise.
4245 (__get_avphys_pages): Likewise.
4246 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4247 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4248 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4249 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4250 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4251 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4252 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4253 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4254 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4255 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4256 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4257 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4258 * sysdeps/posix/clock.c (clock): Likewise.
4259 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4260 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4261 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4262 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4263 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4264 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4265 (__get_nprocs_conf): Likewise.
4266 (__get_phys_pages): Likewise.
4267 (__get_avphys_pages): Likewise.
4268 * time/clock.c (clock): Likewise.
4269 * time/tzset.c (__tzname_max): Likewise.
4271 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4273 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4274 (__bswap_32): Do not use "register".
4275 * crypt/crypt.c (_ufc_doit_r): Likewise.
4276 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4277 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4278 * gmon/gmon.c (__monstartup): Likewise.
4279 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4280 * hurd/hurdmalloc.c (more_memory): Likewise.
4283 (realloc): Likewise.
4284 (malloc_fork_prepare): Likewise.
4285 (malloc_fork_parent): Likewise.
4286 (malloc_fork_child): Likewise.
4287 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4288 (_svcauth_des): Likewise.
4289 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4290 * inet/inet_net.c (inet_network): Likewise.
4291 * inet/inet_netof.c (inet_netof): Likewise.
4292 * inet/rcmd.c (__validuser2_sa): Likewise.
4293 * io/fts.c (fts_open): Likewise.
4294 (fts_load): Likewise.
4295 (fts_close): Likewise.
4296 (fts_read): Likewise.
4297 (fts_children): Likewise.
4298 (fts_build): Likewise.
4299 (fts_stat): Likewise.
4300 (fts_sort): Likewise.
4301 (fts_alloc): Likewise.
4302 (fts_lfree): Likewise.
4303 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4304 (_IO_file_xsgetn): Likewise.
4305 (_IO_file_xsgetn_mmap): Likewise.
4306 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4307 (_IO_cookie_write): Likewise.
4308 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4309 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4310 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4311 * malloc/obstack.c (_obstack_begin): Likewise.
4312 (_obstack_begin_1): Likewise.
4313 (_obstack_newchunk): Likewise.
4314 (_obstack_allocated_p): Likewise.
4315 (obstack_free): Likewise.
4316 (_obstack_memory_used): Likewise.
4317 * misc/getttyent.c (getttynam): Likewise.
4318 (getttyent): Likewise.
4321 * misc/getusershell.c (initshells): Likewise.
4322 * misc/syslog.c (__vsyslog_chk): Likewise.
4323 * misc/ttyslot.c (ttyslot): Likewise.
4324 * nis/nis_hash.c (__nis_hash): Likewise.
4325 * posix/fnmatch_loop.c (FCT): Likewise.
4326 * posix/getconf.c (print_all): Likewise.
4328 * posix/getopt.c (exchange): Likewise.
4329 * posix/glob.c (globfree): Likewise.
4330 (prefix_array): Likewise.
4331 (__glob_pattern_type): Likewise.
4332 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4333 (NS_GET32): Likewise.
4334 (NS_PUT16): Likewise.
4335 (NS_PUT32): Likewise.
4336 * resolv/gethnamaddr.c (getanswer): Likewise.
4337 (gethostbyname2): Likewise.
4338 (gethostbyaddr): Likewise.
4339 (_gethtent): Likewise.
4340 (_gethtbyname2): Likewise.
4341 (_gethtbyaddr): Likewise.
4342 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4343 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4344 * resolv/res_init.c (__res_vinit): Likewise.
4345 (net_mask): Likewise.
4346 * resolv/res_mkquery.c (outchar): Likewise.
4348 * stdio-common/printf_fp.c (outchar): Likewise.
4350 * stdio-common/printf_fphex.c (outchar): Likewise.
4352 * stdio-common/printf_size.c (outchar): Likewise.
4354 * stdio-common/test_rdwr.c (main): Likewise.
4355 * stdio-common/tfformat.c (matches): Likewise.
4356 * stdio-common/vfprintf.c (outchar): Likewise.
4357 (printf_unknown): Likewise.
4358 (buffered_vfprintf): Likewise.
4359 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4360 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4361 (ReadFile): Likewise.
4362 * stdlib/qsort.c (SWAP): Likewise.
4363 (_quicksort): Likewise.
4364 * stdlib/setenv.c (__add_to_environ): Likewise.
4365 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4366 * stdlib/strtol_l.c (__strtol_l): Likewise.
4367 * stdlib/tst-strtod.c (main): Likewise.
4368 * stdlib/tst-strtol.c (main): Likewise.
4369 * stdlib/tst-strtoll.c (main): Likewise.
4370 * string/bits/string2.h (__strcmp_cc): Likewise.
4371 (__strcmp_cg): Likewise.
4372 (__strcspn_c1): Likewise.
4373 (__strcspn_c2): Likewise.
4374 (__strcspn_c3): Likewise.
4375 (__strspn_c1): Likewise.
4376 (__strspn_c2): Likewise.
4377 (__strspn_c3): Likewise.
4378 (__strsep_1c): Likewise.
4379 (__strsep_2c): Likewise.
4380 (__strsep_3c): Likewise.
4381 * string/memccpy.c (__memccpy): Likewise.
4382 * string/stpcpy.c (__stpcpy): Likewise.
4383 * string/strcmp.c (strcmp): Likewise.
4384 * string/strrchr.c (strrchr): Likewise.
4385 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4387 * sysdeps/mach/hurd/getcwd.c
4388 (_hurd_canonicalize_directory_name_internal): Likewise.
4389 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4390 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4391 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4392 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4393 Likewise, in both definitions.
4394 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4396 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4397 64] (__bswap_64): Likewise.
4398 * time/test_time.c (main): Likewise.
4399 * time/tzfile.c (__tzfile_read): Likewise.
4400 (__tzfile_compute): Likewise.
4401 * time/tzset.c (__tzset_parse_tz): Likewise.
4402 (tzset_internal): Likewise.
4403 (compute_change): Likewise.
4404 * wcsmbs/wcscat.c (__wcscat): Likewise.
4405 * wcsmbs/wcschr.c (wcschr): Likewise.
4406 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4407 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4408 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4409 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4410 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4411 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4412 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4413 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4414 * wcsmbs/wmemset.c (wmemset): Likewise.
4416 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4418 * scripts/config.guess: Update to version 2013-05-16.
4419 * scripts/config.sub: Update to version 2013-04-24.
4420 * scripts/install-sh: Update to version 2011-11-20.07.
4421 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4422 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4424 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4426 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4427 * elf/sln.c: Likewise.
4428 * hurd/hurd/ioctl.h: Likewise.
4429 * hurd/hurdmalloc.c: Likewise.
4430 * hurd/xattr.c: Likewise.
4431 * include/shlib-compat.h: Likewise.
4432 * inet/ruserpass.c: Likewise.
4433 * libio/iofgets_u.c: Likewise.
4434 * libio/iofgetws_u.c: Likewise.
4435 * locale/programs/ld-identification.c: Likewise.
4436 * locale/programs/ld-time.c: Likewise.
4437 * mach/msg-destroy.c: Likewise.
4438 * nss/nss_files/files-netgrp.c: Likewise.
4439 * resolv/res_data.c: Likewise.
4440 * soft-fp/op-1.h: Likewise.
4441 * soft-fp/op-2.h: Likewise.
4442 * soft-fp/op-4.h: Likewise.
4443 * soft-fp/op-common.h: Likewise.
4444 * stdio-common/printf_fphex.c: Likewise.
4445 * stdlib/strtod_l.c: Likewise.
4446 * sunrpc/rpc/clnt.h: Likewise.
4447 * sysdeps/generic/framestate.c: Likewise.
4448 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4449 * sysdeps/i386/bsd-setjmp.S: Likewise.
4450 * sysdeps/i386/__longjmp.S: Likewise.
4451 * sysdeps/i386/setjmp.S: Likewise.
4452 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4453 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4454 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4470 * sysdeps/ieee754/support.c: Likewise.
4471 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4472 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4473 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4474 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4475 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4476 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4477 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4478 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4479 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4480 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4481 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4482 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4483 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4484 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4485 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4486 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4487 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4490 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4492 * posix/transbug.c: Remove executable mode.
4494 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4496 * crypt/speeds.c: Remove trailing whitespace.
4497 * dlfcn/default.c: Likewise.
4498 * elf/ifuncdep2.c: Likewise.
4499 * elf/ifuncmain1.c: Likewise.
4500 * elf/ifuncmain1vis.c: Likewise.
4501 * elf/testobj.h: Likewise.
4502 * elf/tst-stackguard1.c: Likewise.
4503 * gmon/sys/gmon.h: Likewise.
4504 * hurd/hurdmsg.c: Likewise.
4505 * hurd/new-fd.c: Likewise.
4506 * hurd/ports-get.c: Likewise.
4507 * iconvdata/ibm1008_420.c: Likewise.
4508 * inet/tst-getni1.c: Likewise.
4509 * inet/tst-getni2.c: Likewise.
4510 * libio/ioungetc.c: Likewise.
4511 * libio/wfiledoalloc.c: Likewise.
4512 * manual/libm-err-tab.pl: Likewise.
4513 * math/w_dremf.c: Likewise.
4514 * misc/ftruncate.c: Likewise.
4515 * posix/bug-glob2.c: Likewise.
4516 * posix/tst-pcre.c: Likewise.
4517 * posix/wait4.c: Likewise.
4518 * resolv/README: Likewise.
4519 * resolv/res_debug.h: Likewise.
4520 * resolv/tst-inet_ntop.c: Likewise.
4521 * setjmp/bug269-setjmp.c: Likewise.
4522 * soft-fp/extended.h: Likewise.
4523 * soft-fp/op-1.h: Likewise.
4524 * soft-fp/op-2.h: Likewise.
4525 * soft-fp/op-4.h: Likewise.
4526 * soft-fp/op-8.h: Likewise.
4527 * soft-fp/testit.c: Likewise.
4528 * stdio-common/bug16.c: Likewise.
4529 * stdlib/random.c: Likewise.
4530 * sunrpc/rpcsvc/rquota.x: Likewise.
4531 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4532 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4534 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4535 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4536 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4537 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4538 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4539 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4541 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4542 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4543 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4547 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4549 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4550 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4553 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4554 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4556 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4558 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4559 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4560 * sysdeps/ieee754/s_lib_version.c: Likewise.
4561 * sysdeps/mach/hurd/check_fds.c: Likewise.
4562 * sysdeps/mach/hurd/getsockname.c: Likewise.
4563 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4564 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4565 * sysdeps/powerpc/bits/link.h: Likewise.
4566 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4567 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4568 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4569 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4570 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4571 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4572 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4573 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4574 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4575 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4576 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4577 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4578 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4579 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4580 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4581 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4584 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4585 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4586 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4587 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4588 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4589 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4590 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4591 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4592 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4593 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4594 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4596 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4597 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4599 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4601 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4602 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4603 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4604 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4605 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4606 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4607 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4608 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4609 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4610 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4611 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4612 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4613 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4614 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4615 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4616 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4617 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4618 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4619 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4620 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4621 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4622 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4623 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4624 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4625 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4627 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4628 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4629 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4630 * sysdeps/powerpc/sysdep.h: Likewise.
4631 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4632 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4633 * sysdeps/sh/dl-trampoline.S: Likewise.
4634 * sysdeps/sh/memset.S: Likewise.
4635 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4636 * sysdeps/sh/strlen.S: Likewise.
4637 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4638 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4639 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4640 * sysdeps/sparc/sparc32/rem.S: Likewise.
4641 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4642 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4643 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4644 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4645 * sysdeps/sparc/sparc32/urem.S: Likewise.
4646 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4647 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4648 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4649 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4651 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4652 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4653 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4654 * sysdeps/unix/bsd/times.c: Likewise.
4655 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4656 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4662 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4664 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4665 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4666 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4668 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4670 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4672 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4673 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4674 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4675 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4676 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4677 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4678 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4679 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4680 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4682 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4683 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4684 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4685 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4686 * sysdeps/x86_64/strcspn.S: Likewise.
4688 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4690 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4691 generated file. Regenerate properly from gen-translit.pl.
4692 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4693 locale/C-translit.h.
4695 2013-06-05 Andreas Schwab <schwab@suse.de>
4698 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4699 week as 6 instead of -1.
4700 * time/tst-strptime.c (day_tests): Add test case.
4702 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4704 * sysdeps/generic/math_private.h
4705 (libc_feholdexcept_setround_53bit): Replace with
4706 libc_feholdsetround_53bit.
4707 (libc_feupdateenv_53bit): Replace with
4708 libc_feresetround_53bit.
4709 (SET_RESTORE_ROUND_53BIT): Adjust.
4711 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4713 * string/test-strchrnul.c: Add copyright header.
4715 * posix/tst-getaddrinfo4.c: Increase test timeout.
4717 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4720 * math/libm-test.inc (MAX_EXP): Remove
4722 (ulp): Use MIN_EXP - MANT_DIG.
4723 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4725 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4727 * po/be.po: Revert last change.
4728 * po/zh_CN.po: Likewise.
4729 * po/header.pot: Likewise.
4731 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4733 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4734 link-libc-deps to empty as target-specific variable.
4735 * Makerules (link-libc-args): New variable.
4736 (libc-for-link): Likewise.
4737 (link-libc-deps): Likewise.
4738 (lib%.so): Depend on $(link-libc-deps). Link with
4740 (build-module): Link with $(link-libc-args).
4741 (build-module-asneeded): Likewise.
4742 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4744 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4745 target-specific variable.
4746 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4747 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4748 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4750 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4752 ($(objpfx)libpcprofile.so): Likewise.
4753 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4755 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4756 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4757 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4759 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4760 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4761 * login/Makefile ($(objpfx)libutil.so): Likewise.
4762 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4763 * math/Makefile ($(objpfx)libm.so): Likewise.
4764 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4765 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4766 variable instead of depending directly on libc.
4767 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4768 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4770 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4772 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4773 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4774 ($(objpfx)libanl.so): Likewise.
4775 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4777 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4779 * sysdeps/i386/fpu/Makefile: Remove file.
4780 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4781 ($(objpfx)libm.so): Remove dependency on ld.so.
4783 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4786 * nis/yp_xdr.c (XDRMAXNAME): Define.
4787 (XDRMAXRECORD): Define.
4788 (xdr_domainname): Use XDRMAXNAME.
4789 (xdr_mapname): Likewise.
4790 (xdr_peername): Likewise.
4791 (xdr_keydat): Use XDRMAXRECORD.
4792 (xdr_valdat): Likewise.
4794 2013-05-30 Jeff Law <law@redhat.com>
4797 * manual/errno.texi (ESTALE): Update to account for more than
4798 just NFS file systems.
4799 * sysdeps/gnu/errlist.c: Regenerated.
4801 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4804 * elf/Makefile (tests): Add tst-null-argv.
4805 (modules-names): Add tst-null-argv-lib.
4806 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4807 (tst-null-argv-ENV): Set environment for tst-null-argv.
4808 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4809 (RTLD_PROGNAME): New macro.
4810 * elf/tst-null-argv.c: New test case.
4811 * elf/tst-null-argv-lib.c: Library for test case.
4812 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4813 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4814 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4815 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4816 * elf/dl-init.c (call_init): Likewise.
4817 (_dl_init): Likewise.
4818 * elf/dl-load.c (print_search_path): Likewise.
4819 (_dl_map_object): Likewise.
4820 * elf/dl-lookup.c (do_lookup_x): Likewise.
4821 (add_dependency): Likewise.
4822 (_dl_lookup_symbol_x): Likewise.
4823 (_dl_debug_bindings): Likewise.
4824 * elf/dl-open.c (_dl_show_scope): Likewise.
4825 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4826 * elf/dl-version.c (match_symbol): Likewise.
4827 (_dl_check_map_versions): Likewise.
4828 * elf/rtld.c (dl_main): Likewise.
4829 (print_unresolved): Use RTLD_PROGNAME.
4830 (print_missing_version): Likewise.
4831 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4832 (elf_machine_rela): Likewise.
4833 * sysdeps/powerpc/powerpc32/dl-machine.c
4834 (__process_machine_rela): Likewise.
4835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4837 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4841 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4848 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4850 * po/be.po: Add descriptive title.
4851 * po/zh_CN.po: Likewise.
4852 * po/header.pot: Likewise.
4854 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4856 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4858 (enlarge_archive): Likewise.
4860 2013-05-28 Ben North <ben@redfrontdoor.org>
4862 * manual/arith.texi (frexp): It is the magnitude of the return
4863 value which lies in [0.5, 1), not the return value itself.
4865 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4869 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4871 * stdio-common/bug26.c (main): Correct fscanf template.
4873 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4874 declare _dl_skip_args.
4876 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4879 * manual/platform.texi: Add missing @end deftypefun.
4881 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4884 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4885 bit of mantissa of 2^16382.
4886 * math/libm-test.inc (hypot_test_data): Add more tests.
4888 * math/libm-test.inc: Add drem and pow10 to list of tested
4890 (pow10_test): New function.
4891 (drem_test): Likewise.
4892 (drem_test_tonearest): Likewise.
4893 (drem_test_towardzero): Likewise.
4894 (drem_test_downward): Likewise.
4895 (drem_test_upward): Likewise.
4896 (main): Call the new functions.
4898 * math/libm-test.inc (finite_test_data): Remove.
4899 (finite_test): Run tests from isfinite_test_data.
4900 (gamma_test_data): Remove.
4901 (gamma_test): Run tests from lgamma_test_data.
4902 * sysdeps/i386/fpu/libm-test-ulps: Update.
4903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907 * manual/platform.texi: Add PowerPC PPR function set documentation.
4908 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4911 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4913 * math/libm-test.inc (MAX_EXP): Define.
4915 (ulp): New function.
4916 (check_float_internal): Use ULPDIFF.
4917 (cpow_test): Disable failing test.
4918 (check_ulp): Test ulp() implemetnation.
4919 (main): Call check_ulp before starting tests.
4921 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4923 * math/gen-libm-test.pl (generate_testfile): Do not handle
4924 START_DATA and END_DATA.
4925 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4927 (acos_tonearest_test_data): Likewise.
4928 (acos_towardzero_test_data): Likewise.
4929 (acos_downward_test_data): Likewise.
4930 (acos_upward_test_data): Likewise.
4931 (acosh_test_data): Likewise.
4932 (asin_test_data): Likewise.
4933 (asin_tonearest_test_data): Likewise.
4934 (asin_towardzero_test_data): Likewise.
4935 (asin_downward_test_data): Likewise.
4936 (asin_upward_test_data): Likewise.
4937 (asinh_test_data): Likewise.
4938 (atan_test_data): Likewise.
4939 (atanh_test_data): Likewise.
4940 (atan2_test_data): Likewise.
4941 (cabs_test_data): Likewise.
4942 (cacos_test_data): Likewise.
4943 (cacosh_test_data): Likewise.
4944 (carg_test_data): Likewise.
4945 (casin_test_data): Likewise.
4946 (casinh_test_data): Likewise.
4947 (catan_test_data): Likewise.
4948 (catanh_test_data): Likewise.
4949 (cbrt_test_data): Likewise.
4950 (ccos_test_data): Likewise.
4951 (ccosh_test_data): Likewise.
4952 (ceil_test_data): Likewise.
4953 (cexp_test_data): Likewise.
4954 (cimag_test_data): Likewise.
4955 (clog_test_data): Likewise.
4956 (clog10_test_data): Likewise.
4957 (conj_test_data): Likewise.
4958 (copysign_test_data): Likewise.
4959 (cos_test_data): Likewise.
4960 (cos_tonearest_test_data): Likewise.
4961 (cos_towardzero_test_data): Likewise.
4962 (cos_downward_test_data): Likewise.
4963 (cos_upward_test_data): Likewise.
4964 (cosh_test_data): Likewise.
4965 (cosh_tonearest_test_data): Likewise.
4966 (cosh_towardzero_test_data): Likewise.
4967 (cosh_downward_test_data): Likewise.
4968 (cosh_upward_test_data): Likewise.
4969 (cpow_test_data): Likewise.
4970 (cproj_test_data): Likewise.
4971 (creal_test_data): Likewise.
4972 (csin_test_data): Likewise.
4973 (csinh_test_data): Likewise.
4974 (csqrt_test_data): Likewise.
4975 (ctan_test_data): Likewise.
4976 (ctan_tonearest_test_data): Likewise.
4977 (ctan_towardzero_test_data): Likewise.
4978 (ctan_downward_test_data): Likewise.
4979 (ctan_upward_test_data): Likewise.
4980 (ctanh_test_data): Likewise.
4981 (ctanh_tonearest_test_data): Likewise.
4982 (ctanh_towardzero_test_data): Likewise.
4983 (ctanh_downward_test_data): Likewise.
4984 (ctanh_upward_test_data): Likewise.
4985 (erf_test_data): Likewise.
4986 (erfc_test_data): Likewise.
4987 (exp_test_data): Likewise.
4988 (exp_tonearest_test_data): Likewise.
4989 (exp_towardzero_test_data): Likewise.
4990 (exp_downward_test_data): Likewise.
4991 (exp_upward_test_data): Likewise.
4992 (exp10_test_data): Likewise.
4993 (exp2_test_data): Likewise.
4994 (expm1_test_data): Likewise.
4995 (fabs_test_data): Likewise.
4996 (fdim_test_data): Likewise.
4997 (finite_test_data): Likewise.
4998 (floor_test_data): Likewise.
4999 (fma_test_data): Likewise.
5000 (fma_towardzero_test_data): Likewise.
5001 (fma_downward_test_data): Likewise.
5002 (fma_upward_test_data): Likewise.
5003 (fmax_test_data): Likewise.
5004 (fmin_test_data): Likewise.
5005 (fmod_test_data): Likewise.
5006 (fpclassify_test_data): Likewise.
5007 (frexp_test_data): Likewise.
5008 (gamma_test_data): Likewise.
5009 (hypot_test_data): Likewise.
5010 (ilogb_test_data): Likewise.
5011 (isfinite_test_data): Likewise.
5012 (isgreater_test_data): Likewise.
5013 (isgreaterequal_test_data): Likewise.
5014 (isinf_test_data): Likewise.
5015 (isless_test_data): Likewise.
5016 (islessequal_test_data): Likewise.
5017 (islessgreater_test_data): Likewise.
5018 (isnan_test_data): Likewise.
5019 (isnormal_test_data): Likewise.
5020 (issignaling_test_data): Likewise.
5021 (isunordered_test_data): Likewise.
5022 (j0_test_data): Likewise.
5023 (j1_test_data): Likewise.
5024 (jn_test_data): Likewise.
5025 (ldexp_test_data): Likewise.
5026 (lgamma_test_data): Likewise.
5027 (lrint_test_data): Likewise.
5028 (lrint_tonearest_test_data): Likewise.
5029 (lrint_towardzero_test_data): Likewise.
5030 (lrint_downward_test_data): Likewise.
5031 (lrint_upward_test_data): Likewise.
5032 (llrint_test_data): Likewise.
5033 (llrint_tonearest_test_data): Likewise.
5034 (llrint_towardzero_test_data): Likewise.
5035 (llrint_downward_test_data): Likewise.
5036 (llrint_upward_test_data): Likewise.
5037 (log_test_data): Likewise.
5038 (log10_test_data): Likewise.
5039 (log1p_test_data): Likewise.
5040 (log2_test_data): Likewise.
5041 (logb_test_data): Likewise.
5042 (logb_downward_test_data): Likewise.
5043 (lround_test_data): Likewise.
5044 (llround_test_data): Likewise.
5045 (modf_test_data): Likewise.
5046 (nearbyint_test_data): Likewise.
5047 (nextafter_test_data): Likewise.
5048 (nexttoward_test_data): Likewise.
5049 (pow_test_data): Likewise.
5050 (pow_tonearest_test_data): Likewise.
5051 (pow_towardzero_test_data): Likewise.
5052 (pow_downward_test_data): Likewise.
5053 (pow_upward_test_data): Likewise.
5054 (remainder_test_data): Likewise.
5055 (remainder_tonearest_test_data): Likewise.
5056 (remainder_towardzero_test_data): Likewise.
5057 (remainder_downward_test_data): Likewise.
5058 (remainder_upward_test_data): Likewise.
5059 (remquo_test_data): Likewise.
5060 (rint_test_data): Likewise.
5061 (rint_tonearest_test_data): Likewise.
5062 (rint_towardzero_test_data): Likewise.
5063 (rint_downward_test_data): Likewise.
5064 (rint_upward_test_data): Likewise.
5065 (round_test_data): Likewise.
5066 (scalb_test_data): Likewise.
5067 (scalbn_test_data): Likewise.
5068 (scalbln_test_data): Likewise.
5069 (signbit_test_data): Likewise.
5070 (sin_test_data): Likewise.
5071 (sin_tonearest_test_data): Likewise.
5072 (sin_towardzero_test_data): Likewise.
5073 (sin_downward_test_data): Likewise.
5074 (sin_upward_test_data): Likewise.
5075 (sincos_test_data): Likewise.
5076 (sinh_test_data): Likewise.
5077 (sinh_tonearest_test_data): Likewise.
5078 (sinh_towardzero_test_data): Likewise.
5079 (sinh_downward_test_data): Likewise.
5080 (sinh_upward_test_data): Likewise.
5081 (sqrt_test_data): Likewise.
5082 (tan_test_data): Likewise.
5083 (tan_tonearest_test_data): Likewise.
5084 (tan_towardzero_test_data): Likewise.
5085 (tan_downward_test_data): Likewise.
5086 (tan_upward_test_data): Likewise.
5087 (tanh_test_data): Likewise.
5088 (tgamma_test_data): Likewise.
5089 (trunc_test_data): Likewise.
5090 (y0_test_data): Likewise.
5091 (y1_test_data): Likewise.
5092 (yn_test_data): Likewise.
5093 (significand_test_data): Likewise.
5095 * math/gen-libm-test.pl (@functions): Remove variable.
5096 (generate_testfile): Don't handle START and END lines.
5097 * math/libm-test.inc (START): New macro.
5099 (END_COMPLEX): Likewise.
5100 (acos_test): Use END macro without arguments.
5101 (acos_test_tonearest): Likewise.
5102 (acos_test_towardzero): Likewise.
5103 (acos_test_downward): Likewise.
5104 (acos_test_upward): Likewise.
5105 (acosh_test): Likewise.
5106 (asin_test): Likewise.
5107 (asin_test_tonearest): Likewise.
5108 (asin_test_towardzero): Likewise.
5109 (asin_test_downward): Likewise.
5110 (asin_test_upward): Likewise.
5111 (asinh_test): Likewise.
5112 (atan_test): Likewise.
5113 (atanh_test): Likewise.
5114 (atan2_test): Likewise.
5115 (cabs_test): Likewise.
5116 (cacos_test): Use END_COMPLEX macro without arguments.
5117 (cacosh_test): Likewise.
5118 (carg_test): Use END macro without arguments.
5119 (casin_test): Use END_COMPLEX macro without arguments.
5120 (casinh_test): Likewise.
5121 (catan_test): Likewise.
5122 (catanh_test): Likewise.
5123 (cbrt_test): Use END macro without arguments.
5124 (ccos_test): Use END_COMPLEX macro without arguments.
5125 (ccosh_test): Likewise.
5126 (ceil_test): Use END macro without arguments.
5127 (cexp_test): Use END_COMPLEX macro without arguments.
5128 (cimag_test): Use END macro without arguments.
5129 (clog_test): Use END_COMPLEX macro without arguments.
5130 (clog10_test): Likewise.
5131 (conj_test): Likewise.
5132 (copysign_test): Use END macro without arguments.
5133 (cos_test): Likewise.
5134 (cos_test_tonearest): Likewise.
5135 (cos_test_towardzero): Likewise.
5136 (cos_test_downward): Likewise.
5137 (cos_test_upward): Likewise.
5138 (cosh_test): Likewise.
5139 (cosh_test_tonearest): Likewise.
5140 (cosh_test_towardzero): Likewise.
5141 (cosh_test_downward): Likewise.
5142 (cosh_test_upward): Likewise.
5143 (cpow_test): Use END_COMPLEX macro without arguments.
5144 (cproj_test): Likewise.
5145 (creal_test): Use END macro without arguments.
5146 (csin_test): Use END_COMPLEX macro without arguments.
5147 (csinh_test): Likewise.
5148 (csqrt_test): Likewise.
5149 (ctan_test): Likewise.
5150 (ctan_test_tonearest): Likewise.
5151 (ctan_test_towardzero): Likewise.
5152 (ctan_test_downward): Likewise.
5153 (ctan_test_upward): Likewise.
5154 (ctanh_test): Likewise.
5155 (ctanh_test_tonearest): Likewise.
5156 (ctanh_test_towardzero): Likewise.
5157 (ctanh_test_downward): Likewise.
5158 (ctanh_test_upward): Likewise.
5159 (erf_test): Use END macro without arguments.
5160 (erfc_test): Likewise.
5161 (exp_test): Likewise.
5162 (exp_test_tonearest): Likewise.
5163 (exp_test_towardzero): Likewise.
5164 (exp_test_downward): Likewise.
5165 (exp_test_upward): Likewise.
5166 (exp10_test): Likewise.
5167 (exp2_test): Likewise.
5168 (expm1_test): Likewise.
5169 (fabs_test): Likewise.
5170 (fdim_test): Likewise.
5171 (finite_test): Likewise.
5172 (floor_test): Likewise.
5173 (fma_test): Likewise.
5174 (fma_test_towardzero): Likewise.
5175 (fma_test_downward): Likewise.
5176 (fma_test_upward): Likewise.
5177 (fmax_test): Likewise.
5178 (fmin_test): Likewise.
5179 (fmod_test): Likewise.
5180 (fpclassify_test): Likewise.
5181 (frexp_test): Likewise.
5182 (gamma_test): Likewise.
5183 (hypot_test): Likewise.
5184 (ilogb_test): Likewise.
5185 (isfinite_test): Likewise.
5186 (isgreater_test): Likewise.
5187 (isgreaterequal_test): Likewise.
5188 (isinf_test): Likewise.
5189 (isless_test): Likewise.
5190 (islessequal_test): Likewise.
5191 (islessgreater_test): Likewise.
5192 (isnan_test): Likewise.
5193 (isnormal_test): Likewise.
5194 (issignaling_test): Likewise.
5195 (isunordered_test): Likewise.
5196 (j0_test): Likewise.
5197 (j1_test): Likewise.
5198 (jn_test): Likewise.
5199 (ldexp_test): Likewise.
5200 (lgamma_test): Likewise.
5201 (lrint_test): Likewise.
5202 (lrint_test_tonearest): Likewise.
5203 (lrint_test_towardzero): Likewise.
5204 (lrint_test_downward): Likewise.
5205 (lrint_test_upward): Likewise.
5206 (llrint_test): Likewise.
5207 (llrint_test_tonearest): Likewise.
5208 (llrint_test_towardzero): Likewise.
5209 (llrint_test_downward): Likewise.
5210 (llrint_test_upward): Likewise.
5211 (log_test): Likewise.
5212 (log10_test): Likewise.
5213 (log1p_test): Likewise.
5214 (log2_test): Likewise.
5215 (logb_test): Likewise.
5216 (logb_test_downward): Likewise.
5217 (lround_test): Likewise.
5218 (llround_test): Likewise.
5219 (modf_test): Likewise.
5220 (nearbyint_test): Likewise.
5221 (nextafter_test): Likewise.
5222 (nexttoward_test): Likewise.
5223 (pow_test): Likewise.
5224 (pow_test_tonearest): Likewise.
5225 (pow_test_towardzero): Likewise.
5226 (pow_test_downward): Likewise.
5227 (pow_test_upward): Likewise.
5228 (remainder_test): Likewise.
5229 (remainder_test_tonearest): Likewise.
5230 (remainder_test_towardzero): Likewise.
5231 (remainder_test_downward): Likewise.
5232 (remainder_test_upward): Likewise.
5233 (remquo_test): Likewise.
5234 (rint_test): Likewise.
5235 (rint_test_tonearest): Likewise.
5236 (rint_test_towardzero): Likewise.
5237 (rint_test_downward): Likewise.
5238 (rint_test_upward): Likewise.
5239 (round_test): Likewise.
5240 (scalb_test): Likewise.
5241 (scalbn_test): Likewise.
5242 (scalbln_test): Likewise.
5243 (signbit_test): Likewise.
5244 (sin_test): Likewise.
5245 (sin_test_tonearest): Likewise.
5246 (sin_test_towardzero): Likewise.
5247 (sin_test_downward): Likewise.
5248 (sin_test_upward): Likewise.
5249 (sincos_test): Likewise.
5250 (sinh_test): Likewise.
5251 (sinh_test_tonearest): Likewise.
5252 (sinh_test_towardzero): Likewise.
5253 (sinh_test_downward): Likewise.
5254 (sinh_test_upward): Likewise.
5255 (sqrt_test): Likewise.
5256 (tan_test): Likewise.
5257 (tan_test_tonearest): Likewise.
5258 (tan_test_towardzero): Likewise.
5259 (tan_test_downward): Likewise.
5260 (tan_test_upward): Likewise.
5261 (tanh_test): Likewise.
5262 (tgamma_test): Likewise.
5263 (trunc_test): Likewise.
5264 (y0_test): Likewise.
5265 (y1_test): Likewise.
5266 (yn_test): Likewise.
5267 (significand_test): Likewise.
5269 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5272 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5274 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5277 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5278 __ppc_mdoio and __ppc_mdoom.
5279 * manual/platform.texi: Document new functions __ppc_yield,
5280 __ppc_mdoio and __ppc_mdoom.
5282 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5284 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5285 (main): Mention "tls" pseudo-hwcap is legacy.
5286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5288 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5290 * math/gen-libm-test.pl (parse_args): Output only string of
5291 arguments as text for test name, not full call or descriptions of
5292 tests for extra outputs.
5293 (generate_testfile): Do not pass function name to parse_args.
5294 Generate this_func variable from START.
5295 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5297 (struct test_ff_f_data): Likewise.
5298 (test_ff_f_data_nexttoward): Likewise.
5299 (struct test_fi_f_data): Likewise.
5300 (struct test_fl_f_data): Likewise.
5301 (struct test_if_f_data): Likewise.
5302 (struct test_fff_f_data): Likewise.
5303 (struct test_c_f_data): Likewise.
5304 (struct test_f_f1_data): Likewise. Remove field extra_name.
5305 (struct test_fF_f1_data): Likewise.
5306 (struct test_ffI_f1_data): Likewise.
5307 (struct test_c_c_data): Rename test_name field to arg_str.
5308 (struct test_cc_c_data): Likewise.
5309 (struct test_f_i_data): Likewise.
5310 (struct test_ff_i_data): Likewise.
5311 (struct test_f_l_data): Likewise.
5312 (struct test_f_L_data): Likewise.
5313 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5315 (COMMON_TEST_SETUP): New macro.
5316 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5317 (COMMON_TEST_CLEANUP): Likewise.
5318 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5319 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5321 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5322 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5324 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5325 (RUN_TEST_fff_f): Take argument string. Call new setup and
5327 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5328 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5330 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5331 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5333 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5334 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5336 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5337 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5339 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5340 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5342 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5343 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5345 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5346 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5348 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5349 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5351 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5352 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5354 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5355 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5357 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5358 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5360 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5361 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5363 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5364 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5366 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5367 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5369 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5370 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5372 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5374 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5376 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5377 to _sifields.sigfault.
5378 (si_addr_lsb): Define new macro.
5379 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5380 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5383 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5386 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5388 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5390 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5393 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5395 * math/gen-libm-test.pl (parse_args): Do not include expected
5396 result in test name.
5397 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5399 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5400 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5401 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5404 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5406 * benchtests/Makefile: Sort function entries.
5408 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5409 tanh, asinh, acosh, atanh.
5410 * benchtests/acos-inputs: New file.
5411 * benchtests/acosh-inputs: New file.
5412 * benchtests/asin-inputs: New file.
5413 * benchtests/asinh-inputs: New file.
5414 * benchtests/atanh-inputs: New file.
5415 * benchtests/cosh-inputs: New file.
5416 * benchtests/log-inputs: New file.
5417 * benchtests/sinh-inputs: New file.
5418 * benchtests/tanh-inputs: New file.
5420 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5423 * posix/tst-getaddrinfo4.c: New test.
5424 * posix/Makefile (tests): Add it.
5426 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5429 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5430 when no services were used.
5431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5432 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5434 2013-05-21 Andreas Schwab <schwab@suse.de>
5437 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5438 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5440 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5441 redundant variable declarations and reallocation of buffer when
5442 parsing as IPv6 address. Always set NSS status when called from
5443 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5444 buffer too small. Correct computation of needed size.
5445 * nss/Makefile (tests): Add test-digits-dots.
5446 * nss/test-digits-dots.c: New test.
5448 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5450 * benchtests/Makefile: Remove instructions for adding
5452 * benchtests/README: New file to explain how to execute and
5453 enhance the benchmark tests.
5455 2013-05-21 Andreas Schwab <schwab@suse.de>
5458 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5459 * setjmp/tst-sigsetjmp.c: New test.
5461 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5463 * sysdeps/x86_64/memset.S (memset): New implementation.
5464 (__bzero): Likewise.
5465 (__memset_tail): New function.
5467 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5469 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5470 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5471 __memcpy_sse2_unaligned ifunc selection.
5472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5473 Add memcpy-sse2-unaligned.S.
5474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5475 Add: __memcpy_sse2_unaligned.
5477 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5480 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5481 math_force_eval before restoring floating-point envrionment.
5482 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5483 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5485 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5487 (__nearbyintl): Use math_force_eval before restoring
5488 floating-point environment.
5489 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5491 * math/gen-libm-test.pl (special_functions): Remove.
5492 (parse_args): Don't handle TEST_extra. Handle functions with no
5494 * math/libm-test.inc (struct test_sincos_data): Replace with
5495 struct test_fFF_11_data.
5496 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5497 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5498 (sincos_test_data): Change element type to struct
5499 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5500 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5501 RUN_TEST_LOOP_sincos.
5502 * math/README.libm-test: Don't mention special handling of
5503 individual functions.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5506 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5507 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5508 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511 * math/gen-libm-test.pl (get_variable): Remove function.
5512 (parse_args): Don't show pointer parameters to call in test
5513 names. Use "extra output N" in test names for extra outputs
5514 rather than naming variables.
5516 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5519 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5520 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5521 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5523 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5525 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5528 * math/gen-libm-test.pl (@tests): Remove variable.
5530 (new_test): Remove function.
5531 (show_exceptions): New function.
5532 (special_functions): Use show_exceptions instead of new_test.
5533 (parse_args): Likewise.
5534 (generate_testfile): Pass only function name in generated call to
5535 print_max_error or print_complex_max_error.
5536 (get_ulps): Do not handle complex tests specially.
5537 (output_test): Rename to ...
5538 (get_all_ulps_for_test): ... this. Return a string rather than
5539 printing to a file. Require ulps to be present.
5540 (output_ulps): Generate arrays rather than #defines.
5541 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5542 (struct ulp_data): New type.
5543 (BUILD_COMPLEX_ULP): Remove macro.
5544 (compare_ulp_data): New function.
5545 (find_ulps): Likewise.
5546 (find_test_ulps): Likewise.
5547 (find_function_ulps): Likewise.
5548 (find_complex_function_ulps): Likewise.
5549 (print_max_error): Determine allowed ulps using
5551 (print_complex_max_error): Determine allowed ulps using
5552 find_complex_function_ulps.
5553 (check_float_internal): Determine max ulps using find_test_ulps.
5554 (check_float): Do not take max_ulp parameter. Update call to
5555 check_float_internal.
5556 (check_complex): Likewise.
5557 (check_int): Do not take max_ulp parameter.
5558 (check_long): Likewise.
5559 (check_bool): Likewise.
5560 (check_longlong): Likewise.
5561 (struct test_f_f_data): Remove max_ulp field.
5562 (struct test_ff_f_data): Likewise.
5563 (struct test_ff_f_data_nexttoward): Likewise.
5564 (struct test_fi_f_data): Likewise.
5565 (struct test_fl_f_data): Likewise.
5566 (struct test_if_f_data): Likewise.
5567 (struct test_fff_f_data): Likewise.
5568 (struct test_c_f_data): Likewise.
5569 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5570 (struct test_fF_f1_data): Likewise.
5571 (struct test_ffI_f1_data): Likewise.
5572 (struct test_c_c_data): Remove max_ulp field.
5573 (struct test_cc_c_data): Likewise.
5574 (struct test_f_i_data): Likewise.
5575 (struct test_ff_i_data): Likewise.
5576 (struct test_f_l_data): Likewise.
5577 (struct test_f_L_data): Likewise.
5578 (struct test_sincos_data): Likewise.
5579 (RUN_TEST_f_f): Do not handle ulps.
5580 (RUN_TEST_LOOP_f_f): Likewise.
5581 (RUN_TEST_2_f): Likewise.
5582 (RUN_TEST_LOOP_2_f): Likewise.
5583 (RUN_TEST_fff_f): Likewise.
5584 (RUN_TEST_LOOP_fff_f): Likewise.
5585 (RUN_TEST_c_f): Likewise.
5586 (RUN_TEST_LOOP_c_f): Likewise.
5587 (RUN_TEST_f_f1): Likewise.
5588 (RUN_TEST_LOOP_f_f1): Likewise.
5589 (RUN_TEST_fF_f1): Likewise.
5590 (RUN_TEST_LOOP_fF_f1): Likewise.
5591 (RUN_TEST_fI_f1): Likewise.
5592 (RUN_TEST_LOOP_fI_f1): Likewise.
5593 (RUN_TEST_ffI_f1): Likewise.
5594 (RUN_TEST_LOOP_ffI_f1): Likewise.
5595 (RUN_TEST_c_c): Likewise.
5596 (RUN_TEST_LOOP_c_c): Likewise.
5597 (RUN_TEST_cc_c): Likewise.
5598 (RUN_TEST_LOOP_cc_c): Likewise.
5599 (RUN_TEST_f_i): Likewise.
5600 (RUN_TEST_LOOP_f_i): Likewise.
5601 (RUN_TEST_f_i_tg): Likewise.
5602 (RUN_TEST_LOOP_f_i_tg): Likewise.
5603 (RUN_TEST_ff_i_tg): Likewise.
5604 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5605 (RUN_TEST_f_b): Likewise.
5606 (RUN_TEST_LOOP_f_b): Likewise.
5607 (RUN_TEST_f_b_tg): Likewise.
5608 (RUN_TEST_LOOP_f_b_tg): Likewise.
5609 (RUN_TEST_f_l): Likewise.
5610 (RUN_TEST_LOOP_f_l): Likewise.
5611 (RUN_TEST_f_L): Likewise.
5612 (RUN_TEST_LOOP_f_L): Likewise.
5613 (RUN_TEST_sincos): Likewise.
5614 (RUN_TEST_LOOP_sincos): Likewise.
5616 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5620 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5621 main case of finite arguments, set rounding mode to FE_TONEAREST
5622 and discard exceptions.
5623 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5625 (remainder_tonearest_test_data): New variable.
5626 (remainder_test_tonearest): New function.
5627 (remainder_towardzero_test_data): New variable.
5628 (remainder_test_towardzero): New function.
5629 (remainder_downward_test_data): New variable.
5630 (remainder_test_downward): New function.
5631 (remainder_upward_test_data): New variable.
5632 (remainder_test_upward): New function.
5633 (main): Call the new test functions.
5635 * math/libm-test.inc (struct test_f_f1_data): Remove field
5637 (struct test_fF_f1_data): Likewise.
5638 (struct test_ffI_f1_data): Likewise.
5639 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5640 based on value of EXTRA_EXPECTED.
5641 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5642 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5643 EXTRA_VAR based on value of EXTRA_EXPECTED.
5644 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5645 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5646 EXTRA_VAR based on value of EXTRA_EXPECTED.
5647 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5648 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5649 EXTRA_VAR based on value of EXTRA_EXPECTED.
5650 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5651 * math/gen-libm-test.pl (parse_args): Don't output initializers
5652 for extra output values.
5654 * math/libm-test.inc (check_int): Expect result to be exactly
5655 equal to expected value and do not handle ulps.
5656 (check_long): Likewise.
5657 (check_longlong): Likewise.
5659 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5661 (cimag_test_data): Likewise.
5662 (conj_test_data): Likewise.
5663 (copysign_test_data): Likewise.
5664 (cproj_test_data): Likewise.
5665 (creal_test_data): Likewise.
5666 (fabs_test_data): Likewise.
5667 (fdim_test_data): Likewise.
5668 (finite_test_data): Likewise.
5669 (floor_test_data): Likewise.
5670 (fmax_test_data): Likewise.
5671 (fmin_test_data): Likewise.
5672 (fmod_test_data): Likewise.
5673 (fpclassify_test_data): Likewise.
5674 (frexp_test_data): Likewise.
5675 (ilogb_test_data): Likewise.
5676 (isfinite_test_data): Likewise.
5677 (isgreater_test_data): Likewise.
5678 (isgreaterequal_test_data): Likewise.
5679 (isinf_test_data): Likewise.
5680 (isless_test_data): Likewise.
5681 (islessequal_test_data): Likewise.
5682 (islessgreater_test_data): Likewise.
5683 (isnan_test_data): Likewise.
5684 (isnormal_test_data): Likewise.
5685 (issignaling_test_data): Likewise.
5686 (isunordered_test_data): Likewise.
5687 (ldexp_test_data): Likewise.
5688 (lrint_test_data): Likewise.
5689 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5690 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5691 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5692 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5693 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5694 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5696 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5697 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5698 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5699 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5701 (lrint_downward_test_data): Test for "inexact" exceptions.
5702 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5703 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5704 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5706 (lrint_upward_test_data): Test for "inexact" exceptions.
5707 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5709 (llrint_test_data): Test for "inexact" exceptions.
5710 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5711 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5712 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5713 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5714 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5715 (llrint_downward_test_data): Test for "inexact" exceptions.
5716 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5717 (llrint_upward_test_data): Test for "inexact" exceptions.
5718 (logb_test_data): Likewise.
5719 (logb_downward_test_data): Likewise.
5720 (nextafter_test_data): Likewise.
5721 (nexttoward_test_data): Likewise.
5722 (remainder_test_data): Likewise.
5723 (remquo_test_data): Likewise.
5724 (scalbn_test_data): Likewise.
5725 (scalbln_test_data): Likewise.
5726 (signbit_test_data): Likewise.
5727 (sqrt_test_data): Likewise.
5728 (significand_test_data): Likewise.
5730 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5733 * benchtests/bench-modf.c (struct args): Mark arg0 as
5735 * scripts/bench.pl: Mark members of struct args as volatile.
5737 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5741 negative infinity on POWER6 or lower.
5742 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5744 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5747 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5748 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5749 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5750 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5751 (_FP_SETQNAN): New macro.
5752 (_FP_SETQNAN_SEMIRAW): Likewise.
5753 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5754 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5755 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5756 (FP_EXTEND): Use _FP_FRAC_SNANP.
5757 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5758 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5765 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5767 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5768 with DIVIDE_BY_ZERO_EXCEPTION.
5769 (gamma_test_data): Likewise.
5770 (lgamma_test_data): Likewise.
5771 (log_test_data): Likewise.
5772 (log10_test_data): Likewise.
5773 (log2_test_data): Likewise.
5774 (tgamma_test_data): Likewise.
5776 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5777 (acos_test_tonearest): Likewise.
5778 (acos_test_towardzero): Likewise.
5779 (acos_test_downward): Likewise.
5780 (acos_test_upward): Likewise.
5781 (acosh_test): Likewise.
5782 (asin_test): Likewise.
5783 (asin_test_tonearest): Likewise.
5784 (asin_test_towardzero): Likewise.
5785 (asin_test_downward): Likewise.
5786 (asin_test_upward): Likewise.
5787 (asinh_test): Likewise.
5788 (atan_test): Likewise.
5789 (atanh_test): Likewise.
5790 (atan2_test): Likewise.
5791 (cabs_test): Likewise.
5792 (cacos_test): Likewise.
5793 (cacosh_test): Likewise.
5794 (casin_test): Likewise.
5795 (casinh_test): Likewise.
5796 (catan_test): Likewise.
5797 (catanh_test): Likewise.
5798 (cbrt_test): Likewise.
5799 (ccos_test): Likewise.
5800 (ccosh_test): Likewise.
5801 (cexp_test): Likewise.
5802 (clog_test): Likewise.
5803 (clog10_test): Likewise.
5804 (cos_test): Likewise.
5805 (cos_test_tonearest): Likewise.
5806 (cos_test_towardzero): Likewise.
5807 (cos_test_downward): Likewise.
5808 (cos_test_upward): Likewise.
5809 (cosh_test): Likewise.
5810 (cosh_test_tonearest): Likewise.
5811 (cosh_test_towardzero): Likewise.
5812 (cosh_test_downward): Likewise.
5813 (cosh_test_upward): Likewise.
5814 (cpow_test): Likewise.
5815 (csin_test): Likewise.
5816 (csinh_test): Likewise.
5817 (csqrt_test): Likewise.
5818 (ctan_test): Likewise.
5819 (ctan_test_tonearest): Likewise.
5820 (ctan_test_towardzero): Likewise.
5821 (ctan_test_downward): Likewise.
5822 (ctan_test_upward): Likewise.
5823 (ctanh_test): Likewise.
5824 (ctanh_test_tonearest): Likewise.
5825 (ctanh_test_towardzero): Likewise.
5826 (ctanh_test_downward): Likewise.
5827 (ctanh_test_upward): Likewise.
5828 (erf_test): Likewise.
5829 (erfc_test): Likewise.
5830 (exp_test): Likewise.
5831 (exp_test_tonearest): Likewise.
5832 (exp_test_towardzero): Likewise.
5833 (exp_test_downward): Likewise.
5834 (exp_test_upward): Likewise.
5835 (exp10_test): Likewise.
5836 (exp2_test): Likewise.
5837 (expm1_test): Likewise.
5838 (fmod_test): Likewise.
5839 (gamma_test): Likewise.
5840 (hypot_test): Likewise.
5841 (j0_test): Likewise.
5842 (j1_test): Likewise.
5843 (jn_test): Likewise.
5844 (lgamma_test): Likewise.
5845 (log_test): Likewise.
5846 (log10_test): Likewise.
5847 (log1p_test): Likewise.
5848 (log2_test): Likewise.
5849 (logb_test_downward): Likewise.
5850 (pow_test): Likewise.
5851 (pow_test_tonearest): Likewise.
5852 (pow_test_towardzero): Likewise.
5853 (pow_test_downward): Likewise.
5854 (pow_test_upward): Likewise.
5855 (remainder_test): Likewise.
5856 (remquo_test): Likewise.
5857 (sin_test): Likewise.
5858 (sin_test_tonearest): Likewise.
5859 (sin_test_towardzero): Likewise.
5860 (sin_test_downward): Likewise.
5861 (sin_test_upward): Likewise.
5862 (sincos_test): Likewise.
5863 (sinh_test): Likewise.
5864 (sinh_test_tonearest): Likewise.
5865 (sinh_test_towardzero): Likewise.
5866 (sinh_test_downward): Likewise.
5867 (sinh_test_upward): Likewise.
5868 (sqrt_test): Likewise.
5869 (tan_test): Likewise.
5870 (tan_test_tonearest): Likewise.
5871 (tan_test_towardzero): Likewise.
5872 (tan_test_downward): Likewise.
5873 (tan_test_upward): Likewise.
5874 (tanh_test): Likewise.
5875 (tgamma_test): Likewise.
5876 (y0_test): Likewise.
5877 (y1_test): Likewise.
5878 (yn_test): Likewise.
5880 * math/gen-libm-test.pl (adjust_arg): Remove function.
5881 (special_function): Remove argument $in_func. Only handle
5882 generating output for tables of tests, not inside functions.
5883 (parse_args): Likewise.
5884 (generate_testfile): Remove variable $in_func. Update call to
5886 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5887 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5888 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5889 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5890 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5891 (MAX_VALUE_INIT): Rename macro to max_value.
5892 (MIN_VALUE_INIT): Rename macro to min_value.
5893 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5894 (plus_zero): Remove variable.
5895 (minus_zero): Likewise.
5896 (plus_infty): Likewise.
5897 (minus_infty): Likewise.
5898 (qnan_value): Likewise.
5899 (max_value): Likewise.
5900 (min_value): Likewise.
5901 (min_subnorm_value): Likewise.
5903 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5905 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5906 uint64_t or uint32_t usage.
5907 * crypt/sha256-block.c: Likewise.
5908 * crypt/sha256-crypt.c: Likewise.
5909 * crypt/sha256.c: Likewise.
5910 * crypt/sha512-block.c: Likewise.
5911 * crypt/sha512-crypt.c: Likewise.
5912 * crypt/sha512.c: Likewise.
5913 * debug/backtrace-tst.c: Likewise.
5914 * debug/pcprofiledump.c: Likewise.
5915 * elf/cache.c: Likewise.
5916 * elf/dl-cache.c: Likewise.
5917 * elf/dl-misc.c: Likewise.
5918 * elf/dl-profile.c: Likewise.
5919 * elf/dl-support.c: Likewise.
5920 * elf/ldconfig.c: Likewise.
5921 * elf/sprof.c: Likewise.
5922 * iconv/dummy-repertoire.c: Likewise.
5923 * iconv/iconv_charmap.c: Likewise.
5924 * iconv/skeleton.c: Likewise.
5925 * iconvdata/8bit-generic.c: Likewise.
5926 * iconvdata/cp737.h: Likewise.
5927 * iconvdata/cp775.h: Likewise.
5928 * iconvdata/ibm1008.h: Likewise.
5929 * iconvdata/ibm1025.h: Likewise.
5930 * iconvdata/ibm1046.h: Likewise.
5931 * iconvdata/ibm1097.h: Likewise.
5932 * iconvdata/ibm1112.h: Likewise.
5933 * iconvdata/ibm1122.h: Likewise.
5934 * iconvdata/ibm1123.h: Likewise.
5935 * iconvdata/ibm1124.h: Likewise.
5936 * iconvdata/ibm1129.h: Likewise.
5937 * iconvdata/ibm1130.h: Likewise.
5938 * iconvdata/ibm1132.h: Likewise.
5939 * iconvdata/ibm1133.h: Likewise.
5940 * iconvdata/ibm1137.h: Likewise.
5941 * iconvdata/ibm1140.h: Likewise.
5942 * iconvdata/ibm1141.h: Likewise.
5943 * iconvdata/ibm1142.h: Likewise.
5944 * iconvdata/ibm1143.h: Likewise.
5945 * iconvdata/ibm1144.h: Likewise.
5946 * iconvdata/ibm1145.h: Likewise.
5947 * iconvdata/ibm1146.h: Likewise.
5948 * iconvdata/ibm1147.h: Likewise.
5949 * iconvdata/ibm1148.h: Likewise.
5950 * iconvdata/ibm1149.h: Likewise.
5951 * iconvdata/ibm1153.h: Likewise.
5952 * iconvdata/ibm1154.h: Likewise.
5953 * iconvdata/ibm1155.h: Likewise.
5954 * iconvdata/ibm1156.h: Likewise.
5955 * iconvdata/ibm1157.h: Likewise.
5956 * iconvdata/ibm1158.h: Likewise.
5957 * iconvdata/ibm1160.h: Likewise.
5958 * iconvdata/ibm1161.h: Likewise.
5959 * iconvdata/ibm1162.h: Likewise.
5960 * iconvdata/ibm1163.h: Likewise.
5961 * iconvdata/ibm1164.h: Likewise.
5962 * iconvdata/ibm1166.h: Likewise.
5963 * iconvdata/ibm1167.h: Likewise.
5964 * iconvdata/ibm12712.h: Likewise.
5965 * iconvdata/ibm1390.h: Likewise.
5966 * iconvdata/ibm1399.h: Likewise.
5967 * iconvdata/ibm16804.h: Likewise.
5968 * iconvdata/ibm4517.h: Likewise.
5969 * iconvdata/ibm4899.h: Likewise.
5970 * iconvdata/ibm4909.h: Likewise.
5971 * iconvdata/ibm4971.h: Likewise.
5972 * iconvdata/ibm5347.h: Likewise.
5973 * iconvdata/ibm803.h: Likewise.
5974 * iconvdata/ibm856.h: Likewise.
5975 * iconvdata/ibm901.h: Likewise.
5976 * iconvdata/ibm902.h: Likewise.
5977 * iconvdata/ibm9030.h: Likewise.
5978 * iconvdata/ibm9066.h: Likewise.
5979 * iconvdata/ibm921.h: Likewise.
5980 * iconvdata/ibm922.h: Likewise.
5981 * iconvdata/ibm9448.h: Likewise.
5982 * iconvdata/isiri-3342.h: Likewise.
5983 * iconvdata/jis0201.h: Likewise.
5984 * include/link.h: Likewise.
5985 * include/netdb.h: Likewise.
5986 * inet/check_native.c: Likewise.
5987 * inet/check_pf.c: Likewise.
5988 * inet/getipv4sourcefilter.c: Likewise.
5989 * inet/getnameinfo.c: Likewise.
5990 * inet/getsourcefilter.c: Likewise.
5991 * inet/htonl.c: Likewise.
5992 * inet/setipv4sourcefilter.c: Likewise.
5993 * inet/setsourcefilter.c: Likewise.
5994 * inet/test-inet6_opt.c: Likewise.
5995 * inet/tst-network.c: Likewise.
5996 * locale/C-collate.c: Likewise.
5997 * locale/C-ctype.c: Likewise.
5998 * locale/C-time.c: Likewise.
5999 * locale/C-translit.h: Likewise.
6000 * locale/loadarchive.c: Likewise.
6001 * locale/programs/3level.h: Likewise.
6002 * locale/programs/charmap.c: Likewise.
6003 * locale/programs/charmap.h: Likewise.
6004 * locale/programs/ld-address.c: Likewise.
6005 * locale/programs/ld-collate.c: Likewise.
6006 * locale/programs/ld-ctype.c: Likewise.
6007 * locale/programs/ld-identification.c: Likewise.
6008 * locale/programs/ld-measurement.c: Likewise.
6009 * locale/programs/ld-messages.c: Likewise.
6010 * locale/programs/ld-monetary.c: Likewise.
6011 * locale/programs/ld-name.c: Likewise.
6012 * locale/programs/ld-numeric.c: Likewise.
6013 * locale/programs/ld-paper.c: Likewise.
6014 * locale/programs/ld-telephone.c: Likewise.
6015 * locale/programs/ld-time.c: Likewise.
6016 * locale/programs/linereader.c: Likewise.
6017 * locale/programs/locale.c: Likewise.
6018 * locale/programs/locarchive.c: Likewise.
6019 * locale/programs/locfile.h: Likewise.
6020 * locale/programs/repertoire.c: Likewise.
6021 * locale/programs/simple-hash.c: Likewise.
6022 * locale/programs/simple-hash.h: Likewise.
6023 * malloc/memusage.c: Likewise.
6024 * malloc/memusagestat.c: Likewise.
6025 * nis/nis_defaults.c: Likewise.
6026 * nis/nis_hash.c: Likewise.
6027 * nis/nis_print.c: Likewise.
6028 * nis/nis_xdr.c: Likewise.
6029 * nscd/connections.c: Likewise.
6030 * nscd/hstcache.c: Likewise.
6031 * nscd/nscd_gethst_r.c: Likewise.
6032 * nscd/nscd_getserv_r.c: Likewise.
6033 * nscd/nscd_helper.c: Likewise.
6034 * nscd/servicescache.c: Likewise.
6035 * nss/makedb.c: Likewise.
6036 * nss/nss_db/db-XXX.c: Likewise.
6037 * nss/nss_db/db-initgroups.c: Likewise.
6038 * nss/nss_db/db-netgrp.c: Likewise.
6039 * nss/nss_files/files-network.c: Likewise.
6040 * nss/nss_files/files-parse.c: Likewise.
6041 * posix/bug-regex5.c: Likewise.
6042 * posix/fnmatch_loop.c: Likewise.
6043 * posix/regcomp.c: Likewise.
6044 * posix/regexec.c: Likewise.
6045 * posix/tst-rfc3484-2.c: Likewise.
6046 * posix/tst-rfc3484-3.c: Likewise.
6047 * posix/tst-rfc3484.c: Likewise.
6048 * resolv/nss_dns/dns-canon.c: Likewise.
6049 * resolv/nss_dns/dns-network.c: Likewise.
6050 * resolv/res_init.c: Likewise.
6051 * resolv/res_mkquery.c: Likewise.
6052 * resolv/tst-aton.c: Likewise.
6053 * stdlib/cxa_atexit.c: Likewise.
6054 * stdlib/cxa_finalize.c: Likewise.
6055 * stdlib/gen-fpioconst.c: Likewise.
6056 * stdlib/strtol_l.c: Likewise.
6057 * string/tst-endian.c: Likewise.
6058 * sunrpc/auth_des.c: Likewise.
6059 * sunrpc/clnt_udp.c: Likewise.
6060 * sunrpc/rtime.c: Likewise.
6061 * sunrpc/svcauth_des.c: Likewise.
6062 * sunrpc/xdr.c: Likewise.
6063 * sunrpc/xdr_intXX_t.c: Likewise.
6064 * sunrpc/xdr_rec.c: Likewise.
6065 * sysdeps/generic/ldconfig.h: Likewise.
6066 * sysdeps/generic/ldsodefs.h: Likewise.
6067 * sysdeps/generic/memusage.h: Likewise.
6068 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6078 * sysdeps/posix/getaddrinfo.c: Likewise.
6079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6081 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6082 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6083 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6084 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6085 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6086 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6087 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6089 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6090 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6091 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6092 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6093 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6094 * sysdeps/x86_64/dl-tls.h: Likewise.
6095 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6096 * time/alt_digit.c: Likewise.
6097 * time/era.c: Likewise.
6098 * wcsmbs/tst-c16c32-1.c: Likewise.
6100 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6102 * math/libm-test.inc (struct test_sincos_data): New type.
6103 (RUN_TEST_LOOP_sincos): New macro.
6104 (sincos_test_data): New variable.
6105 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6107 2013-05-16 Richard Henderson <rth@redhat.com>
6109 * math/atest-exp2.c (LIMB64): New macro.
6110 (CONSTSZ): New macro.
6111 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6113 (print_mpn_fp): ... to function scope.
6114 (read_mpn_hex): Remove.
6116 (exp2_mpn): Use mp_log2.
6117 (main): Use mp_exp1.
6119 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6121 * math/libm-test.inc: Remove comment about not testing "inexact"
6123 (INEXACT_EXCEPTION): New macro.
6124 (NO_INEXACT_EXCEPTION): Likewise.
6125 (INVALID_EXCEPTION_OK): Update value.
6126 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6127 (OVERFLOW_EXCEPTION_OK): Likewise.
6128 (UNDERFLOW_EXCEPTION_OK): Likewise.
6129 (IGNORE_ZERO_INF_SIGN): Likewise.
6130 (ERRNO_UNCHANGED): Likewise.
6131 (ERRNO_EDOM): Likewise.
6132 (ERRNO_ERANGE): Likewise.
6133 (test_exceptions): Handle testing "inexact" exceptions.
6134 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6135 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6136 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6137 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6139 (rint_towardzero_test_data): Likewise.
6140 (rint_downward_test_data): Likewise.
6141 (rint_upward_test_data): Likewise.
6143 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6144 with OVERFLOW_EXCEPTION.
6145 (exp10_test_data): Likewise.
6146 (exp2_test_data): Likewise.
6147 (expm1_test_data): Likewise.
6148 (lgamma_test_data): Likewise.
6149 (pow_test_data): Likewise.
6150 (tgamma_test_data): Likewise.
6151 (yn_test_data): Remove duplicate test of overflow.
6153 * math/libm-test.inc (struct test_cc_c_data): New type.
6154 (RUN_TEST_LOOP_cc_c): New macro.
6155 (cpow_test_data): New variable.
6156 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6158 * math/libm-test.inc (struct test_f_L_data): New type.
6159 (RUN_TEST_LOOP_f_L): New macro.
6160 (llrint_test_data): New variable.
6161 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6162 (llrint_tonearest_test_data): New variable.
6163 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6164 (llrint_towardzero_test_data): New variable.
6165 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6166 (llrint_downward_test_data): New variable.
6167 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6168 (llrint_upward_test_data): New variable.
6169 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6170 (llround_test_data): New variable.
6171 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6173 2013-05-13 Peter Collingbourne <pcc@google.com>
6175 * math/atest-exp2.c (get_log2): Remove const attribute.
6177 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6179 * math/libm-test.inc (struct test_f_l_data): New type.
6180 (RUN_TEST_LOOP_f_l): New macro.
6181 (lrint_test_data): New variable.
6182 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6183 (lrint_tonearest_test_data): New variable.
6184 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6185 (lrint_towardzero_test_data): New variable.
6186 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6187 (lrint_downward_test_data): New variable.
6188 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6189 (lrint_upward_test_data): New variable.
6190 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6191 (lround_test_data): New variable.
6192 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6194 2013-05-15 Peter Collingbourne <pcc@google.com>
6196 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6197 (EXTRACT_WORDS64) Use where appropriate.
6198 (INSERT_WORDS64) Likewise.
6200 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6201 constraints with x constraints.
6202 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6204 * malloc/obstack.c (_obstack_compat): Add initializer.
6206 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6209 si_trapno and add si_addr_lsb to _sifields.sigfault.
6210 (si_trapno): Remove macro.
6211 (si_addr_lsb): Define new macro.
6212 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6214 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6216 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6217 instead of TEST_f_l.
6218 (llrint_test_tonearest): Likewise.
6219 (llrint_test_towardzero): Likewise.
6220 (llrint_test_downward): Likewise.
6221 (llrint_test_upward): Likewise.
6222 (llround_test): Likewise.
6224 * math/libm-test.inc (struct test_f_i_data): Add comment.
6225 (RUN_TEST_LOOP_f_b): New macro.
6226 (RUN_TEST_LOOP_f_b_tg): Likewise.
6227 (finite_test_data): New variable.
6228 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6229 (isfinite_test_data): New variable.
6230 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6231 (isinf_test_data): New variable.
6232 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6233 (isnan_test_data): New variable.
6234 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6235 (isnormal_test_data): New variable.
6236 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6237 (issignaling_test_data): New variable.
6238 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6239 (signbit_test_data): New variable.
6240 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6242 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6243 with INVALID_EXCEPTION.
6244 (acosh_test_data): Likewise.
6245 (asin_test_data): Likewise.
6246 (atanh_test_data): Likewise.
6247 (fmod_test_data): Likewise.
6248 (log_test_data): Likewise.
6249 (log10_test_data): Likewise.
6250 (log2_test_data): Likewise.
6251 (pow_test_data): Likewise.
6252 (sqrt_test_data): Likewise.
6253 (y0_test_data): Likewise.
6254 (y1_test_data): Likewise.
6255 (yn_test_data): Likewise.
6257 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6260 * math/libm-test.inc (struct test_ff_i_data): New type.
6261 (RUN_TEST_LOOP_ff_i_tg): New macro.
6262 (isgreater_test_data): New variable.
6263 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6264 (isgreaterequal_test_data): New variable.
6265 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6266 (isless_test_data): New variable.
6267 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6268 (islessequal_test_data): New variable.
6269 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6270 (islessgreater_test_data): New variable.
6271 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6272 (isunordered_test_data): New variable.
6273 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6275 2013-05-14 David S. Miller <davem@davemloft.net>
6277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6279 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6281 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6283 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6285 (struct test_f_i_data): Change type of max_ulp to int.
6287 * math/libm-test.inc (test_ffI_f1_data): New type.
6288 (RUN_TEST_LOOP_ffI_f1): New macro.
6289 (remquo_test_data): New variable.
6290 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6292 * setjmp/tst-setjmp-fp.c: New file.
6293 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6294 (link-libm): New variable.
6295 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6297 * math/libm-test.inc (struct test_f_i_data): New type.
6298 (RUN_TEST_LOOP_f_i): New macro.
6299 (RUN_TEST_LOOP_f_i_tg): Likewise.
6300 (fpclassify_test_data): New variable.
6301 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6302 (ilogb_test_data): New variable.
6303 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6305 * math/libm-test.inc (scalbln_test): Correct function name in END
6308 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6309 (RUN_TEST_LOOP_fI_f1): New macro.
6310 (frexp_test_data): New variable.
6311 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6313 * math/libm-test.inc (struct test_fF_f1_data): New type.
6314 (RUN_TEST_LOOP_fF_f1): New macro.
6315 (modf_test_data): New variable.
6316 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6318 * math/libm-test.inc (struct test_f_f1_data): New type.
6319 (RUN_TEST_LOOP_f_f1): New macro.
6320 (gamma_test_data): New variable.
6321 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6322 (lgamma_test_data): New variable.
6323 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6325 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6327 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6328 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6329 (main): Comment "tls" pseudo-hwcap.
6331 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6333 * math/libm-test.inc (struct test_fl_f_data): New type.
6334 (RUN_TEST_LOOP_fl_f): New variable.
6335 (scalbln_test_data): New variable.
6336 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6338 * math/libm-test.inc (struct test_fi_f_data): New type.
6339 (RUN_TEST_LOOP_fi_f): New macro.
6340 (ldexp_test_data): New variable.
6341 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6342 (scalbn_test_data): New variable.
6343 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6345 * math/libm-test.inc (struct test_c_f_data): New type.
6346 (RUN_TEST_LOOP_c_f): New macro.
6347 (cabs_test_data): New variable.
6348 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6349 (carg_test_data): New variable.
6350 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6351 (cimag_test_data): New variable.
6352 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6353 (creal_test_data): New variable.
6354 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6356 * math/libm-test.inc (struct test_if_f_data): New type.
6357 (RUN_TEST_LOOP_if_f): New macro.
6358 (jn_test_data): New variable.
6359 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6360 (yn_test_data): New variable.
6361 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6363 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6365 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6368 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6370 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6372 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6373 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6374 (bench-deps): Add bench-timing.h.
6375 * benchtests-bench-skeleton.c: Include bench-timing.h.
6376 (main): Use TIMING_* macros instead of clock_gettime.
6377 * benchtests/bench-timing.h: New file.
6380 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6381 Renamed from _LIB_VERSION.
6382 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6384 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6386 * math/libm-test.inc (struct test_fff_f_data): New type.
6387 (RUN_TEST_LOOP_fff_f): New macro.
6388 (fma_test_data): New variable.
6389 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6390 (fma_towardzero_test_data): New variable.
6391 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6392 (fma_downward_test_data): New variable.
6393 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6394 (fma_upward_test_data): New variable.
6395 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6397 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6398 (struct test_c_c_data): New type.
6399 (RUN_TEST_LOOP_c_c): New macro.
6400 (cacos_test_data): New variable.
6401 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6402 (cacosh_test_data): New variable.
6403 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6404 (casin_test_data): New variable.
6405 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6406 (casinh_test_data): New variable.
6407 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6408 (catan_test_data): New variable.
6409 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6410 (catanh_test_data): New variable.
6411 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6412 (ccos_test_data): New variable.
6413 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6414 (ccosh_test_data): New variable.
6415 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6416 (cexp_test_data): New variable.
6417 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6418 (clog_test_data): New variable.
6419 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6420 (clog10_test_data): New variable.
6421 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6422 (conj_test_data): New variable.
6423 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6424 (cproj_test_data): New variable.
6425 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6426 (csin_test_data): New variable.
6427 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6428 (csinh_test_data): New variable.
6429 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6430 (csqrt_test_data): New variable.
6431 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6432 (ctan_test_data): New variable.
6433 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6434 (ctan_tonearest_test_data): New variable.
6435 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6436 (ctan_towardzero_test_data): New variable.
6437 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6438 (ctan_downward_test_data): New variable.
6439 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6440 (ctan_upward_test_data): New variable.
6441 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6442 (ctanh_test_data): New variable.
6443 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6444 (ctanh_tonearest_test_data): New variable.
6445 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6446 (ctanh_towardzero_test_data): New variable.
6447 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6448 (ctanh_downward_test_data): New variable.
6449 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6450 (ctanh_upward_test_data): New variable.
6451 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6452 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6455 * math/libm-test.inc (struct test_ff_f_data): New type.
6456 (struct test_ff_f_data_nexttoward): Likewise.
6457 (RUN_TEST_LOOP_2_f): New macro.
6458 (RUN_TEST_LOOP_ff_f): Likewise.
6459 (atan2_test_data): New variable.
6460 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6461 (copysign_test_data): New variable.
6462 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6463 (fdim_test_data): New variable.
6464 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6465 (fmax_test_data): New variable.
6466 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6467 (fmin_test_data): New variable.
6468 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6469 (fmod_test_data): New variable.
6470 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6471 (hypot_test_data): New variable.
6472 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6473 (nextafter_test_data): New variable.
6474 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6475 (nexttoward_test_data): New variable.
6476 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6477 (pow_test_data): New variable.
6478 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6479 (pow_tonearest_test_data): New variable.
6480 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6481 (pow_towardzero_test_data): New variable.
6482 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6483 (pow_downward_test_data): New variable.
6484 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6485 (pow_upward_test_data): New variable.
6486 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6487 (remainder_test_data): New variable.
6488 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6489 (scalb_test_data): New variable.
6490 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6491 * sysdeps/i386/fpu/libm-test-ulps: Update.
6493 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6495 * math/libm-test.inc (fma_test): Use max_value instead of local
6497 (nextafter_test): Likewise.
6499 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6500 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6501 (acos_downward_test_data): New variable.
6502 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6503 (acos_upward_test_data): New variable.
6504 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6505 (acosh_test_data): New variable.
6506 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6507 (asin_test_data): New variable.
6508 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6509 (asin_tonearest_test_data): New variable.
6510 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6511 (asin_towardzero_test_data): New variable.
6512 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6513 (asin_downward_test_data): New variable.
6514 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6515 (asin_upward_test_data): New variable.
6516 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6517 (asinh_test_data): New variable.
6518 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6519 (atan_test_data): New variable.
6520 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6521 (atanh_test_data): New variable.
6522 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6523 (cbrt_test_data): New variable.
6524 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6525 (ceil_test_data): New variable.
6526 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6527 (cos_test_data): New variable.
6528 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6529 (cos_tonearest_test_data): New variable.
6530 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6531 (cos_towardzero_test_data): New variable.
6532 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6533 (cos_downward_test_data): New variable.
6534 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6535 (cos_upward_test_data): New variable.
6536 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6537 (cosh_test_data): New variable.
6538 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6539 (cosh_tonearest_test_data): New variable.
6540 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6541 (cosh_towardzero_test_data): New variable.
6542 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6543 (cosh_downward_test_data): New variable.
6544 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6545 (cosh_upward_test_data): New variable.
6546 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6547 (erf_test_data): New variable.
6548 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6549 (erfc_test_data): New variable.
6550 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6551 (exp_test_data): New variable.
6552 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6553 (exp_tonearest_test_data): New variable.
6554 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6555 (exp_towardzero_test_data): New variable.
6556 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6557 (exp_downward_test_data): New variable.
6558 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6559 (exp_upward_test_data): New variable.
6560 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6561 (exp10_test_data): New variable.
6562 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6563 (exp2_test_data): New variable.
6564 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6565 (expm1_test_data): New variable.
6566 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6567 (fabs_test_data): New variable.
6568 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6569 (floor_test_data): New variable.
6570 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6571 (j0_test_data): New variable.
6572 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6573 (j1_test_data): New variable.
6574 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6575 (log_test_data): New variable.
6576 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6577 (log10_test_data): New variable.
6578 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6579 (log1p_test_data): New variable.
6580 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6581 (log2_test_data): New variable.
6582 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6583 (logb_test_data): New variable.
6584 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6585 (logb_downward_test_data): New variable.
6586 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6587 (nearbyint_test_data): New variable.
6588 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6589 (rint_test_data): New variable.
6590 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6591 (rint_tonearest_test_data): New variable.
6592 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6593 (rint_towardzero_test_data): New variable.
6594 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6595 (rint_downward_test_data): New variable.
6596 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6597 (rint_upward_test_data): New variable.
6598 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6599 (round_test_data): New variable.
6600 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6601 (sin_test_data): New variable.
6602 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6603 (sin_tonearest_test_data): New variable.
6604 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6605 (sin_towardzero_test_data): New variable.
6606 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6607 (sin_downward_test_data): New variable.
6608 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6609 (sin_upward_test_data): New variable.
6610 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6611 (sinh_test_data): New variable.
6612 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6613 (sinh_tonearest_test_data): New variable.
6614 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6615 (sinh_towardzero_test_data): New variable.
6616 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6617 (sinh_downward_test_data): New variable.
6618 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6619 (sinh_upward_test_data): New variable.
6620 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6621 (sqrt_test_data): New variable.
6622 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6623 (tan_test_data): New variable.
6624 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6625 (tan_tonearest_test_data): New variable.
6626 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6627 (tan_towardzero_test_data): New variable.
6628 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6629 (tan_downward_test_data): New variable.
6630 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6631 (tan_upward_test_data): New variable.
6632 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6633 (tanh_test_data): New variable.
6634 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6635 (tgamma_test_data): New variable.
6636 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6637 (trunc_test_data): New variable.
6638 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6639 (y0_test_data): New variable.
6640 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6641 (y1_test_data): New variable.
6642 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6643 (significand_test_data): New variable.
6644 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6646 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6649 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6651 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6653 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6655 2013-05-10 Andreas Jaeger <aj@suse.de>
6658 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6659 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6661 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6663 * math/gen-libm-test.pl (adjust_arg): New function.
6664 (special_functions): Handle generating output in both functions
6666 (parse_args): Likewise.
6667 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6668 $in_func argument to parse_args.
6669 * math/libm-test.inc (struct test_f_f_data): New type.
6670 (IF_ROUND_INIT_): New macro.
6671 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6672 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6673 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6674 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6675 (ROUND_RESTORE_): Likewise.
6676 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6677 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6678 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6679 (ROUND_RESTORE_FE_UPWARD): Likewise.
6680 (RUN_TEST_LOOP_f_f): New macro.
6681 (acos_test_data): New variable.
6682 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6683 (acos_tonearest_test_data): New variable.
6684 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6686 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6688 * benchtests/bench-skeleton.c (startup): Fix coding style.
6690 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6693 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6694 negative infinity argument.
6695 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6696 negative infinity argument.
6697 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6698 negative infinity argument.
6699 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6702 2013-05-10 Florian Weimer <fweimer@redhat.com>
6704 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6705 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6706 * iconv/iconv_prog.c (main): Likewise.
6707 * locale/programs/charmap-dir.c (charmap_readdir)
6708 (fopen_uncompressed): Likewise.
6709 * locale/programs/locfile.c (siblings_uncached)
6710 (write_locale_data): Use lstat64 instead of lstat.
6711 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6714 2013-05-10 Andreas Jaeger <aj@suse.de>
6717 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6721 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6723 * elf/dl-close.c (_dl_close_worker): Add comments.
6725 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6728 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6730 (__ieee754_rem_pio2l): Update comments.
6733 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6735 (__ieee754_rem_pio2l): Update comments.
6737 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6738 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6740 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6743 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6744 (M_PI_34_LOG10El): Likewise.
6745 (M_PI2_LOG10El): Likewise.
6746 (M_PI4_LOG10El): Likewise.
6747 (M_PI_LOG10El): Likewise.
6749 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6753 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6755 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6756 (MINUS_ZERO_INIT): Likewise.
6757 (PLUS_INFTY_INIT): Likewise.
6758 (MINUS_INFTY_INIT): Likewise.
6759 (QNAN_VALUE_INIT): Likewise.
6760 (MAX_VALUE_INIT): Likewise.
6761 (MIN_VALUE_INIT): Likewise.
6762 (MIN_SUBNORM_VALUE_INIT): Likewise.
6763 (plus_zero): Initialize with PLUS_ZERO_INIT.
6764 (minus_zero): Initialize with MINUS_ZERO_INIT.
6765 (plus_infty): Initialize with PLUS_INFTY_INIT.
6766 (minus_infty): Initialize with MINUS_INFTY_INIT.
6767 (qnan_value): Initialize with QNAN_VALUE_INIT.
6768 (max_value): Initialize with MAX_VALUE_INIT.
6769 (min_value): Initialize with MIN_VALUE_INIT.
6770 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6772 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6773 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6774 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6775 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6777 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6778 (RUN_TEST_2_f): Likewise.
6779 (RUN_TEST_ff_f): Likewise.
6780 (RUN_TEST_fi_f): Likewise.
6781 (RUN_TEST_fl_f): Likewise.
6782 (RUN_TEST_fff_f): Likewise.
6783 (RUN_TEST_c_f): Likewise.
6784 (RUN_TEST_f_f1): Likewise.
6785 (RUN_TEST_fF_f1): Likewise.
6786 (RUN_TEST_fI_f1): Likewise.
6787 (RUN_TEST_ffI_f1): Likewise.
6788 (RUN_TEST_c_c): Likewise.
6789 (RUN_TEST_cc_c): Likewise.
6790 (RUN_TEST_f_i): Likewise.
6791 (RUN_TEST_f_i_tg): Likewise.
6792 (RUN_TEST_ff_i_tg): Likewise.
6793 (RUN_TEST_f_b): Likewise.
6794 (RUN_TEST_f_b_tg): Likewise.
6795 (RUN_TEST_f_l): Likewise.
6796 (RUN_TEST_f_L): Likewise.
6797 (RUN_TEST_sincos): Likewise.
6798 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6799 whether to show exceptions. Do not include ");\n" in return
6801 (special_functions): Output call to RUN_TEST_sincos instead of
6802 check_float calls. Update calls to new_test.
6803 (parse_args): Output call to single RUN_TEST_* macro instead of
6804 check_* calls and other assignments. Update calls to new_test.
6810 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6811 input to result for tgamma overflow.
6812 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6813 (gamma_coeff): New variable.
6814 (NCOEFF): New macro.
6815 (gamma_positive): New function.
6816 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6817 underflow here. Use gamma_positive instead of exp (lgamma) for
6819 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6820 (gamma_coeff): New variable.
6821 (NCOEFF): New macro.
6822 (gammaf_positive): New function.
6823 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6824 underflow here. Use gamma_positive instead of exp (lgamma) for
6826 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6827 (gamma_coeff): New variable.
6828 (NCOEFF): New macro.
6829 (gammal_positive): New function.
6830 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6831 underflow here. Use gamma_positive instead of exp (lgamma) for
6833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6834 (gamma_coeff): New variable.
6835 (NCOEFF): New macro.
6836 (gammal_positive): New function.
6837 (__ieee754_gammal_r): Handle positive infinity, overflow and
6838 underflow here. Handle NaN the same as positive infinity. Remove
6839 check x < 0xffffffff for negative integers. Use gamma_positive
6840 instead of exp (lgamma) for other arguments.
6841 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6842 (gamma_coeff): New variable.
6843 (NCOEFF): New macro.
6844 (gammal_positive): New function.
6845 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6846 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6851 * sysdeps/generic/math_private.h (__gamma_productf): New
6853 (__gamma_product): Likewise.
6854 (__gamma_productl): Likewise.
6855 * math/Makefile (libm-calls): Add gamma_product.
6856 * math/libm-test.inc (tgamma_test): Add more tests.
6857 * sysdeps/i386/fpu/libm-test-ulps: Update.
6858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6860 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6862 * benchtests/bench-skeleton.c (main): Preheat CPU.
6864 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6866 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6868 2013-05-07 Roland McGrath <roland@hack.frob.com>
6870 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6871 and _dl_skip_args_internal.
6873 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6875 * manual/message.texi (Message Translation): Talk about users.
6876 Message to key mapping impacts design.
6878 2013-05-06 Roland McGrath <roland@hack.frob.com>
6880 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6882 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6884 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6885 * sysdeps/wordsize-64/glob64.c: ... here.
6887 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6888 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6891 * debug/getlogin_r_chk.c: Moved to ...
6892 * login/getlogin_r_chk.c: ... here.
6893 * debug/Makefile (routines): Move getlogin_r_chk to ...
6894 * login/Makefile (routines): ... here.
6895 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6896 * login/Versions (libc: GLIBC_2.4): ... here.
6898 * io/poll.c (__poll): Renamed from poll.
6899 Add libc_hidden_def.
6900 (poll): Define as weak alias.
6902 * debug/ptsname_r_chk.c: Moved to ...
6903 * login/ptsname_r_chk.c: ... here.
6904 * debug/Makefile (routines): Move ptsname_r_chk to ...
6905 * login/Makefile (routines): ... here.
6906 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6907 * login/Versions (libc: GLIBC_2.4): ... here.
6909 * posix/getlogin.c: Moved to ...
6910 * login/getlogin.c: ... here.
6911 * posix/getlogin_r.c: Moved to ...
6912 * login/getlogin_r.c: ... here.
6913 * posix/getlogin_r.c: Moved to ...
6914 * login/getlogin_r.c: ... here.
6915 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6916 * login/Makefile (routines): ... here.
6917 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6918 * login/Versions (libc: GLIBC_2.0): ... here.
6920 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6921 (setrlimit): Define as weak alias.
6923 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6924 Call __ names for open, ftruncate, and close.
6925 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6926 (truncate): Define as weak alias.
6928 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6930 * math/gen-libm-test.pl (parse_args): Initialize x before each
6931 test of frexp, modf and remquo.
6933 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6936 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6940 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6942 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6944 2013-05-06 Roland McGrath <roland@hack.frob.com>
6946 * elf/dl-writev.h: New file.
6947 * elf/dl-misc.c: Include it.
6948 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6949 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6951 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6953 * math/libm-test.inc (noXFails): Remove variable.
6954 (noXPasses): Likewise.
6955 (BUILD_COMPLEX_INT): Remove macro.
6956 (print_screen): Remove xfail argument.
6957 (print_screen_max_error): Likewise.
6958 (update_stats): Likewise.
6959 (print_max_error): Likewise. Update calls to other affected
6961 (print_complex_max_error): Likewise.
6962 (test_single_exception): Update calls to print_screen.
6963 (test_single_errno): Likewise.
6964 (check_float_internal): Remove xfail argument. Update calls to
6965 other affected functions.
6966 (check_float): Likewise.
6967 (check_complex): Likewise.
6968 (check_int): Likewise.
6969 (check_long): Likewise.
6970 (check_bool): Likewise.
6971 (check_longlong): Likewise.
6972 (main): Don't print noXFails and noXPasses.
6973 * math/gen-libm-test.pl (top level): Don't mention expected
6974 failure handling in comment.
6975 (new_test): Don't handle expected failures.
6976 (parse_args): Don't mention expected failure handling in comment.
6977 (generate_testfile): Don't handle expected failures.
6978 (parse_ulps): Likewise.
6979 (print_ulps_file): Likewise.
6980 (get_failure): Remove function.
6981 (output_test): Don't handle expected failures.
6982 * make/README.libm-test: Don't mention expected failure handling.
6984 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6985 (minus_zero): Likewise.
6986 (plus_infty): Likewise.
6987 (minus_infty): Likewise.
6988 (qnan_value): Likewise.
6989 (max_value): Likewise.
6990 (min_value): Likewise.
6991 (min_subnorm_value): Likewise.
6992 (initialize): Do not initialize those variables dynamically.
6994 2013-05-03 Roland McGrath <roland@hack.frob.com>
6996 * io/open.c (__open_2): Moved to ...
6997 * io/open_2.c: ... this new file.
6998 * io/open64.c (__open64_2): Moved to ...
6999 * io/open64_2.c: ... this new file.
7000 * io/openat.c (__openat_2): Moved to ...
7001 * io/openat_2.c: ... this new file.
7002 * io/openat64.c (__openat64_2): Moved to ...
7003 * io/openat64_2.c: ... this new file.
7004 * io/Makefile (routines): Add them.
7005 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7006 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7007 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7008 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7009 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7010 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7011 (__openat64): Add hidden_ver.
7012 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7013 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7015 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7016 Separately conditionalize setting of GLRO(dl_sysinfo) so
7017 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7018 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7020 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7023 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7025 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7026 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7027 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7028 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7029 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7031 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7033 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7036 * math/libm-test.inc (hypot_test): Do not use
7037 IGNORE_ZERO_INF_SIGN.
7039 2013-05-03 Andreas Jaeger <aj@suse.de>
7041 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7043 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7044 (PF_MAX): Adjust for VSOCK change.
7046 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7050 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7053 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7054 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7055 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7057 2013-05-02 David S. Miller <davem@davemloft.net>
7059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7061 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7063 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7065 2013-05-01 Roland McGrath <roland@hack.frob.com>
7067 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7069 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7072 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7073 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7074 Use __attribute__ ((__gnu_inline__)).
7075 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7076 Don't use __attribute__ ((__gnu_inline__)).
7078 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7081 * math/s_catan.c (__catan): Handle small real or imaginary part of
7082 input specially to avoid spurious underflow.
7083 * math/s_catanf.c (__catanf): Likewise.
7084 * math/s_catanh.c (__catanh): Likewise.
7085 * math/s_catanhf.c (__catanhf): Likewise.
7086 * math/s_catanhl.c (__catanhl): Likewise.
7087 * math/s_catanl.c (__catanl): Likewise.
7088 * math/libm-test.inc (catan_test): Add more tests.
7089 (catanh_test): Likewise.
7090 * sysdeps/i386/fpu/libm-test-ulps: Update.
7091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7097 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7100 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7101 accurately for denominator in atan2.
7102 * math/s_catanf.c (__catanf): Likewise.
7103 * math/s_catanh.c (__catanh): Likewise.
7104 * math/s_catanhf.c (__catanhf): Likewise.
7105 * math/s_catanhl.c (__catanhl): Likewise.
7106 * math/s_catanl.c (__catanl): Likewise.
7107 * math/libm-test.inc (catan_test): Add more tests.
7108 (catanh_test): Likewise.
7109 * sysdeps/i386/fpu/libm-test-ulps: Update.
7110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7114 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7116 * benchtests/Makefile (bench): Remove slow benchmarks.
7117 * benchtests/atan-inputs: Add slow benchmark inputs.
7118 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7119 (BENCH_FUNC): Accept variant offset.
7121 * benchtests/bench-skeleton.c (main): Run benchmark for each
7123 * benchtests/cos-inputs: Add slow benchmark inputs.
7124 * benchtests/exp-inputs: Likewise.
7125 * benchtests/pow-inputs: Likewise.
7126 * benchtests/sin-inputs: Likewise.
7127 * benchtests/slowatan-inputs: Remove.
7128 * benchtests/slowatan.c: Remove.
7129 * benchtests/slowcos-inputs: Remove.
7130 * benchtests/slowcos.c: Remove.
7131 * benchtests/slowexp-inputs: Remove.
7132 * benchtests/slowexp.c: Remove.
7133 * benchtests/slowpow-inputs: Remove.
7134 * benchtests/slowpow.c: Remove.
7135 * benchtests/slowsin-inputs: Remove.
7136 * benchtests/slowsin.c: Remove.
7137 * benchtests/slowtan-inputs: Remove.
7138 * benchtests/slowtan.c: Remove.
7139 * benchtests/tan-inputs: Add slow benchmark inputs.
7140 * scripts/bench.pl: Parse comments and directives.
7142 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7144 ($(objpfx)bench-%.c): Remove *-ITER.
7145 * benchtests/bench-modf.c: Remove definition of ITER.
7146 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7147 (main): Loop for DURATION seconds instead of fixed number of
7149 * scripts/bench.pl: Don't expect iterations in parameters.
7151 2013-04-29 Roland McGrath <roland@hack.frob.com>
7153 * io/fchdir.c (__fchdir): Renamed from fchdir.
7154 (fchdir): Define as weak alias.
7156 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7158 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7159 (ERRNO_EDOM): Likewise.
7160 (ERRNO_ERANGE): Likewise.
7161 (noErrnoTests): New variable.
7162 (init_max_error): Set errno to 0.
7163 (test_single_errno): New function.
7164 (test_errno): Likewise.
7165 (check_float_internal): Call test_errno. Set errno to 0.
7166 (check_complex): Refer to errno tests in comment.
7167 (check_int): Call test_errno. Set errno to 0.
7168 (check_long): Likewise.
7169 (check_bool): Likewise.
7170 (check_longlong): Likewise.
7171 (cos_test): Use ERRNO_* flags for errno tests instead of
7173 (expm1_test): Likewise.
7174 (fmod_test): Likewise.
7175 (ilogb_test): Likewise.
7176 (lgamma_test): Likewise.
7177 (pow_test): Likewise.
7178 (remainder_test): Likewise.
7179 (sin_test): Likewise.
7180 (tan_test): Likewise.
7181 (yn_test): Likewise.
7182 (initialize): Set errno to 0.
7183 (main): Print number of errno tests.
7184 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7186 2013-04-29 Andreas Jaeger <aj@suse.de>
7189 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7193 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7194 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7198 * stdlib/random.c (__initstate): Return NULL if
7202 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7203 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7206 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7210 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7212 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7213 of individual tests.
7214 (casin_test): Likewise.
7215 (casinh_test): Likewise.
7217 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7220 * math/s_catan.c (__catan): Handle arguments with large real or
7221 imaginary part separately without squaring.
7222 * math/s_catanf.c (__catanf): Likewise.
7223 * math/s_catanh.c (__catanh): Likewise.
7224 * math/s_catanhf.c (__catanhf): Likewise.
7225 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7227 (__catanhl): Handle arguments with large real or imaginary part
7228 separately without squaring.
7229 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7231 (__catanl): Handle arguments with large real or imaginary part
7232 separately without squaring.
7233 * math/libm-test.inc (catan_test): Add more tests.
7234 (catanh_test): Likewise.
7235 * sysdeps/i386/fpu/libm-test-ulps: Update.
7236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238 2013-04-27 Andreas Jaeger <aj@suse.de>
7241 * stdlib/stdlib.h: Update guards for qecvt.
7242 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7245 2013-04-27 Allan McRae <allan@archlinux.org>
7247 * sysdeps/i386/fpu/libm-test-ulps: Update.
7249 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7252 * math/s_catan.c: Include <float.h>.
7253 (__catan): Ensure underflow exception occurs for underflowed
7255 * math/s_catanf.c: Include <float.h>.
7256 (__catanf): Ensure underflow exception occurs for underflowed
7258 * math/s_catanh.c: Include <float.h>.
7259 (__catanh): Ensure underflow exception occurs for underflowed
7261 * math/s_catanhf.c: Include <float.h>.
7262 (__catanhf): Ensure underflow exception occurs for underflowed
7264 * math/s_catanhl.c: Include <float.h>.
7265 (__catanhl): Ensure underflow exception occurs for underflowed
7267 * math/s_catanl.c: Include <float.h>.
7268 (__catanl): Ensure underflow exception occurs for underflowed
7270 * math/libm-test.inc (catan_test): Add more tests.
7271 (catanh_test): Likewise.
7274 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7276 * math/s_ccoshf.c (__ccoshf): Likewise.
7277 * math/s_ccoshl.c (__ccoshl): Likewise.
7278 * math/s_csin.c (__csin): Likewise.
7279 * math/s_csinf.c (__csinf): Likewise.
7280 * math/s_csinh.c (__csinh): Likewise.
7281 * math/s_csinhf.c (__csinhf): Likewise.
7282 * math/s_csinhl.c (__csinhl): Likewise.
7283 * math/s_csinl.c (__csinl): Likewise.
7284 * math/libm-test.inc (ccos_test): Add more tests.
7285 (ccosh_test): Likewise.
7286 (csin_test): Likewise.
7287 (csinh_test): Likewise.
7289 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7291 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7292 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7293 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7294 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7295 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7296 powerpc/power5+/fpu folders.
7297 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7300 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7304 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7306 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7307 additions to variable.
7308 [$(config-machine) = x86_64] (modules-names): Likewise.
7309 ($(objpfx)tst-audit3): Remove dependency.
7310 ($(objpfx)tst-audit3.out): Likewise.
7311 ($(objpfx)tst-audit4): Likewise.
7312 ($(objpfx)tst-audit4.out): Likewise.
7313 ($(objpfx)tst-audit5): Likewise.
7314 ($(objpfx)tst-audit5.out): Likewise.
7315 ($(objpfx)tst-audit6): Likewise.
7316 ($(objpfx)tst-audit6.out): Likewise.
7317 ($(objpfx)tst-audit7): Likewise.
7318 ($(objpfx)tst-audit7.out): Likewise.
7319 (tst-audit3-ENV): Remove variable.
7320 (tst-audit4-ENV): Likewise.
7321 (tst-audit5-ENV): Likewise.
7322 (tst-audit6-ENV): Likewise.
7323 (tst-audit7-ENV): Likewise.
7324 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7325 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7326 addition to variable.
7327 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7328 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7329 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7330 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7331 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7332 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7333 tst-audit3, tst-audit4 and tst-audit5.
7334 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7335 tst-audit6 and tst-audit7.
7336 [$(subdir) = elf] (modules-names): Add audit modules for those
7338 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7339 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7340 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7341 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7342 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7343 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7344 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7345 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7346 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7347 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7348 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7349 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7350 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7351 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7352 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7353 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7355 [$(subdir) = elf && $(config-cflags-avx) = yes]
7356 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7357 [$(subdir) = elf && $(config-cflags-avx) = yes]
7358 (CFLAGS-tst-auditmod4a.c): Likewise.
7359 [$(subdir) = elf && $(config-cflags-avx) = yes]
7360 (CFLAGS-tst-auditmod4b.c): Likewise.
7361 [$(subdir) = elf && $(config-cflags-avx) = yes]
7362 (CFLAGS-tst-auditmod6b.c): Likewise.
7363 [$(subdir) = elf && $(config-cflags-avx) = yes]
7364 (CFLAGS-tst-auditmod6c.c): Likewise.
7365 [$(subdir) = elf && $(config-cflags-avx) = yes]
7366 (CFLAGS-tst-auditmod7b.c): Likewise.
7367 * elf/tst-audit3.c: Move to ...
7368 * sysdeps/x86_64/tst-audit3.c: ... here.
7369 * elf/tst-audit4.c: Move to ...
7370 * sysdeps/x86_64/tst-audit4.c: ... here.
7371 * elf/tst-audit5.c: Move to ...
7372 * sysdeps/x86_64/tst-audit5.c: ... here.
7373 * elf/tst-audit6.c: Move to ...
7374 * sysdeps/x86_64/tst-audit6.c: ... here.
7375 * elf/tst-audit7.c: Move to ...
7376 * sysdeps/x86_64/tst-audit7.c: ... here.
7377 * elf/tst-auditmod3a.c: Move to ...
7378 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7379 * elf/tst-auditmod3b.c: Move to ...
7380 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7381 * elf/tst-auditmod4a.c: Move to ...
7382 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7383 * elf/tst-auditmod4b.c: Move to ...
7384 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7385 * elf/tst-auditmod5a.c: Move to ...
7386 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7387 * elf/tst-auditmod5b.c: Move to ...
7388 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7389 * elf/tst-auditmod6a.c: Move to ...
7390 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7391 * elf/tst-auditmod6b.c: Move to ...
7392 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7393 * elf/tst-auditmod6c.c: Move to ...
7394 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7395 * elf/tst-auditmod7a.c: Move to ...
7396 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7397 * elf/tst-auditmod7b.c: Move to ...
7398 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7400 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7403 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7404 define unconditionally.
7405 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7406 define unconditionally.
7407 (INT8_C, INT16_C, etc.): Likewise.
7409 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7411 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7412 __ehdr_start with hidden visibility.
7414 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7416 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7418 * math/libm-test.inc (cos_test): Use accurate hex constants.
7419 (sincost_test): Likewise.
7421 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7423 * math/libm-test.inc (catan_test): Add more tests.
7424 (catanh_test): Likewise.
7426 * math/s_catanf.c (__catanf): Use suffixed floating-point
7428 * math/s_catanhf.c (__catanhf): Likewise.
7429 * math/s_catanhl.c (__catanhl): Likewise.
7430 * math/s_catanl.c (__catanl): Likewise.
7433 * math/s_catan.c (__catan): Calculate imaginary part of result
7434 with log1p not log unless computing log of number close to 0.
7435 * math/s_catanf.c (__catanf): Likewise.
7436 * math/s_catanl.c (__catanl): Likewise.
7437 * math/s_catanh.c (__catanh): Calculate real part of result with
7438 log1p not log unless computing log of number close to 0.
7439 * math/s_catanhf.c (__catanhf): Likewise.
7440 * math/s_catanhl.c (__catanhl): Likewise.
7441 * math/libm-test.inc (catan_test): Add more tests.
7442 (catanh_test): Likewise.
7443 * sysdeps/i386/fpu/libm-test-ulps: Update.
7444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7446 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7448 * benchtests/Makefile: Mention files in which fast and slow
7449 paths of math functions are implemented.
7451 2013-04-23 Roland McGrath <roland@hack.frob.com>
7453 * sysdeps/posix/timespec_get.c: New file.
7455 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7457 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7459 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7461 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7462 powerpc/power5/fpu folders.
7463 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7464 * benchtests/Makefile: Add modf testcase.
7465 * benchtests/bench-modf.c: New file: Benchmark test for mo
7467 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7470 * time/Makefile (tests): Add tst-strptime-whitespace.
7471 * time/strptime_l.c (get_number): Use ISSPACE.
7472 (__strptime_internal): Likewise.
7473 * time/tst-strptime-whitespace.c: New test case.
7475 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7477 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7479 (_nss_files_init): Set it here.
7481 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7483 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7484 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7487 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7489 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7491 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7496 2013-04-21 David S. Miller <davem@davemloft.net>
7498 * po/ru.po: Update Russion translation from translation project.
7500 2013-04-17 Adam Conrad <adconrad@0c3.net>
7502 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7505 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7507 * configure.in: Remove i386 configure warning. Remove i386 case.
7508 * configure: Regenerate.
7509 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7510 Add example to error message.
7511 * sysdeps/i386/configure: Regenerate.
7513 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7515 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7517 * benchtests/cos-inputs: New file.
7518 * benchtests/slowcos-inputs: New file.
7519 * benchtests/slowcos.c: New file.
7520 * benchtests/slowtan-inputs: New file.
7521 * benchtests/slowtan.c: New file.
7522 * benchtests/tan-inputs: New file.
7524 2013-04-16 Roland McGrath <roland@hack.frob.com>
7526 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7529 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7531 * benchtests/Makefile: Include cppflags-iterator.mk to add
7532 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7534 * Makefile.in (bench-clean): New target.
7535 * benchtests/Makefile (bench-clean): Likewise.
7537 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7539 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7541 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7543 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7545 2013-04-15 Andreas Schwab <schwab@suse.de>
7547 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7548 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7549 * nscd/pwdcache.c (cache_addpw): Likewise.
7550 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7553 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7555 * benchtests/Makefile (bench): Write all output to
7556 bench-out.tmp together.
7558 2013-04-15 Andreas Schwab <schwab@suse.de>
7560 * nscd/nscd.c (main): Don't fork again after closing files.
7562 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7564 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7566 * benchtests/Rules (bench-deps): Collect dependencies into a
7567 single variable. Add Makefile to dependencies.
7568 ($(objpfx)bench-%.c): Depend on bench-deps.
7570 2013-04-12 Roland McGrath <roland@hack.frob.com>
7571 Xavier Roche <roche+kml2@exalead.com>
7574 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7575 just that it's a file descriptor.
7576 * manual/llio.texi (Synchronizing AIO Operations): Update description
7577 for EBADF error from aio_fsync.
7579 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 * Rules (bench): Move target definition...
7582 * benchtests/Makefile: ... here.
7584 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7586 * math/libm-test.inc (cos_test): Fix PI/2 test.
7587 (sincos_test): Likewise.
7588 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7589 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7591 2013-04-11 Andreas Schwab <schwab@suse.de>
7594 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7595 accept exponent character only when digits were seen.
7596 * stdio-common/Makefile (tests): Add bug26.
7597 * stdio-common/bug26.c: New file.
7600 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7603 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7605 * Makeconfig (rtld-prefix): Define built linker prefix.
7606 * Rules (run-bench): Use it.
7607 * math/Makefile (run-regen-ulps): Likewise.
7609 * Rules (bench): Remove eval.
7611 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7612 Roland McGrath <roland@hack.frob.com>
7613 Ondrej Bilka <neleai@seznam.cz>
7616 * time/getdate.c: Include ctype.h and alloca.h.
7617 (__getdate_r): Trim leading and trailing spaces of input.
7618 * time/tst-getdate.c (tests): Add tests with leading and
7621 2013-04-08 Roland McGrath <roland@hack.frob.com>
7624 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7625 when computing value.
7627 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7629 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7630 Use testrun.sh to run libm tests.
7633 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7635 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7638 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7640 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7642 * Makefile.in (regen-ulps): New target.
7643 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7644 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7645 [ifneq (no,$(PERL)] (regen-ulps): New target.
7646 [ifeq (no,$(PERL)] (regen-ulps): New target.
7647 * math/libm-test.inc (ulps_file_name): Define.
7648 (output_dir): New variable.
7649 (options): Add "output-dir" option.
7650 (parse_opt): Handle 'o' case.
7651 (main): If output_dir is non-NULL use it as a prefix
7653 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7655 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7658 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7659 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7660 fail configure if __sync_val_compare_and_swap is not inlined.
7661 * sysdeps/i386/configure: Regenerate.
7662 * configure.in: Build for i686 when configured for i386.
7663 * configure: Regenerate.
7664 * README: Remove i386 reference.
7666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7668 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7671 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7673 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7674 (lmsnanval): New variables.
7675 (F): Add conversion tests.
7676 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7677 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7679 * stdio-common/tstdiomisc.c (F): Properly collect individual
7683 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7684 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7685 Instead, use input NaN values or generate a qNaN by arithmetic
7686 operation. Also fix bugs to comply with the standard.
7687 * math/libm-test.inc (remainder_test): Add more tests.
7690 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7691 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7692 input NaN values or generate a qNaN by arithmetic operation.
7694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7697 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7700 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7703 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7705 * math/s_cexpf.c (__cexpf): Likewise.
7706 * math/s_cexpl.c (__cexpl): Likewise.
7707 * math/libm-test.inc (cexp_test): Add more tests.
7709 2013-04-03 Andreas Schwab <schwab@suse.de>
7712 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7713 order arrays from heap if bigger than alloca cutoff.
7715 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7717 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7718 (SNAN_TESTS_double): Refer to GCC PR56831.
7719 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7722 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7724 * Rules (bench): Move bench.out after the run is complete.
7726 * Rules (bench): Echo currently running benchmark.
7728 * benchtests/Makefile (bench): Add atan and slowatan.
7729 * benchtests/atan-inputs: New file.
7730 * benchtests/slowatan-inputs: New file.
7731 * benchtests/slowatan.c: New file.
7733 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7734 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7738 * sysdeps/unix/sysv/linux/kernel-features.h
7739 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7740 __ASSUME_XFS_RESTRICTED_CHOWN.
7741 * sysdeps/unix/sysv/linux/pathconf.c
7742 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7743 Save and restore errno.
7745 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7748 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7749 arguments using __kernel_casinh.
7750 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7751 arguments using __kernel_casinhf.
7752 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7753 arguments using __kernel_casinhl.
7754 * math/libm-test.inc (cacosh_test): Add more tests.
7755 * sysdeps/i386/fpu/libm-test-ulps: Update.
7756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7758 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7760 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7763 * bench/Makefile (bench): Add sin and slowsin.
7764 * benchtests/sin-inputs: New file.
7765 * benchtests/slowsin-inputs: New file.
7766 * benchtests/slowsin.c: New file.
7768 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7769 (bench): Add slowexp and slowpow.
7770 (exp-ITER): Increase iterations.
7771 (pow-ITER): Likewise.
7772 * benchtests/exp-inputs: Change input.
7773 * benchtests/pow-inputs: Likewise.
7774 * benchtests/slowexp-inputs: New file.
7775 * benchtests/slowexp.c: New file.
7776 * benchtests/slowpow-inputs: New file.
7777 * benchtests/slowpow.c: New file.
7779 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7781 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7783 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7784 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7785 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7786 * benchtests/Makefile: Add rint benchtest.
7787 * benchtests/rint-inputs: Input for rint benchtest.
7789 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7791 * Versions.def (libm): Add GLIBC_2.18.
7792 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7793 hidden libm prototypes.
7794 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7795 * math/Makefile (libm-calls): Add s_issignaling.
7796 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7797 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7798 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7800 * math/math.h [__USE_GNU] (issignaling): New macro.
7801 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7802 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7803 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7807 * manual/arith.texi (issignaling): New section.
7808 * manual/libm-err-tab.pl (@all_functions): Update comment.
7809 * math/gen-libm-test.pl (parse_args): Apply special handling for
7811 * math/libm-test.inc (print_float, issignaling_test): New
7813 (check_float_internal): Add issignaling checks.
7814 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7816 * sysdeps/powerpc/math-tests.h: New file.
7817 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7819 * math/test-snan.c (TEST_FUNC): Likewise.
7821 2013-03-30 David S. Miller <davem@davemloft.net>
7823 * po/de.po: Update from translation team.
7825 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7829 imaginary part less than 1.0 and real part less than 0.5
7831 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7832 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7833 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7834 (cacos_test): Add more tests.
7835 (casin_test): Likewise.
7836 (casinh_test): Likewise.
7837 * sysdeps/i386/fpu/libm-test-ulps: Update.
7838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7840 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7842 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7845 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7846 (__pow_mp): Replace ONE and MONE with their values.
7847 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7849 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7850 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7851 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7854 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7856 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7857 (__pow_mp): Replace ZERO and MZERO with their values.
7858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7859 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7863 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7866 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7868 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7870 2013-03-28 Roland McGrath <roland@hack.frob.com>
7872 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7873 Declare with __attribute__ ((weak)).
7874 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7875 Call __call_tls_dtors only if it's not NULL.
7877 2013-03-28 Roland McGrath <roland@hack.frob.com>
7879 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7880 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7881 magic __ehdr_start linker symbol if it's defined.
7882 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7883 them up here if it was already done.
7885 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7886 (_dl_aux_init): Use const in cast when setting it.
7887 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7888 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7889 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7891 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7893 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7894 * csu/libc-tls.c: Nor here.
7895 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7897 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7898 (__libc_message): Never call vsyslog.
7900 2013-03-28 Alan Modra <amodra@gmail.com>
7902 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7904 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7907 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7914 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7917 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7918 Don't add gid passed as argument.
7920 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7922 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7925 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7926 imaginary part between 1.0 and 1.5 and real part less than 0.5
7928 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7929 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7930 * math/libm-test.inc (cacos_test): Add more tests.
7931 (casin_test): Likewise.
7932 (casinh_test): Likewise.
7933 * sysdeps/i386/fpu/libm-test-ulps: Update.
7934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7936 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7938 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7942 (__dbl_mp): Likewise.
7943 (add_magnitudes): Likewise.
7944 (sub_magnitudes): Likewise.
7952 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7954 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7955 (__dubcos): Likewise.
7956 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7957 (__ieee754_acos): Likewise.
7958 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7959 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7962 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7964 (my_log2): Likewise.
7965 (checkint): Likewise.
7966 * sysdeps/ieee754/dbl-64/e_remainder.c
7967 (__ieee754_remainder): Likewise.
7968 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7969 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7973 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7974 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7975 MANTISSA_STORE_T to store computations on mantissa. Use
7976 macros for rounding and division.
7978 (__dbl_mp): Likewise.
7979 (add_magnitudes): Likewise.
7980 (sub_magnitudes): Likewise.
7983 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7984 powers of two in terms of TWOPOW macro.
7985 (mp_no): Make type of mantissa as MANTISSA_T.
7986 [!RADIXI]: Define RADIXI.
7987 [!TWO52]: Define TWO52.
7988 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7990 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7993 llroundl symbol when building for PPC32.
7995 2013-03-24 Mark H Weaver <mhw@netris.org>
7997 * manual/arith.texi (Normalization Functions): Fix prototypes for
7998 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8000 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8004 high value to check if expl overflow.
8005 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8006 to check for underflow and overflow.
8007 * math/libm-test.inc: Add exp test.
8009 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8012 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8015 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8017 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8020 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8022 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8023 wrap blocks consisting of several statements.
8025 * sysdeps/generic/math-tests.h: New file.
8026 * sysdeps/i386/fpu/math-tests.h: Likewise.
8027 * math/test-snan.c: Include it.
8028 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8030 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8033 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8034 (__ieee754_j0l): Do not improve calculations using cos of twice
8035 input for inputs above LDBL_MAX / 2.0L.
8036 (__ieee754_y0l): Likewise.
8037 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8038 (__ieee754_j1l): Do not improve calculations using cos of twice
8039 input for inputs above LDBL_MAX / 2.0L.
8040 (__ieee754_y1l): Likewise.
8041 * math/libm-test.inc (j0_test): Add another test.
8042 (j1_test): Likewise.
8043 (y0_test): Likewise.
8044 (y1_test): Likewise.
8045 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8049 * Rules ($(objpfx)bench-%.c): Include code from a C source
8052 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8055 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8056 imaginary part 1.0 and real part less than 0.5 specially.
8057 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8058 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8059 * math/libm-test.inc (cacos_test): Add more tests.
8060 (casin_test): Likewise.
8061 (casinh_test): Likewise.
8062 * sysdeps/i386/fpu/libm-test-ulps: Update.
8063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8067 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8068 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8070 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8072 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8073 * config.make.in (config-cflags-sse4): Remove variable.
8074 (config-cflags-avx): Likewise.
8075 (config-cflags-sse2avx): Likewise.
8076 (config-cflags-novzeroupper): Likewise.
8077 (config-asflags-i686): Likewise.
8078 (have-mfma4): Likewise.
8079 (have-as-vis3): Likewise.
8081 * configure.in (MIG): Do not AC_SUBST.
8082 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8083 (libc_cv_cc_sse4): Do not AC_SUBST.
8084 (libc_cv_cc_avx): Likewise.
8085 (libc_cv_cc_sse2avx): Likewise.
8086 (libc_cv_cc_novzeroupper): Likewise.
8087 (libc_cv_cc_fma4): Likewise.
8088 (libc_cv_as_i686): Likewise.
8089 (libc_cv_sparc_as_vis3): Likewise.
8090 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8092 (config-asflags-i686): Likewise.
8093 (config-cflags-avx): Likewise.
8094 (config-cflags-sse2avx): Likewise.
8095 (have-mfma4): Likewise.
8096 (config-cflags-novzeroupper): Likewise.
8097 * sysdeps/mach/configure.in (MIG): Likewise.
8098 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8099 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8101 (config-cflags-avx): Likewise.
8102 (config-cflags-sse2avx): Likewise.
8103 (have-mfma4): Likewise.
8104 (config-cflags-novzeroupper): Likewise.
8105 * configure: Regenerated.
8106 * sysdeps/i386/configure: Likewise.
8107 * sysdeps/mach/configure: Likewise.
8108 * sysdeps/sparc/configure: Likewise.
8109 * sysdeps/x86_64/configure: Likewise.
8111 2013-03-20 Roland McGrath <roland@hack.frob.com>
8114 * locale/programs/localedef.c (options): Put N_ translation marker
8115 on argument names, not just descriptions.
8117 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8119 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8121 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8124 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8126 2013-03-19 Roland McGrath <roland@hack.frob.com>
8128 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8129 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8130 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8131 [!BEFORE_ABORT] (before_abort): New function.
8132 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8133 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8134 (writev_for_fatal): New function.
8135 (WRITEV_FOR_FATAL): New macro; call that.
8136 (backtrace_and_maps): New function.
8137 (BEFORE_ABORT): New macro; call that.
8138 (struct str_list): Type removed.
8139 (__libc_message, __libc_fatal): Functions removed.
8140 Include <sysdeps/posix/libc_fatal.c> instead.
8142 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8144 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8146 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8149 2013-03-19 Andreas Schwab <schwab@suse.de>
8151 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8152 * sysdeps/gnu/configure: Regenerate.
8154 * configure.in: Substitute libc_cv_rtlddir.
8155 * configure: Regenerate.
8156 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8157 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8158 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8159 * elf/Makefile (install-others, CFLAGS-interp.c)
8160 (ldso_install, common-ldd-rewrite): Likewise.
8161 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8162 $(inst_slibdir)/$(rtld-installed-name).
8163 * scripts/rellns-sh: Add -p option.
8164 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8167 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8169 * manual/nptl.texi: Renamed to ...
8170 * manual/threads.texi: ... this.
8171 * manual/Makefile (chapters): Update.
8173 2013-03-18 Roland McGrath <roland@hack.frob.com>
8176 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8177 on argument names, not just descriptions.
8178 * malloc/memusagestat.c (options): Likewise.
8179 * nss/getent.c (options): Likewise.
8181 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8184 * iconv/iconv_prog.c (options): Put N_ translation marker
8185 on argument names, not just descriptions.
8186 * iconv/iconvconfig.c (options): Likewise.
8188 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8190 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8191 implementation which is faster on all x86_64 architectures.
8192 Tested on AMD, Intel Nehalem, SNB, IVB.
8193 * sysdeps/x86_64/strnlen.S: Likewise.
8195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8196 Remove all multiarch strlen and strnlen versions.
8197 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8198 Remove strlen and strnlen related parts.
8200 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8202 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8204 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8205 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8206 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8207 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8208 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8209 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8211 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8213 * manual/memory.texi (Malloc Tunable Parameters):
8214 Sort parameters alphabetically. Add comments for missing entries.
8216 2013-03-17 David S. Miller <davem@davemloft.net>
8218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8220 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8223 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8224 for arguments at most half maximum finite value.
8225 * math/libm-test.inc (j0_test): Add more tests.
8226 (j1_test): Likewise.
8227 (y0_test): Likewise.
8228 (y1_test): Likewise.
8229 * sysdeps/i386/fpu/libm-test-ulps: Update.
8230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8233 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8234 1 / x and functions P and Q for arguments above 0x1p256L.
8235 (__ieee754_y0l): Likewise.
8236 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8237 (__ieee754_y1l): Likewise.
8238 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8239 (j1_test): Likewise.
8240 (y0_test): Likewise.
8241 (y1_test): Likewise.
8243 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8245 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8248 2013-03-15 Roland McGrath <roland@hack.frob.com>
8250 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8251 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8252 zero since it's initialized to EXEC_PAGESIZE.
8254 * sysdeps/unix/sysv/linux/ldsodefs.h
8255 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8256 * sysdeps/generic/ldsodefs.h: ... here.
8258 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8260 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8262 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8264 * math/test-snan.c: Renamed from
8265 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8266 * math/Makefile (tests): Add test-snan.
8267 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8270 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8271 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8273 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8274 __builtin_nan family of functions.
8275 * math/libm-test.inc (initialize): Initialize qnan_value with
8276 __builtin_nan family of functions.
8277 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8279 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8281 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8282 storage class. Initialize qNaN_var and sNaN_var with
8283 __builtin_nan and __builtin_nans families of functions,
8286 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8287 (sqrt_test): Remove duplicate test with qNaN input.
8288 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8289 (round_test, signbit_test, significand_test): Note missing +/-Inf
8290 as well as qNaN tests.
8292 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8293 qNaN_var. Fix a few strings, too.
8294 * math/libm-test.inc (nan_value): Rename to qnan_value.
8295 * math/gen-libm-test.pl (%beautify): Adjust to that.
8296 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8297 * math/test-misc.c (main): Likewise.
8298 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8299 to __qnan_bytes, and __qnan_union, respectively.
8300 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8302 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8303 and lqnanval, respectively.
8304 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8305 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8306 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8307 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8309 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8310 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8313 * math/test-misc.c (main): Fix copy'n'pastos.
8314 * misc/tst-efgcvt.c (special): Likewise.
8316 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8317 Remove declarations.
8319 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8321 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8322 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8323 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8324 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8326 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8328 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8329 macro to return vdso values correctly in IFUNC implementations.
8330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8331 Optimization by using IFUNC.
8333 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 Richard Henderson <rth@redhat.com>
8335 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8337 * Makefile.in (bench): New target.
8338 * NEWS: Mention the benchmark framework.
8339 * Rules (bench): Likewise.
8340 (binaries-bench): Generate binaries for functions to
8342 * benchtests/Makefile: New makefile for benchmark tests.
8343 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8345 * benchtests/exp-inputs: New input file for EXP function.
8346 * benchtests/pow-inputs: New input file for POW function.
8347 * scripts/bench.pl: New script to generate source files for
8350 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8352 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8353 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8354 computations on mantissa. Use macros for rounding and
8357 (__dbl_mp): Likewise.
8358 (add_magnitudes): Likewise.
8359 (sub_magnitudes): Likewise.
8362 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8363 powers of two in terms of TWOPOW macro.
8364 (mp_no): Make type of mantissa as MANTISSA_T.
8365 [!RADIXI]: Define RADIXI.
8366 [!TWO52]: Define TWO52.
8367 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8369 * manual/nptl.texi (cindex): Modify threads to pthreads.
8371 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/x86_64/preconfigure: Regenerated.
8375 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8378 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8380 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8381 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8383 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8384 * math/libm-test.inc (j0_test): Do not allow one spurious
8385 underflow exception.
8386 (y1_test): Likewise.
8388 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8390 * manual/Makefile (chapters): Add nptl.
8391 * manual/debug.texi (Debugging Support): Add link to Threads
8393 * manual/nptl.texi: New file.
8395 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8397 2013-03-14 Petr Baudis <pasky@ucw.cz>
8399 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8400 for non-NULL pointer before the memory validity test. Pointed
8401 out by Holger Brunck <holger.brunck@keymile.com>.
8403 2013-03-13 Andreas Schwab <schwab@suse.de>
8405 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8408 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8410 * timezone/zic.c: Update from tzcode 2013b.
8412 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8414 * manual/install.texi (Configuring and compiling):
8415 Mention i686 and i586.
8416 * INSTALL: Regenerate.
8418 2013-03-12 Roland McGrath <roland@hack.frob.com>
8420 * sysdeps/init_array/elf-init.c: New file.
8422 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8423 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8425 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8426 __gmon_start__ as global, but as static with a .preinit_array pointer.
8427 * sysdeps/init_array/gmon-start.c: New file. Use that.
8428 * sysdeps/init_array/crti.S: New file, empty except for comments.
8429 * sysdeps/init_array/crtn.S: Likewise.
8431 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8433 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8436 Remove Prefer_SSE_for_memop.
8437 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8438 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8439 HAS_PREFER_SSE_FOR_MEMOP.
8440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8443 Remove bzero, memset ifunc support.
8444 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8445 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8446 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8447 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8449 2013-03-11 Andreas Schwab <schwab@suse.de>
8452 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8454 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8455 (GLIBC_2.16): Remove pthread_atfork.
8457 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8459 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8460 (ptestcases.h): Likewise.
8462 2013-03-08 Roland McGrath <roland@hack.frob.com>
8464 * Makeconfig ($(common-objpfx)config.status): Depend on
8465 sysdeps/*/preconfigure{,.in} too.
8467 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8469 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8470 (__free_hook): Use void * instead of __malloc_ptr_t.
8471 (__malloc_hook): Likewise.
8472 (__realloc_hook): Likewise.
8473 (__memalign_hook): Likewise.
8474 (__after_morecore_hook): Likewise.
8475 * malloc/arena.c (save_malloc_hook): Likewise.
8476 (save_free_hook): Likewise.
8477 * malloc/hooks.c (malloc_hook_ini): Likewise.
8478 (realloc_hook_ini): Likewise.
8479 (memalign_hook_ini): Likewise.
8480 * malloc/malloc.c (malloc_hook_ini): Likewise.
8481 (realloc_hook_ini): Likewise.
8482 (memalign_hook_ini): Likewise.
8483 (__free_hook): Likewise.
8484 (__malloc_hook): Likewise.
8485 (__realloc_hook): Likewise.
8486 (__memalign_hook): Likewise.
8487 (__libc_malloc): Likewise.
8488 (__libc_free): Likewise.
8489 (__libc_realloc): Likewise.
8490 (__libc_memalign): Likewise.
8491 (__libc_valloc): Likewise.
8492 (__libc_pvalloc): Likewise.
8493 (__libc_calloc): Likewise.
8494 (__posix_memalign): Likewise.
8495 * malloc/morecore.c (__sbrk): Likewise.
8496 (__default_morecore): Likewise.
8498 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8500 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8501 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8504 * malloc/malloc.h (__malloc_size_t): Remove macro.
8505 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8507 (old_memalign_hook): Likewise.
8508 (old_realloc_hook): Likewise.
8509 (struct hdr): Likewise.
8511 (mallochook): Likewise.
8512 (memalignhook): Likewise.
8513 (reallochook): Likewise.
8514 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8515 (tr_old_realloc_hook): Likewise.
8516 (tr_old_memalign_hook): Likewise.
8517 (tr_mallochook): Likewise.
8518 (tr_reallochook): Likewise.
8519 (tr_memalignhook): Likewise.
8521 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8523 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8524 default_ldbl_pack and using as default implementation.
8525 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8527 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8528 redundant definition.
8529 (ldbl_insert_mantissa): Likewise.
8530 (ldbl_canonicalize): Likewise.
8531 (ldbl_nearbyint): Likewise.
8532 (ldbl_pack): Rename to ldbl_pack_ppc.
8533 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8534 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8535 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8537 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8540 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8541 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8542 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8544 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8545 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8546 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8548 2013-03-07 Andreas Jaeger <aj@suse.de>
8550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8553 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8555 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8556 Include mpa.h and declare __MPEXP.
8557 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8559 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8560 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8561 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8562 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8563 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8565 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8566 (__slowpow): Use long double EXPL and LOGL functions to
8568 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8569 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8571 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8572 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8576 intermediate variable to calculate exponent.
8578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8582 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8583 [!NO__SQR]: Define __sqr.
8584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8585 and NO__SQR. Remove all code except __mul and __sqr. Include
8586 sysdeps/ieee754/dbl-64/mpa.c.
8587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8590 * posix/Makefile (tests): Add tst-pathconf.
8591 * posix/tst-pathconf.c: New test case.
8592 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8594 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8596 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8598 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8600 2013-03-06 Andreas Jaeger <aj@suse.de>
8602 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8603 definition via __MAP_ANONYMOUS.
8605 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8606 it's not part of Linux headers.
8608 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8609 (MAP_HUGE_MASK): Define.
8611 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8613 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8616 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8617 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8619 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8622 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8624 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8625 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8626 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8627 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8628 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8629 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8631 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8634 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8635 Handle f2fs and efivarfs.
8637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8640 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8641 (EFIVARFS_MAGIC): Add.
8642 (F2FS_LINK_MAX): Add.
8644 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8646 * stdio-common/vfprintf.c: Replace __builtin_expect with
8649 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8652 * sysdeps/generic/bp-sym.h: Remove file.
8653 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8654 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8655 <bp-sym.h> and <bp-asm.h>.
8656 (__longjmp): Don't use BP_SYM.
8657 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8659 (memcpy): Don't use BP_SYM.
8660 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8661 <bp-sym.h> and <bp-asm.h>.
8662 (memcpy): Don't use BP_SYM.
8663 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8665 (memcpy): Don't use BP_SYM.
8666 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8668 (memset): Don't use BP_SYM.
8669 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8670 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8671 (__bzero): Don't use BP_SYM.
8672 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8673 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8674 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8675 <bp-sym.h> and <bp-asm.h>.
8676 (memcmp): Don't use BP_SYM. Remove comment about bounded
8678 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8679 <bp-sym.h> and <bp-asm.h>.
8680 (memcpy): Don't use BP_SYM.
8681 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8682 <bp-sym.h> and <bp-asm.h>.
8683 (memset): Don't use BP_SYM.
8684 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8685 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8686 (__bzero): Don't use BP_SYM.
8687 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8688 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8689 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8690 <bp-sym.h> and <bp-asm.h>.
8691 (strncmp): Don't use BP_SYM. Remove comment about bounded
8693 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8694 <bp-sym.h> and <bp-asm.h>.
8695 (memcpy): Don't use BP_SYM.
8696 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8697 <bp-sym.h> and <bp-asm.h>.
8698 (memset): Don't use BP_SYM.
8699 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8700 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8701 (__bzero): Don't use BP_SYM.
8702 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8703 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8704 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8705 <bp-sym.h> and <bp-asm.h>.
8706 (__memchr): Don't use BP_SYM.
8707 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8708 <bp-sym.h> and <bp-asm.h>.
8709 (memcmp): Don't use BP_SYM. Remove comment about bounded
8711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8712 <bp-sym.h> and <bp-asm.h>.
8713 (memcpy): Don't use BP_SYM.
8714 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8715 <bp-sym.h> and <bp-asm.h>.
8716 (__mempcpy): Don't use BP_SYM.
8717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8718 <bp-sym.h> and <bp-asm.h>.
8719 (__memrchr): Don't use BP_SYM.
8720 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8721 <bp-sym.h> and <bp-asm.h>.
8722 (memset): Don't use BP_SYM.
8723 (__bzero): Likewise.
8724 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8725 <bp-sym.h> and <bp-asm.h>.
8726 (__rawmemchr): Don't use BP_SYM.
8727 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8728 <bp-sym.h> and <bp-asm.h>.
8729 (__STRCMP): Don't use BP_SYM.
8730 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8731 <bp-sym.h> and <bp-asm.h>.
8732 (strchr): Don't use BP_SYM.
8733 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8734 <bp-sym.h> and <bp-asm.h>.
8735 (__strchrnul): Don't use BP_SYM.
8736 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8737 <bp-sym.h> and <bp-asm.h>.
8738 (strlen): Don't use BP_SYM.
8739 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8740 <bp-sym.h> and <bp-asm.h>.
8741 (strncmp): Don't use BP_SYM. Remove comment about bounded
8743 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8744 <bp-sym.h> and <bp-asm.h>.
8745 (__strnlen): Don't use BP_SYM.
8746 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8747 <bp-sym.h> and <bp-asm.h>.
8748 (__GI__setjmp): Don't use BP_SYM.
8749 (_setjmp): Likewise.
8750 (__sigsetjmp): Likewise.
8751 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8752 (L(start_addresses)): Don't use BP_SYM.
8754 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8756 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8757 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8758 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8759 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8760 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8762 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8763 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8764 about bounded pointers.
8765 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8766 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8767 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8769 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8770 about bounded pointers. Remove GKM FIXME comments.
8771 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8772 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8774 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8775 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8776 Remove GKM FIXME comments.
8777 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8778 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8779 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8781 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8782 about bounded pointers. Remove GKM FIXME comment.
8783 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8785 (strncmp): Don't use BP_SYM. Remove comment about bounded
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8788 <bp-sym.h> and <bp-asm.h>.
8789 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8791 <bp-sym.h> and <bp-asm.h>.
8792 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8795 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8797 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8800 2013-03-05 David S. Miller <davem@davemloft.net>
8802 * po/es.po: Update from translation team.
8804 2013-03-05 Andreas Jaeger <aj@suse.de>
8806 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8807 <bits/mman-linux.h>.
8808 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8810 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8811 <bits/mman-linux.h> to end of file.
8812 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8814 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8815 <bits/mman-linux.h> to end of file.
8816 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8818 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8819 <bits/mman-linux.h> to end of file.
8821 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8822 (MCL_CURRENT, MCL_FUTURE): Define here.
8824 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8829 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8831 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8833 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8834 fourth parameter needed for rt_sigprocmask syscall.
8835 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8836 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8837 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8839 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8840 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8842 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8845 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8846 comment about bounded pointers.
8847 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8848 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8850 2013-03-04 Andreas Jaeger <aj@suse.de>
8852 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8856 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8857 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8860 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8862 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8866 __ieee754_sqrl instead of __sqrl.
8868 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8870 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8871 * sysdeps/powerpc/fpu_control.h: ... here.
8872 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8873 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8874 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8875 * sysdeps/powerpc/bits/mathinline.h: ... here.
8877 2013-03-01 Roland McGrath <roland@hack.frob.com>
8879 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8880 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8881 to just [NEED_DL_SYSINFO_DSO].
8882 * elf/dl-support.c: Likewise.
8883 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8884 * elf/rtld.c (dl_main): Likewise.
8885 * elf/setup-vdso.h (setup_vdso): Likewise.
8886 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8887 * sysdeps/unix/sysv/linux/dl-sysdep.c
8888 (_dl_discover_osversion): Likewise.
8890 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8892 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8893 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8895 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8897 * NEWS: Mention libm performance improvements and non-x86 PI
8900 * csu/libc-start.c (__pthread_initialize_minimal): Change
8902 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8904 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8907 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8908 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8909 <bp-sym.h> and <bp-asm.h>.
8910 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8911 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8913 (memcpy): Don't use BP_SYM.
8914 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8916 (__mpn_add_n): Don't use BP_SYM.
8917 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8918 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8920 (__mpn_addmul_1): Don't use BP_SYM.
8921 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8922 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8924 (_setjmp): Don't use BP_SYM.
8925 (__novmx_setjmp): Likewise.
8926 (__GI__setjmp): Likewise.
8927 (__vmx_setjmp): Likewise.
8928 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8930 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8931 (__bzero): Don't use BP_SYM.
8932 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8933 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8934 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8935 <bp-sym.h> and <bp-asm.h>.
8936 (memcpy): Don't use BP_SYM.
8937 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8938 <bp-sym.h> and <bp-asm.h>.
8939 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8941 <bp-sym.h> and <bp-asm.h>.
8942 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8943 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8945 (__mpn_lshift): Don't use BP_SYM.
8946 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8947 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8949 (memset): Don't use BP_SYM.
8950 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8951 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8952 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8954 (__mpn_mul_1): Don't use BP_SYM.
8955 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8956 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8957 <bp-sym.h> and <bp-asm.h>.
8958 (memcmp): Don't use BP_SYM.
8959 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8960 <bp-sym.h> and <bp-asm.h>.
8961 (memcpy): Don't use BP_SYM.
8962 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8963 <bp-sym.h> and <bp-asm.h>.
8964 (memset): Don't use BP_SYM.
8965 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8966 <bp-sym.h> and <bp-asm.h>.
8967 (strncmp): Don't use BP_SYM.
8968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8969 <bp-sym.h> and <bp-asm.h>.
8970 (memcpy): Don't use BP_SYM.
8971 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8972 <bp-sym.h> and <bp-asm.h>.
8973 (memset): Don't use BP_SYM.
8974 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8975 <bp-sym.h> and <bp-asm.h>.
8976 (__memchr): Don't use BP_SYM.
8977 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8978 <bp-sym.h> and <bp-asm.h>.
8979 (memcmp): Don't use BP_SYM.
8980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8981 <bp-sym.h> and <bp-asm.h>.
8982 (memcpy): Don't use BP_SYM.
8983 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8984 <bp-sym.h> and <bp-asm.h>.
8985 (__mempcpy): Don't use BP_SYM.
8986 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8987 <bp-sym.h> and <bp-asm.h>.
8988 (__memrchr): Don't use BP_SYM.
8989 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8990 <bp-sym.h> and <bp-asm.h>.
8991 (memset): Don't use BP_SYM.
8992 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8993 <bp-sym.h> and <bp-asm.h>.
8994 (__rawmemchr): Don't use BP_SYM.
8995 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8996 <bp-sym.h> and <bp-asm.h>.
8997 (__STRCMP): Don't use BP_SYM.
8998 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8999 <bp-sym.h> and <bp-asm.h>.
9000 (strchr): Don't use BP_SYM.
9001 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9002 <bp-sym.h> and <bp-asm.h>.
9003 (__strchrnul): Don't use BP_SYM.
9004 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9005 <bp-sym.h> and <bp-asm.h>.
9006 (strlen): Don't use BP_SYM.
9007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9008 <bp-sym.h> and <bp-asm.h>.
9009 (strncmp): Don't use BP_SYM.
9010 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9011 <bp-sym.h> and <bp-asm.h>.
9012 (__strnlen): Don't use BP_SYM.
9013 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9015 (__mpn_rshift): Don't use BP_SYM.
9016 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9017 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9018 <bp-sym.h> and <bp-asm.h>.
9019 (__sigsetjmp): Don't use BP_SYM.
9020 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9021 (L(start_addresses)): Don't use BP_SYM.
9023 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9025 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9026 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9027 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9028 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9030 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9031 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9032 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9033 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9035 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9037 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9038 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9040 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9042 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9043 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9044 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9046 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9048 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9050 (strncmp): Don't use BP_SYM,
9051 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9053 (__mpn_sub_n): Don't use BP_SYM.
9054 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9055 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9057 (__mpn_submul_1): Don't use BP_SYM.
9058 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9060 <bp-sym.h> and <bp-asm.h>.
9061 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9063 <bp-sym.h> and <bp-asm.h>.
9064 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9067 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9070 Use ZK to minimize writes to Z.
9071 (sub_magnitudes): Simplify code a bit.
9072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9073 Use ZK to minimize writes to Z.
9074 (sub_magnitudes): Simplify code a bit.
9076 2013-02-27 Roland McGrath <roland@hack.frob.com>
9078 * csu/gmon-start.c: Add special exception to license text.
9080 2013-02-27 Richard Henderson <rth@redhat.com>
9082 * scripts/config.guess: Update from config.git.
9083 * scripts/config.sub: Likewise.
9085 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9087 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9089 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9091 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9093 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9095 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9097 2013-02-26 Roland McGrath <roland@hack.frob.com>
9099 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9100 [$(build-shared = yes].
9102 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9104 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9105 (__mul): Reduce iterations for calculating mantissa.
9107 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9109 (__mpranred): Likewise.
9112 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9113 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9115 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9117 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9118 Define __attribute__.
9120 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9122 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9124 * posix/regex_internal.h (__attribute): Remove.
9125 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9126 (re_string_context_at): Likewise.
9127 (bitset_not): Use __attribute__ and mark function as possibly
9129 (bitset_merge): Likewise.
9130 (bitset_mask): Likewise.
9131 (re_string_char_size_at): Likewise.
9132 (re_string_wchar_at): Likewise.
9133 (re_string_elem_size_at): Likewise.
9135 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9137 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9141 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9146 (__dbl_mp): Likewise.
9147 (add_magnitudes): Likewise.
9148 (sub_magnitudes): Likewise.
9152 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9155 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9158 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9162 up changes with default code.
9163 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9166 2013-02-24 Allan McRae <allan@archlinux.org>
9168 * manual/socket.texi (The Internet Namespace): Order menu items
9169 to match that in the file.
9171 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9172 node listing of the info page menu.
9174 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9177 * sysdeps/i386/bp-asm.h: Remove file.
9178 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9179 (PARMS): Do not use macros from bp-asm.h.
9183 (__mpn_add_n): Do not use BP_SYM
9184 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9186 (PARMS): Do not use macros from bp-asm.h.
9189 (__mpn_addmul_1): Do not use BP_SYM
9190 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9192 (PARMS): Do not use macros from bp-asm.h.
9194 (_setjmp): Likewise. Do not use BP_SYM.
9195 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9197 (PARMS): Do not use macros from bp-asm.h.
9199 (setjmp): Likewise. Do not use BP_SYM.
9200 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9202 (PARMS): Do not use macros from bp-asm.h.
9203 (__frexp): Do not use BP_SYM.
9205 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9207 (PARMS): Do not use macros from bp-asm.h.
9208 (__frexpf): Do not use BP_SYM.
9210 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9212 (PARMS): Do not use macros from bp-asm.h.
9213 (__frexpl): Do not use BP_SYM.
9215 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9217 (PARMS): Do not use macros from bp-asm.h.
9218 (__remquo): Do not use BP_SYM.
9220 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9222 (PARMS): Do not use macros from bp-asm.h.
9223 (__remquof): Do not use BP_SYM.
9224 (remquof): Likewise.
9225 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9227 (PARMS): Do not use macros from bp-asm.h.
9228 (__remquol): Do not use BP_SYM.
9229 (remquol): Likewise.
9230 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9232 (PARMS): Do not use macros from bp-asm.h.
9235 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9236 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9238 (PARMS): Do not use macros from bp-asm.h.
9239 (strlen): Do not use BP_SYM.
9240 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9242 (PARMS): Do not use macros from bp-asm.h.
9246 (__mpn_add_n): Do not use BP_SYM.
9247 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9249 (PARMS): Do not use macros from bp-asm.h.
9252 (__mpn_addmul_1): Do not use BP_SYM.
9253 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9256 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9258 (PARMS): Do not use macros from bp-asm.h.
9261 (__mpn_lshift): Do not use BP_SYM.
9262 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9264 (PARMS): Do not use macros from bp-asm.h.
9268 (memcpy): Likewise. Do not use BP_SYM.
9269 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9270 libc_hidden_def and weak_alias.
9271 (mempcpy): Do not use BP_SYM in weak_alias.
9272 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9274 (PARMS): Do not use macros from bp-asm.h.
9277 [!BZERO_P] (CHR): Likewise.
9278 (memset): Likewise. Do not use BP_SYM.
9279 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9281 (PARMS): Do not use macros from bp-asm.h.
9284 (__mpn_mul_1): Do not use BP_SYM.
9285 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9287 (PARMS): Do not use macros from bp-asm.h.
9290 (__mpn_rshift): Do not use BP_SYM.
9291 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9293 (PARMS): Do not use macros from bp-asm.h.
9296 (strchr): Likewise. Do not use BP_SYM.
9297 (index): Do not use BP_SYM in weak_alias.
9298 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9300 (PARMS): Do not use macros from bp-asm.h.
9303 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9304 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9306 (PARMS): Do not use macros from bp-asm.h.
9307 (strlen): Do not use BP_SYM.
9308 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9310 (PARMS): Do not use macros from bp-asm.h.
9314 (__mpn_sub_n): Do not use BP_SYM.
9315 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9317 (PARMS): Do not use macros from bp-asm.h.
9320 (__mpn_submul_1): Do not use BP_SYM.
9321 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9323 (PARMS): Do not use macros from bp-asm.h.
9327 (__mpn_add_n): Do not use BP_SYM.
9328 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9331 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9333 (PARMS): Do not use macros from bp-asm.h.
9336 (memcmp): Do not use BP_SYM.
9337 (bcmp): Do not use BP_SYM in weak_alias.
9338 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9340 (PARMS): Do not use macros from bp-asm.h.
9344 (memcpy): Likewise. Do not use BP_SYM.
9345 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9347 (PARMS): Do not use macros from bp-asm.h.
9351 (memmove): Likewise. Do not use BP_SYM.
9352 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9354 (PARMS): Do not use macros from bp-asm.h.
9358 (__mempcpy): Likewise. Do not use BP_SYM.
9359 (mempcpy): Do not use BP_SYM in weak_alias.
9360 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9362 (PARMS): Do not use macros from bp-asm.h.
9365 [!BZERO_P] (CHR): Likewise.
9366 (memset): Likewise. Do not use BP_SYM.
9367 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9369 (PARMS): Do not use macros from bp-asm.h.
9371 (strcmp): Do not use BP_SYM.
9372 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9374 (PARMS): Do not use macros from bp-asm.h.
9377 [USE_AS_STRTOK_R] (SAVE): Likewise.
9378 (FUNCTION): Likewise. Do not use BP_SYM.
9379 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9381 (strtok_r): Likewise.
9382 (__GI___strtok_r): Likewise.
9383 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9384 (PARMS): Do not use macros from bp-asm.h.
9387 (__mpn_lshift): Do not use BP_SYM.
9388 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9389 (PARMS): Do not use macros from bp-asm.h.
9392 (__memchr): Do not use BP_SYM.
9393 (memchr): Do not use BP_SYM in weak_alias.
9394 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9395 (PARMS): Do not use macros from bp-asm.h.
9398 (memcmp): Do not use BP_SYM.
9399 (bcmp): Do not use BP_SYM in weak_alias.
9400 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9401 (PARMS): Do not use macros from bp-asm.h.
9404 (__mpn_mul_1): Do not use BP_SYM.
9405 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9407 (PARMS): Do not use macros from bp-asm.h.
9410 (__rawmemchr): Do not use BP_SYM.
9411 (rawmemchr): Do not use BP_SYM in weak_alias.
9412 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9413 (PARMS): Do not use macros from bp-asm.h.
9416 (__mpn_rshift): Do not use BP_SYM.
9417 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9418 (PARMS): Do not use macros from bp-asm.h.
9420 (__sigsetjmp): Likewise. Do not use BP_SYM.
9421 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9422 (_start): Do not use BP_SYM.
9423 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9424 (PARMS): Do not use macros from bp-asm.h.
9427 (__stpcpy): Likewise. Do not use BP_SYM.
9428 (stpcpy): Do not use BP_SYM in weak_alias.
9429 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9431 (PARMS): Do not use macros from bp-asm.h.
9435 (__stpncpy): Likewise. Do not use BP_SYM.
9436 (stpncpy): Do not use BP_SYM in weak_alias.
9437 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9438 (PARMS): Do not use macros from bp-asm.h.
9441 (strchr): Likewise. Do not use BP_SYM.
9442 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9444 (PARMS): Do not use macros from bp-asm.h.
9447 (__strchrnul): Likewise. Do not use BP_SYM.
9448 (strchrnul): Do not use BP_SYM in weak_alias.
9449 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9451 (PARMS): Do not use macros from bp-asm.h.
9453 (strcspn): Do not use BP_SYM.
9454 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9456 (PARMS): Do not use macros from bp-asm.h.
9459 (strpbrk): Likewise. Do not use BP_SYM.
9460 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9462 (PARMS): Do not use macros from bp-asm.h.
9465 (strrchr): Likewise. Do not use BP_SYM.
9466 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9467 (PARMS): Do not use macros from bp-asm.h.
9469 (strspn): Do not use BP_SYM.
9470 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9471 (PARMS): Do not use macros from bp-asm.h.
9475 (FUNCTION): Likewise. Do not use BP_SYM.
9476 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9478 (strtok_r): Likewise.
9479 (__GI___strtok_r): Likewise.
9480 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9481 (PARMS): Do not use macros from bp-asm.h.
9485 (__mpn_sub_n): Do not use BP_SYM.
9486 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9488 (PARMS): Do not use macros from bp-asm.h.
9491 (__mpn_submul_1): Do not use BP_SYM.
9492 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9494 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9496 (PARMS): Do not use macros from bp-asm.h.
9501 (__clone): Do not use BP_SYM.
9502 (clone): Do not use BP_SYM in weak_alias.
9503 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9505 (PARMS): Do not use macros from bp-asm.h.
9507 (__mmap64): Do not use BP_SYM.
9508 (mmap64): Do not use BP_SYM in weak_alias.
9509 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9510 <bp-sym.h> and <bp-asm.h>.
9511 (PARMS): Do not use macros from bp-asm.h.
9512 (__posix_fadvise64_l64): Do not use BP_SYM.
9513 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9514 (PARMS): Do not use macros from bp-asm.h.
9516 (semtimedop): Do not use BP_SYM.
9517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9520 2013-02-21 Allan McRae <allan@archlinux.org>
9522 * manual/message.texi (Charset conversion in gettext):
9523 Move @end statement to beginning of line.
9525 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9532 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9537 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9539 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9540 tail-call to the resolved function if pltexit isn't needed.
9542 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9545 or Y being zero as being unlikely.
9546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9549 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9551 * manual/nss.texi (System Databases and Name Service Switch):
9552 Remove frobnicate @pxref.
9554 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9556 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9557 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9559 2013-02-20 Petr Machata <pmachata@redhat.com>
9561 * elf/elf.h (R_ARM_TARGET1): New macro.
9562 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9563 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9564 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9565 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9566 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9567 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9568 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9569 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9570 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9571 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9572 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9573 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9574 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9575 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9576 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9577 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9578 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9579 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9580 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9581 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9582 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9583 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9584 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9585 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9586 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9587 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9588 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9589 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9590 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9591 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9592 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9593 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9594 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9595 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9596 (R_ARM_THM_GOT_BREL12): Likewise.
9597 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9598 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9599 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9600 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9601 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9602 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9603 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9604 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9605 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9607 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9609 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9610 __attribute_used__ to __attribute__ ((unused)).
9612 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9614 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9620 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9623 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9625 (ENTER): Remove both macro definitions.
9627 (CHECK_BOUNDS_LOW): Likewise.
9628 (CHECK_BOUNDS_HIGH): Likewise.
9629 (CHECK_BOUNDS_BOTH): Likewise.
9630 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9631 (RETURN_BOUNDED_POINTER): Likewise.
9632 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9633 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9634 (POP_ERRNO_LOCATION_RETURN): Likewise.
9635 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9636 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9637 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9639 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9640 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9641 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9642 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9643 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9644 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9645 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9646 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9647 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9648 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9649 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9650 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9651 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9652 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9654 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9655 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9657 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9658 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9659 * sysdeps/i386/i586/memset.S (memset): Likewise.
9660 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9661 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9662 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9664 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9665 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9666 Change uses of L(2) to L(out).
9667 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9668 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9669 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9670 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9671 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9673 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9674 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9676 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9677 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9678 (RETURN): Do not use macro LEAVE.
9679 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9680 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9681 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9682 * sysdeps/i386/i686/memset.S (memset): Likewise.
9683 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9684 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9685 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9686 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9688 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9689 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9690 L(1_2) and L(1_3) into L(1).
9691 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9692 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9693 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9694 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9695 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9696 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9697 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9698 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9699 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9701 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9702 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9703 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9704 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9705 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9706 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9707 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9708 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9709 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9710 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9711 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9712 * sysdeps/i386/strspn.S (strspn): Likewise.
9713 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9715 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9716 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9717 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9718 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9720 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9721 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9722 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9724 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9726 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9728 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9731 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9733 * math/atest-exp.c (exp_mpn): Remove ROUND.
9734 * math/atest-exp2.c (exp_mpn): Likewise.
9735 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9737 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9738 * stdlib/tst-tls-atexit-lib.c: Likewise.
9739 * stdlib/tst-tls-atexit.c: Likewise.
9741 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9743 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9744 and __attribute_alloc_size__.
9746 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9748 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9749 __attribute_alloc_size__.
9750 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9751 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9753 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9755 * include/programs/xmalloc.h: New file.
9756 * catgets/gencat.c: Include it.
9757 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9758 * elf/pldd.c: Likewise.
9759 * iconv/iconv_charmap.c: Likewise.
9760 * iconv/iconvconfig.c: Likewise.
9761 * iconv/strtab.c: Likewise.
9762 * locale/programs/locale.c: Likewise.
9763 * locale/programs/localedef.h: Likewise.
9764 * locale/programs/simple-hash.c: Likewise.
9765 * nscd/nscd.h: Likewise.
9766 * nss/makedb.c: Likewise.
9767 * sysdeps/generic/ldconfig.h: Likewise.
9769 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9771 * Versions.def: Add GLIBC_2.18.
9772 * include/link.h (struct link_map): New member l_tls_dtor_count.
9773 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9774 (__call_tls_dtors): Likewise.
9775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9776 __cxa_thread_atexit_impl.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9793 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9794 (tests): Add test case tst-tls-atexit.
9795 (modules-names): Add shared library for tst-tls-atexit.
9796 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9797 (GLIBC_PRIVATE): Add __call_tls_dtors.
9798 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9800 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9801 * stdlib/tst-tls-atexit.c: New test case.
9802 * stdlib/tst-tls-atexit-lib.c: New test case.
9804 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9806 * elf/Versions (ld): Add _dl_find_dso_for_object.
9807 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9808 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9809 (dl_open_worker): Use _dl_find_dso_for_object.
9810 * elf/dl-sym.c (do_sym): Likewise.
9811 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9813 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9815 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9816 Syntactic changes only.
9817 (_dl_runtime_profile): Do a tail-call to the resolved function.
9819 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9822 * sysdeps/x86_64/bp-asm.h: Remove file.
9823 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9824 <bp-sym.h> and <bp-asm.h>.
9825 (__clone): Do not use BP_SYM.
9826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9827 <bp-sym.h> and <bp-asm.h>.
9828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9829 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9831 (_setjmp): Do not use BP_SYM.
9832 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9834 (setjmp): Do not use BP_SYM.
9835 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9837 (mempcpy): Do not use BP_SYM in weak_alias.
9838 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9840 (strchr): Do not use BP_SYM.
9841 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9843 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9844 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9845 (_start): Do not use BP_SYM.
9846 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9848 (strcat): Do not use BP_SYM.
9849 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9851 (STRCMP): Do not use BP_SYM.
9852 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9854 (STRCPY): Do not use BP_SYM.
9855 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9857 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9859 (FUNCTION): Do not use BP_SYM.
9860 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9862 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9864 2013-02-17 Andreas Jaeger <aj@suse.de>
9866 * time/Versions: Sort entries.
9867 * string/Versions: Likewise.
9868 * resolv/Versions: Likewise.
9869 * posix/Versions: Likewise.
9870 * iconv/Versions: Likewise.
9871 * elf/Versions: Likewise.
9872 * wcsmbs/Versions: Likewise.
9874 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9876 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9877 loop termination condition.
9879 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9880 variable to calculate EZ.
9883 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9884 the lower precision input.
9886 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9889 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9890 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9891 (run-via-rtld-prefix): Do not handle %-bp tests.
9892 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9893 (all-object-suffixes): Remove .ob.
9894 (bppfx): Remove variable.
9895 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9896 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9897 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9898 [$(build-bounded) = yes] (libtype.ob): Likewise.
9899 * Makerules (elide-routines.ob): Remove variable.
9900 (do-tests-clean): Do not handle *-bp.out.
9901 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9902 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9903 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9904 (tests): Do not include $(tests-bp.out).
9905 (xtests): Do not include $(xtests-bp.out).
9906 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9907 [$(build-bounded) = yes] ($(addprefix
9908 $(objpfx),$(binaries-bounded))): Remove rule.
9909 ($(objpfx)%-bp.out): Remove rule.
9910 * config.make.in (build-bounded): Remove variable.
9911 * crypt/Makefile [$(build-bounded) = yes]
9912 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9913 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9915 [$(build-bounded) = yes] (install-lib): Likewise.
9916 [$(build-bounded) = yes] (generated): Likewise.
9917 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9919 * intl/Makefile [$(build-bounded) = yes]
9920 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9921 * math/Makefile [$(build-bounded) = yes]
9922 ($(tests:%=$(objpfx)%-bp): Likewise.
9923 * misc/Makefile [$(build-bounded) = yes]
9924 ($(objpfx)tst-tsearch-bp): Likewise.
9925 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9926 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9928 * string/Makefile (o-objects.ob): Remove variable.
9929 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9930 (CFLAGS-.ob): Remove variable.
9931 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9932 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9933 both definitions of variable.
9934 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9935 (ASFLAGS-.ob): Remove variable.
9937 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9940 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9941 Remove __BOUNDED_POINTERS__ from condition.
9942 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9943 * string/bits/string2.h [!__NO_STRING_INLINES &&
9944 !__BOUNDED_POINTERS__]: Likewise.
9945 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9947 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9948 Remove conditional code.
9949 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9950 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9951 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9955 * csu/libc-start.c: Do not include <bp-sym.h>.
9956 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9957 * elf/dl-open.c: Do not include <bp-sym.h>.
9958 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9959 * math/fegetenv.c: Do not include <bp-sym.h>.
9960 (fegetenv): Do not use BP_SYM in versioned symbols.
9961 * nptl/sysdeps/pthread/bits/libc-lockP.h
9962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9965 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9967 (__pthread_mutex_destroy): Likewise.
9968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9969 (__pthread_mutex_lock): Likewise.
9970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9971 (__pthread_mutex_trylock): Likewise.
9972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9973 (__pthread_mutex_unlock): Likewise.
9974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9975 (__pthread_mutexattr_init): Likewise.
9976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9977 (__pthread_mutexattr_destroy): Likewise.
9978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9979 (__pthread_mutexattr_settype): Likewise.
9980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9981 (__pthread_rwlock_init): Likewise.
9982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9983 (__pthread_rwlock_destroy): Likewise.
9984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9985 (__pthread_rwlock_rdlock): Likewise.
9986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9987 (__pthread_rwlock_tryrdlock): Likewise.
9988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9989 (__pthread_rwlock_wrlock): Likewise.
9990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9991 (__pthread_rwlock_trywrlock): Likewise.
9992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9993 (__pthread_rwlock_unlock): Likewise.
9994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9995 (__pthread_key_create): Likewise.
9996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9997 (__pthread_setspecific): Likewise.
9998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9999 (__pthread_getspecific): Likewise.
10000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10003 (_pthread_cleanup_push_defer): Likewise.
10004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10005 (_pthread_cleanup_pop_restore): Likewise.
10006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10007 (pthread_setcancelstate): Likewise.
10008 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10010 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10011 (memchr): Do not use BP_SYM in weak_alias.
10012 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10013 (fegetenv): Do not use BP_SYM in versioned symbols.
10014 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10015 (fesetenv): Do not use BP_SYM in versioned symbols.
10016 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10017 (feupdateenv): Do not use BP_SYM in versioned symbols.
10018 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10019 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10020 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10021 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10022 (open64): Do not use BP_SYM in weak_alias.
10023 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10024 (fegetenv): Do not use BP_SYM in versioned symbols.
10025 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10026 (fesetenv): Do not use BP_SYM in versioned symbols.
10027 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10028 (feupdateenv): Do not use BP_SYM in versioned symbols.
10029 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10030 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10031 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10032 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10033 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10034 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10035 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10037 (__libc_start_main): Do not use BP_SYM.
10039 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10042 redundant return line.
10044 (denorm): Likewise.
10045 (dbl_mp): Likewise.
10046 (sub_magnitudes): Likewise.
10052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10054 (denorm): Likewise.
10055 (dbl_mp): Likewise.
10056 (sub_magnitudes): Likewise.
10063 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10065 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10066 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10069 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10070 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10071 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10072 of __mul for squares.
10073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10077 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10080 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10083 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10085 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10086 prototype or function definition. Rename ubp_* variables and
10087 parameters. Remove argv definitions conditional on
10088 [__BOUNDED_POINTERS__].
10089 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10090 * elf/dl-runtime.c (_dl_fixup): Likewise.
10091 * include/set-hooks.h (RUN_HOOK): Likewise.
10092 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10094 * string/strcpy.c (strcpy): Do not use __unbounded.
10095 * sysdeps/generic/frame.h (struct layout): Likewise.
10096 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10097 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10098 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10099 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10100 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10101 (__backtrace): Likewise.
10102 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10104 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10105 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10106 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10108 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10109 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10110 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10111 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10112 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10113 Do not use __unbounded.
10114 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10115 Rename __unboundedrlimits parameter to rlimits in prototype.
10116 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10117 Do not use __unbounded.
10118 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10119 not use __ptrvalue.
10120 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10121 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10122 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10123 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10124 __ptrvalue or __unbounded.
10125 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10126 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10128 (__new_msgctl): Do not use __ptrvalue.
10129 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10131 (__libc_msgrcv): Do not use __ptrvalue.
10132 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10133 startup_info): Do not use __unbounded.
10134 (__libc_start_main): Likewise. Rename ubp_* variables and
10135 parameters. Remove argv definitions conditional on
10136 [__BOUNDED_POINTERS__].
10137 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10139 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10141 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10143 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10145 (__new_shmctl): Do not use __ptrvalue.
10146 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10147 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10149 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10150 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10151 (__libc_sigaction): Likewise.
10152 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10155 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10157 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10159 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10161 * string/mempcpy.c: Implement by calling memcpy.
10163 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10170 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10171 values in the mantissa.
10173 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10174 minimize writes to Z.
10175 (sub_magnitudes): Simplify code a bit.
10177 2013-02-12 Roland McGrath <roland@hack.frob.com>
10179 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10180 from the message. The linker prefixes all warnings with that already.
10182 2013-02-12 Andreas Schwab <schwab@suse.de>
10185 * posix/regexec.c (extend_buffers): Add parameter min_len.
10186 (check_matching): Pass minimum needed length.
10187 (clean_state_log_if_needed): Likewise.
10188 (get_subexp): Likewise.
10189 * posix/Makefile (tests): Add bug-regex34.
10190 (bug-regex34-ENV): Define.
10191 * posix/bug-regex34.c: New file.
10194 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10195 elements compare against the byte sequence of it, not its name.
10196 * posix/Makefile (tests): Add bug-regex35.
10197 (bug-regex35-ENV): Define.
10198 * posix/bug-regex35.c: New file.
10200 2013-02-11 Tom de Vries <tom@codesourcery.com>
10202 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10204 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10205 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10206 (CHECK_EOL): Add undef.
10208 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10210 * bits/stdlib-bsearch.h: New file.
10211 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10212 * stdlib/stdlib.h: Likewise.
10214 2013-02-11 Roland McGrath <roland@hack.frob.com>
10216 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10217 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10219 * manual/search.texi (Array Search Function): Add missing const in
10221 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10222 declaration to use rlim_t.
10223 (Basic Scheduling Functions): Remove erroneous const from
10224 sched_getparam prototype. Remove erroneous * from
10225 sched_get_priority_max and sched_get_priority_min prototypes.
10226 (Resource Usage): Fix summary @comment on vtimes to refer to
10227 sys/vtimes.h rather than vtimes.h.
10228 Add missing *s in vtimes prototype.
10229 (Limits on Resources): Fix ulimit prototype to return long int.
10230 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10231 prototypes to use long int rather than double.
10232 (BSD Random): Fix initstate and setstate to use char *, not void *.
10233 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10234 prototype to make second argument 'struct aiocb64 *const[]'.
10235 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10236 (Status of AIO Operations): Remove erroneous const in aio_return and
10237 aio_return64 prototypes.
10238 (Synchronizing I/O): Fix sync prototype to return void.
10239 * manual/startup.texi (Suboptions): Remove an erroneous const in
10240 getsubopt prototype.
10241 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10242 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10243 use size_t rather than int.
10244 (Scanning All Users): Likewise for getpwent_r.
10245 (Setting Groups): Add missing const to setgroups prototype.
10246 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10247 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10248 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10249 'const void *' rather than 'const char *'.
10250 (Host Address Functions): Likewise for inet_ntop.
10251 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10252 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10253 ssize_t for return value.
10254 (Sending Data): Likewise for send, sendto, sendmsg.
10255 (Socket Option Functions): Add a missing const in setsockopt prototype.
10256 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10257 use wchar_t for the argument.
10258 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10259 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10261 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10262 double/float/long double for second argument.
10263 Fix return types of significand, significandf, significandl.
10264 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10265 argument in fchmod prototype.
10266 (File Owner): Use uid_t and gid_t in fchown prototype.
10267 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10268 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10269 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10270 use 'const struct dirent **' as argument types to CMP function pointer
10272 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10273 (File Times): Fix summary magic @comment for struct utimbuf and utime
10274 to refer to utime.h, not time.h.
10275 * manual/string.texi (Argz Functions): Add missing const in
10276 argz_extract and argz_next prototypes.
10277 (Finding Tokens in a String): Likewise for basename.
10278 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10279 (Copying and Concatenation): Fix typo in wmemmove prototype.
10280 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10281 (Signal Stack): Remove erroneous const in sigstack prototype.
10282 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10284 (Simple Calendar Time): Likewise for stime.
10285 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10287 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10288 say sys/sysctl.h instead.
10289 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10290 and vsyslog prototypes.
10292 2013-02-11 Tom de Vries <tom@codesourcery.com>
10294 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10297 2013-02-11 Roland McGrath <roland@hack.frob.com>
10299 * misc/sys/mman.h: Fix typo in mremap comment.
10301 2013-02-08 Roland McGrath <roland@hack.frob.com>
10303 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10304 the '\0' terminator.
10306 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10309 * debug/segfault.c: Don't include <bp-checks.h>.
10310 * sysdeps/generic/bp-checks.h: Remove file.
10311 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10312 (__GETDENTS): Don't use CHECK_N.
10313 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10314 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10315 (__getgroups): Don't use CHECK_N.
10316 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10317 (setgroups): Don't use CHECK_N.
10318 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10319 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10320 (__libc_msgrcv): Don't use CHECK_N.
10321 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10322 (__libc_msgsnd): Don't use CHECK_N.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10325 (__libc_pread): Don't use CHECK_N.
10326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10327 include <bp-checks.h>.
10328 (__libc_pread64): Don't use CHECK_N.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10330 include <bp-checks.h>.
10331 (__libc_pwrite): Don't use CHECK_N.
10332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10333 include <bp-checks.h>.
10334 (__libc_pwrite64): Don't use CHECK_N.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10337 (__libc_pread): Don't use CHECK_N.
10338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10339 include <bp-checks.h>.
10340 (__libc_pread64): Don't use CHECK_N.
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10342 include <bp-checks.h>.
10343 (__libc_pwrite): Don't use CHECK_N.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10345 include <bp-checks.h>.
10346 (__libc_pwrite64): Don't use CHECK_N.
10347 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10348 (do_pread): Don't use CHECK_N.
10349 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10350 (do_pread64): Don't use CHECK_N.
10351 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10352 (do_pwrite): Don't use CHECK_N.
10353 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10354 (do_pwrite64): Don't use CHECK_N.
10355 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10356 (__libc_readv): Don't use CHECK_N.
10357 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10358 (semop): Don't use CHECK_N.
10359 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10361 (semtimedop): Don't use CHECK_N.
10362 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10363 (__libc_pread): Don't use CHECK_N.
10364 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10366 (__libc_pread64): Don't use CHECK_N.
10367 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10369 (__libc_pwrite): Don't use CHECK_N.
10370 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10372 (__libc_pwrite64): Don't use CHECK_N.
10373 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10375 (__libc_msgrcv): Don't use CHECK_N.
10376 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10377 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10378 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10379 (__libc_writev): Don't use CHECK_N.
10381 2013-02-08 Roland McGrath <roland@hack.frob.com>
10383 * string/strcpy.c: Removed unused variable.
10385 * Makeconfig (+sysdep-includes): Define with := rather than =.
10386 Use an existing include/ subdir of each sysdeps dir before it.
10388 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10390 * nscd/connection.c (register_traced_file): Comment function.
10391 [HAVE_INOTIFY] (union __inev): Define.
10392 [HAVE_INOTIFY] (inotify_check_files): New function.
10393 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10394 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10396 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10398 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10400 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10401 loaded if not already and that a failure is permanent.
10403 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10406 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10407 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10409 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10412 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10413 (CHECK_1_NULL_OK): Likewise.
10414 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10415 (__fxstat): Do not use CHECK_1.
10416 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10418 (___fxstat64): Do not use CHECK_1.
10419 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10421 (__fxstatat): Do not use CHECK_1.
10422 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10424 (__fxstatat64): Do not use CHECK_1.
10425 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10427 (__fxstat): Do not use CHECK_1.
10428 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10430 (__fxstatat): Do not use CHECK_1.
10431 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10433 (__getresgid): Do not use CHECK_1.
10434 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10436 (__getresuid): Do not use CHECK_1.
10437 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10439 (__lxstat): Do not use CHECK_1.
10440 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10442 (__old_msgctl): Do not use CHECK_1.
10443 (__new_msgctl): Likewise.
10444 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10446 (__new_setrlimit): Do not use CHECK_1.
10447 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10449 (__old_shmctl): Do not use CHECK_1.
10450 (__new_shmctl): Likewise.
10451 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10453 (__xstat): Do not use CHECK_1.
10454 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10455 (__lxstat): Do not use CHECK_1.
10456 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10458 (___lxstat64): Do not use CHECK_1.
10459 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10460 (__old_msgctl): Do not use CHECK_1.
10461 (__new_msgctl): Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10464 (__gettimeofday): Do not use CHECK_1.
10465 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10466 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10467 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10469 (__gettimeofday): Do not use CHECK_1.
10470 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10471 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10472 (__new_shmctl): Do not use CHECK_1.
10473 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10475 (do_sigtimedwait): Do not use CHECK_1.
10476 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10478 (do_sigwaitinfo): Do not use CHECK_1.
10479 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10481 (msgctl): Do not use CHECK_1.
10482 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10484 (shmctl): Do not use CHECK_1.
10485 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10486 (ustat): Do not use CHECK_1.
10487 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10489 (__fxstat): Do not use CHECK_1.
10490 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10492 (__fxstatat): Do not use CHECK_1.
10493 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10495 (__lxstat): Do not use CHECK_1.
10496 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10498 (__xstat): Do not use CHECK_1.
10499 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10500 (__xstat): Do not use CHECK_1.
10501 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10502 (___xstat64): Do not use CHECK_1.
10505 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10507 (CHECK_BOUNDS_HIGH): Likewise.
10508 * string/strcpy.c: Do not include <bp-checks.h>.
10509 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10511 2013-02-07 Roland McGrath <roland@hack.frob.com>
10513 * nscd/nscd-client.h (__nscd_drop_map_ref):
10514 Add __attribute__ ((unused)).
10515 * nis/nss-nisplus.h (niserr2nss): Likewise.
10517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10518 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10520 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10521 Remove inline keyword.
10522 * include/rounding-mode.h (round_away): Likewise.
10523 * libio/wfileops.c (adjust_wide_data): Likewise.
10524 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10525 (__m128i_strloadu_tolower): Likewise.
10526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10527 (__m128i_strloadu_tolower): Likewise.
10528 * time/mktime.c (ydhms_diff): Likewise.
10529 * locale/elem-hash.h (elem_hash): Likewise.
10530 * locale/setlocale.c (setdata): Likewise.
10531 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10532 (re_string_wchar_at): Likewise.
10533 (bitset_not, bitset_merge, bitset_mask): Likewise.
10534 [!(__GNUC__ > 3)] (inline): Remove macro.
10535 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10536 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10537 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10538 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10539 * string/memcmp.c (memcmp_bytes): Likewise.
10540 * locale/programs/locarchive.c (compute_hashval): Likewise.
10541 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10542 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10543 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10544 * nss/getent.c (print_rpc, print_protocols): Likewise.
10545 (print_passwd, print_group, print_aliases): Likewise.
10546 * nis/nss-nisplus.h (niserr2nss): Likewise.
10547 * nscd/connections.c (restart_p): Likewise.
10548 Change return type to bool.
10550 2013-02-05 Roland McGrath <roland@hack.frob.com>
10552 * Makeconfig (all-Depend-files): Add existing
10553 $(sorted-subdirs:=/Depend) files.
10554 (all-subdirs): Remove nss.
10555 * sysdeps/unix/inet/Subdirs: Add it here instead.
10556 * hesiod/Depend: New file.
10558 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10559 instead of calling alloca.
10561 * io/lseek.c (__lseek): Rename to __libc_lseek.
10562 Define __lseek as an alias.
10564 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10566 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10568 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10569 else clause and remove check for non-standard endianness.
10571 2013-02-04 David S. Miller <davem@davemloft.net>
10573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10575 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10578 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10579 (__ubp_memchr): Remove prototype.
10580 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10581 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10582 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10583 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10584 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10586 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10587 (__ubp_memchr): Likewise.
10588 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10589 (__ubp_memchr): Likewise.
10590 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10591 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10592 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10593 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10595 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10596 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10597 (__getcwd): Do not use CHECK_STRING.
10598 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10600 (__real_chown): Do not use CHECK_STRING.
10601 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10603 (fchownat): Do not use CHECK_STRING.
10604 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10606 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10608 (__lchown): Do not use CHECK_STRING.
10609 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10610 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10611 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10612 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10614 include <bp-checks.h>.
10615 (truncate64): Do not use CHECK_STRING.
10616 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10618 (__real_chown): Do not use CHECK_STRING.
10619 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10621 (__lchown): Do not use CHECK_STRING.
10622 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10624 (__chown): Do not use CHECK_STRING.
10625 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10627 (truncate64): Do not use CHECK_STRING.
10628 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10630 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10631 (__xmknod): Do not use CHECK_STRING.
10632 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10634 (__xmknodat): Do not use CHECK_STRING.
10635 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10636 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10638 2013-02-04 Andreas Schwab <schwab@suse.de>
10641 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10642 * include/netdb.h: Likewise for h_errno.
10643 * elf/tst-stackguard1.c: Include <tls.h>.
10645 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10647 * elf/link.h (struct link_map): Extend the l_addr comment.
10648 * include/link.h (struct link_map): Likewise.
10650 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10653 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10654 (BOUNDED_1): Remove macro.
10655 * debug/backtrace.c: Don't include <bp-checks.h>.
10656 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10657 (__backtrace): Likewise.
10658 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10660 (__backtrace): Don't use BOUNDED_1.
10661 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10663 (__backtrace): Don't use BOUNDED_1.
10664 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10665 (__backtrace): Don't use BOUNDED_1.
10666 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10667 (shmat): Don't use BOUNDED_N.
10669 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10672 * sysdeps/generic/bp-start.h: Remove file.
10673 * csu/libc-start.c: Don't include <bp-start.h>.
10674 (LIBC_START_MAIN): Set up __environ directly instead of using
10675 INIT_ARGV_and_ENVIRON.
10676 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10680 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10682 (CHECK_FCNTL): Likewise.
10683 (CHECK_N_PAGES): Likewise.
10686 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10688 (CHECK_SIGSET_NULL_OK): Likewise.
10689 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10691 (sigpending): Don't use CHECK_SIGSET.
10692 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10694 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10695 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10697 (do_sigsuspend): Don't use CHECK_SIGSET.
10698 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10700 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10701 (do_sigwait): Don't use CHECK_SIGSET.
10702 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10704 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10705 include <bp-checks.h>.
10706 (sigpending): Don't use CHECK_SIGSET.
10707 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10708 include <bp-checks.h>.
10709 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10710 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10712 (sigpending): Don't use CHECK_SIGSET.
10713 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10715 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10718 * sysdeps/generic/bp-semctl.h: Remove file.
10719 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10720 <bp-checks.h> and <bp-semctl.h>.
10721 (__old_semctl): Don't use CHECK_SEMCTL.
10722 (__new_semctl): Likewise.
10723 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10725 (__old_semctl): Don't use CHECK_SEMCTL.
10726 (__new_semctl): Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10728 <bp-checks.h> and <bp-semctl.h>.
10729 (__old_semctl): Don't use CHECK_SEMCTL.
10730 (__new_semctl): Likewise.
10731 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10732 <bp-checks.h> and <bp-semctl.h>.
10733 (semctl): Don't use CHECK_SEMCTL.
10736 * Makerules (elide-bp-thunks): Remove variable.
10737 (elide-routines.oS): Don't use $(elide-bp-thunks).
10738 (elide-routines.os): Likewise.
10739 (elide-routines.o): Likewise.
10740 (elide-routines.op): Likewise.
10741 (elide-routines.og): Likewise.
10742 (objects): Don't use $(bp-thunks).
10743 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10745 (common-generated): Do not add s-proto-bp.d.
10746 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10749 Do not generate makefile rules for bounded-pointer thunks.
10750 * sysdeps/generic/bp-thunks.h: Remove file.
10751 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10752 * sysdeps/unix/s-proto-bp.S: Likewise.
10755 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10756 parts of result separately when argument is not close to line from
10757 -i to i and one part of argument is small.
10758 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10759 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10760 * math/libm-test.inc (cacos_test): Add more tests.
10761 (casin_test): Likewise.
10762 (casinh_test): Likewise.
10763 * sysdeps/i386/fpu/libm-test-ulps: Update.
10764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10766 2013-01-31 David S. Miller <davem@davemloft.net>
10768 * po/de.po: Update from translation team.
10770 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10772 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10774 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10776 * configure.in (_AC_PROG_CC_C89): New definition.
10777 * configure: Regenerate.
10779 * configure.in (AC_PROG_CPP): New definition.
10780 * configure: Regenerate.
10782 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10784 * debug/tst-backtrace.h: New file.
10785 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10786 (ret): Remove variable.
10788 (FAIL): Remove macro.
10789 (NO_INLINE): Likewise.
10790 (fn1): Use match function instead of strstr.
10791 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10792 (ret): Remove variable.
10794 (FAIL): Remove macro.
10795 (NO_INLINE): Likewise.
10796 (fn): Use match function instead of strstr.
10797 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10798 (ret): Remove variable.
10800 (FAIL): Remove macro.
10801 (NO_INLINE): Likewise.
10802 (handle_signal): Use match function instead of strstr.
10803 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10804 (ret): Remove variable.
10806 (FAIL): Remove macro.
10807 (NO_INLINE): Likewise.
10808 (handle_signal): Use match function instead of strstr.
10810 2013-01-23 Roland McGrath <roland@hack.frob.com>
10812 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10814 2013-01-23 David S. Miller <davem@davemloft.net>
10816 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10817 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10818 argument of CAS if possible.
10819 * sysdeps/sparc/sparc64/bits/atomic.h
10820 (__arch_compare_and_exchange_val_32_acq): Likewise.
10821 (__arch_compare_and_exchange_val_64_acq): Likewise.
10823 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10825 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10826 * sysdeps/posix/ulimit.c: ... this.
10827 Include <limits.h>.
10828 * sysdeps/unix/bsd/ulimit.c: Remove file.
10830 2013-01-23 Adam Conrad <adconrad@0c3.net>
10832 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10833 (LDFLAGS-tst-array5): Likewise.
10835 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10838 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10839 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10840 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10841 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10843 2013-01-21 David S. Miller <davem@davemloft.net>
10845 * sysdeps/sparc/backtrace.c: New file.
10846 * sysdeps/sparc/sparc32/backtrace.h: New file.
10847 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10848 * sysdeps/sparc/sparc64/backtrace.h: New file.
10849 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10850 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10853 2013-01-21 Andreas Schwab <schwab@suse.de>
10856 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10859 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10865 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10866 Mark Mitchell <mark@codesourcery.com>
10867 Tom de Vries <tom@codesourcery.com>
10868 Paul Pluzhnikov <ppluzhnikov@google.com>
10870 * debug/tst-backtrace2.c: New file.
10871 * debug/tst-backtrace3.c: Likewise.
10872 * debug/tst-backtrace4.c: Likewise.
10873 * debug/tst-backtrace5.c: Likewise.
10874 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10875 (CFLAGS-tst-backtrace3.c): Likewise.
10876 (CFLAGS-tst-backtrace4.c): Likewise.
10877 (CFLAGS-tst-backtrace5.c): Likewise.
10878 (LDFLAGS-tst-backtrace2): Likewise.
10879 (LDFLAGS-tst-backtrace3): Likewise.
10880 (LDFLAGS-tst-backtrace4): Likewise.
10881 (LDFLAGS-tst-backtrace5): Likewise.
10882 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10883 tst-backtrace4 and tst-backtrace5.
10885 2013-01-18 Anton Blanchard <anton@samba.org>
10886 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10888 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10889 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10890 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10891 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10893 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10894 "+r" and remove output regs list as redundant. Add explicit inline
10895 asm to specify register of return val to work around compiler codegen
10896 bug. Remove (int) cast on return value. Add return type parameter to
10897 use in macro so that this macro does not truncate return value for
10899 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10900 pass to INTERNAL_VSYSCALL_NCS.
10901 (INLINE_VSYSCALL): Add 'long int' as return type to
10902 INTERNAL_VSYSCALL_NCS macro invocation.
10903 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10904 INTERNAL_VSYSCALL_NCS macro invocation.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10907 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10910 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10911 Fix application of SIMD FP exception mask.
10913 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10914 mp_no from a power of two.
10915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10916 __mpexp_twomm1. Use __pow_mp.
10918 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10921 2013-01-17 David S. Miller <davem@davemloft.net>
10923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10925 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10928 * include/complex.h: Condition contents on [!_COMPLEX_H].
10929 (__kernel_casinhf): New prototype.
10930 (__kernel_casinh): Likewise.
10931 (__kernel_casinhl): Likewise.
10932 * math/Makefile (libm_calls): Add k_casinh.
10933 * math/k_casinh.c: New file.
10934 * math/k_casinhf.c: Likewise.
10935 * math/k_casinhl.c: Likewise.
10936 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10937 finite nonzero arguments.
10938 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10939 finite nonzero arguments.
10940 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10941 finite nonzero arguments.
10942 * math/s_casinh.c: Do not include <float.h>.
10943 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10944 * math/s_casinhf.c: Do not include <float.h>.
10945 (__casinhf): Move code for finite nonzero arguments to
10947 * math/s_casinhl.c: Do not include <float.h>.
10948 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10950 (__casinhl): Move code for finite nonzero arguments to
10952 * math/libm-test.inc (cacos_test): Add more tests.
10953 * sysdeps/i386/fpu/libm-test-ulps: Update.
10954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10958 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10959 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10960 [!HAVE_MREMAP]: Remove [defined linux] case.
10961 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10963 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10965 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10967 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10969 * elf/elf.h (R_386_SIZE32): New relocation.
10970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10972 (elf_machine_rela): Likewise.
10973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10974 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10976 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10978 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10979 (FP_FAST_FMA): Do not define.
10980 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10981 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10982 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10983 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10984 !_SOFT_FLOAT]: Likewise.
10985 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10986 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10988 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10989 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10990 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10991 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10992 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10993 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10996 2013-01-16 Andreas Schwab <schwab@suse.de>
10999 * include/stdlib.h (__mktemp): Add declaration.
11000 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11001 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11003 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11005 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11007 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11008 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11009 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11011 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11012 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11014 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11016 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11017 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11018 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11020 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11021 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11023 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11025 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11027 2013-01-15 David S. Miller <davem@davemloft.net>
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11030 trunc{,f} to libm-sysdep_routes.
11031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11041 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11042 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11043 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11044 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11045 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11046 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11049 nearbyint{,f} to libm-sysdep_routes.
11050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11061 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11063 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11064 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11066 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11067 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11068 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11070 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11071 libc_feholdexcept and libc_fesetenv.
11073 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11075 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11077 2013-01-14 David S. Miller <davem@davemloft.net>
11079 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11080 (SPARC_ASM_VIS2_IFUNC): Likewise.
11081 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11083 use of 'siam' instruction.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11105 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11117 routines to libm-sysdep_routines.
11118 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11121 fdim/fdimf to libm-sysdep_routines.
11122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11130 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11131 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11132 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11133 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11135 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11137 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11138 to optimize copies.
11140 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11144 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11145 local variable MPTWO.
11146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11149 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11151 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11154 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11156 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11158 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11160 * manual/pattern.texi (glob_t): Document gl_flags.
11161 (glob64_t): Likewise.
11163 2013-01-11 David S. Miller <davem@davemloft.net>
11165 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11166 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11167 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11168 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11169 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11170 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11171 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11172 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11173 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11174 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11175 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11176 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11177 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11180 sparc V9 rather than using V8 code.
11181 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11182 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11184 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11186 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11189 2013-01-11 Roland McGrath <roland@hack.frob.com>
11191 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11192 not in the main loop.
11193 * configure: Regenerated.
11195 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11197 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11198 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11200 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11201 [!__GLIBC_HAVE_LONG_LONG] case.
11202 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11203 condition to just #else.
11204 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11205 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11206 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11207 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11209 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11210 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11211 #elif condition to just #else.
11212 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11213 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11214 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11215 #elif condition to just #else.
11217 2013-01-11 Steve Ellcey <sellcey@mips.com>
11219 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11220 (EF_MIPS_ARCH_64): Fix value.
11221 (EF_MIPS_ARCH_32R2): New.
11222 (EF_MIPS_ARCH_64R2): New.
11224 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11226 * Makeconfig (+link-pie-before-libc): New.
11227 (+link-pie-after-libc): Likewise.
11228 (+link-pie-tests): Likewise.
11229 (+link-pie): Rewritten.
11230 (link-before-libc): Remove $(config-LDFLAGS).
11231 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11232 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11233 (config-LDFLAGS): Renamed to ...
11234 (rtld-LDFLAGS): This.
11235 (rtld-tests-LDFLAGS): New macro.
11236 (link-libc-rpath-link): Likewise.
11237 (link-libc-tests-rpath-link): Likewise.
11238 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11239 (link-libc): Prepand $(link-libc-rpath-link).
11240 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11241 (test-program-prefix): New macro.
11242 (test-via-rtld-prefix): Likewise.
11243 (test-program-cmd): Likewise.
11244 (host-test-program-cmd): Likewise.
11245 * Makefile ($(common-objpfx)testrun.sh): Replace
11246 $(run-program-prefix) with $(test-program-prefix).
11247 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11249 ($(common-objpfx)shlib.lds): Likewise.
11250 (build-module-helper): Likewise.
11251 ($(common-objpfx)format.lds): Likewise.
11252 * Rules (binaries-pie-tests): New.
11253 (binaries-pie-notests): Likewise.
11254 (binaries-pie): Rewritten.
11255 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11256 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11257 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11258 (make-test-out): Replace $(host-built-program-cmd) with
11259 $(host-test-program-cmd).
11260 * config.make.in (build-hardcoded-path-in-tests): New variable.
11261 * configure.in (--enable-hardcoded-path-in-tests): New configure
11263 (hardcoded_path_in_tests): New AC_SUBST.
11264 * configure: Regenerated.
11265 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11266 $(built-program-cmd) with $(test-program-cmd).
11267 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11268 (test_program_cmd): This.
11269 * elf/Makefile ($(objpfx)order.out): Run test with
11270 $(test-program-prefix).
11271 ($(objpfx)order2.out): Likewise.
11272 ($(objpfx)tst-initorder.out): Likewise.
11273 ($(objpfx)tst-initorder2.out): Likewise.
11274 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11275 $(test-program-cmd).
11276 ($(objpfx)tst-array1-static.out): Likewise.
11277 ($(objpfx)tst-array2.out): Likewise.
11278 ($(objpfx)tst-array3.out): Likewise.
11279 ($(objpfx)tst-array4.out): Likewise.
11280 ($(objpfx)tst-array5.out): Likewise.
11281 ($(objpfx)tst-array5-static.out): Likewise.
11282 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11283 $(test-program-cmd).
11284 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11285 $(run-program-prefix) with $(test-program-prefix).
11286 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11287 (test_program_prefix): This.
11288 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11289 $(run-program-prefix) with $(test-program-prefix).
11290 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11291 (test_program_prefix): This.
11292 * iconvdata/tst-tables.sh: Likewise.
11293 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11294 $(run-program-prefix) with $(test-program-prefix).
11295 ($(objpfx)tst-translit.out): Likewise.
11296 ($(objpfx)tst-gettext2.out): Likewise.
11297 ($(objpfx)tst-gettext4.out): Likewise.
11298 ($(objpfx)tst-gettext6.out): Likewise.
11299 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11300 (test_program_prefix): This.
11301 * intl/tst-gettext2.sh: Likewise.
11302 * intl/tst-gettext4.sh Likewise.
11303 * intl/tst-gettext6.sh: Likewise.
11304 * intl/tst-translit.sh: Likewise.
11305 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11306 with $(test-program-cmd).
11307 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11308 $(run-program-prefix) with $(test-program-prefix).
11309 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11310 (test_program_prefix): This.
11311 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11312 $(run-program-prefix) with $(test-program-prefix).
11313 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11314 (test_program_prefix): This.
11315 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11316 * posix/Makefile ($(objpfx)globtest.out): Replace
11317 $(run-via-rtld-prefix) and $(test-wrapper) with
11318 $(test-program-prefix) and $(test-via-rtld-prefix).
11319 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11320 $(test-program-prefix).
11321 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11322 $(host-test-program-cmd).
11323 (tst-spawn-ARGS): Likewise.
11324 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11325 $(test-program-prefix).
11326 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11327 (test_via_rtld_prefix): This.
11328 (test_wrapper): Renamed to ...
11329 (test_program_prefix): This.
11330 (run_program_prefix): Replaced by test_program_prefix.
11331 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11332 (test_program_prefix): This.
11333 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11334 with $(host-test-program-cmd).
11335 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11336 $(run-program-prefix) with $(test-program-prefix).
11337 ($(objpfx)tst-printf.out): Likewise.
11338 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11339 $(test-program-cmd).
11340 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11341 (test_program_prefix): This.
11342 * stdio-common/tst-unbputc.sh: Likewise.
11343 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11344 $(run-program-prefix) with $(test-program-prefix).
11345 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11346 (test_program_prefix): This.
11347 * string/Makefile ($(objpfx)tst-svc.out): Replace
11348 $(built-program-cmd) with $(test-program-cmd).
11350 2013-01-11 Andreas Jaeger <aj@suse.de>
11353 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11354 value. Sync with Linux 3.7.
11356 2013-01-10 David S. Miller <davem@davemloft.net>
11358 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11362 2013-01-10 Roland McGrath <roland@hack.frob.com>
11364 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11366 * configure: Regenerated.
11368 2013-01-10 David S. Miller <davem@davemloft.net>
11370 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11371 sparc V9 rather than using V8 code.
11372 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11373 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11375 2013-01-10 Roland McGrath <roland@hack.frob.com>
11377 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11378 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11379 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11380 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11381 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11382 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11383 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11384 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11385 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11386 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11387 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11388 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11389 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11390 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11391 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11392 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11393 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11394 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11395 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11396 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11397 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11398 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11399 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11400 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11401 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11402 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11403 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11405 2013-01-10 David S. Miller <davem@davemloft.net>
11407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11409 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11411 * posix/Makefile (tests-static): New variable.
11412 (tests): Add $(tests-static).
11413 (tst-exec-static-ARGS): New variable.
11414 (tst-spawn-static-ARGS): Likewise.
11415 * posix/tst-exec-static.c: New file.
11416 * posix/tst-spawn-static.c: Likewise.
11417 * posix/tst-exec.c: Support run directly.
11418 * posix/tst-spawn.c: Likewise.
11420 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11422 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11424 * math/bits/mathcalls.h (llrint): Likewise.
11425 (llround): Likewise.
11426 * stdlib/stdlib.h (struct drand48_data): Likewise.
11427 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11428 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11431 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11433 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11434 (elf_greg_t): Likewise.
11435 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11436 (__jmp_buf): Likewise.
11437 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11439 (llrint): Likewise, for all definitions.
11440 (llrintl): Likewise.
11442 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11443 Remove [__GNUC__] condition.
11444 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11445 condition to just [__USE_ISOC99].
11446 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11448 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11451 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11452 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11454 (_POSIX_V6_ILP32_OFF32): Likewise.
11455 (_XBS5_ILP32_OFF32): Likewise.
11456 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11457 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11459 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11461 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11464 doubles __mpexp_twomm1. Adjust usage.
11465 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11468 2013-01-10 Andreas Schwab <schwab@suse.de>
11471 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11472 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11474 2013-01-09 David S. Miller <davem@davemloft.net>
11477 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11478 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11479 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11480 TCP_FASTOPEN): Define.
11481 (tcp_repair_opt): New structure.
11482 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11484 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11485 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11486 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11487 (tcp_cookie_transactions): New structure.
11489 2013-01-09 Anton Blanchard <anton@samba.org>
11491 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11492 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11493 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11496 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11498 * include/features.h (__USE_ANSI): Remove.
11500 2013-01-09 Roland McGrath <roland@hack.frob.com>
11502 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11504 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11506 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11508 * sysdeps/s390/fpu/libm-test-ulps: Update.
11510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11512 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11516 (denorm): Likewise.
11517 (__mp_dbl): Likewise.
11518 (__dbl_mp): Likewise.
11519 (add_magnitudes): Likewise.
11520 (sub_magnitudes): Likewise.
11526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11530 (denorm): Likewise.
11531 (__mp_dbl): Likewise.
11532 (__dbl_mp): Likewise.
11533 (add_magnitudes): Likewise.
11534 (sub_magnitudes): Likewise.
11540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11544 (denorm): Likewise.
11545 (__mp_dbl): Likewise.
11546 (__dbl_mp): Likewise.
11547 (add_magnitudes): Likewise.
11548 (sub_magnitudes): Likewise.
11555 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11557 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11558 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11559 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11560 2 && __USE_EXTERN_INLINES]: Likewise.
11562 2013-01-08 Andreas Jaeger <aj@suse.de>
11565 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11567 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11568 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11570 2013-01-07 Anton Blanchard <anton@samba.org>
11572 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11573 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11574 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11575 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11576 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11578 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11579 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11582 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11584 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11585 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11586 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11587 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11588 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11589 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11590 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11591 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11592 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11593 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11595 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11596 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11597 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11599 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11601 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11602 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11604 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11605 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11606 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11608 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11609 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11610 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11611 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11612 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11614 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11616 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11618 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11619 (__MALLOC_PMT): Likewise.
11620 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11621 [__GNUC__], only on [_LIBC].
11622 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11623 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11624 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11625 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11626 forward declaration.
11627 (realloc_hook_ini): Likewise.
11628 (memalign_hook_ini): Likewise.
11629 (__libc_memalign): Do not use __MALLOC_PMT in variable
11631 (__libc_valloc): Likewise.
11632 (__libc_pvalloc): Likewise.
11633 (__libc_calloc): Likewise.
11634 (__posix_memalign): Likewise.
11637 * math/s_casinh.c: Include <float.h>.
11638 (__casinh): Do not do computation with squaring and square root
11639 for large arguments.
11640 * math/s_casinhf.c: Include <float.h>.
11641 (__casinhf): Do not do computation with squaring and square root
11642 for large arguments.
11643 * math/s_casinhl.c: Include <float.h>.
11644 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11645 (__casinhl): Do not do computation with squaring and square root
11646 for large arguments.
11647 * math/libm-test.inc (casin_test): Add more tests.
11648 (casinh_test): Likewise.
11649 * sysdeps/i386/fpu/libm-test-ulps: Update.
11650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11652 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11654 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11655 (__x86_64_raw_data_cache_size): Likewise.
11656 (__x86_64_data_cache_size_half): Likewise.
11657 (__x86_64_raw_data_cache_size_half): Likewise.
11658 (__x86_64_shared_cache_size): Likewise.
11659 (__x86_64_raw_shared_cache_size): Likewise.
11660 (__x86_64_shared_cache_size_half): Likewise.
11661 (__x86_64_raw_shared_cache_size_half): Likewise.
11662 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11664 (__x86_data_cache_size): This.
11665 (__x86_64_raw_data_cache_size): Renamed to ...
11666 (__x86_raw_data_cache_size): This.
11667 (__x86_64_data_cache_size_half): Renamed to ...
11668 (__x86_data_cache_size_half): This.
11669 (__x86_64_raw_data_cache_size_half): Renamed to ...
11670 (__x86_raw_data_cache_size_half): This.
11671 (__x86_64_shared_cache_size): Renamed to ...
11672 (__x86_shared_cache_size): This.
11673 (__x86_64_raw_shared_cache_size): Renamed to ...
11674 (__x86_raw_shared_cache_size): This.
11675 (__x86_64_shared_cache_size_half): Renamed to ...
11676 (__x86_shared_cache_size_half): This.
11677 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11678 (__x86_raw_shared_cache_size_half): This.
11679 * sysdeps/x86_64/memcpy.S: Updated.
11680 * sysdeps/x86_64/memset.S: Likewise.
11681 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11682 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11685 2013-01-04 David S. Miller <davem@davemloft.net>
11687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11689 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11691 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11692 1 to avoid redefinition warning.
11693 (__USE_GNU): Don't define.
11694 (init_signaling_nan): Protoize.
11696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11698 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11700 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11702 (__cpymn): Likewise.
11703 (norm): Remove commented code.
11704 (denorm): Likewise.
11705 (__mp_dbl): Likewise.
11707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11708 (__cpymn): Likewise.
11709 (norm): Remove commented code.
11710 (denorm): Likewise.
11711 (__mp_dbl): Likewise.
11714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11715 mp_no value for 1.0 and 2.0.
11716 (norm): Use RADIXI instead of radixi.d.
11717 (denorm): Likewise.
11718 (__mul): Use 0.0 instead of zero.d.
11719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11720 mp_no value for 1.0 and 2.0.
11721 (norm): Use RADIXI instead of radixi.d.
11722 (denorm): Likewise.
11723 (__mul): Use 0.0 instead of zero.d.
11725 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11728 * math/s_casinh.c (__casinh): Reduce finite argument to first
11729 quadrant then set signs of results at the end.
11730 * math/s_casinhf.c (__casinhf): Likewise.
11731 * math/s_casinhl.c (__casinhl): Likewise.
11732 * math/libm-test.inc (casin_test): Add more tests.
11733 (casinh_test): Likewise.
11734 * sysdeps/i386/fpu/libm-test-ulps: Update.
11735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11737 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11739 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11741 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11743 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11745 (denorm): Likewise.
11746 (__mp_dbl): Likewise.
11749 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11750 and adjust the header comment.
11752 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11753 variable name from declaration.
11755 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11758 Initialize COMMON_CPUID_INDEX_7 element.
11759 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11760 (CPUID_RTM): Likewise.
11761 (HAS_RTM): Likewise.
11762 (COMMON_CPUID_INDEX_7): New enum.
11764 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11767 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11768 size is zero, record memory as freed.
11770 2013-01-03 Andreas Jaeger <aj@suse.de>
11772 * po/ia.po: Add new Interlingua translation.
11774 2012-01-03 Allan McRae <allan@archlinux.org>
11776 * locale/programs/localedef.c: Fix description of '--posix' flag.
11778 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11780 * NEWS: Update dates in second copyright notice.
11781 * README: Update copyright dates in example.
11782 * manual/libc.texinfo: Update copyright dates.
11783 * scripts/test-installation.pl: Update copyright date in --version
11786 * hurd/ctty-input.c: Fix copyright notice formatting.
11787 * hurd/ctty-output.c: Likewise.
11788 * hurd/dtable.c: Likewise.
11789 * hurd/hurd-raise.c: Likewise.
11790 * hurd/hurdprio.c: Likewise.
11791 * hurd/msgportdemux.c: Likewise.
11792 * misc/sys/file.h: Likewise.
11793 * misc/sys/ioctl.h: Likewise.
11794 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11795 * sysdeps/mach/hurd/chdir.c: Likewise.
11796 * sysdeps/mach/hurd/fchdir.c: Likewise.
11797 * sysdeps/mach/hurd/rename.c: Likewise.
11798 * sysdeps/mach/hurd/rmdir.c: Likewise.
11799 * sysdeps/mach/hurd/seekdir.c: Likewise.
11800 * sysdeps/mach/hurd/setsid.c: Likewise.
11801 * sysdeps/posix/wait3.c: Likewise.
11803 * All files with FSF copyright notices: Update copyright dates
11804 using scripts/update-copyrights.
11805 * intl/plural.c: Regenerated.
11806 * locale/programs/charmap-kw.h: Likewise.
11807 * locale/programs/locfile-kw.h: Likewise.
11809 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11811 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11815 calculation loop and add branch prediction.
11817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11818 check access beyond bounds of m1np.
11820 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11822 (__inv): Remove local variable MPTWO to use the global
11824 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11827 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11828 MP3HALFS static const.
11830 2013-01-01 David S. Miller <davem@davemloft.net>
11832 * po/ca.po: Update from translation team.
11834 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11836 * scripts/update-copyrights: New file.
11837 * Makeconfig: Reformat copyright notice.
11838 * ctype/ctype.h: Likewise.
11839 * debug/swprintf_chk.c: Likewise.
11840 * elf/dl-cache.c: Likewise.
11841 * elf/dl-debug.c: Likewise.
11842 * elf/dl-object.c: Likewise.
11843 * grp/initgroups.c: Likewise.
11844 * hurd/Makefile: Likewise.
11845 * hurd/hurd/signal.h: Likewise.
11846 * hurd/hurdfault.c: Likewise.
11847 * hurd/hurdioctl.c: Likewise.
11848 * hurd/hurdlookup.c: Likewise.
11849 * hurd/intr-msg.c: Likewise.
11850 * iconv/gconv_open.c: Likewise.
11851 * libio/swprintf.c: Likewise.
11852 * locale/lc-ctype.c: Likewise.
11853 * locale/nl_langinfo.c: Likewise.
11854 * mach/Machrules: Likewise.
11855 * mach/Makefile: Likewise.
11856 * malloc/obstack.h: Likewise.
11857 * manual/Makefile: Likewise.
11858 * manual/tsort.awk: Likewise.
11859 * misc/bits/stab.def: Likewise.
11860 * nis/nis_print_group_entry.c: Likewise.
11861 * nis/nis_table.c: Likewise.
11862 * nis/nss_compat/compat-pwd.c: Likewise.
11863 * nis/nss_compat/compat-spwd.c: Likewise.
11864 * po/Makefile: Likewise.
11865 * posix/fnmatch.c: Likewise.
11866 * posix/regex.h: Likewise.
11867 * resolv/Makefile: Likewise.
11868 * resolv/nss_dns/dns-network.c: Likewise.
11869 * resolv/res_hconf.c: Likewise.
11870 * scripts/gen-sorted.awk: Likewise.
11871 * soft-fp/soft-fp.h: Likewise.
11872 * stdio-common/printf.h: Likewise.
11873 * stdlib/monetary.h: Likewise.
11874 * stdlib/random.c: Likewise.
11875 * stdlib/random_r.c: Likewise.
11876 * sysdeps/generic/Makefile: Likewise.
11877 * sysdeps/gnu/Makefile: Likewise.
11878 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11880 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11882 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11885 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11888 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11889 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11890 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11891 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11892 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11893 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11894 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11896 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11901 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11902 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11903 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11904 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11905 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11906 * sysdeps/mach/hurd/errnos.awk: Likewise.
11907 * sysdeps/mach/hurd/fork.c: Likewise.
11908 * sysdeps/mach/hurd/getcwd.c: Likewise.
11909 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11910 * sysdeps/mach/hurd/mmap.c: Likewise.
11911 * sysdeps/mach/hurd/utimes.c: Likewise.
11912 * sysdeps/mach/hurd/xmknod.c: Likewise.
11913 * sysdeps/posix/profil.c: Likewise.
11914 * sysdeps/posix/readdir_r.c: Likewise.
11915 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11916 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11917 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11918 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11920 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11922 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11924 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11925 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11926 * sysdeps/pthread/lio_listio.c: Likewise.
11927 * sysdeps/sparc/dl-procinfo.h: Likewise.
11928 * sysdeps/unix/i386/sysdep.S: Likewise.
11929 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11930 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11931 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11932 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11934 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11935 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11936 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11937 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11938 * sysdeps/wordsize-32/divdi3.c: Likewise.
11939 * time/sys/time.h: Likewise.
11940 * wcsmbs/Makefile: Likewise.
11942 2013-01-01 David S. Miller <davem@davemloft.net>
11944 * po/fr.po: Update from translation team.
11946 * catgets/gencat.c: Update copyright year.
11947 * csu/version.c: Likewise.
11948 * debug/catchsegv.sh: Likewise.
11949 * debug/pcprofiledump.c: Likewise.
11950 * debug/xtrace.sh: Likewise.
11951 * elf/ldconfig.c: Likewise.
11952 * elf/ldd.bash.in: Likewise.
11953 * elf/pldd.c: Likewise.
11954 * elf/sotruss.ksh: Likewise.
11955 * elf/sprof.c: Likewise.
11956 * iconv/iconv_prog.c: Likewise.
11957 * iconv/iconvconfig.c: Likewise.
11958 * locale/programs/locale.c: Likewise.
11959 * locale/programs/localedef.c: Likewise.
11960 * login/programs/pt_chown.c: Likewise.
11961 * malloc/memusage.sh: Likewise.
11962 * malloc/memusagestat.c: Likewise.
11963 * malloc/mtrace.pl: Likewise.
11964 * nscd/nscd.c: Likewise.
11965 * nss/getent.c: Likewise.
11966 * nss/makedb.c: Likewise.
11967 * posix/getconf.c: Likewise.
11969 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11971 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11974 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11976 * math/bits/mathcalls.h (modf): Use __nonnull.
11978 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11980 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11981 (split): Use macro CN instead of the bare value.
11982 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11985 instead of the bare value.
11986 (power1): Likewise.
11988 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11992 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11994 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11996 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11997 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11998 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11999 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12001 2012-12-28 Andreas Jaeger <aj@suse.de>
12003 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12004 values are from Linux 3.7.
12006 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12007 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12009 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12011 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12014 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12016 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12017 variables with preprocessor constants.
12018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12019 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12020 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12022 2012-12-27 Bruno Haible <bruno@clisp.org>
12025 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12028 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12031 and use variable directly.
12032 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12034 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12036 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12039 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12041 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12042 include directive. Remove local variable MPONE.
12043 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12044 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12045 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12047 2012-12-25 David S. Miller <davem@davemloft.net>
12049 * version.h (RELEASE): Set to "development".
12050 (VERSION): Set to "2.17.90".
12051 * NEWS: Add 2.18 section.
12053 2012-12-21 David S. Miller <davem@davemloft.net>
12055 * po/hr.po: Update from translation team.
12057 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12059 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12061 2012-12-19 Steve Ellcey <sellcey@mips.com>
12063 * NEWS: Mention new memcpy for MIPS.
12065 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12067 * manual/contrib.texi (Contributors): Spelling correction.
12069 2012-12-15 David S. Miller <davem@davemloft.net>
12071 * po/ru.po: Update from translation team.
12073 2012-12-13 David S. Miller <davem@davemloft.net>
12075 * NEWS: Mention IFUNC testsuite enhancements.
12077 * po/pl.po: Update from translation team.
12078 * po/bg.po: Likewise.
12080 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12081 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12083 2012-12-11 David S. Miller <davem@davemloft.net>
12085 * po/sv.po: Update from translation team.
12087 * po/vi.po: Update from translation team.
12089 * po/cs.po: Update from translation team.
12091 * po/de.po: Update from translation team.
12092 * po/eo.po: Likewise.
12093 * po/nl.po: Likewise.
12095 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12098 * manual/argp.texi (Argp Helper Functions): Move node to follow
12099 Argp Parsing State.
12102 * manual/conf.texi (Limits on File System Capacity): Mention if
12103 terminating null is included in the max size.
12105 2012-12-10 Andreas Jaeger <aj@suse.de>
12107 * po/cs.po: Update from translation team.
12109 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12111 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12112 void pointer and cast to uintptr_t.
12113 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12115 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12116 * sysdeps/s390/s390-64/memset.S: Likewise.
12118 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12121 * menual/message.texi (Message Translation): Fix typos.
12122 (Helper programs for gettext): Likewise.
12124 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12127 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12130 2012-12-07 David S. Miller <davem@davemloft.net>
12132 * po/libc.pot: Update.
12134 2012-12-07 Richard Henderson <rth@redhat.com>
12137 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12138 normal/normal case to before the switch.
12139 (_FP_DIV): Likewise.
12141 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12142 Mike Frysinger <vapier@gentoo.org>
12144 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12145 check for __NR_fadvise64_64.
12147 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12149 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12150 0, not just to plain "0" as a statement.
12151 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12154 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12156 * NEWS: Use sourceware.org in Bugzilla URL.
12158 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12161 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12163 * stdio-common/tst-put-error.c (do_test): Add newline to the
12164 padded test to ensure flush.
12166 2012-12-05 Jeff Law <law@redhat.com>
12168 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12170 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12172 * README: Don't refer to ports add-on as distributed separately.
12173 Mention AArch64 in list of systems supported in the ports add-on.
12175 * LICENSES: Add more non-FSF copyright and license notices.
12177 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12180 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12182 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12183 10000 as width of padded output.
12185 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12187 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12190 variable LX with __attribute__ ((unused)).
12191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12193 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12196 with __attribute__ ((unused)).
12198 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12200 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12202 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12204 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12205 (CFLAGS-nldbl-acos.c): New variable.
12206 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12207 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12208 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12209 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12210 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12211 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12212 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12213 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12214 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12215 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12216 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12217 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12218 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12219 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12220 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12221 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12222 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12223 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12224 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12225 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12226 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12227 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12228 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12229 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12230 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12231 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12232 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12233 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12234 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12235 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12236 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12237 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12238 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12239 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12240 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12241 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12242 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12243 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12244 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12245 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12246 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12247 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12248 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12249 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12250 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12251 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12252 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12253 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12254 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12255 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12256 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12257 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12258 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12259 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12260 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12261 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12262 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12263 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12264 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12265 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12266 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12267 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12268 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12269 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12270 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12271 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12272 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12273 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12274 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12275 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12276 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12277 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12278 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12279 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12280 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12281 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12282 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12283 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12284 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12285 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12286 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12287 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12288 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12289 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12290 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12291 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12292 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12293 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12294 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12295 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12296 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12297 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12298 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12299 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12300 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12301 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12302 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12305 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12309 whole low double instead of just low 47 bits when splitting values
12312 2012-12-03 Allan McRae <allan@archlinux.org>
12314 * manual/stdio.texi (Predefined Printf Handlers): Remove
12315 @hsep and @vsep usage.
12317 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12319 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12320 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12322 2012-12-03 Jeff Law <law@redhat.com>
12324 * time/sys/time.h (settimeofday): Do not mark TV argument
12327 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12329 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12330 when currently writing and seek to current position when not.
12331 * libio/Makefile (tests): Remove bug-fclose1.
12332 * libio/bug-fclose1.c: Delete.
12334 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12336 * manual/arith.texi (feenableexcept): Fix typo.
12337 (fedisableexcept): Likewise.
12339 2012-11-30 Roland McGrath <roland@hack.frob.com>
12341 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12342 second, differently-typed declaration, rather than a cast.
12344 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12346 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12347 * include/rpc/svc.h: ... here.
12349 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12352 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12353 depending n and resplen2 to catch cases where answer
12356 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12358 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12359 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12361 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12365 2012-11-29 Roland McGrath <roland@hack.frob.com>
12367 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12369 2012-11-28 Jeff Law <law@redhat.com>
12372 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12373 dataset_temporary. Track alloca usage into alloca_used.
12374 If dataset is large allocate and release it via malloc/free.
12376 2012-06-04 Florian Weimer <fweimer@redhat.com>
12379 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12381 2012-11-28 David S. Miller <davem@davemloft.net>
12383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12385 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12388 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12389 of pi/2 rounded to nearest to 64 bits.
12390 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12391 nearest to 64 bits.
12392 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12395 2012-11-28 Jeff Law <law@redhat.com>
12396 Martin Osvald <mosvald@redhat.com>
12399 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12400 * sunrpc/svc.c: Include time.h.
12401 (__svc_accept_failed): New function.
12402 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12403 any reason other than EINTR, call __svc_accept_failed.
12404 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12405 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12407 2012-11-28 Andreas Schwab <schwab@suse.de>
12409 * scripts/abilist.awk: Also handle indirect functions in .opd
12412 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12415 * sysdeps/x86/fpu/powl_helper.c: New file.
12416 * sysdeps/x86/fpu/Makefile: Likewise.
12417 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12419 (__ieee754_powl): Use __powl_helper for finite arguments except
12420 integer exponents below 8.
12421 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12423 (__ieee754_powl): Use __powl_helper for finite arguments except
12424 integer exponents below 8.
12425 * math/libm-test.inc (pow_test): Add more tests and enable some
12426 previously disabled tests.
12427 * sysdeps/i386/fpu/libm-test-ulps: Update.
12428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12431 Carlos O'Donell <carlos_odonell@mentor.com>
12433 * nss/makedb.c (is_prime): Assert that input is odd and greater
12434 than 4. Note that fact in a comment too.
12435 (next_prime): Add 4 to input.
12437 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12440 * libio/Makefile (tests): Add test case tst-fwrite-error.
12441 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12442 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12443 * libio/tst-fwrite-error.c: New test case.
12445 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12447 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12448 before casting to void *.
12449 * include/libc-internal.h (__pointer_type): New macro.
12450 (__integer_if_pointer_type_sub): Likewise.
12451 (__integer_if_pointer_type): Likewise.
12452 (cast_to_integer): Likewise.
12453 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12454 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12455 before casting to atomic64_t.
12456 (atomic_exchange_acq): Likewise.
12457 (__arch_exchange_and_add_body): Likewise.
12458 (__arch_add_body): Likewise.
12459 (atomic_add_negative): Likewise.
12460 (atomic_add_zero): Likewise.
12462 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12464 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12465 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12466 (add_fdes): Likewise.
12467 (linear_search_fdes): Likewise.
12468 (binary_search_unencoded_fdes): Likewise.
12470 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12472 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12474 2012-11-24 Adam Conrad <adconrad@0c3.net>
12476 * configure.in: Autodetect C++ header directories.
12477 * configure: Regenerated.
12479 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12481 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12483 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12487 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12489 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12490 LDBL_MANT_DIG == 106]: Disable some tests.
12491 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12493 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12497 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12498 input for small inputs. Return +/- pi/2 for large inputs.
12499 * math/libm-test.inc (atan_test): Add more tests.
12501 * sysdeps/generic/unwind-dw2-fde-glibc.c
12502 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12503 __attribute__ ((unused)).
12506 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12507 x * y if x and y are nonzero and z is zero.
12510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12511 nonzero exponents with absolute value below 0x1p-117 to +/-
12515 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12516 up arguments below 2**-450, not just those below 2**-500.
12517 * math/libm-test.inc (hypot_test): Add another test.
12520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12521 Return a+b for ratio over 2**120, not 2**60.
12522 * math/libm-test.inc (hypot_test): Add another test.
12524 * math/libm-test.inc (clog_test): Use
12525 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12526 (clog10_test): Likewise.
12529 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12531 2012-11-22 Andreas Schwab <schwab@suse.de>
12533 * sysdeps/i386/fpu/libm-test-ulps: Update.
12535 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12537 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12538 printf output with newline.
12540 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12543 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12544 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12545 -z nodlopen, -z initfirst and -z execstack support.
12546 * configure: Regenerated.
12548 * elf/elf.h (DF_1_NODIRECT): New macro.
12549 (DF_1_IGNMULDEF): Likewise.
12550 (DF_1_NOKSYMS): Likewise.
12551 (DF_1_NOHDR): Likewise.
12552 (DF_1_EDITED): Likewise.
12553 (DF_1_NORELOC): Likewise.
12554 (DF_1_SYMINTPOSE): Likewise.
12555 (DF_1_GLOBAUDIT): Likewise.
12556 (DF_1_SINGLETON): Likewise.
12557 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12558 DT_1_SUPPORTED_MASK bits.
12559 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12561 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12563 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12565 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12567 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12570 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12571 (sendmmsg): Move declarations...
12572 * socket/sys/socket.h: ... here.
12573 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12574 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12576 * socket/recvmmsg.c: ... this new file.
12577 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12578 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12579 definition of __sendmmsg hidden.
12580 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12581 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12582 Move ENOSYS stub into and include it from...
12583 * socket/sendmmsg.c: ... this new file.
12584 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12585 (sysdep_routines): Move recvmmsg and sendmmsg...
12586 * socket/Makefile (routines): ... here.
12587 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12588 (GLIBC_PRIVATE): Add __sendmmsg.
12589 * include/sys/socket.h (__sendmmsg): Add declarations.
12590 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12593 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12595 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12596 variable I1 with __attribute__ ((unused)).
12597 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12599 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12601 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12602 DUMMY variables with __attribute__ ((unused)).
12604 * bits/byteswap.h: Include <bits/types.h>.
12605 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12607 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12609 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12610 string_t. Do not manually set errno.
12611 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12612 length with __strnlen. Make sure to both set errno and return it on
12615 2012-11-19 David S. Miller <davem@davemloft.net>
12617 With help from Joseph Myers.
12618 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12619 very large arguments properly.
12620 * math/libm-test.inc (atan_test): New tests.
12621 (atan2_test): New tests.
12622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12625 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12628 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12631 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12632 [POSIX] (EADDRNOTAVAIL): Likewise.
12633 [POSIX] (EAFNOSUPPORT): Likewise.
12634 [POSIX] (EALREADY): Likewise.
12635 [POSIX] (ECONNABORTED): Likewise.
12636 [POSIX] (ECONNREFUSED): Likewise.
12637 [POSIX] (ECONNRESET): Likewise.
12638 [POSIX] (EDESTADDRREQ): Likewise.
12639 [POSIX] (EDQUOT): Likewise.
12640 [POSIX] (EHOSTUNREACH): Likewise.
12641 [POSIX] (EIDRM): Likewise.
12642 [POSIX] (EISCONN): Likewise.
12643 [POSIX] (ELOOP): Likewise.
12644 [POSIX] (EMULTIHOP): Likewise.
12645 [POSIX] (ENETDOWN): Likewise.
12646 [POSIX] (ENETUNREACH): Likewise.
12647 [POSIX] (ENOBUFS): Likewise.
12648 [POSIX] (ENODATA): Likewise.
12649 [POSIX] (ENOLINK): Likewise.
12650 [POSIX] (ENOMSG): Likewise.
12651 [POSIX] (ENOPROTOOPT): Likewise.
12652 [POSIX] (ENOSR): Likewise.
12653 [POSIX] (ENOSTR): Likewise.
12654 [POSIX] (ENOTCONN): Likewise.
12655 [POSIX] (ENOTSOCK): Likewise.
12656 [POSIX] (EOPNOTSUPP): Likewise.
12657 [POSIX] (EOVERFLOW): Likewise.
12658 [POSIX] (EPROTO): Likewise.
12659 [POSIX] (EPROTONOSUPPORT): Likewise.
12660 [POSIX] (EPROTOTYPE): Likewise.
12661 [POSIX] (ESTALE): Likewise.
12662 [POSIX] (ETIME): Likewise.
12663 [POSIX] (ETXTBSY): Likewise.
12664 [POSIX] (EWOULDBLOCK): Likewise.
12665 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12666 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12667 [POSIX] (SEEK_CUR): Likewise.
12668 [POSIX] (SEEK_END): Likewise.
12669 [POSIX || UNIX98] (mode_t): Do not require.
12670 [POSIX] (off_t): Likewise.
12671 [POSIX] (pid_t): Likewise.
12672 [POSIX] (sys/stat.h): Do not allow header.
12673 [POSIX] (unistd.h): Likewise.
12674 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12675 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12676 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12677 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12679 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12680 sigevent): Specify elements.
12681 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12683 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12684 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12686 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12687 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12688 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12689 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12690 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12691 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12692 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12693 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12695 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12696 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12697 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12698 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12699 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12701 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12703 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12705 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12707 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12708 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12709 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12710 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12711 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12712 Specify lower bound on value.
12713 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12718 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12719 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12720 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12722 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12724 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12725 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12726 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12727 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12728 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12729 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12730 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12731 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12732 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12733 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12734 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12735 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12736 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12737 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12738 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12739 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12741 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12743 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12744 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12745 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12746 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12747 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12748 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12750 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12751 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12752 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12753 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12754 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12755 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12756 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12758 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12759 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12760 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12761 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12762 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12763 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12764 specify as optional.
12765 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12766 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12767 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12768 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12769 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12770 [XPG3] (NL_LANGMAX): Likewise.
12771 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12772 [POSIX || XPG3] (NL_NMAX): Likewise.
12773 [POSIX || XPG3] (NL_SETMAX): Likewise.
12774 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12775 [XPG3] (NZERO): Likewise.
12776 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12777 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12778 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12779 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12780 (REG_ERANGE): Expect.
12781 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12783 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12784 Use (void) in prototype.
12785 [POSIX] (*_t): Allow.
12786 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12787 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12788 (WRDE_BADVAL): Expect.
12790 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12792 [XPG3 || XPG4] (O_RSYNC): Likewise.
12793 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12795 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12796 [XPG3 || XPG4] (sigqueue): Likewise.
12797 [XPG3 || XPG4] (sigtimedwait): Likewise.
12798 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12799 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12800 [XPG3 || XPG4] (vsnprintf): Likewise.
12801 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12803 [XPG3 || XPG4] (blksize_t): Likewise.
12804 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12806 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12807 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12808 [XPG3 || XPG4] (struct itimerspec): Likewise.
12809 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12810 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12811 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12812 [XPG3 || XPG4] (clockid_t): Likewise.
12813 [XPG3 || XPG4] (timer_t): Likewise.
12814 [XPG3 || XPG4] (clock_getres): Likewise.
12815 [XPG3 || XPG4] (clock_gettime): Likewise.
12816 [XPG3 || XPG4] (clock_settime): Likewise.
12817 [XPG3 || XPG4] (nanosleep): Likewise.
12818 [XPG3 || XPG4] (timer_create): Likewise.
12819 [XPG3 || XPG4] (timer_delete): Likewise.
12820 [XPG3 || XPG4] (timer_gettime): Likewise.
12821 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12822 [XPG3 || XPG4] (timer_settime): Likewise.
12823 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12824 [XPG3 || XPG4] (getlogin_r): Likewise.
12825 [XPG3 || XPG4] (pread): Likewise.
12826 [XPG3 || XPG4] (pthread_atfork): Likewise.
12827 [XPG3 || XPG4] (pwrite): Likewise.
12830 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12833 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12835 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12836 finalizing MALLSTREAM.
12838 * sysdeps/mach/hurd/syncfs.c: New file.
12840 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12843 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12844 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12845 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12846 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12847 (_nss_dns_gethostbyname4_r): Likewise.
12848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12849 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12851 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12854 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12856 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12858 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12859 * elf/cache.c (print_entry): Print ",AArch64" for
12862 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12863 * elf/cache.c (print_entry): Print ",hard-float" for
12866 2012-11-18 David S. Miller <davem@davemloft.net>
12868 With help from Joseph Myers.
12869 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12871 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12873 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12874 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12876 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12877 * math/libm-test.inc (y0_test): New tests.
12878 (y1_test): New tests.
12879 * sysdeps/i386/fpu/libm-test-ulps: Update.
12880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12883 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12885 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12887 * configure: Regenerated.
12889 2012-11-17 David S. Miller <davem@davemloft.net>
12892 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12893 nonzero exponents with absolute value below 0x1p-128 to +/-
12896 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12898 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12900 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12902 * posix/getconf-speclist.c: New file.
12903 * posix/posix-envs.def: Likewise.
12904 * posix/confstr.c (START_ENV_GROUP): New macro.
12905 (END_ENV_GROUP): Likewise.
12906 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12907 (KNOWN_PRESENT_ENV_STRING): Likewise.
12908 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12909 (UNKNOWN_ENVIRONMENT): Likewise.
12910 (confstr): Include posix-envs.def instead of handling
12911 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12912 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12913 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12914 (END_ENV_GROUP): Likewise.
12915 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12916 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12917 (UNKNOWN_ENVIRONMENT): Likewise.
12918 (__sysconf): Include posix-envs.def instead of handling associated
12919 cases directly here.
12920 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12921 preprocessing getconf-speclist.c rather than running getconf or
12922 generating empty file.
12924 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12926 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12928 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12931 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12933 2012-11-16 David S. Miller <davem@davemloft.net>
12935 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12936 smaller than LDBL_EPSILON/2.0L, just return xm1.
12938 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12940 * elf/tst-array1.c (init): Set constructor priority to 1000.
12941 (fini): Set destructor priority to 1000.
12942 * elf/tst-array2dep.c: Likewise.
12944 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12947 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12948 (_IO_new_file_xsputn): Also return EOF if none of the input
12949 data was written when overflow failed.
12950 * libio/iopadn.c (_IO_padn): Likewise.
12951 * libio/iowpadn.c (_IO_wpadn): Likewise.
12952 * stdio-common/tst-put-error.c: Add copyright notice.
12953 (do_test): Add case for printing padded string.
12954 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12955 _IO_padn returned error.
12956 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12957 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12960 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12962 * libio/libioP.h: Add comment note that the references to C++
12963 bits are now obsolete.
12965 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12967 * math/libm-test.inc (check_complex): Use asprintf.
12969 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12971 * debug/pcprofiledump.c (print_version): Update copyright year.
12972 * malloc/memusagestat.c (print_version): Likewise.
12974 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12977 * elf/Makefile (tests): Add tst-audit8.
12978 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12979 ($(objpfx)tst-audit8.out): New target.
12980 (tst-audit8-ENV): New variable.
12981 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12982 audit if l_reloc_result is NULL.
12983 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12984 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12985 * elf/tst-audit8.c: New file.
12987 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12989 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12990 * misc/Makefile (CFLAGS-select.c): Define.
12991 * posix/Makefile (CFLAGS-pause.c): Define.
12993 2012-11-13 David S. Miller <davem@davemloft.net>
12995 * crypt/Makefile: Move test targets after toplevel Rules
12996 inclusion. Grab any necessary sysdep routines when linking.
12997 * crypt/md5.c (md5_process_block): Remove define, we will always
12998 name it __md5_process_block.
12999 (md5_finish_ctx): Update md5_process_block call.
13000 (md5_stream): Likewise.
13001 (md5_process_bytes): Likewise.
13002 (md5_process_block): Rename to __md5_process_block and move to ...
13003 * crypt/md5-block.c: ... here.
13004 * crypt/sha256.c (sha256_process_block): Move to ...
13005 * crypt/sha256-block.c: ... here.
13006 * crypt/sha512.c (sha512_process_block): Move to ...
13007 * crypt/sha512-block.c: ... here.
13008 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13010 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13011 * sysdeps/sparc/sparc64/multiarch/Makefile
13012 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13014 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13015 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13017 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13018 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13019 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13020 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13021 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13022 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13023 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13024 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13025 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13027 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13028 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13030 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13032 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13034 * timezone/tzselect.ksh: Update from tzcode git revision
13035 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13036 * timezone/zdump.c: Likewise.
13037 * timezone/zic.c: Likewise.
13038 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13039 in TZVERSION setting, not $(PKGVERSION).
13040 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13041 REPORT_BUGS_TO settings.
13044 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13047 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13049 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13050 detection to immediately after _FP_ROUND().
13051 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13054 2012-11-11 David S. Miller <davem@davemloft.net>
13056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13058 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13059 __close rather than their public counterparts.
13061 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13063 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13065 [UNIX98] (sem_timedwait): Do not expect.
13066 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13067 [XPG4 || UNIX98] (sockatmark): Do not expect.
13068 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13069 (clock_getcpuclockid): Do not expect.
13070 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13071 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13073 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13074 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13075 [UNIX98] (vwscanf): Likewise.
13076 [UNIX98] (vswscanf): Likewise.
13078 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13080 * timezone/version.h: Remove file.
13081 * timezone/README: Do not refer to version.h.
13082 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13083 $(objpfx)version.h.
13084 ($(objpfx)zdump.o): Likewise.
13085 ($(objpfx)version.h): New target.
13087 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13089 * timezone/README: Don't mention modification to tzselect.ksh.
13090 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13091 work on unmodified tzselect.ksh. Substitute version numbers in
13094 * Makefile (format-me): Remove.
13095 (INSTALL): Adjust indentation. Use commands directly instead of
13096 using $(format-me).
13098 * aclocal.m4 (ACX_PKGVERSION): New macro.
13099 (ACX_BUGURL): Likewise.
13100 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13101 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13102 (REPORT_BUGS_TO): Likewise.
13103 * configure: Regenerated.
13104 * config.h.in (PKGVERSION): New macro.
13105 (REPORT_BUGS_TO): Likewise.
13106 * config.make.in (PKGVERSION): New variable.
13107 (PKGVERSION_TEXI): Likewise.
13108 (REPORT_BUGS_TO): Likewise.
13109 (REPORT_BUGS_TEXI): Likewise.
13110 * Makefile (format-me): Use -I$(common-objpfx)manual.
13111 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13112 ($(common-objpfx)manual/%): New target.
13113 (manual/%): Remove target.
13114 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13115 (print_version): Use PKGVERSION.
13116 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13117 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13118 and REPORT_BUGS_TO.
13119 ($(objpfx)xtrace): Likewise.
13120 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13121 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13122 (print_version): Use PKGVERSION.
13123 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13124 (do_version): Use PKGVERSION.
13125 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13127 (common-ldd-rewrite): Likewise.
13128 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13129 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13130 (print_version): Use PKGVERSION.
13131 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13132 * elf/pldd.c (argp_program_bug_address): Remove variable.
13133 (more_help): New function.
13134 (argp): Use more_help.
13135 (print_version): Use PKGVERSION.
13136 * elf/sln.c (main): Use PKGVERSION.
13137 (usage): Use REPORT_BUGS_TO.
13138 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13139 (top level): Use PKGVERSION.
13140 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13141 (print_version): Use PKGVERSION.
13142 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13143 (print_version): Use PKGVERSION.
13144 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13145 (print_version): Use PKGVERSION.
13146 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13147 (print_version): Use PKGVERSION.
13148 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13149 (print_version): Use PKGVERSION.
13150 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13151 (print_version): Use PKGVERSION.
13152 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13154 ($(objpfx)memusage): Likewise.
13155 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13156 (do_version): Use PKGVERSION.
13157 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13158 (print_version): Use PKGVERSION.
13159 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13160 ($PKGVERSION): New variable.
13161 ($REPORT_BUGS_TO): Likewise.
13162 (usage): Use $REPORT_BUGS_TO.
13163 (top level): Use $PKGVERSION.
13164 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13165 ($(objpfx)pkgvers.texi): New rule.
13166 ($(objpfx)stamp-pkgvers): Likewise.
13167 * manual/install.texi: Include pkgvers.texi.
13168 (--with-pkgversion): Document new configure option.
13169 (--with-bugurl): Likewise.
13170 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13171 than necessarily for this particular distribution. Use
13172 REPORT_BUGS_TO for where to report bugs.
13173 * INSTALL: Regenerated.
13174 * manual/libc.texinfo: Include pkgvers.texi.
13175 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13176 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13177 (print_version): Use PKGVERSION.
13178 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13179 (print_version): Use PKGVERSION.
13180 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13181 (print_version): Use PKGVERSION.
13182 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13183 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13185 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13186 (print_version): Use PKGVERSION.
13187 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13188 (print_version): Use PKGVERSION.
13189 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13192 * timezone/checktab.awk: Update from tzcode 2012i.
13193 * timezone/ialloc.c: Likewise.
13194 * timezone/private.h: Likewise.
13195 * timezone/scheck.c: Likewise.
13196 * timezone/tzfile.h: Likewise.
13197 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13198 (TZVERSION): Hardcode tzcode version number.
13199 * timezone/zdump.c: Update from tzcode 2012i.
13200 * timezone/zic.c: Likewise.
13201 * timezone/version.h: New file.
13202 * timezone/README: Describe version.h. Update upstream location.
13205 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13206 (mktemp): Enable declaration.
13207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13208 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13210 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13212 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13214 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13216 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13224 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13225 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13226 for copies of such integer values.
13227 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13228 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13230 2012-11-09 Andreas Jaeger <aj@suse.de>
13232 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13233 definitions and declarations that are provided by
13234 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13236 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13238 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13239 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13240 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13243 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13245 * elf/elf.h: Update comment before AArch64 relocations.
13247 2012-11-07 David S. Miller <davem@davemloft.net>
13249 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13250 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13251 (__start_context): Declare.
13252 (__makecontext_ret): Delete.
13253 (__makecontext): Hook up __start_context instead of
13255 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13256 (sysdep_routines): Add __start_context when in stdlib.
13258 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13260 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13261 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13262 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13264 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13265 (READELF): New variable. Use it instead of hardcoded "readelf".
13267 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13269 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13270 * sysdeps/x86/Makefile: Here.
13271 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13272 * sysdeps/x86/tst-xmmymm.sh: This.
13274 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13276 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13278 [UNIX98] (pthread_barrier_t): Do not expect.
13279 [UNIX98] (pthread_barrierattr_t): Likewise.
13280 [UNIX98] (pthread_spinlock_t): Likewise.
13281 [UNIX98] (pthread_barrier_destroy): Likewise.
13282 [UNIX98] (pthread_barrier_init): Likewise.
13283 [UNIX98] (pthread_barrier_wait): Likewise.
13284 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13285 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13286 [UNIX98] (pthread_barrierattr_init): Likewise.
13287 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13288 [UNIX98] (pthread_getcpuclockid): Likewise.
13289 [UNIX98] (pthread_mutex_timedlock): Likewise.
13290 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13291 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13292 [UNIX98] (pthread_sigmask): Likewise.
13293 [UNIX98] (pthread_spin_destroy): Likewise.
13294 [UNIX98] (pthread_spin_init): Likewise.
13295 [UNIX98] (pthread_spin_lock): Likewise.
13296 [UNIX98] (pthread_spin_trylock): Likewise.
13297 [UNIX98] (pthread_spin_unlock): Likewise.
13298 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13300 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13301 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13302 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13303 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13304 [XPG3 || XPG4] (pthread_key_t): Likewise.
13305 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13306 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13307 [XPG3 || XPG4] (pthread_once_t): Likewise.
13308 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13309 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13310 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13311 [XPG3 || XPG4] (pthread_t): Likewise.
13313 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13315 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13317 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13318 Change function return type to int.
13320 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13321 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13322 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13323 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13324 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13325 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13326 [!POSIX] (posix_madvise): Likewise.
13327 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13329 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13330 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13331 (mode_t): Likewise.
13332 (posix_mem_offset): Likewise.
13333 (posix_typed_mem_get_info): Likewise.
13334 (posix_typed_mem_open): Likewise.
13336 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13337 Change condition to [XOPEN2K8].
13339 * conform/conformtest.pl: Preprocess allow-header data with -x c
13340 instead of from stdin.
13341 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13342 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13343 [C99-based standards] (cerfc): Likewise.
13344 [C99-based standards] (cexp2): Likewise.
13345 [C99-based standards] (cexpm1): Likewise.
13346 [C99-based standards] (clog10): Likewise.
13347 [C99-based standards] (clog1p): Likewise.
13348 [C99-based standards] (clog2): Likewise.
13349 [C99-based standards] (clgamma): Likewise.
13350 [C99-based standards] (ctgamma): Likewise.
13351 [C99-based standards] (cerff): Likewise.
13352 [C99-based standards] (cerfcf): Likewise.
13353 [C99-based standards] (cexp2f): Likewise.
13354 [C99-based standards] (cexpm1f): Likewise.
13355 [C99-based standards] (clog10f): Likewise.
13356 [C99-based standards] (clog1pf): Likewise.
13357 [C99-based standards] (clog2f): Likewise.
13358 [C99-based standards] (clgammaf): Likewise.
13359 [C99-based standards] (ctgammaf): Likewise.
13360 [C99-based standards] (cerfl): Likewise.
13361 [C99-based standards] (cerfcl): Likewise.
13362 [C99-based standards] (cexp2l): Likewise.
13363 [C99-based standards] (cexpm1l): Likewise.
13364 [C99-based standards] (clog10l): Likewise.
13365 [C99-based standards] (clog1pl): Likewise.
13366 [C99-based standards] (clog2l): Likewise.
13367 [C99-based standards] (clgammal): Likewise.
13368 [C99-based standards] (ctgammal): Likewise.
13369 * conform/data/inttypes.h-data [C99-based standards]: Include
13370 stdint.h-data. Remove all expectations for stdint.h contents.
13371 [C99-based standards] (PRI*): Do not allow.
13372 [C99-based standards] (SCN*): Likewise.
13373 [C99-based standards] (*_t): Likewise.
13374 [C99-based-standards] (PRId8): Expect macro.
13375 [C99-based-standards] (PRIi8): Likewise.
13376 [C99-based-standards] (PRIo8): Likewise.
13377 [C99-based-standards] (PRIu8): Likewise.
13378 [C99-based-standards] (PRIx8): Likewise.
13379 [C99-based-standards] (PRIX8): Likewise.
13380 [C99-based-standards] (SCNd8): Likewise.
13381 [C99-based-standards] (SCNi8): Likewise.
13382 [C99-based-standards] (SCNo8): Likewise.
13383 [C99-based-standards] (SCNu8): Likewise.
13384 [C99-based-standards] (SCNx8): Likewise.
13385 [C99-based-standards] (PRIdLEAST8): Likewise.
13386 [C99-based-standards] (PRIiLEAST8): Likewise.
13387 [C99-based-standards] (PRIoLEAST8): Likewise.
13388 [C99-based-standards] (PRIuLEAST8): Likewise.
13389 [C99-based-standards] (PRIxLEAST8): Likewise.
13390 [C99-based-standards] (PRIXLEAST8): Likewise.
13391 [C99-based-standards] (SCNdLEAST8): Likewise.
13392 [C99-based-standards] (SCNiLEAST8): Likewise.
13393 [C99-based-standards] (SCNoLEAST8): Likewise.
13394 [C99-based-standards] (SCNuLEAST8): Likewise.
13395 [C99-based-standards] (SCNxLEAST8): Likewise.
13396 [C99-based-standards] (PRIdFAST8): Likewise.
13397 [C99-based-standards] (PRIiFAST8): Likewise.
13398 [C99-based-standards] (PRIoFAST8): Likewise.
13399 [C99-based-standards] (PRIuFAST8): Likewise.
13400 [C99-based-standards] (PRIxFAST8): Likewise.
13401 [C99-based-standards] (PRIXFAST8): Likewise.
13402 [C99-based-standards] (SCNdFAST8): Likewise.
13403 [C99-based-standards] (SCNiFAST8): Likewise.
13404 [C99-based-standards] (SCNoFAST8): Likewise.
13405 [C99-based-standards] (SCNuFAST8): Likewise.
13406 [C99-based-standards] (SCNxFAST8): Likewise.
13407 [C99-based-standards] (PRId16): Likewise.
13408 [C99-based-standards] (PRIi16): Likewise.
13409 [C99-based-standards] (PRIo16): Likewise.
13410 [C99-based-standards] (PRIu16): Likewise.
13411 [C99-based-standards] (PRIx16): Likewise.
13412 [C99-based-standards] (PRIX16): Likewise.
13413 [C99-based-standards] (SCNd16): Likewise.
13414 [C99-based-standards] (SCNi16): Likewise.
13415 [C99-based-standards] (SCNo16): Likewise.
13416 [C99-based-standards] (SCNu16): Likewise.
13417 [C99-based-standards] (SCNx16): Likewise.
13418 [C99-based-standards] (PRIdLEAST16): Likewise.
13419 [C99-based-standards] (PRIiLEAST16): Likewise.
13420 [C99-based-standards] (PRIoLEAST16): Likewise.
13421 [C99-based-standards] (PRIuLEAST16): Likewise.
13422 [C99-based-standards] (PRIxLEAST16): Likewise.
13423 [C99-based-standards] (PRIXLEAST16): Likewise.
13424 [C99-based-standards] (SCNdLEAST16): Likewise.
13425 [C99-based-standards] (SCNiLEAST16): Likewise.
13426 [C99-based-standards] (SCNoLEAST16): Likewise.
13427 [C99-based-standards] (SCNuLEAST16): Likewise.
13428 [C99-based-standards] (SCNxLEAST16): Likewise.
13429 [C99-based-standards] (PRIdFAST16): Likewise.
13430 [C99-based-standards] (PRIiFAST16): Likewise.
13431 [C99-based-standards] (PRIoFAST16): Likewise.
13432 [C99-based-standards] (PRIuFAST16): Likewise.
13433 [C99-based-standards] (PRIxFAST16): Likewise.
13434 [C99-based-standards] (PRIXFAST16): Likewise.
13435 [C99-based-standards] (SCNdFAST16): Likewise.
13436 [C99-based-standards] (SCNiFAST16): Likewise.
13437 [C99-based-standards] (SCNoFAST16): Likewise.
13438 [C99-based-standards] (SCNuFAST16): Likewise.
13439 [C99-based-standards] (SCNxFAST16): Likewise.
13440 [C99-based-standards] (PRId32): Likewise.
13441 [C99-based-standards] (PRIi32): Likewise.
13442 [C99-based-standards] (PRIo32): Likewise.
13443 [C99-based-standards] (PRIu32): Likewise.
13444 [C99-based-standards] (PRIx32): Likewise.
13445 [C99-based-standards] (PRIX32): Likewise.
13446 [C99-based-standards] (SCNd32): Likewise.
13447 [C99-based-standards] (SCNi32): Likewise.
13448 [C99-based-standards] (SCNo32): Likewise.
13449 [C99-based-standards] (SCNu32): Likewise.
13450 [C99-based-standards] (SCNx32): Likewise.
13451 [C99-based-standards] (PRIdLEAST32): Likewise.
13452 [C99-based-standards] (PRIiLEAST32): Likewise.
13453 [C99-based-standards] (PRIoLEAST32): Likewise.
13454 [C99-based-standards] (PRIuLEAST32): Likewise.
13455 [C99-based-standards] (PRIxLEAST32): Likewise.
13456 [C99-based-standards] (PRIXLEAST32): Likewise.
13457 [C99-based-standards] (SCNdLEAST32): Likewise.
13458 [C99-based-standards] (SCNiLEAST32): Likewise.
13459 [C99-based-standards] (SCNoLEAST32): Likewise.
13460 [C99-based-standards] (SCNuLEAST32): Likewise.
13461 [C99-based-standards] (SCNxLEAST32): Likewise.
13462 [C99-based-standards] (PRIdFAST32): Likewise.
13463 [C99-based-standards] (PRIiFAST32): Likewise.
13464 [C99-based-standards] (PRIoFAST32): Likewise.
13465 [C99-based-standards] (PRIuFAST32): Likewise.
13466 [C99-based-standards] (PRIxFAST32): Likewise.
13467 [C99-based-standards] (PRIXFAST32): Likewise.
13468 [C99-based-standards] (SCNdFAST32): Likewise.
13469 [C99-based-standards] (SCNiFAST32): Likewise.
13470 [C99-based-standards] (SCNoFAST32): Likewise.
13471 [C99-based-standards] (SCNuFAST32): Likewise.
13472 [C99-based-standards] (SCNxFAST32): Likewise.
13473 [C99-based-standards] (PRId64): Likewise.
13474 [C99-based-standards] (PRIi64): Likewise.
13475 [C99-based-standards] (PRIo64): Likewise.
13476 [C99-based-standards] (PRIu64): Likewise.
13477 [C99-based-standards] (PRIx64): Likewise.
13478 [C99-based-standards] (PRIX64): Likewise.
13479 [C99-based-standards] (SCNd64): Likewise.
13480 [C99-based-standards] (SCNi64): Likewise.
13481 [C99-based-standards] (SCNo64): Likewise.
13482 [C99-based-standards] (SCNu64): Likewise.
13483 [C99-based-standards] (SCNx64): Likewise.
13484 [C99-based-standards] (PRIdLEAST64): Likewise.
13485 [C99-based-standards] (PRIiLEAST64): Likewise.
13486 [C99-based-standards] (PRIoLEAST64): Likewise.
13487 [C99-based-standards] (PRIuLEAST64): Likewise.
13488 [C99-based-standards] (PRIxLEAST64): Likewise.
13489 [C99-based-standards] (PRIXLEAST64): Likewise.
13490 [C99-based-standards] (SCNdLEAST64): Likewise.
13491 [C99-based-standards] (SCNiLEAST64): Likewise.
13492 [C99-based-standards] (SCNoLEAST64): Likewise.
13493 [C99-based-standards] (SCNuLEAST64): Likewise.
13494 [C99-based-standards] (SCNxLEAST64): Likewise.
13495 [C99-based-standards] (PRIdFAST64): Likewise.
13496 [C99-based-standards] (PRIiFAST64): Likewise.
13497 [C99-based-standards] (PRIoFAST64): Likewise.
13498 [C99-based-standards] (PRIuFAST64): Likewise.
13499 [C99-based-standards] (PRIxFAST64): Likewise.
13500 [C99-based-standards] (PRIXFAST64): Likewise.
13501 [C99-based-standards] (SCNdFAST64): Likewise.
13502 [C99-based-standards] (SCNiFAST64): Likewise.
13503 [C99-based-standards] (SCNoFAST64): Likewise.
13504 [C99-based-standards] (SCNuFAST64): Likewise.
13505 [C99-based-standards] (SCNxFAST64): Likewise.
13506 [C99-based-standards] (PRIdMAX): Likewise.
13507 [C99-based-standards] (PRIiMAX): Likewise.
13508 [C99-based-standards] (PRIoMAX): Likewise.
13509 [C99-based-standards] (PRIuMAX): Likewise.
13510 [C99-based-standards] (PRIxMAX): Likewise.
13511 [C99-based-standards] (PRIXMAX): Likewise.
13512 [C99-based-standards] (SCNdMAX): Likewise.
13513 [C99-based-standards] (SCNiMAX): Likewise.
13514 [C99-based-standards] (SCNoMAX): Likewise.
13515 [C99-based-standards] (SCNuMAX): Likewise.
13516 [C99-based-standards] (SCNxMAX): Likewise.
13517 [C99-based-standards] (PRIdPTR): Likewise.
13518 [C99-based-standards] (PRIiPTR): Likewise.
13519 [C99-based-standards] (PRIoPTR): Likewise.
13520 [C99-based-standards] (PRIuPTR): Likewise.
13521 [C99-based-standards] (PRIxPTR): Likewise.
13522 [C99-based-standards] (PRIXPTR): Likewise.
13523 [C99-based-standards] (SCNdPTR): Likewise.
13524 [C99-based-standards] (SCNiPTR): Likewise.
13525 [C99-based-standards] (SCNoPTR): Likewise.
13526 [C99-based-standards] (SCNuPTR): Likewise.
13527 [C99-based-standards] (SCNxPTR): Likewise.
13528 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13530 * conform/data/stdint.h-data: Update comments to clarify
13532 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13534 [C99-based standards] (INT8_MAX): Likewise.
13535 [C99-based standards] (INT16_MIN): Likewise.
13536 [C99-based standards] (INT16_MAX): Likewise.
13537 [C99-based standards] (INT32_MIN): Likewise.
13538 [C99-based standards] (INT32_MAX): Likewise.
13539 [C99-based standards] (INT64_MIN): Likewise.
13540 [C99-based standards] (INT64_MAX): Likewise.
13541 [C99-based standards] (UINT8_MAX): Likewise.
13542 [C99-based standards] (UINT16_MAX): Likewise.
13543 [C99-based standards] (UINT32_MAX): Likewise.
13544 [C99-based standards] (UINT64_MAX): Likewise.
13545 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13546 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13547 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13548 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13549 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13550 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13551 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13552 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13553 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13554 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13555 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13556 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13557 [C99-based standards] (INT_FAST8_MIN): Likewise.
13558 [C99-based standards] (INT_FAST8_MAX): Likewise.
13559 [C99-based standards] (INT_FAST16_MIN): Likewise.
13560 [C99-based standards] (INT_FAST16_MAX): Likewise.
13561 [C99-based standards] (INT_FAST32_MIN): Likewise.
13562 [C99-based standards] (INT_FAST32_MAX): Likewise.
13563 [C99-based standards] (INT_FAST64_MIN): Likewise.
13564 [C99-based standards] (INT_FAST64_MAX): Likewise.
13565 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13566 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13567 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13568 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13569 [C99-based standards] (INTPTR_MIN): Likewise.
13570 [C99-based standards] (INTPTR_MAX): Likewise.
13571 [C99-based standards] (UINTPTR_MAX): Likewise.
13572 [C99-based standards] (INTMAX_MIN): Likewise.
13573 [C99-based standards] (INTMAX_MAX): Likewise.
13574 [C99-based standards] (UINTMAX_MAX): Likewise.
13575 [C99-based standards] (PTRDIFF_MIN): Likewise.
13576 [C99-based standards] (PTRDIFF_MAX): Likewise.
13577 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13578 [C99-based standards] (SIZE_MAX): Likewise.
13579 [C99-based standards] (WCHAR_MAX): Likewise.
13580 [C99-based standards] (WINT_MAX): Likewise.
13581 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13582 constraint on value.
13583 [C99-based standards] (WCHAR_MIN): Likewise.
13584 [C99-based standards] (WINT_MIN): Likewise.
13585 [C99-based standards] (*_t): Allow.
13586 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13587 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13588 Include math.h-data and complex.h-data. Remove all expectations
13589 of math.h and complex.h contents.
13590 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13592 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13593 (struct tm): Expect tag.
13594 [C99-based-standards] (wcstof): Expect function.
13595 [C99-based-standards] (wcstold): Likewise.
13596 [C99-based-standards] (wcstoll): Likewise.
13597 [C99-based-standards] (wcstoull): Likewise.
13598 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13599 macro-int-constant. Specify type.
13600 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13601 constraint on value.
13602 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13604 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13606 [ISO C standards]: Do not allow headers.
13607 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13608 wcs[abcdefghijklmnopqrstuvwxyz]*.
13609 [ISO C standards] (*_t): Do not allow.
13610 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13612 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13613 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13615 [ISO C standards]: Do not allow headers.
13616 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13617 is[abcdefghijklmnopqrstuvwxyz]*.
13618 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13619 to[abcdefghijklmnopqrstuvwxyz]*.
13620 [ISO C standards] (*_t): Do not allow.
13621 * conform/data/stdalign.h-data: New file.
13622 * conform/data/stdbool.h-data: Likewise.
13623 * conform/data/stdnoreturn.h-data: Likewise.
13625 2012-11-07 Roland McGrath <roland@hack.frob.com>
13628 * manual/filesys.texi (Directory Entries): Typo fix.
13629 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13631 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13633 * elf/elf.h (EM_AARCH64): New macro.
13634 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13635 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13636 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13637 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13638 (R_AARCH64_TLSDESC): Likewise.
13639 (NT_ARM_TLS): Likewise.
13640 (NT_ARM_HW_BREAK): Likewise.
13641 (NT_ARM_HW_WATCH): Likewise.
13643 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13646 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13647 (__ieee754_powl): Saturate nonzero exponents with absolute value
13648 below 0x1p-79 to +/- 0x1p-79.
13649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13650 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13651 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13652 nonzero exponents with absolute value below 0x1p-32 to +/-
13654 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13655 (__ieee754_powl): Saturate nonzero exponents with absolute value
13656 below 0x1p-79 to +/- 0x1p-79.
13657 * math/libm-test.inc (pow_test): Add more tests.
13659 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13661 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13662 _dl_s390_cap_flags with kernel. Increase string length.
13663 (_dl_s390_platforms): Add z196 and zEC12.
13665 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13667 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13668 Change XOPEN21K to XOPEN2K.
13670 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13672 * string/memmove.c: Use memcpy when possible.
13674 2012-11-06 Andreas Jaeger <aj@suse.de>
13676 * po/eo.po: Update from translation team.
13678 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13682 exponent and small x and y exponents, scale x or y up. Increase
13683 by 2 the exponent used in scaling up.
13684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13686 * math/libm-test.inc (fma_test): Add more tests.
13687 (fma_test_towardzero): Likewise.
13688 (fma_test_downward): Likewise.
13689 (fma_test_upward): Likewise.
13691 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13694 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13698 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13699 namespace for names of struct fields.
13700 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13702 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13703 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13705 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13708 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13710 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13712 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13716 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13719 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13723 definitely overflow as x * y not x * y + z.
13724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13725 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13726 * math/libm-test.inc (fma_test): Add more tests.
13727 (fma_test_towardzero): Likewise.
13728 (fma_test_downward): Likewise.
13729 (fma_test_upward): Likewise.
13731 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13735 * include/stub-tag.h: Remove file.
13736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13738 * manual/maint.texi (Porting): Don't reference it.
13739 * Makerules ($(objpfx)stubs): Likewise.
13740 * dirent/closedir.c: Don't include <stub-tag.h>.
13741 * dirent/dirfd.c: Likewise.
13742 * dirent/fdopendir.c: Likewise.
13743 * dirent/getdents.c: Likewise.
13744 * dirent/getdents64.c: Likewise.
13745 * dirent/opendir.c: Likewise.
13746 * dirent/readdir.c: Likewise.
13747 * dirent/readdir64.c: Likewise.
13748 * dirent/readdir64_r.c: Likewise.
13749 * dirent/readdir_r.c: Likewise.
13750 * dirent/rewinddir.c: Likewise.
13751 * dirent/seekdir.c: Likewise.
13752 * dirent/telldir.c: Likewise.
13753 * gmon/profil.c: Likewise.
13754 * grp/setgroups.c: Likewise.
13755 * inet/if_index.c: Likewise.
13756 * io/access.c: Likewise.
13757 * io/chdir.c: Likewise.
13758 * io/chmod.c: Likewise.
13759 * io/chown.c: Likewise.
13760 * io/close.c: Likewise.
13761 * io/dup.c: Likewise.
13762 * io/dup2.c: Likewise.
13763 * io/dup3.c: Likewise.
13764 * io/euidaccess.c: Likewise.
13765 * io/faccessat.c: Likewise.
13766 * io/fchdir.c: Likewise.
13767 * io/fchmod.c: Likewise.
13768 * io/fchmodat.c: Likewise.
13769 * io/fchown.c: Likewise.
13770 * io/fchownat.c: Likewise.
13771 * io/fcntl.c: Likewise.
13772 * io/flock.c: Likewise.
13773 * io/fstatfs.c: Likewise.
13774 * io/fstatfs64.c: Likewise.
13775 * io/fstatvfs.c: Likewise.
13776 * io/fstatvfs64.c: Likewise.
13777 * io/futimens.c: Likewise.
13778 * io/fxstat.c: Likewise.
13779 * io/fxstat64.c: Likewise.
13780 * io/fxstatat.c: Likewise.
13781 * io/fxstatat64.c: Likewise.
13782 * io/getcwd.c: Likewise.
13783 * io/isatty.c: Likewise.
13784 * io/lchmod.c: Likewise.
13785 * io/lchown.c: Likewise.
13786 * io/link.c: Likewise.
13787 * io/linkat.c: Likewise.
13788 * io/lseek.c: Likewise.
13789 * io/lseek64.c: Likewise.
13790 * io/lxstat64.c: Likewise.
13791 * io/mkdir.c: Likewise.
13792 * io/mkdirat.c: Likewise.
13793 * io/mkfifo.c: Likewise.
13794 * io/mkfifoat.c: Likewise.
13795 * io/open.c: Likewise.
13796 * io/open64.c: Likewise.
13797 * io/openat.c: Likewise.
13798 * io/openat64.c: Likewise.
13799 * io/pipe.c: Likewise.
13800 * io/pipe2.c: Likewise.
13801 * io/poll.c: Likewise.
13802 * io/posix_fadvise.c: Likewise.
13803 * io/posix_fadvise64.c: Likewise.
13804 * io/posix_fallocate.c: Likewise.
13805 * io/posix_fallocate64.c: Likewise.
13806 * io/read.c: Likewise.
13807 * io/readlink.c: Likewise.
13808 * io/readlinkat.c: Likewise.
13809 * io/rmdir.c: Likewise.
13810 * io/sendfile.c: Likewise.
13811 * io/sendfile64.c: Likewise.
13812 * io/statfs.c: Likewise.
13813 * io/statfs64.c: Likewise.
13814 * io/statvfs.c: Likewise.
13815 * io/statvfs64.c: Likewise.
13816 * io/symlink.c: Likewise.
13817 * io/symlinkat.c: Likewise.
13818 * io/ttyname.c: Likewise.
13819 * io/ttyname_r.c: Likewise.
13820 * io/umask.c: Likewise.
13821 * io/unlink.c: Likewise.
13822 * io/unlinkat.c: Likewise.
13823 * io/utime.c: Likewise.
13824 * io/utimensat.c: Likewise.
13825 * io/write.c: Likewise.
13826 * io/xmknod.c: Likewise.
13827 * io/xmknodat.c: Likewise.
13828 * io/xstat.c: Likewise.
13829 * io/xstat64.c: Likewise.
13830 * login/getpt.c: Likewise.
13831 * login/grantpt.c: Likewise.
13832 * login/unlockpt.c: Likewise.
13833 * math/e_acoshl.c: Likewise.
13834 * math/e_acosl.c: Likewise.
13835 * math/e_asinl.c: Likewise.
13836 * math/e_atan2l.c: Likewise.
13837 * math/e_atanhl.c: Likewise.
13838 * math/e_coshl.c: Likewise.
13839 * math/e_expl.c: Likewise.
13840 * math/e_fmodl.c: Likewise.
13841 * math/e_gammal_r.c: Likewise.
13842 * math/e_hypotl.c: Likewise.
13843 * math/e_j0l.c: Likewise.
13844 * math/e_j1l.c: Likewise.
13845 * math/e_jnl.c: Likewise.
13846 * math/e_lgammal_r.c: Likewise.
13847 * math/e_log10l.c: Likewise.
13848 * math/e_log2l.c: Likewise.
13849 * math/e_logl.c: Likewise.
13850 * math/e_powl.c: Likewise.
13851 * math/e_rem_pio2l.c: Likewise.
13852 * math/e_sinhl.c: Likewise.
13853 * math/e_sqrtl.c: Likewise.
13854 * math/fclrexcpt.c: Likewise.
13855 * math/fedisblxcpt.c: Likewise.
13856 * math/feenablxcpt.c: Likewise.
13857 * math/fegetenv.c: Likewise.
13858 * math/fegetexcept.c: Likewise.
13859 * math/fegetround.c: Likewise.
13860 * math/feholdexcpt.c: Likewise.
13861 * math/fesetenv.c: Likewise.
13862 * math/fesetround.c: Likewise.
13863 * math/feupdateenv.c: Likewise.
13864 * math/fgetexcptflg.c: Likewise.
13865 * math/fraiseexcpt.c: Likewise.
13866 * math/fsetexcptflg.c: Likewise.
13867 * math/ftestexcept.c: Likewise.
13868 * math/k_cosl.c: Likewise.
13869 * math/k_rem_pio2l.c: Likewise.
13870 * math/k_sinl.c: Likewise.
13871 * math/k_tanl.c: Likewise.
13872 * math/s_asinhl.c: Likewise.
13873 * math/s_atanl.c: Likewise.
13874 * math/s_cbrtl.c: Likewise.
13875 * math/s_erfl.c: Likewise.
13876 * math/s_expm1l.c: Likewise.
13877 * math/s_log1pl.c: Likewise.
13878 * math/s_tanhl.c: Likewise.
13879 * misc/acct.c: Likewise.
13880 * misc/brk.c: Likewise.
13881 * misc/chflags.c: Likewise.
13882 * misc/chroot.c: Likewise.
13883 * misc/fchflags.c: Likewise.
13884 * misc/fgetxattr.c: Likewise.
13885 * misc/flistxattr.c: Likewise.
13886 * misc/fremovexattr.c: Likewise.
13887 * misc/fsetxattr.c: Likewise.
13888 * misc/fsync.c: Likewise.
13889 * misc/ftruncate.c: Likewise.
13890 * misc/futimes.c: Likewise.
13891 * misc/futimesat.c: Likewise.
13892 * misc/getdomain.c: Likewise.
13893 * misc/getdtsz.c: Likewise.
13894 * misc/gethostid.c: Likewise.
13895 * misc/gethostname.c: Likewise.
13896 * misc/getloadavg.c: Likewise.
13897 * misc/getpagesize.c: Likewise.
13898 * misc/getsysstats.c: Likewise.
13899 * misc/getxattr.c: Likewise.
13900 * misc/gtty.c: Likewise.
13901 * misc/ioctl.c: Likewise.
13902 * misc/lgetxattr.c: Likewise.
13903 * misc/listxattr.c: Likewise.
13904 * misc/llistxattr.c: Likewise.
13905 * misc/lremovexattr.c: Likewise.
13906 * misc/lsetxattr.c: Likewise.
13907 * misc/lutimes.c: Likewise.
13908 * misc/madvise.c: Likewise.
13909 * misc/mincore.c: Likewise.
13910 * misc/mlock.c: Likewise.
13911 * misc/mlockall.c: Likewise.
13912 * misc/mmap.c: Likewise.
13913 * misc/mprotect.c: Likewise.
13914 * misc/msync.c: Likewise.
13915 * misc/munlock.c: Likewise.
13916 * misc/munlockall.c: Likewise.
13917 * misc/munmap.c: Likewise.
13918 * misc/preadv.c: Likewise.
13919 * misc/preadv64.c: Likewise.
13920 * misc/ptrace.c: Likewise.
13921 * misc/pwritev.c: Likewise.
13922 * misc/pwritev64.c: Likewise.
13923 * misc/readv.c: Likewise.
13924 * misc/reboot.c: Likewise.
13925 * misc/remap_file_pages.c: Likewise.
13926 * misc/removexattr.c: Likewise.
13927 * misc/revoke.c: Likewise.
13928 * misc/select.c: Likewise.
13929 * misc/setdomain.c: Likewise.
13930 * misc/setegid.c: Likewise.
13931 * misc/seteuid.c: Likewise.
13932 * misc/sethostid.c: Likewise.
13933 * misc/sethostname.c: Likewise.
13934 * misc/setregid.c: Likewise.
13935 * misc/setreuid.c: Likewise.
13936 * misc/setxattr.c: Likewise.
13937 * misc/sstk.c: Likewise.
13938 * misc/stty.c: Likewise.
13939 * misc/swapoff.c: Likewise.
13940 * misc/swapon.c: Likewise.
13941 * misc/sync.c: Likewise.
13942 * misc/syncfs.c: Likewise.
13943 * misc/syscall.c: Likewise.
13944 * misc/truncate.c: Likewise.
13945 * misc/ualarm.c: Likewise.
13946 * misc/usleep.c: Likewise.
13947 * misc/ustat.c: Likewise.
13948 * misc/utimes.c: Likewise.
13949 * misc/vhangup.c: Likewise.
13950 * misc/writev.c: Likewise.
13951 * posix/_exit.c: Likewise.
13952 * posix/alarm.c: Likewise.
13953 * posix/execve.c: Likewise.
13954 * posix/fexecve.c: Likewise.
13955 * posix/fork.c: Likewise.
13956 * posix/fpathconf.c: Likewise.
13957 * posix/getaddrinfo.c: Likewise.
13958 * posix/getegid.c: Likewise.
13959 * posix/geteuid.c: Likewise.
13960 * posix/getgid.c: Likewise.
13961 * posix/getgroups.c: Likewise.
13962 * posix/getlogin.c: Likewise.
13963 * posix/getlogin_r.c: Likewise.
13964 * posix/getpgid.c: Likewise.
13965 * posix/getpid.c: Likewise.
13966 * posix/getppid.c: Likewise.
13967 * posix/getresgid.c: Likewise.
13968 * posix/getresuid.c: Likewise.
13969 * posix/getsid.c: Likewise.
13970 * posix/getuid.c: Likewise.
13971 * posix/glob64.c: Likewise.
13972 * posix/nanosleep.c: Likewise.
13973 * posix/pathconf.c: Likewise.
13974 * posix/pause.c: Likewise.
13975 * posix/posix_madvise.c: Likewise.
13976 * posix/pread.c: Likewise.
13977 * posix/pread64.c: Likewise.
13978 * posix/pwrite.c: Likewise.
13979 * posix/pwrite64.c: Likewise.
13980 * posix/sched_getaffinity.c: Likewise.
13981 * posix/sched_getp.c: Likewise.
13982 * posix/sched_gets.c: Likewise.
13983 * posix/sched_primax.c: Likewise.
13984 * posix/sched_primin.c: Likewise.
13985 * posix/sched_rr_gi.c: Likewise.
13986 * posix/sched_setaffinity.c: Likewise.
13987 * posix/sched_setp.c: Likewise.
13988 * posix/sched_sets.c: Likewise.
13989 * posix/sched_yield.c: Likewise.
13990 * posix/setgid.c: Likewise.
13991 * posix/setlogin.c: Likewise.
13992 * posix/setpgid.c: Likewise.
13993 * posix/setresgid.c: Likewise.
13994 * posix/setresuid.c: Likewise.
13995 * posix/setsid.c: Likewise.
13996 * posix/setuid.c: Likewise.
13997 * posix/sleep.c: Likewise.
13998 * posix/spawni.c: Likewise.
13999 * posix/sysconf.c: Likewise.
14000 * posix/times.c: Likewise.
14001 * posix/wait.c: Likewise.
14002 * posix/wait3.c: Likewise.
14003 * posix/wait4.c: Likewise.
14004 * posix/waitpid.c: Likewise.
14005 * resolv/gai_sigqueue.c: Likewise.
14006 * resource/getpriority.c: Likewise.
14007 * resource/getrlimit.c: Likewise.
14008 * resource/getrusage.c: Likewise.
14009 * resource/nice.c: Likewise.
14010 * resource/setpriority.c: Likewise.
14011 * resource/setrlimit.c: Likewise.
14012 * resource/ulimit.c: Likewise.
14013 * rt/aio_cancel.c: Likewise.
14014 * rt/aio_fsync.c: Likewise.
14015 * rt/aio_read.c: Likewise.
14016 * rt/aio_sigqueue.c: Likewise.
14017 * rt/aio_suspend.c: Likewise.
14018 * rt/aio_write.c: Likewise.
14019 * rt/clock_getres.c: Likewise.
14020 * rt/clock_gettime.c: Likewise.
14021 * rt/clock_nanosleep.c: Likewise.
14022 * rt/clock_settime.c: Likewise.
14023 * rt/lio_listio.c: Likewise.
14024 * rt/mq_close.c: Likewise.
14025 * rt/mq_getattr.c: Likewise.
14026 * rt/mq_notify.c: Likewise.
14027 * rt/mq_open.c: Likewise.
14028 * rt/mq_receive.c: Likewise.
14029 * rt/mq_send.c: Likewise.
14030 * rt/mq_setattr.c: Likewise.
14031 * rt/mq_timedreceive.c: Likewise.
14032 * rt/mq_timedsend.c: Likewise.
14033 * rt/mq_unlink.c: Likewise.
14034 * rt/shm_open.c: Likewise.
14035 * rt/shm_unlink.c: Likewise.
14036 * rt/timer_create.c: Likewise.
14037 * rt/timer_delete.c: Likewise.
14038 * rt/timer_getoverr.c: Likewise.
14039 * rt/timer_gettime.c: Likewise.
14040 * rt/timer_settime.c: Likewise.
14041 * setjmp/__longjmp.c: Likewise.
14042 * setjmp/setjmp.c: Likewise.
14043 * signal/kill.c: Likewise.
14044 * signal/killpg.c: Likewise.
14045 * signal/raise.c: Likewise.
14046 * signal/sigaction.c: Likewise.
14047 * signal/sigaltstack.c: Likewise.
14048 * signal/sigblock.c: Likewise.
14049 * signal/sigignore.c: Likewise.
14050 * signal/sigintr.c: Likewise.
14051 * signal/signal.c: Likewise.
14052 * signal/sigpause.c: Likewise.
14053 * signal/sigpending.c: Likewise.
14054 * signal/sigqueue.c: Likewise.
14055 * signal/sigreturn.c: Likewise.
14056 * signal/sigset.c: Likewise.
14057 * signal/sigsetmask.c: Likewise.
14058 * signal/sigstack.c: Likewise.
14059 * signal/sigsuspend.c: Likewise.
14060 * signal/sigtimedwait.c: Likewise.
14061 * signal/sigvec.c: Likewise.
14062 * signal/sigwait.c: Likewise.
14063 * signal/sigwaitinfo.c: Likewise.
14064 * signal/sysv_signal.c: Likewise.
14065 * socket/accept.c: Likewise.
14066 * socket/accept4.c: Likewise.
14067 * socket/bind.c: Likewise.
14068 * socket/connect.c: Likewise.
14069 * socket/getpeername.c: Likewise.
14070 * socket/getsockname.c: Likewise.
14071 * socket/getsockopt.c: Likewise.
14072 * socket/isfdtype.c: Likewise.
14073 * socket/listen.c: Likewise.
14074 * socket/recv.c: Likewise.
14075 * socket/recvfrom.c: Likewise.
14076 * socket/recvmsg.c: Likewise.
14077 * socket/send.c: Likewise.
14078 * socket/sendmsg.c: Likewise.
14079 * socket/sendto.c: Likewise.
14080 * socket/setsockopt.c: Likewise.
14081 * socket/shutdown.c: Likewise.
14082 * socket/sockatmark.c: Likewise.
14083 * socket/socket.c: Likewise.
14084 * socket/socketpair.c: Likewise.
14085 * stdio-common/ctermid.c: Likewise.
14086 * stdio-common/cuserid.c: Likewise.
14087 * stdio-common/remove.c: Likewise.
14088 * stdio-common/rename.c: Likewise.
14089 * stdio-common/renameat.c: Likewise.
14090 * stdio-common/tempname.c: Likewise.
14091 * stdlib/getcontext.c: Likewise.
14092 * stdlib/makecontext.c: Likewise.
14093 * stdlib/setcontext.c: Likewise.
14094 * stdlib/swapcontext.c: Likewise.
14095 * stdlib/system.c: Likewise.
14096 * streams/fattach.c: Likewise.
14097 * streams/fdetach.c: Likewise.
14098 * streams/getmsg.c: Likewise.
14099 * streams/getpmsg.c: Likewise.
14100 * streams/putmsg.c: Likewise.
14101 * streams/putpmsg.c: Likewise.
14102 * sysdeps/unix/bsd/getpt.c: Likewise.
14103 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14104 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14105 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14108 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14109 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14110 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14111 * sysvipc/msgctl.c: Likewise.
14112 * sysvipc/msgget.c: Likewise.
14113 * sysvipc/msgrcv.c: Likewise.
14114 * sysvipc/msgsnd.c: Likewise.
14115 * sysvipc/semctl.c: Likewise.
14116 * sysvipc/semget.c: Likewise.
14117 * sysvipc/semop.c: Likewise.
14118 * sysvipc/semtimedop.c: Likewise.
14119 * sysvipc/shmat.c: Likewise.
14120 * sysvipc/shmctl.c: Likewise.
14121 * sysvipc/shmdt.c: Likewise.
14122 * sysvipc/shmget.c: Likewise.
14123 * termios/tcdrain.c: Likewise.
14124 * termios/tcflow.c: Likewise.
14125 * termios/tcflush.c: Likewise.
14126 * termios/tcgetattr.c: Likewise.
14127 * termios/tcgetpgrp.c: Likewise.
14128 * termios/tcsendbrk.c: Likewise.
14129 * termios/tcsetattr.c: Likewise.
14130 * termios/tcsetpgrp.c: Likewise.
14131 * time/adjtime.c: Likewise.
14132 * time/clock.c: Likewise.
14133 * time/getitimer.c: Likewise.
14134 * time/gettimeofday.c: Likewise.
14135 * time/setitimer.c: Likewise.
14136 * time/settimeofday.c: Likewise.
14137 * time/stime.c: Likewise.
14138 * time/time.c: Likewise.
14140 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14142 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14145 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14147 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14149 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14153 FE_TONEAREST before applying Dekker multiplication and Knuth
14154 addition. Clear inexact exceptions and check for exact zero
14155 results afterwards.
14156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14159 * math/libm-test.inc (fma_test): Add more tests.
14160 (fma_test_towardzero): Likewise.
14161 (fma_test_downward): Likewise.
14162 (fma_test_upward): Likewise.
14163 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14165 (libc_fesetround): New macro.
14166 (libc_fesetroundf): Likewise.
14167 (libc_fesetroundl): Likewise.
14168 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14170 (libc_fesetround_387): Likewise.
14171 (libc_fesetroundf): New macro.
14172 (libc_fesetround): Likewise.
14173 (libc_fesetroundl): Likewise.
14174 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14176 (libc_fesetroundf): New macro.
14177 (libc_fesetround): Likewise.
14178 (libc_fesetroundl): Likewise.
14179 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14180 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14181 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14183 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14184 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14186 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14187 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14189 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14193 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14194 integer constant usable in #if and use that to give value to enum
14196 (FE_DIVBYZERO): Likewise.
14197 (FE_UNDERFLOW): Likewise.
14198 (FE_OVERFLOW): Likewise.
14199 (FE_INVALID): Likewise.
14200 (FE_INVALID_SNAN): Likewise.
14201 (FE_INVALID_ISI): Likewise.
14202 (FE_INVALID_IDI): Likewise.
14203 (FE_INVALID_ZDZ): Likewise.
14204 (FE_INVALID_IMZ): Likewise.
14205 (FE_INVALID_COMPARE): Likewise.
14206 (FE_INVALID_SOFTWARE): Likewise.
14207 (FE_INVALID_SQRT): Likewise.
14208 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14209 (FE_TONEAREST): Likewise.
14210 (FE_TOWARDZERO): Likewise.
14211 (FE_UPWARD): Likewise.
14212 (FE_DOWNWARD): Likewise.
14213 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14214 (FE_DIVBYZERO): Likewise.
14215 (FE_OVERFLOW): Likewise.
14216 (FE_UNDERFLOW): Likewise.
14217 (FE_INEXACT): Likewise.
14218 (FE_TONEAREST): Likewise.
14219 (FE_DOWNWARD): Likewise.
14220 (FE_UPWARD): Likewise.
14221 (FE_TOWARDZERO): Likewise.
14222 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14223 (FE_UNDERFLOW): Likewise.
14224 (FE_OVERFLOW): Likewise.
14225 (FE_DIVBYZERO): Likewise.
14226 (FE_INVALID): Likewise.
14227 (FE_TONEAREST): Likewise.
14228 (FE_TOWARDZERO): Likewise.
14229 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14230 (FE_OVERFLOW): Likewise.
14231 (FE_UNDERFLOW): Likewise.
14232 (FE_DIVBYZERO): Likewise.
14233 (FE_INEXACT): Likewise.
14234 (FE_TONEAREST): Likewise.
14235 (FE_TOWARDZERO): Likewise.
14236 (FE_UPWARD): Likewise.
14237 (FE_DOWNWARD): Likewise.
14238 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14239 (FE_DIVBYZERO): Likewise.
14240 (FE_OVERFLOW): Likewise.
14241 (FE_UNDERFLOW): Likewise.
14242 (FE_INEXACT): Likewise.
14243 (FE_TONEAREST): Likewise.
14244 (FE_DOWNWARD): Likewise.
14245 (FE_UPWARD): Likewise.
14246 (FE_TOWARDZERO): Likewise.
14248 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14250 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14252 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14254 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14255 commands. Quote $PWD.
14256 (blacklist_exports): Don't use remove_newlines. Replace "declare
14258 (remove_newlines): Remove.
14260 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14262 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14263 * stdlib/stdlib.h (atof): Moved to ...
14264 * include/bits/stdlib-float.h: Here. New file.
14265 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14266 * stdlib/bits/stdlib-float.h: New file.
14267 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14272 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14274 * conform/conformtest.pl (@headers): Add fenv.h.
14275 * conform/data/fenv.h-data: New file.
14276 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14277 include of <math/fenv.h>.
14279 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14280 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14281 && !UNIX98]. Enables tests for XOPEN2K8.
14282 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14283 POSIX2008]: Likewise.
14285 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14286 (struct rusage): Do not expect type or its members.
14289 * math/math.h (FP_NAN): Define macro to integer constant usable in
14290 #if and use that to give value to enum constant.
14291 (FP_INFINITE): Likewise.
14292 (FP_ZERO): Likewise.
14293 (FP_SUBNORMAL): Likewise.
14294 (FP_NORMAL): Likewise.
14296 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14298 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14299 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14302 2012-11-02 Roland McGrath <roland@hack.frob.com>
14304 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14305 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14306 autoconf-time if not.
14307 * configure.in: Remove AC_PREREQ.
14309 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14311 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14312 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14313 of the internal implementation.
14315 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14317 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14318 except include of <misc/sys/syslog.h>.
14320 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14323 function returns with a NULL context exit with zero.
14325 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14327 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14329 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14331 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14332 (run_program_cmd): This.
14333 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14334 (tst_langinfo): New variable. Use it.
14336 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14338 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14339 floating point opcodes.
14341 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14343 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14346 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14348 * sysdeps/mach/hurd/powerpc: Remove directory.
14349 * sysdeps/mach/powerpc: Likewise.
14351 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14353 * scripts/check-local-headers.sh: Ignore c++ headers.
14355 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14357 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14358 __libc_cleanup_region_start argument.
14360 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14365 x * y using scaling, not as x * y + z.
14366 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14368 * math/libm-test.inc (fma_test): Add more tests.
14369 (fma_test_towardzero): Likewise.
14370 (fma_test_downward): Likewise.
14371 (fma_test_upward): Likewise.
14373 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14375 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14377 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14379 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14382 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14384 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14386 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14393 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14396 Fix the order of the list for glibc 2.17.
14397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14400 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14404 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14407 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14408 for low part of x being zero before using __atanl (y).
14409 * math/libm-test.inc (atan2_test): Add another test.
14411 * manual/install.texi (Configuring and compiling): Document
14412 general use of test-wrapper and test-wrapper-env.
14413 * INSTALL: Regenerated.
14415 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14416 (__fma): Do not extract and scale down low bits on after-rounding
14417 systems when result rounded to normal precision would have normal
14419 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14420 (__fmal): Do not extract and scale down low bits on after-rounding
14421 systems when result rounded to normal precision would have normal
14423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14424 (__fmal): Do not extract and scale down low bits on after-rounding
14425 systems when result rounded to normal precision would have normal
14427 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14429 (fma_test): Add more tests.
14430 (fma_test_towardzero): Likewise.
14431 (fma_test_downward): Likewise.
14432 (fma_test_upward): Likewise.
14434 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/i386/tininess.h: Renamed to ...
14437 * sysdeps/x86/tininess.h: This.
14438 * sysdeps/x86_64/tininess.h: Removed.
14440 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14442 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14443 input. Use $(build-program-cmd).
14444 ($(objpfx)tst-array1-static.out): Likewise.
14445 ($(objpfx)tst-array2.out): Likewise.
14446 ($(objpfx)tst-array3.out): Likewise.
14447 ($(objpfx)tst-array4.out): Likewise.
14448 ($(objpfx)tst-array5.out): Likewise.
14449 ($(objpfx)tst-array5-static.out): Likewise.
14451 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14453 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14456 * nss/nsswitch.h (nss_interface_function): Provide new
14457 macro for use with NSS functions.
14458 * grp/initgroups.c: Use new macro.
14459 * nss/getXXbyYY.c: Likewise.
14460 * nss/getXXbyYY_r.c: Likewise.
14461 * nss/getXXent.c: Likewise.
14462 * nss/getXXent_r.c: Likewise.
14463 * sysdeps/posix/getaddrinfo.c: Likewise.
14465 2012-10-30 Andreas Jaeger <aj@suse.de>
14467 * po/ru.po: Update Russion translation from translation project.
14469 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14474 result and shift together with sticky bit instead of replicating
14475 round-to-nearest rounding.
14476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14478 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14479 missing underflow exceptions.
14480 (fma_test_towardzero): Add more tests.
14481 (fma_test_downward): Likewise.
14482 (fma_test_upward): Likewise.
14485 * sysdeps/generic/tininess.h: New file.
14486 * sysdeps/i386/tininess.h: Likewise.
14487 * sysdeps/sh/tininess.h: Likewise.
14488 * sysdeps/x86_64/tininess.h: Likewise.
14489 * stdlib/tst-strtod-underflow.c: Likewise.
14490 * stdlib/tst-tininess.c: Likewise.
14491 * stdlib/strtod_l.c: Include <tininess.h>.
14492 (round_and_return): Do not set errno for exact underflow cases.
14493 Force an underflow exception when setting errno for underflow.
14494 Determine underflow based on rounding to normal precision if
14495 TININESS_AFTER_ROUNDING.
14496 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14497 ERANGE for exact underflow cases.
14498 * stdlib/Makefile (tests): Add tst-tininess and
14499 tst-strtod-underflow.
14500 ($(objpfx)tst-tininess): Use $(link-libm).
14501 ($(objpfx)tst-strtod-underflow): Likewise.
14503 2012-10-30 Andreas Jaeger <aj@suse.de>
14506 * elf/Makefile (tests): Remove conditional for have-initfini-array
14507 since this is now always required and the variable does not exist
14509 (tests-static): Likewise.
14510 (modules-names): Likewise.
14512 * po/eo.po: Add Esperanto translation from translation project.
14514 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14515 merged with constructor/destructor.
14516 (init_array): Likewise.
14517 * elf/tst-array2dep.c (fini_array): Likewise.
14518 (init_array): Likewise.
14520 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14522 * manual/message.texi: Delete @cartouche tags.
14524 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14526 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14528 * sysdeps/mach/hurd/fsync.c: Likewise.
14530 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14531 [_POSIX_REALTIME_SIGNALS]: Change condition to
14532 [_POSIX_REALTIME_SIGNALS > 0].
14534 2012-10-27 Andreas Jaeger <aj@suse.de>
14536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14537 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14539 [__WORDSIZE != 64]: Likewise.
14541 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14543 * iconvdata/tst-table.sh: Remove ${SHELL}.
14544 * iconvdata/tst-tables.sh: Likewise.
14546 2012-10-25 David S. Miller <davem@davemloft.net>
14548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14549 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14555 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14556 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14559 2012-10-25 Roland McGrath <roland@hack.frob.com>
14561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14562 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14565 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14566 Jim Blandy <jimb@codesourcery.com>
14568 * scripts/cross-test-ssh.sh: New file.
14569 * manual/install.texi (Configuring and compiling): Document use of
14571 * INSTALL: Regenerated.
14573 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14575 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14578 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14580 * Makeconfig (run-program-prefix): Fix comment.
14582 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14583 Jim Blandy <jimb@codesourcery.com>
14585 * Makeconfig (test-wrapper): New variable,
14586 (test-wrapper-env): Likewise.
14587 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14588 (run-built-tests): Define to yes.
14589 (run-program-prefix): Use $(test-wrapper).
14590 (built-program-cmd): Likewise.
14591 * Rules (make-test-out): Use $(test-wrapper-env) and
14592 $(host-built-program-cmd).
14593 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14594 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14596 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14597 $(test-wrapper-env) to tst-rtld-load-self.sh.
14598 ($(objpfx)order2.out): Use $(test-wrapper).
14599 ($(objpfx)tst-initorder.out): Likewise.
14600 ($(objpfx)tst-initorder2.out): Likewise.
14601 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14602 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14603 (test_wrapper_env): New variable. Use it to run ld.so.
14604 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14605 Use it to run ld.so.
14606 (test_wrapper_env): Likewise.
14607 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14608 $(test-wrapper) to run-iconv-test.sh.
14609 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14610 (ICONV): Use $test_wrapper.
14611 * posix/Makefile ($(objpfx)globtest.out): Pass
14612 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14613 globtest.sh, not $(run-program-prefix).
14614 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14615 (test_wrapper): Likewise.
14616 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14617 set together with run_via_rtld_prefix.
14618 (run_program_prefix): Define in terms of test_wrapper and
14619 run_via_rtld_prefix.
14621 2012-10-24 Roland McGrath <roland@hack.frob.com>
14623 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14624 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14628 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14629 Declare __clock_getres, __clock_gettime, __clock_settime,
14630 __clock_nanosleep, and __clock_getcpuclockid.
14631 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14632 Remove librt_hidden_def (clock_gettime).
14633 * sysdeps/unix/clock_gettime.c: Likewise.
14634 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14635 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14636 * rt/clock_getres.c: Define __clock_getres as an alias.
14637 * sysdeps/posix/clock_getres.c: Likewise.
14638 * rt/clock_settime.c: Define __clock_settime as an alias.
14639 * sysdeps/unix/clock_settime.c: Likewise.
14640 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14641 * sysdeps/unix/clock_nanosleep.c: Likewise.
14642 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14643 * rt/clock-compat.c: New file.
14644 * rt/Makefile (librt-routines): Add clock-compat and move
14645 $(clock-routines) to ...
14646 (routines): ... here, new variable.
14647 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14648 Don't add get_clockfreq here.
14649 * rt/Versions (libc: GLIBC_2.17): New version set.
14650 Add clock_* symbols here.
14651 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14653 (GLIBC_2.17): Add clock_* symbols.
14654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14665 * NEWS: Mention the move.
14667 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14668 Use __open, __read, __close rather than their public counterparts.
14669 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14670 (__get_clockfreq_via_cpuinfo): Likewise.
14671 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14672 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14674 * config.h.in (HAVE_IFUNC): New #undef.
14675 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14677 * configure: Regenerated.
14679 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14681 * configure.in: Move READELF check to start of file.
14682 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14683 libc_cv_asm_gnu_indirect_function in the process.
14684 * configure: Regenerated.
14686 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14688 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14689 send the output to /dev/null.
14690 (libc_cv_cc_with_libunwind): Likewise.
14691 (libc_cv_as_noexecstack): Likewise.
14692 * configure: Regenerate.
14694 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14696 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14698 * posix/globtest.sh (TMPDIR): Do not set.
14699 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14700 (testout): Likewise.
14702 2012-10-24 Andreas Jaeger <aj@suse.de>
14704 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14705 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14706 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14707 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14708 posix_fadvise64, posix_fallocate64.
14710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14711 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14712 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14714 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14716 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14719 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14720 <bits/fcntl-linux.h>.
14721 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14724 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14725 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14726 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14727 [__WORDSIZE != 64]: Likewise.
14729 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14731 * Makeconfig (run-built-tests): New variable.
14732 * Rules [$(cross-compiling) = yes]: Change condition to
14733 [$(run-built-tests) = no].
14734 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14735 to [$(run-built-tests) = yes].
14736 * elf/Makefile [$(cross-compiling) = no]: Likewise
14737 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14738 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14739 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14740 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14741 * io/Makefile [$(cross-compiling) = no]: Likewise.
14742 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14743 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14744 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14745 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14746 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14747 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14748 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14749 * string/Makefile [$(cross-compiling) = no]: Likewise.
14751 * posix/Makefile ($(objpfx)globtest.out): Pass
14752 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14753 $(rtld-installed-name).
14754 * posix/globtest.sh (elf_objpfx): Remove variable.
14755 (rtld_installed_name): Likewise.
14756 (library_path): Likewise.
14757 (run_program_prefix): New variable. Use for running globtest
14760 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14761 Joseph Myers <joseph@codesourcery.com>
14763 * Makeconfig (host-built-program-cmd): New variable.
14764 * elf/Makefile (tst-stackguard1-ARGS): Use
14765 $(host-built-program-cmd).
14766 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14767 (tst-spawn-ARGS): Likewise.
14768 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14770 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14771 Jim Blandy <jimb@codesourcery.com>
14773 * Makeconfig (run-via-rtld-prefix): New variable.
14774 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14775 (built-program-cmd): Likewise.
14777 2012-10-22 Andreas Jaeger <aj@suse.de>
14779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14780 __O_RSYNC if it exists, otherwise to O_SYNC.
14782 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14783 Joseph Myers <joseph@codesourcery.com>
14785 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14787 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14789 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14792 2012-10-22 Andreas Jaeger <aj@suse.de>
14794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14799 bits/fcntl-linux.h.
14801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14802 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14809 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14810 Joseph Myers <joseph@codesourcery.com>
14812 * config.make.in (NM): New variable.
14814 2012-10-21 Andreas Jaeger <aj@suse.de>
14816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14817 definitions and declarations that are provided by
14818 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14820 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14823 * elf/Makefile (tests-static): Add tst-leaks1-static.
14824 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14825 ($(objpfx)tst-leaks1-static): New rule.
14826 ($(objpfx)tst-leaks1-static-mem): Likewise.
14827 (tst-leaks1-static-ENV): New macro.
14828 * elf/dl-open.c (dl_open_worker): Check the main application
14829 only if SHARED is defined.
14830 * elf/tst-leaks1-static.c: New file.
14832 2012-10-20 Andreas Jaeger <aj@suse.de>
14834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14835 generic values for Linux.
14836 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14837 and declarations that are provided by <bits/fcntl-linux.h> and
14838 include <bits/fcntl-linux.h>.
14839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14840 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14842 2012-10-20 Roland McGrath <roland@hack.frob.com>
14844 * io/fcntl.h: Move include of <bits/types.h> to the top and
14845 include it unconditionally.
14847 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14849 * wcsmbs/Makefile (tests-ifunc): New variable.
14850 (tests): Add $(tests-ifunc).
14851 * wcsmbs/test-wcschr-ifunc.c: New file.
14852 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14853 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14854 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14855 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14856 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14858 * string/Makefile (tests-ifunc): New variable.
14859 (tests): Add $(tests-ifunc).
14860 * string/test-memccpy.c (TEST_NAME): New macro.
14861 * string/test-memchr.c (TEST_NAME): Likewise.
14862 * string/test-memcmp.c (TEST_NAME): Likewise.
14863 * string/test-memcpy.c (TEST_NAME): Likewise.
14864 * string/test-memmem.c (TEST_NAME): Likewise.
14865 * string/test-memmove.c (TEST_NAME): Likewise.
14866 * string/test-memset.c (TEST_NAME): Likewise.
14867 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14868 * string/test-stpcpy.c (TEST_NAME): Likewise.
14869 * string/test-stpncpy.c (TEST_NAME): Likewise.
14870 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14871 * string/test-strcasestr.c (TEST_NAME): Likewise.
14872 * string/test-strcat.c (TEST_NAME): Likewise.
14873 * string/test-strchr.c (TEST_NAME): Likewise.
14874 * string/test-strcmp.c(TEST_NAME): Likewise.
14875 * string/test-strcpy.c (TEST_NAME): Likewise.
14876 * string/test-strcspn.c (TEST_NAME): Likewise.
14877 * string/test-strlen.c (TEST_NAME): Likewise.
14878 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14879 * string/test-strncmp.c (TEST_NAME): Likewise.
14880 * string/test-strncpy.c (TEST_NAME): Likewise.
14881 * string/test-strnlen.c (TEST_NAME): Likewise.
14882 * string/test-strpbrk.c (TEST_NAME): Likewise.
14883 * string/test-strrchr.c (TEST_NAME): Likewise.
14884 * string/test-strspn.c (TEST_NAME): Likewise.
14885 * string/test-strstr.c (TEST_NAME): Likewise.
14886 * string/test-bcopy-ifunc.c: New file.
14887 * string/test-bzero-ifunc.c: Likewise.
14888 * string/test-memccpy-ifunc.c: Likewise.
14889 * string/test-memchr-ifunc.c: Likewise.
14890 * string/test-memcmp-ifunc.c: Likewise.
14891 * string/test-memcpy-ifunc.c: Likewise.
14892 * string/test-memmem-ifunc.c: Likewise.
14893 * string/test-memmove-ifunc.c: Likewise.
14894 * string/test-mempcpy-ifunc.c: Likewise.
14895 * string/test-memset-ifunc.c: Likewise.
14896 * string/test-rawmemchr-ifunc.c: Likewise.
14897 * string/test-stpcpy-ifunc.c: Likewise.
14898 * string/test-stpncpy-ifunc.c: Likewise.
14899 * string/test-strcasecmp-ifunc.c: Likewise.
14900 * string/test-strcasestr-ifunc.c: Likewise.
14901 * string/test-strcat-ifunc.c: Likewise.
14902 * string/test-strchr-ifunc.c: Likewise.
14903 * string/test-strchrnul-ifunc.c: Likewise.
14904 * string/test-strcmp-ifunc.c: Likewise.
14905 * string/test-strcpy-ifunc.c: Likewise.
14906 * string/test-strcspn-ifunc.c: Likewise.
14907 * string/test-strlen-ifunc.c: Likewise.
14908 * string/test-strncasecmp-ifunc.c: Likewise.
14909 * string/test-strncat-ifunc.c: Likewise.
14910 * string/test-strncmp-ifunc.c: Likewise.
14911 * string/test-strncpy-ifunc.c: Likewise.
14912 * string/test-strnlen-ifunc.c: Likewise.
14913 * string/test-strpbrk-ifunc.c: Likewise.
14914 * string/test-strrchr-ifunc.c: Likewise.
14915 * string/test-strspn-ifunc.c: Likewise.
14916 * string/test-strstr-ifunc.c: Likewise.
14918 * debug/Makefile (tests-ifunc): New variable.
14919 (tests): Add $(tests-ifunc).
14920 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14921 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14922 * debug/test-stpcpy_chk-ifunc.c: New file.
14923 * debug/test-strcpy_chk-ifunc.c: Likewise.
14925 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14928 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14929 header is not read in.
14931 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14933 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14934 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14935 directly. Pass built executable to script as
14936 $(built-program-cmd).
14937 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14938 $testprogram without using LD_LIBRARY_PATH and $ldso.
14940 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14941 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14942 $(rtld-installed-name).
14943 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14944 (rtld_installed_name): Likewise.
14945 (library_path): Likewise.
14946 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14947 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14948 $(run-program-prefix) to tst-tables.sh.
14949 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14950 it to run tst-table-from and tst-table-to.
14951 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14952 Pass it to tst-table.sh.
14953 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14954 $(run-program-prefix) to tst-gettext.sh.
14955 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14957 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14959 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14960 to run tst-gettext.
14961 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14962 to run tst-gettext2.
14963 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14964 to run tst-translit.
14965 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14966 $(run-program-prefix) to tst-mtrace.sh.
14967 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14969 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14970 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14971 $(rtld-installed-name).
14972 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14973 (rtld_installed_name): Likewise.
14974 (run_program_prefix): New variable. Use it to run wordexp-test.
14976 * Makeconfig (ARCH): Remove all definitions.
14977 (machine): Likewise.
14978 [ARCH]: Remove conditional code.
14979 [!objdir]: Give error.
14980 [!objdir] (objpfx): Remove.
14981 [!objdir] (common-objpfx): Likewise.
14982 [!objdir] (common-objdir): Likewise.
14983 * configure.in (config_makefile): Remove. Hardcode Makefile in
14984 AC_CONFIG_FILES call.
14985 * configure: Regenerated.
14988 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14990 (testout): Likewise.
14992 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14993 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14994 $(rtld-installed-name).
14995 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14996 (rtld_installed_name): Likwise.
14997 (runit): Remove function.
14998 (run_getconf): New variable, Use it for running getconf binary.
15000 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15003 * string/test-memmem.c (check_result): New function.
15004 (do_one_test): Use it.
15005 (check1): New function.
15006 (test_main): Use it.
15008 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15010 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15012 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15014 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15015 (_G_LSEEK64): Likewise.
15016 (_G_MMAP64): Likewise.
15017 (_G_FSTAT64): Likewise.
15018 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15019 (_G_LSEEK64): Likewise.
15020 (_G_MMAP64): Likewise.
15021 (_G_FSTAT64): Likewise.
15022 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15023 unconditional. Call __mmap64 directly.
15024 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15025 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15026 __lseek64 directly.
15027 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15028 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15030 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15031 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15032 __lseek64 directly.
15033 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15034 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15035 __lseek64 directly.
15036 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15037 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15038 __lseek64 directly.
15039 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15040 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15041 __fxstat64 directly.
15042 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15043 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15045 (freopen64) [!_G_OPEN64]: Remove conditional code.
15046 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15048 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15049 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15051 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15052 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15054 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15055 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15057 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15058 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15060 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15061 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15063 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15064 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15066 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15068 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15071 * manual/memory.texi (Malloc Tunable Parameters): Add note
15072 about free list pointers overwriting some perturb bytes.
15073 Wording suggested by Roland McGrath.
15075 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15077 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15078 (lgamma_test): Likewise.
15079 (tgamma_test): Likewise.
15081 2012-10-16 Florian Weimer <fweimer@redhat.com>
15084 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15085 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15087 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15089 * NEWS: Mention BZ #14716.
15090 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15091 when removing AVAILABLE1_USES_J macro.
15093 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15095 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15096 (__bswap_64): __uint64_t for unsigned 64-bit int.
15098 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15100 * include/string.h (memmem): Declare libc hidden alias.
15101 * string/memmem.c (memmem): Define libc hidden alias.
15102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15103 __read, __close instead of open, read, close.
15105 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15108 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15110 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15111 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15112 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15114 (__rawmemchr_sse2): Likewise.
15115 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15116 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15117 (__strchr_sse2): Likewise.
15118 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15119 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15120 (__strcasecmp_sse2): Likewise.
15121 (__strncasecmp_sse2): Likewise.
15122 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15123 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15124 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15125 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15126 (__strrchr_sse2): Likewise.
15127 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15129 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15130 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15131 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15132 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15133 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15134 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15135 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15136 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15137 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15138 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15139 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15140 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15141 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15142 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15143 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15144 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15145 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15146 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15147 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15148 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15149 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15150 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15151 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15152 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15153 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15154 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15155 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15156 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15157 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15158 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15162 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15163 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15164 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15165 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15167 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15169 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15170 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15171 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15172 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15174 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15177 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15179 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15180 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15181 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15182 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15184 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15185 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15186 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15187 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15188 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15190 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15191 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15192 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15193 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15194 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15195 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15196 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15197 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15198 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15199 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15200 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15201 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15202 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15203 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15204 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15205 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15206 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15207 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15208 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15209 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15210 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15211 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15212 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15213 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15214 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15216 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15217 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15218 * include/ifunc-impl-list.h: New file.
15219 * misc/ifunc-impl-list.c: Likewise.
15220 * misc/Makefile (routines): Add ifunc-impl-list.
15221 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15222 * string/test-string.h: Include <ifunc-impl-list.h>.
15223 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15224 impl_array): New variables.
15225 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15227 (test_init): Call __libc_ifunc_impl_list to initialize
15228 func_list if TEST_IFUNC and TEST_NAME are defined.
15230 * string/Makefile (strop-tests): Add bcopy and bzero.
15231 * string/test-bcopy.c: New file.
15232 * string/test-bzero.c: Likewise.
15233 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15235 * string/test-memset.c: Support bzero test if TEST_BZERO is
15237 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15239 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15241 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15244 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15246 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15247 * configure: Regenerated.
15249 * Makeconfig (+link-static-before-libc): Don't include
15250 $(link-static-libc).
15252 * libio/libio.h (_IO_pos_t): Remove.
15254 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15256 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15259 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15261 * crypt/crypt-entry.c: Include fips-private.h.
15262 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15263 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15264 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15265 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15267 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15269 * crypt/crypt-private.h: Include stdbool.h.
15270 (_ufc_setup_salt_r): Return bool.
15271 * crypt/crypt-entry.c: Include errno.h.
15272 (__crypt_r): Return NULL with EINVAL for bad salt.
15273 * crypt/crypt_util.c (bad_for_salt): New.
15274 (_ufc_setup_salt_r): Check that salt is long enough and within
15275 the specified alphabet.
15276 * crypt/badsalttest.c: New file.
15277 * crypt/Makefile (tests): Add it.
15278 ($(objpfx)badsalttest): New.
15280 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15282 * NEWS: Add entry for BZ #14602.
15284 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15286 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15288 * math/libm-test.inc: Update comment listing what functions and
15290 (isgreater_test): New function.
15291 (isgreaterequal_test): Likewise.
15292 (isless_test): Likewise.
15293 (islessequal_test): Likewise.
15294 (islessgreater_test): Likewise.
15295 (isunordered_test): Likewise.
15296 (main): Call the new functions.
15298 2012-10-09 Roland McGrath <roland@hack.frob.com>
15300 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15301 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15302 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15303 * sysdeps/i386/configure: Regenerated.
15304 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15305 * sysdeps/mach/configure: Regenerated.
15306 * sysdeps/mach/hurd/configure: Regenerated.
15307 * sysdeps/powerpc/configure: Regenerated.
15308 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15309 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15310 * sysdeps/s390/s390-32/configure: Regenerated.
15311 * sysdeps/s390/s390-64/configure: Regenerated.
15312 * sysdeps/sh/configure: Regenerated.
15313 * sysdeps/sparc/configure: Regenerated.
15314 * sysdeps/unix/sysv/linux/configure: Regenerated.
15315 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15316 * sysdeps/x86_64/configure: Regenerated.
15318 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15319 defined. Don't check if MAP is NULL.
15321 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15323 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15324 (_G_stat64): Likewise.
15325 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15326 (_G_stat64): Likewise.
15327 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15328 instead of struct _G_stat64.
15329 * libio/fileops.c (mmap_remap_check): Likewise.
15330 (decide_maybe_mmap): Likewise.
15331 (_IO_new_file_seekoff): Likewise.
15332 (_IO_file_stat): Likewise.
15333 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15335 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15336 instead of struct _G_stat64.
15337 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15339 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15342 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15344 (CHECK_EOL): New macro.
15345 (two_way_short_needle): Check beginning of haystack for EOL. Use
15347 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15348 Replace with CHECK_EOL.
15349 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15350 Replace with CHECK_EOL.
15352 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15354 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15356 * math/libm-test.inc: Update comment listing what functions and
15358 (finite_test): New function.
15359 (isinf_test): Likewise.
15360 (isnan_test): Likewise.
15361 (fpclassify_test): Test subnormal input.
15362 (isfinite_test): Likewise.
15363 (isnormal_test): Likewise.
15364 (main): Call the new functions.
15366 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15369 * Makerules (%.dynsym): Force C locale when running
15370 $(OBJDUMP) --dynamic-syms.
15372 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15374 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15377 2012-10-06 David S. Miller <davem@davemloft.net>
15379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15380 upper 32-bits of the length value in %o2 since we use branch-on-register
15381 tests which consider the entire 64-bit register.
15383 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15385 * string/test-strstr.c (check2): Add a test for page boundary.
15387 2012-10-05 David S. Miller <davem@davemloft.net>
15389 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15390 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15392 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15395 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15396 and bzero when HWCAP_SPARC_CRYPTO is present.
15398 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15401 * string/test-strstr.c (check2): New function.
15402 (test_main): Call check2.
15404 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15406 * string/bug-strcasestr1.c (do_test): Moved to ...
15407 * string/test-strcasestr.c (check1): Here. New function.
15408 (do_one_test): Break out result checking code into ...
15409 (check_result): This. New function.
15410 (do_one_test): Call check_result.
15411 (test_main): Call check1.
15412 * string/bug-strchr1.c (do_test): Moved to ...
15413 * string/test-strchr.c (check1): Here. New function.
15414 (do_one_test): Break out result checking code into ...
15415 (check_result): This. New function.
15416 (do_one_test): Call check_result.
15417 (test_main): Call check1.
15418 * string/bug-strstr1.c (main): Moved to ...
15419 * string/test-strstr.c (check1): Here. New function.
15420 (do_one_test): Break out result checking code into ...
15421 (check_result): This. New function.
15422 (do_one_test): Call check_result.
15423 (test_main): Call check1.
15424 * string/bug-strcasestr1.c: Removed.
15425 * string/bug-strchr1.c: Likewise.
15426 * string/bug-strstr1.c: Likewise.
15428 * elf/Makefile (dl-routines): Add hwcaps.
15429 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15430 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15431 (_dl_important_hwcaps): Moved to ...
15432 * elf/dl-hwcaps.c: Here. New file.
15433 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15436 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15437 if IS_IN_rtld isn't defined.
15439 * elf/dl-support.c (_dl_sysinfo_map): New.
15440 Include "get-dynamic-info.h" and "setup-vdso.h".
15441 (_dl_non_dynamic_init): Call setup_vdso.
15442 * elf/dynamic-link.h: Don't include <assert.h>.
15443 (elf_get_dynamic_info): Moved to ...
15444 * elf/get-dynamic-info.h: Here. New file.
15445 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15446 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15447 * elf/setup-vdso.h: Here. New file.
15448 * elf/rtld.c: Include "setup-vdso.h".
15449 (dl_main): Call setup_vdso.
15451 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15453 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15454 creal in comment listing functions tested. List finite, isinf,
15455 isnan, isless, islessequal, isgreater, isgreaterequal,
15456 islessgreater, isunordered, lgamma_r and pow10 as functions and
15457 macros not tested. Mention which functions not tested are aliases
15458 for other functions. Fix typo. Note that signs of NaNs are not
15461 * scripts/config.guess: Update from config.git.
15462 * scripts/config.sub: Likewise.
15464 2012-10-04 Roland McGrath <roland@hack.frob.com>
15466 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15467 * misc/madvise.c (madvise): Renamed to __madvise.
15468 Make madvise a weak alias.
15469 * include/sys/mman.h: Declare __madvise.
15470 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15471 * sysdeps/unix/syscalls.list
15472 (madvise): Make __madvise the strong name, and madvise a weak alias.
15473 * sysdeps/unix/sysv/linux/syscalls.list
15474 (madvise, mmap): Remove redundant entries.
15475 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15476 * malloc/malloc.c (mtrim): Likewise.
15477 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15479 2012-10-03 Roland McGrath <roland@hack.frob.com>
15481 * sysdeps/mach/hurd/dl-cache.c: File removed.
15482 * config.h.in (USE_LDCONFIG): New #undef.
15483 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15484 * configure: Regenerated.
15485 * elf/Makefile (dl-routines): Add dl-cache only under
15486 [$(use-ldconfig) = yes].
15487 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15488 cache on [USE_LDCONFIG].
15489 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15491 * elf/rtld.c (dl_main): Likewise.
15493 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15495 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15496 _SC_LEVEL4_CACHE_LINESIZE.
15498 2012-10-03 Roland McGrath <roland@hack.frob.com>
15500 * sysdeps/unix/bsd/confstr.h: File removed.
15502 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15504 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15507 2012-10-02 Roland McGrath <roland@hack.frob.com>
15509 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15510 Make 'mapoff' field ElfW(Off) rather than off_t.
15512 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15514 * nscd/Makefile: Remove nscd-cflags and all its users.
15515 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15516 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15519 * malloc.c (malloc_printerr): Clarify error message.
15521 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15525 Set bit_FMA_Usable if FMA is supported.
15526 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15528 (bit_FMA4_Usable): Updated.
15529 (index_FMA_Usable): New macro.
15530 (CPUID_FMA): Likewise
15531 (HAS_FMA): Defined with bit_FMA_Usable.
15533 2012-10-01 Roland McGrath <roland@hack.frob.com>
15535 * bits/types.h (__swblk_t): Type removed.
15536 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15537 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15539 (__SWBLK_T_TYPE): Likewise.
15540 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15541 (__SWBLK_T_TYPE): Likewise.
15542 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15543 (__SWBLK_T_TYPE): Likewise.
15544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15545 (__SWBLK_T_TYPE): Likewise.
15547 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15548 Honza Horak <hhorak@redhat.com>
15550 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15551 (xdr_mapname): Use YPMAXMAP as maxsize.
15552 (xdr_peername): Use YPMAXPEER as maxsize.
15553 (xdr_keydat): Use YPAXRECORD as maxsize.
15554 (xdr_valdat): Use YPMAXRECORD as maxsize.
15556 2012-10-01 Roland McGrath <roland@hack.frob.com>
15558 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15560 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15561 * csu/init-first.c: ... here.
15562 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15563 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15564 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15565 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15566 * sysdeps/i386/init-first.c: File removed.
15567 * sysdeps/sh/init-first.c: File removed.
15569 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15573 if x * y might underflow to zero and z is zero.
15574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15576 * math/libm-test.inc (min_subnorm_value): New variable.
15577 (fma_test): Add more tests.
15578 (fma_test_towardzero): Likewise.
15579 (fma_test_downward): Likewise
15580 (fma_test_upward): Likewise.
15581 (initialize): Set min_subnorm_value.
15583 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15589 mode for addition resulting in exact zero.
15590 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15595 * math/libm-test.inc (fma_test): Add more tests.
15596 (fma_test_towardzero): New function.
15597 (fma_test_downward): Likewise.
15598 (fma_test_upward): Likewise.
15599 (main): Call the new functions.
15601 2012-09-28 David S. Miller <davem@davemloft.net>
15603 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15605 2012-09-28 Roland McGrath <roland@hack.frob.com>
15607 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15608 instead of SIGALRM.
15610 * sysdeps/gnu/_G_config.h: Moved to ...
15611 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15612 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15613 * sysdeps/generic/_G_config.h: ... here.
15615 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15617 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15619 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15620 Conditionalize target on [libnss_test1.so-version].
15622 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15624 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15625 (elfobjdir): Move out of conditionals.
15627 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15628 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15629 (__nss_lookup_function): Conditionalize label remove_from_tree on
15630 [!DO_STATIC_NSS || SHARED], matching its only use.
15632 2012-09-28 David S. Miller <davem@davemloft.net>
15634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15635 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15637 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15641 when HWCAP_SPARC_CRYPTO is present.
15643 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15645 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15647 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15650 * stdio-common/vfprintf.c (process_string_arg): Revert
15653 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15655 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15657 * stdio-common/tst-sprintf.c: Include <locale.h>
15658 (main): Test sprintf's handling of incomplete multibyte
15661 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15663 * elf/dl-runtime.c (VERSYMIDX): Removed.
15664 * elf/dl-version.c (VERSYMIDX): Likewise.
15665 * elf/do-rel.h (VERSYMIDX): Likewise.
15666 (VALIDX): Likewise.
15667 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15668 * elf/rtld.c (VALIDX): Likewise.
15669 (ADDRIDX): Likewise.
15670 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15671 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15672 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15673 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15674 (VALIDX): Likewise.
15675 (ADDRIDX): Likewise.
15677 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15679 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15681 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15684 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15686 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15687 addresses are in the same scope as 192.0.2/24.
15688 * posix/gai.conf: Document new scope table defaults.
15690 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15693 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15694 for ftell. Compute offsets from write pointers instead.
15695 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15697 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15700 * libio/Makefile (tests): New test case tst-fseek.
15701 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15702 combination works in wide mode.
15703 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15704 state when the external buffer state changes.
15706 2012-09-27 David S. Miller <davem@davemloft.net>
15709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15710 pass reloc->r_addend in as the 'high' argument to
15711 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15715 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15717 * rt/tst-aio2.c: Include <pthread.h>.
15718 * rt/tst-aio3.c: Likewise.
15720 2012-09-27 Steve Ellcey <sellcey@mips.com>
15722 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15724 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15726 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15727 contents on [SHARED].
15729 2012-09-26 Marek Polacek <polacek@redhat.com>
15733 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15734 for C++ and GCC <4.3 as well as for non GCC compilers.
15736 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15738 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15740 2012-09-25 Roland McGrath <roland@hack.frob.com>
15742 * Makefile.in (all, install): Declare with .PHONY.
15743 Reported by Michael Hope <michael.hope@linaro.org>.
15745 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15747 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15748 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15750 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15752 (sydep_routines): Add the new and the internal functions.
15753 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15754 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15756 (GLIBC_2.17): Add the new function.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15758 (GLIBC_2.17): Likewise.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15760 (GLIBC_2.17): Likewise.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15762 (GLIBC_2.17): Likewise.
15763 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15765 2012-09-25 Alan Modra <amodra@gmail.com>
15767 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15768 Add release barrier before setting once_control to say
15769 initialisation is done. Add hints on lwarx. Use macro in
15771 (clear_once_control): Add release barrier.
15773 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15776 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15778 * math/s_clog10.c (__clog10): Likewise.
15779 * math/s_clog10f.c (__clog10f): Likewise.
15780 * math/s_clog10l.c (__clog10l): Likewise.
15781 * math/s_clogf.c (__clogf): Likewise.
15782 * math/s_clogl.c (__clogl): Likewise.
15783 * math/Makefile (libm-calls): Add x2y2m1.
15784 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15785 (__x2y2m1): Likewise.
15786 (__x2y2m1l): Likewise.
15787 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15788 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15789 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15790 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15793 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15794 * sysdeps/i386/fpu/libm-test-ulps: Update.
15795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15798 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15799 int as type of variable DEPTH.
15800 (glob): Use size_t instead of int as type of variables NEWCOUNT
15803 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15805 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15806 Add s_sincosf-sse2.
15807 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15808 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15809 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15810 macros for using routine as __sincosf_ia32.
15811 Use macro for function declaration and weak_alias.
15812 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15817 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15818 subnormal argument.
15819 * math/s_cexpf.c (__cexpf): Likewise.
15820 * math/s_csinf.c (__csinf): Likewise.
15821 * math/s_csinhf.c (__csinhf): Likewise.
15822 * math/s_ctanf.c (__ctanf): Likewise.
15823 * math/s_ctanhf.c (__ctanhf): Likewise.
15824 * math/s_ccosh.c (__ccoshf): Likewise.
15825 * math/s_cexp.c (__cexpl): Likewise.
15826 * math/s_csin.c (__csin): Likewise.
15827 * math/s_csinh.c (__csinh): Likewise.
15828 * math/s_ctan.c (__ctan): Likewise.
15829 * math/s_ctanh.c (ctanh): Likewise.
15830 * math/s_ccoshl.c (__ccoshl): Likewise.
15831 * math/s_cexpl.c (__cexpl): Likewise.
15832 * math/s_csinl.c (__csinl): Likewise.
15833 * math/s_csinhl.c (__csinhl): Likewise.
15834 * math/s_ctanl.c (__ctanl): Likewise.
15835 * math/s_ctanhl.c (__ctanhl): Likewise.
15837 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15839 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15840 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15841 (_IO_off_t): Define to __off_t, not _G_off_t.
15842 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15843 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15844 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15845 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15846 type of __dummy and __dummy2 fields.
15847 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15848 (_G_ssize_t): Likewise.
15849 (_G_off_t): Likewise.
15850 (_G_pid_t): Likewise.
15851 (_G_uid_t): Likewise.
15852 (_G_wchar_t): Likewise.
15853 (_G_wint_t): Likewise.
15854 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15855 (_G_ssize_t): Likewise.
15856 (_G_off_t): Likewise.
15857 (_G_pid_t): Likewise.
15858 (_G_uid_t): Likewise.
15859 (_G_wchar_t): Likewise.
15860 (_G_wint_t): Likewise.
15861 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15862 (_G_ssize_t): Likewise.
15863 (_G_off_t): Likewise.
15864 (_G_pid_t): Likewise.
15865 (_G_uid_t): Likewise.
15866 (_G_wchar_t): Likewise.
15867 (_G_wint_t): Likewise.
15869 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15871 * malloc/arena.c: Include malloc-sysdep.h.
15872 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15873 is sufficient to shrink the heap or an unmap is needed.
15874 * sysdeps/generic/malloc-sysdep.h: New file. Define
15875 new function check_may_shrink_heap.
15876 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15877 new function check_may_shrink_heap.
15879 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15881 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15884 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15886 * catgets/test-gencat.sh: Add "set -e".
15887 * elf/tst-pathopt.sh: Likewise.
15888 * grp/tst_fgetgrent.sh: Likewise.
15889 * iconvdata/run-iconv-test.sh: Likewise.
15890 * intl/tst-gettext.sh: Likewise.
15891 * intl/tst-gettext2.sh: Likewise.
15892 * intl/tst-gettext4.sh: Likewise.
15893 * intl/tst-gettext6.sh: Likewise.
15894 * intl/tst-translit.sh: Likewise.
15895 * io/ftwtest-sh: Likewise.
15896 * libio/test-freopen.sh: Likewise.
15897 * malloc/tst-mtrace.sh: Likewise.
15898 * posix/globtest.sh: Likewise.
15899 * posix/tst-getconf.sh: Likewise.
15900 * posix/wordexp-tst.sh: Likewise.
15901 * stdio-common/tst-printf.sh: Likewise.
15902 * stdio-common/tst-unbputc.sh: Likewise.
15903 * stdlib/tst-fmtmsg.sh: Likewise.
15904 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15905 * catgets/Makefile: Do not specify -e option when running
15906 testsuite shell scripts.
15907 * elf/Makefile: Likewise.
15908 * grp/Makefile: Likewise.
15909 * iconvdata/Makefile: Likewise.
15910 * intl/Makefile: Likewise.
15911 * io/Makefile: Likewise.
15912 * libio/Makefile: Likewise.
15913 * malloc/Makefile: Likewise.
15914 * posix/Makefile: Likewise.
15915 * stdio-common/Makefile: Likewise.
15916 * stdlib/Makefile: Likewise.
15917 * sysdeps/x86_64/Makefile: Likewise.
15919 * io/ftwtest-sh: Add copyright header.
15920 * posix/globtest.sh: Likewise.
15921 * posix/tst-getconf.sh: Likewise.
15922 * posix/wordexp-tst.sh: Likewise.
15923 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15925 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15928 * Makeconfig (+link): Defined as $(+link-static) if
15929 $(build-shared) isn't yes.
15930 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15932 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15934 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15937 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15938 new chunk size with MALLOC_ALIGN_MASK.
15940 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15943 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15945 (__printf_fphex): Determine rounding using get_rounding_mode and
15947 * stdio-common/tst-printf-round.c (struct hex_test): New
15949 (hex_tests): New variable.
15950 (test_hex_in_one_mode): New function.
15951 (do_test): Also run tests for hex float output.
15953 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15955 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15956 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15957 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15958 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15959 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15960 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15961 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15962 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15964 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15966 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15967 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15968 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15969 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15971 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15974 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15976 * elf/tst-rtld-load-self.sh: New test.
15977 * elf/Makefile: Run it.
15979 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15981 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15982 (tst-writev-ENV): Remove.
15983 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15985 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15987 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15989 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15991 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15993 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15995 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15996 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15997 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16000 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16003 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16004 * config.make.in (have-cpp-asm-debuginfo): Removed.
16005 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16006 * configure: Regenerated.
16008 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16011 * stdio-common/printf_fp.c: Include <stdbool.h> and
16013 (___printf_fp): Determine rounding using get_rounding_mode and
16015 * stdio-common/tst-printf-round.c: New file.
16016 * stdio-common/Makefile (tests): Add tst-printf-round.
16017 (link-libm): New variable.
16018 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16020 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16023 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16024 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16026 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16029 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16031 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16032 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16033 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16034 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16036 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16039 * include/rounding-mode.h: New file.
16040 * sysdeps/generic/get-rounding-mode.h: Likewise.
16041 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16042 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16043 (MAX_VALUE): New macro.
16044 (MIN_VALUE): Likewise.
16045 (overflow_value): New function.
16046 (underflow_value): Likewise.
16047 (round_and_return): Use overflow_value and underflow_value to
16048 determine return values in overflow and underflow cases. Use
16049 round_away to determine rounding depending on rounding mode.
16050 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16051 determine return values in overflow and underflow cases.
16052 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16053 (struct test_results): New structure.
16054 (struct test): Use struct test_results to store expected results
16055 for all rounding modes.
16056 (TEST): Include expected results for all rounding modes.
16057 (test_in_one_mode): New function.
16058 (do_test): Use test_in_one_mode to compute and check results.
16059 Check results for all rounding modes.
16060 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16063 2012-12-09 Allan McRae <allan@archlinux.org>
16065 * sysdeps/i386/fpu/libm-test-ulps: Update
16067 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16069 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16070 (_G_int32_t): Likewise.
16071 (_G_uint16_t): Likewise.
16072 (_G_uint32_t): Likewise.
16073 (_G_HAVE_BOOL): Likewise.
16074 (_G_HAVE_ATEXIT): Likewise.
16075 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16076 (_G_HAVE_IO_FILE_OPEN): Likewise.
16077 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16078 (_G_int32_t): Likewise.
16079 (_G_uint16_t): Likewise.
16080 (_G_uint32_t): Likewise.
16081 (_G_HAVE_BOOL): Likewise.
16082 (_G_HAVE_ATEXIT): Likewise.
16083 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16084 (_G_HAVE_IO_FILE_OPEN): Likewise.
16085 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16086 (_G_int32_t): Likewise.
16087 (_G_uint16_t): Likewise.
16088 (_G_uint32_t): Likewise.
16089 (_G_HAVE_BOOL): Likewise.
16090 (_G_HAVE_ATEXIT): Likewise.
16091 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16092 (_G_HAVE_IO_FILE_OPEN): Likewise.
16094 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16096 * csu/libc-tls.c: Update copyright years.
16098 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16100 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16101 [!_G_USING_THUNKS]: Remove conditional code.
16102 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16103 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16105 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16106 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16107 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16108 (_G_VTABLE_LABEL_PREFIX): Likewise.
16109 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16110 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16111 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16112 (_G_VTABLE_LABEL_PREFIX): Likewise.
16113 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16114 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16115 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16116 (_G_VTABLE_LABEL_PREFIX): Likewise.
16117 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16119 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16121 * libio/Makefile: Include ../Makeconfig before tests.
16122 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16123 only if $(build-shared) is yes.
16125 * iconv/gconv_db.c: Update copyright years.
16127 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16129 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16130 unwind info if defined PIC. Fix special cases description.
16131 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16133 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16135 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16137 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16139 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16141 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16144 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16145 (LDLIBS-tst-chk4): This.
16146 (LDFLAGS-tst-chk5): Renamed to ...
16147 (LDLIBS-tst-chk5): This.
16148 (LDFLAGS-tst-chk6): Renamed to ...
16149 (LDLIBS-tst-chk6): This.
16150 (LDFLAGS-tst-lfschk4): Renamed to ...
16151 (LDLIBS-tst-lfschk4): This.
16152 (LDFLAGS-tst-lfschk5): Renamed to ...
16153 (LDLIBS-tst-lfschk5): This.
16154 (LDFLAGS-tst-lfschk6): Renamed to ...
16155 (LDLIBS-tst-lfschk6): This.
16157 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16158 on $(common-objpfx)soversions.mk.
16160 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16163 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16166 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16168 * malloc/arena.c (arena_get_retry): New function that gets
16169 another arena for the caller to try its request on.
16170 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16171 current arena cannot fulfill the request.
16172 (__libc_memalign): Likewise.
16173 (__libc_memalign): Likewise.
16174 (__libc_pvalloc): Likewise.
16175 (__libc_calloc): Likewise.
16177 2012-09-05 John Tobey <john.tobey@gmail.com>
16180 * manual/arith.texi (Operations on Complex): Fix description
16181 of carg branch cut.
16183 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16186 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16190 * manual/memory.texi (Memory): Make order of menu items match
16193 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16195 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16196 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16197 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16199 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16201 * csu/libc-tls.c (static_dtv): Renamed to ...
16202 (_dl_static_dtv): This. Make it global.
16203 (_dl_initial_dtv): Removed.
16204 (__libc_setup_tls): Updated.
16205 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16206 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16209 2012-09-06 Petr Machata <pmachata@redhat.com>
16211 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16212 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16213 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16214 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16216 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16219 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16220 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16223 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16226 * Makeconfig (link-static-before-libc): Replace $(+prector)
16228 (link-static-after-libc): Replace $(+postctor) with
16230 (link-bounded): Replace $(+prector)/$(+postctor) with
16231 $(+prectorT)/$(+postctorT).
16232 (+prectorT): New macro.
16233 (+postctorT): Likewise.
16235 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16237 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16238 (round_str): Handle values above the maximum for IBM long double
16240 * stdlib/tst-strtod-round.c (tests): Regenerated.
16242 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16244 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16246 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16247 zarch_nohighgprs around the zarch optimized routines.
16248 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16249 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16250 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16253 2012-09-05 David S. Miller <davem@davemloft.net>
16255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16257 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16258 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16259 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16260 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16263 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16265 * malloc/arena.c: Fold copyright years.
16266 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16268 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16270 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16272 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16274 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16276 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16278 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16279 change internal state upon failure.
16281 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16283 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16284 * malloc/memusage.c (mmap): Likewise.
16285 (mmap64, mremap): Likewise. Adjust name in comment.
16287 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16289 * libio/fileops.c: Fix typos in comments.
16290 * libio/oldfileops.c: Likewise.
16291 * libio/wfileops.c: Likewise.
16293 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16296 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16297 (tst-malloc-usable-ENV): Set environment for test case.
16298 * malloc/hooks.c (malloc_check_get_size): New function to get
16300 * malloc/malloc.c (musable): Use malloc_check_get_size.
16301 * malloc/tst-malloc-usable.c: New test case.
16303 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16305 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16307 2012-09-05 Allan McRae <allan@archlinux.org>
16310 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16311 determine header location.
16312 * configure: Regenerated.
16314 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16316 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16318 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16319 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16321 (test): Regenerate.
16323 2012-09-04 David S. Miller <davem@davemloft.net>
16325 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16326 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16329 2012-09-04 Florian Weimer <fweimer@redhat.com>
16331 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16334 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16336 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16339 * libio/iogetdelim.c: Include <limits.h>.
16340 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16341 + len + 1 would overflow.
16343 2012-09-03 Andreas Jaeger <aj@suse.de>
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16346 * sysdeps/i386/fpu/libm-test-ulps: Update.
16348 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16350 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16351 Add s_sinf-sse2, s_conf-sse2.
16353 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16354 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16355 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16356 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16358 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16359 for using routine as __sinf_ia32.
16360 Use macro for function declaration and weak_alias.
16361 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16362 for using routine as __cosf_ia32.
16363 Use macro for function declaration and weak_alias.
16365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16366 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16368 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16369 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16372 * math/libm-test.inc (cos_test): Add more test cases.
16373 (sin_test): Likewise.
16374 (sincos_test): Likewise.
16376 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16378 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16379 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16381 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16383 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16386 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16387 first element of the GOT.
16388 (elf_machine_load_address): Return the difference between
16389 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16391 2012-09-01 Allan McRae <allan@archlinux.org>
16394 * configure.in (AWK): Require gawk version 3.0 or later.
16395 * configure: Regenerated.
16397 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16399 * sysdeps/unix/sysv/linux/kernel-features.h
16400 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16402 [__NR_clock_getres]: Make code unconditional.
16403 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16404 (clock_getcpuclockid): Remove code left unreachable by removal of
16406 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16407 code unconditional.
16408 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16409 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16410 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16411 Make code unconditional.
16412 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16413 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16414 * sysdeps/unix/sysv/linux/clock_settime.c
16415 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16417 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16418 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16420 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16423 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16424 scripts/test-installation.pl.
16426 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16427 and $ld_so_version if it is set.
16429 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16433 failure if reading from procfs failed.
16434 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16436 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16438 * sysdeps/unix/sysv/linux/kernel-features.h
16439 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16440 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16441 Remove conditional code.
16442 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16443 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16444 Remove conditional code.
16445 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16446 * sysdeps/unix/sysv/linux/i386/fxstat.c
16447 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16448 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16449 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16450 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16452 * sysdeps/unix/sysv/linux/i386/lxstat.c
16453 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16454 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16455 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16456 Remove conditional code.
16457 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16458 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16459 Remove conditional code.
16460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16462 <kernel-features.h>.
16463 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16465 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16466 Remove conditional code.
16467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16468 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16469 Remove conditional.
16471 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16474 * NEWS: Add fixed bug number.
16476 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16479 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16480 underflowing exponent in case of negative sign.
16481 * stdlib/tst-strtod-round-data: Add more tests.
16482 * stdlib/tst-strtod-round.c (tests): Regenerated.
16485 * stdlib/strtod_l.c (NDIG): Remove.
16486 (HEXNDIG): Likewise.
16487 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16488 smallest representable value.
16489 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16490 lie within an exact representation of 1/2 ulp of the result.
16491 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16493 (TENS_P9_IDX): Define unconditionally.
16494 (TENS_P9_SIZE): Likewise.
16495 (TENS_P10_IDX): Likewise.
16496 (TENS_P10_SIZE): Likewise.
16497 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16498 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16499 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16500 entries for 10^2^13 and 10^2^14.
16501 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16502 (TENS_P13_IDX): Define.
16503 (TENS_P13_SIZE): Likewise.
16504 (TENS_P14_IDX): Likewise.
16505 (TENS_P14_SIZE): Likewise.
16506 (_fpioconst_pow10): Change array size to
16507 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16509 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16510 1024]: Add entries for 10^2^13 and 10^2^14.
16511 [LAST_POW10 > _LAST_POW10]: Remove #error.
16512 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16513 (_fpioconst_pow10): Change array size to
16514 FPIOCONST_POW10_ARRAY_SIZE.
16515 * stdlib/gen-fpioconst.c: New file.
16516 * stdlib/gen-tst-strtod-round.c: Likewise.
16517 * stdlib/tst-strtod-round-data: Likewise.
16518 * stdlib/tst-strtod-round.c: Likewise.
16519 * stdlib/Makefile (tests): Add tst-strtod-round.
16522 * stdlib/strtod_l.c: Include <stdint.h>.
16523 (NDEBUG): Do not define.
16524 (round_and_return): Change EXPONENT parameter to type intmax_t.
16525 Rearrange calculations to avoid internal overflow possibilities.
16526 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16527 Rearrange calculations to avoid internal overflow possibilities.
16528 Assert that number fits inside MPNSIZE limbs.
16529 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16530 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16531 calculations and add assertions to avoid internal overflow
16532 possibilities. Add casts to avoid signed/unsigned operations.
16533 * stdlib/tst-strtod-overflow.c: New file.
16534 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16536 2012-08-25 Marek Polacek <polacek@redhat.com>
16538 * time/time.h: Fix some typos in comments.
16540 2012-08-23 Roland McGrath <roland@hack.frob.com>
16542 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16543 * posix/tst-rfc3484-2.c: Likewise.
16544 * posix/tst-rfc3484-3.c: Likewise.
16546 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16548 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16549 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16551 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16553 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16554 #include of fxstatat64.c.
16556 2012-08-22 Roland McGrath <roland@hack.frob.com>
16558 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16559 * shadow/getspent_r.c: Likewise.
16560 * shadow/getspnam.c: Likewise.
16561 * shadow/getspnam_r.c: Likewise.
16562 * gshadow/getsgent.c: Likewise.
16563 * gshadow/getsgent_r.c: Likewise.
16564 * gshadow/getsgnam.c: Likewise.
16565 * gshadow/getsgnam_r.c: Likewise.
16566 * inet/getnetbyad.c: Likewise.
16567 * inet/getnetbyad_r.c: Likewise.
16568 * inet/getnetbynm.c: Likewise.
16569 * inet/getnetbynm_r.c: Likewise.
16570 * inet/getnetent.c: Likewise.
16571 * inet/getnetent_r.c: Likewise.
16572 * inet/getproto.c: Likewise.
16573 * inet/getproto_r.c: Likewise.
16574 * inet/getprtent.c: Likewise.
16575 * inet/getprtent_r.c: Likewise.
16576 * inet/getprtname.c: Likewise.
16577 * inet/getprtname_r.c: Likewise.
16578 * inet/getrpcbyname.c: Likewise.
16579 * inet/getrpcbyname_r.c: Likewise.
16580 * inet/getrpcbynumber.c: Likewise.
16581 * inet/getrpcbynumber_r.c: Likewise.
16582 * inet/getrpcent.c: Likewise.
16583 * inet/getrpcent_r.c: Likewise.
16584 * inet/getaliasent.c: Likewise.
16585 * inet/getaliasent_r.c: Likewise.
16586 * inet/getaliasname.c: Likewise.
16587 * inet/getaliasname_r.c: Likewise.
16588 * nscd/getgrgid_r.c: Likewise.
16589 * nscd/getgrnam_r.c: Likewise.
16590 * nscd/gethstbyad_r.c: Likewise.
16591 * nscd/gethstbynm3_r.c: Likewise.
16592 * nscd/getpwnam_r.c: Likewise.
16593 * nscd/getpwuid_r.c: Likewise.
16594 * nscd/getsrvbynm_r.c: Likewise.
16595 * nscd/getsrvbypt_r.c: Likewise.
16596 * nscd/gai.c: Likewise.
16598 * configure.in (build_nscd): New substituted variable, set
16599 by --disable-build-nscd and defaults to $use_nscd.
16600 * configure: Regenerated.
16601 * config.make.in (build-nscd): New substituted variable.
16602 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16603 Change conditional to require [$(build-nscd) = yes] as well.
16604 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16607 * configure.in (use_nscd): New substituted variable, set by
16608 --disable-nscd. If enabled, define USE_NSCD.
16609 * configure: Regenerated.
16610 * config.h.in: Add USE_NSCD.
16611 * config.make.in (use-nscd): New substituted variable.
16612 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16613 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16614 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16615 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16616 (CFLAGS-getgrnam_r.c): Likewise.
16617 (CFLAGS-initgroups.c): Likewise.
16618 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16619 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16621 * inet/getnetgrent_r.c
16622 (nscd_setnetgrent): New function, broken out of ...
16623 (setnetgrent): ... here. Call it.
16624 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16625 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16626 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16627 * nscd/Makefile (routines, aux): Move definitions after include of
16628 Makeconfig. Conditionalize on [$(use-nscd) != no].
16629 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16630 Conditionalize on [USE_NSCD].
16631 (is_nscd, nscd_init_cb): Likewise.
16632 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16633 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16634 * nss/nss_db/db-init.c: Likewise.
16635 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16637 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16638 (make_request): Use it.
16639 (cache_valid_p): New function.
16640 (__check_pf): Use it.
16641 * NEWS: Add item for --disable-nscd.
16643 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16645 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16646 to support sed >= 4.2.1-20-ga9bf076.
16647 * configure: Regenerated.
16649 2012-08-22 Roland McGrath <roland@hack.frob.com>
16651 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16652 Conditionalize whole body on [IREL].
16654 2012-08-22 Jeff Law <law@redhat.com>
16657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16658 if the family is PF_UNSPEC.
16660 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16662 * Makerules (lib-version): Rename from V.
16663 (install-lib-nosubdir): Change V to lib-version.
16665 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16668 * powerpc32/power6/wcschr.c: New file.
16669 * powerpc32/power6/wcscpy.c: New file.
16670 * powerpc32/power6/wcsrchr.c: New file.
16671 * powerpc64/power6/wcschr.c: New file.
16672 * powerpc64/power6/wcscpy.c: New file.
16673 * powerpc64/power6/wcsrchr.c: New file.
16675 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16677 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16678 (two_way_short_needle): Use it.
16679 * string/strstr.c (AVAILABLE1_USES_J): Define.
16680 * string/strcasestr.c: Likewise.
16682 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16684 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16687 * NEWS: Add an entry.
16688 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16689 define their defaults.
16690 (two_way_short_needle): Detect end-of-string on-the-fly.
16691 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16692 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16693 * string/bug-strcasestr1.c: New test.
16694 * string/Makefile: Run it.
16696 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16699 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16700 the first character.
16702 2012-08-21 Roland McGrath <roland@hack.frob.com>
16704 * csu/elf-init.c (__libc_csu_irel): Function removed.
16705 * csu/libc-start.c (apply_irel): New function.
16706 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16708 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16710 * sysdeps/unix/sysv/linux/kernel-features.h
16711 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16712 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16713 <kernel-features.h>.
16714 [__NR_fadvise64_64]: Make code unconditional.
16715 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16716 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16717 !__NR_fadvise64_64)]: Likewise.
16718 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16719 !__NR_fadvise64_64))]: Likewise.
16720 [__NR_fadvise64]: Make code unconditional.
16721 [!__NR_fadvise64]: Remove conditional code.
16722 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16723 <kernel-features.h>.
16724 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16726 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16729 not include <kernel-features.h>.
16730 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16732 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16734 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16735 include <kernel-features.h>.
16736 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16738 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16741 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16743 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16744 slight instruction rearrangements per scrollpipe analysis.
16745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16747 2012-08-20 Roland McGrath <roland@hack.frob.com>
16749 * manual/syslog.texi (syslog; vsyslog, closelog):
16750 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16751 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16753 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16754 DSOCAPS to match condition on defining it.
16756 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16758 * sysdeps/unix/sysv/linux/kernel-features.h
16759 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16761 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16762 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16764 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16765 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16767 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16768 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16770 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16771 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16773 * sysdeps/unix/sysv/linux/kernel-features.h
16774 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16775 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16777 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16778 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16779 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16780 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16781 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16782 Make code unconditional.
16783 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16784 (__mmap64) [!__NR_mmap2]: Likewise.
16785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16786 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16787 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16788 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16789 [__NR_mmap2]: Make code unconditional.
16790 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16791 (__mmap64) [!__NR_mmap2]: Likewise.
16793 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16795 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16797 2012-08-18 Andreas Jaeger <aj@suse.de>
16799 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16801 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16803 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16804 * include/unistd.h (__have_sock_cloexec): Likewise.
16805 (__have_pipe2): Likewise.
16806 (__have_dup3): Likewise.
16808 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16811 * include/unistd.h (__have_pipe2): Change define into an extern int.
16812 (__have_dup3): Likewise.
16813 * socket/have_sock_cloexec.c: Include fcntl.h.
16814 (__have_pipe2): New variable.
16815 (__have_dup3): Likewise.
16817 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16819 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16821 2012-08-17 Marek Polacek <polacek@redhat.com>
16823 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16824 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16826 2012-08-17 Roland McGrath <roland@hack.frob.com>
16828 * configure.in: Add AC_SUBST for sysheaders.
16829 * configure: Regenerated.
16830 * config.make.in (sysheaders): New substituted variable.
16832 * sysdeps/unix/mkfifo.c: Moved ...
16833 * sysdeps/posix/mkfifo.c: ... here.
16834 * sysdeps/unix/mkfifoat.c: Moved ...
16835 * sysdeps/posix/mkfifoat.c: ... here.
16837 * sysdeps/unix/utime.c: Moved ...
16838 * sysdeps/posix/utime.c: ... here.
16840 * sysdeps/unix/time.c: Moved ...
16841 * sysdeps/posix/time.c: ... here.
16842 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16843 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16845 * sysdeps/unix/nice.c: Moved ...
16846 * sysdeps/posix/nice.c: ... here.
16848 * sysdeps/unix/alarm.c: Moved ...
16849 * sysdeps/posix/alarm.c: ... here.
16851 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16853 2012-08-17 Jeff Law <law@redhat.com>
16855 * intl/Makefile (codeset_mo): New variable.
16856 ($(codeset_mo)): New target.
16857 (tst-codeset.out): Depend on that. Remove explicit rule.
16858 (tst-gettext3.out, tst-gettext5.out): Likewise.
16859 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16860 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16861 * intl/tst-codeset.sh: Remove.
16862 * intl/tst-gettext3.sh: Likewise.
16863 * intl/tst-gettext5.sh: Likewise.
16865 2012-08-17 Roland McGrath <roland@hack.frob.com>
16867 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16868 * sysdeps/unix/syscalls.list: ... here.
16870 * sysdeps/posix/getaddrinfo.c
16871 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16872 (gaiconf_init, gaiconf_reload): Use them.
16873 [!_STATBUF_ST_NSEC]
16874 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16875 Define using time_t rather than struct timespec.
16877 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16878 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16880 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16882 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16883 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16886 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16887 __libc_cleanup_push argument.
16889 * bits/param.h: New file.
16890 * misc/sys/param.h: New file.
16891 * include/sys/param.h: New file.
16892 * misc/Makefile (headers): Add bits/param.h.
16893 * sysdeps/generic/sys/param.h: File removed.
16894 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16895 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16896 * sysdeps/mach/hurd/bits/param.h: New file.
16897 * sysdeps/mach/hurd/sys/param.h: File removed.
16899 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16902 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16904 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16905 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16908 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16909 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16910 rather than -D_IO_MTSAFE_IO conditionally.
16911 * stdio-common/Makefile (CPPFLAGS): Likewise.
16912 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16913 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16914 Use $(libio-mtsafe).
16915 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16916 of -D_IO_MTSAFE_IO.
16917 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16918 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16919 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16920 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16921 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16922 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16923 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16924 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16925 (CFLAGS-fread_u_chk.c): Likewise.
16926 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16927 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16928 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16929 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16930 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16931 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16932 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16933 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16934 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16936 * libio/Makefile: Test [$(libc-reentrant) = yes]
16937 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16940 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16941 * sysdeps/pthread/configure: File removed.
16942 * sysdeps/pthread/Makeconfig: New file.
16943 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16944 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16946 2012-08-16 Gary Benson <gbenson@redhat.com>
16948 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16949 unmapping the first object in a namespace.
16951 2012-08-16 Roland McGrath <roland@hack.frob.com>
16953 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16954 (__internal_setnetgrent): ... this. Add internal_function to
16955 definition. Add libc_hidden_def.
16956 (setnetgrent): Update caller.
16957 (internal_endnetgrent): Renamed to ...
16958 (__internal_endnetgrent): ... this. Add internal_function to
16959 definition. Add libc_hidden_def.
16960 (endnetgrent): Update caller.
16961 (internal_getnetgrent_r): Renamed to ...
16962 (__internal_getnetgrent_r): ... this. Add internal_function to
16963 definition. Add libc_hidden_def.
16964 (__getnetgrent_r): Update caller.
16965 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16967 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16969 * stdlib/longlong.h: Update from GCC.
16971 2012-08-16 Roland McGrath <roland@hack.frob.com>
16973 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16974 on _QL, which is set by umul_ppmm but never used.
16975 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16976 variables, which are set by GMP macros but never used.
16977 * stdio-common/_itowa.c (_itowa): Likewise.
16978 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16979 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16981 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16983 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16984 struct La_sh_regs is not constant.
16985 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16986 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16987 and struct La_sparc64_regs are not constant.
16989 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16991 * sysdeps/unix/sysv/linux/kernel-features.h
16992 (__ASSUME_POSIX_TIMERS): Remove.
16993 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16994 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16995 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16996 Make code unconditional.
16997 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16998 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16999 Make code unconditional.
17000 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17001 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17002 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17003 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17004 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17005 Make code unconditional.
17006 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17007 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17008 (__libc_missing_posix_timers): Remove.
17010 2012-08-15 Roland McGrath <roland@hack.frob.com>
17012 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17013 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17015 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17017 * elf/dl-sym.c: Include <stdlib.h>.
17019 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17020 constants, which avoids warnings in 32-bit builds.
17022 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17023 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17025 * misc/lseek.c: File moved to ...
17026 * io/lseek.c: ... here.
17028 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17030 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17031 shifting LEN more than 31 bits at once.
17033 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17036 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17037 segmentation fault for a case of two empty input strings.
17038 * string/test-strncasecmp.c (check1): Renamed to...
17039 (bz12205): ...this.
17040 (bz14195): Add new testcase for two empty input strings and N > 0.
17041 (test_main): Call new testcase, adapt for renamed function.
17043 2012-08-15 Andreas Jaeger <aj@suse.de>
17046 * crypt/md5test2.c: New test, based on test supplied by Serge
17047 Belyshev <belyshev@depni.sinp.msu.ru>.
17048 * crypt/Makefile (xtests): Add md5test-giant..
17049 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17051 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17054 * crypt/md5.c (md5_process_block): Don't assume the buffer
17055 length is less than 2**32.
17056 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17057 length is less than 2**64.
17059 2012-08-15 Roland McGrath <roland@hack.frob.com>
17061 * string/str-two-way.h: Include <sys/param.h>.
17062 (MAX): Macro removed.
17064 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17065 Move #define and #undef of memmove to just before and after
17066 including <string.h>.
17068 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17069 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17070 and after including <string.h>. Move declarations of
17071 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17072 to before #include "string/memmove.c".
17074 * include/dirent.h: Declare __getdirentries.
17076 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17077 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17079 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17081 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17082 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17083 * sysdeps/i386/configure: Regenerated.
17084 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17085 STABS_CURRENT_FILE, and STABS_FUN.
17086 (END): Remove call to STABS_FUN_END.
17087 (STABS_CURRENT_FILE1): Delete.
17088 (STABS_CURRENT_FILE): Likewise.
17089 (STABS_FUN): Likewise.
17090 (STABS_FUN_END): Likewise.
17091 (STABS_FUN2): Likewise.
17092 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17093 * sysdeps/x86_64/configure: Regenerated.
17095 2012-08-14 Roland McGrath <roland@hack.frob.com>
17097 * elf/dl-open.c: Include <atomic.h>.
17098 * elf/dl-lookup.c: Likewise.
17100 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17102 * sysdeps/unix/sysv/linux/kernel-features.h
17103 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17104 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17106 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17108 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17109 condition on __ASSUME_CLONE_THREAD_FLAGS.
17111 2012-08-14 Andreas Jaeger <aj@suse.de>
17113 * sysdeps/i386/fpu/libm-test-ulps: Update.
17115 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17117 * include/atomic.h (atomic_exchange_and_add): Split into ...
17118 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17121 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17125 2012-08-13 Jeff Law <law@redhat.com>
17127 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17128 null byte in the output string.
17130 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17132 * sysdeps/unix/sysv/linux/kernel-features.h
17133 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17134 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17135 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17136 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17137 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17138 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17139 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17141 2012-08-09 Jeff Law <law@redhat.com>
17144 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17145 When avoid_arena is set, don't retry in the that arena. Pick the
17146 next one, whatever it might be.
17147 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17148 (arena_lock): Pass in new parameter to arena_get2.
17149 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17151 (__libc_malloc): Unify retrying after main arena failure with
17152 __libc_memalign version.
17153 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17155 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17158 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17159 to __redirect_strstr.
17160 (__strstr_sse42): Use typeof __redirect_strstr.
17161 (__strstr_ia32): Likewise.
17162 (__libc_strstr): New prototype.
17163 (strstr): Renamed to ...
17164 (__libc_strstr): This.
17165 (strstr): New strong alias of __libc_strstr.
17166 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17167 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17170 (__libc_time): New prototype.
17171 (time_ifunc): Replace time with __libc_time.
17172 (time): New strong alias and hidden definition of __libc_time.
17173 (__GI_time): Remove strong alias.
17174 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17175 Include <stddef.h>.
17176 (memmove): Redefined to __redirect_memmove.
17177 (__memmove_sse2): Use typeof __redirect_memmove.
17178 (__memmove_ssse3): Likewise.
17179 (__memmove_ssse3_back): Likewise.
17180 (__libc_memmove): New prototype.
17181 (memmove): Renamed to ...
17182 (__libc_memmove): This.
17183 (memmove): New strong alias of __libc_memmove.
17185 2012-08-08 Mark Salter <msalter@redhat.com>
17188 (R_MN10300_TLS_GD): Define.
17189 (R_MN10300_TLS_LD): Likewise.
17190 (R_MN10300_TLS_LDO): Likewise.
17191 (R_MN10300_TLS_GOTIE): Likewise.
17192 (R_MN10300_TLS_IE): Likewise.
17193 (R_MN10300_TLS_LE): Likewise.
17194 (R_MN10300_TLS_DTPMOD): Likewise.
17195 (R_MN10300_TLS_DTPOFF): Likewise.
17196 (R_MN10300_TLS_TPOFF): Likewise.
17197 (R_MN10300_SYM_DIFF): Likewise.
17198 (R_MN10300_ALIGN): Likewise.
17199 (R_MN10300_NUM): Update.
17201 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17206 2012-08-08 Roland McGrath <roland@hack.frob.com>
17208 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17210 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17211 sysdeps/unix -> sysdeps/posix move.
17212 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17214 2012-08-07 Allan McRae <allan@archlinux.org>
17217 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17218 (SUNOS_CPP): Likewise.
17219 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17221 (open_input): Call CPP using execvp.
17223 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17225 * sysdeps/unix/sysv/linux/kernel-features.h
17226 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17227 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17228 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17229 (__ASSUME_WAITID_SYSCALL): Likewise.
17230 * sysdeps/unix/sysv/linux/dl-execstack.c
17231 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17232 code unconditional.
17233 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17235 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17236 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17237 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17239 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17241 [__ASSUME_WAITID_SYSCALL]: Likewise.
17242 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17244 2012-08-07 Roland McGrath <roland@hack.frob.com>
17246 * sysdeps/unix/closedir.c: Renamed to ...
17247 * sysdeps/posix/closedir.c: ... here.
17248 * sysdeps/unix/dirfd.c: Renamed to ...
17249 * sysdeps/posix/dirfd.c: ... here.
17250 * sysdeps/unix/dirstream.h: Renamed to ...
17251 * sysdeps/posix/dirstream.h: ... here.
17252 * sysdeps/unix/fdopendir.c: Renamed to ...
17253 * sysdeps/posix/fdopendir.c: ... here.
17254 * sysdeps/unix/opendir.c: Renamed to ...
17255 * sysdeps/posix/opendir.c: ... here.
17256 * sysdeps/unix/readdir.c: Renamed to ...
17257 * sysdeps/posix/readdir.c: ... here.
17258 * sysdeps/unix/readdir_r.c: Renamed to ...
17259 * sysdeps/posix/readdir_r.c: ... here.
17260 * sysdeps/unix/rewinddir.c: Renamed to ...
17261 * sysdeps/posix/rewinddir.c: ... here.
17262 * sysdeps/unix/seekdir.c: Renamed to ...
17263 * sysdeps/posix/seekdir.c: ... here.
17264 * sysdeps/unix/telldir.c: Renamed to ...
17265 * sysdeps/posix/telldir.c: ... here.
17266 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17267 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17268 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17269 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17271 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17272 * bits/fcntl.h: ... here.
17274 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17276 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17277 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17278 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17279 (struct flock): Move l_start, l_len to the beginning.
17280 Use __pid_t for l_pid.
17281 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17282 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17283 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17284 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17285 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17286 [__USE_LARGEFILE64] (struct flock64): New type.
17287 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17289 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17290 * bits/dirent.h: ... here.
17292 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17293 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17295 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17298 Change from 2.6.0 to 2.6.16.
17299 * sysdeps/unix/sysv/linux/configure: Regenerated.
17300 * sysdeps/unix/sysv/linux/kernel-features.h
17301 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17302 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17304 (__ASSUME_UTIMES): Likewise.
17305 (__ASSUME_CLONE_STOPPED): Remove.
17306 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17307 architectures, not kernel version.
17308 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17309 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17310 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17311 (__ASSUME_WAITID_SYSCALL): Likewise.
17312 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17313 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17314 * README: State 2.6.16 as minimum Linux kernel version. Do not
17315 refer to older versions.
17317 2012-08-06 Roland McGrath <roland@hack.frob.com>
17319 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17320 Define alphasort64 as an alias.
17321 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17322 Define versionsort64 as an alias.
17323 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17324 Define scandir64 as an alias.
17325 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17326 Define scandirat64 as an alias.
17327 * dirent/alphasort64.c (alphasort64):
17328 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17329 * dirent/versionsort64.c: Likewise.
17330 * dirent/scandir64.c: Likewise.
17331 * dirent/scandirat64.c: Likewise.
17332 * sysdeps/wordsize-64/alphasort.c: File removed.
17333 * sysdeps/wordsize-64/alphasort64.c: File removed.
17334 * sysdeps/wordsize-64/scandir.c: File removed.
17335 * sysdeps/wordsize-64/scandir64.c: File removed.
17336 * sysdeps/wordsize-64/scandirat.c: File removed.
17337 * sysdeps/wordsize-64/scandirat64.c: File removed.
17338 * sysdeps/wordsize-64/versionsort.c: File removed.
17339 * sysdeps/wordsize-64/versionsort64.c: File removed.
17340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17341 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17343 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17345 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17349 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17351 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17352 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17353 [defined __arch64__ || defined __sparcv9]
17354 (__INO_T_MATCHES_INO64_T): New macro.
17355 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17356 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17357 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17358 * sysdeps/unix/sysv/linux/bits/dirent.h
17359 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17360 (_DIRENT_MATCHES_DIRENT64): New macro.
17362 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17363 Define lockf64 as an alias.
17364 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17365 Define fseeko64 as an alias.
17366 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17367 Define ftello64 as an alias.
17368 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17369 Define _IO_fgetpos64 and fgetpos64 as aliases.
17370 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17371 Define _IO_fsetpos64 and fsetpos64 as aliases.
17372 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17373 Conditionalize body on this.
17374 * libio/fseeko64.c: Likewise.
17375 * libio/ftello64.c: Likewise.
17376 * libio/iofgetpos64.c: Likewise.
17377 * libio/iofsetpos64.c: Likewise.
17378 * sysdeps/wordsize-64/lockf.c: File removed.
17379 * sysdeps/wordsize-64/lockf64.c: File removed.
17380 * sysdeps/wordsize-64/fseeko.c: File removed.
17381 * sysdeps/wordsize-64/fseeko64.c: File removed.
17382 * sysdeps/wordsize-64/ftello.c: File removed.
17383 * sysdeps/wordsize-64/ftello64.c: File removed.
17384 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17385 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17386 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17387 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17388 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17389 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17394 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17395 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17396 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17397 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17399 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17401 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17403 [defined __arch64__ || defined __sparcv9]
17404 (__OFF_T_MATCHES_OFF64_T): New macro.
17405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17406 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17407 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17408 (__OFF_T_MATCHES_OFF64_T): New macro.
17410 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17412 * stdlib/secure-getenv.c (__secure_getenv): Replace
17413 GLIBC_2_16 with GLIBC_2_17.
17415 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17420 2012-08-03 David S. Miller <davem@davemloft.net>
17422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17424 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17428 (__ASSUME_CORRECT_SI_PID): Likewise.
17429 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17430 (__ASSUME_TMPFS_NAME): Likewise.
17431 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17432 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17433 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17434 (HAVE_AUX_SECURE): Make definition unconditional.
17435 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17436 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17438 2012-08-03 Roland McGrath <roland@hack.frob.com>
17440 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17441 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17442 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17443 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17444 __eloop_threshold instead of SYMLOOP_MAX.
17446 * sysdeps/generic/eloop-threshold.h: New file.
17447 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17449 * elf/chroot_canon.c (chroot_canon): Likewise.
17451 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17454 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17455 Change to 2.6.0 everywhere.
17456 * sysdeps/unix/sysv/linux/configure: Regenerated.
17457 * sysdeps/unix/sysv/linux/kernel-features.h
17458 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17459 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17461 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17462 (__ASSUME_FUTEX_REQUEUE): Remove.
17463 (__ASSUME_STATFS64): Define unconditionally.
17464 (__ASSUME_AT_SECURE): Likewise.
17465 (__ASSUME_CORRECT_SI_PID): Likewise.
17466 (__ASSUME_TGKILL): Define without depending on kernel version for
17468 (__ASSUME_UTIMES): Likewise.
17469 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17471 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17472 (__ASSUME_TMPFS_NAME): Likewise.
17473 * README: Update reference to Linux kernel versions.
17475 2012-08-02 Marek Polacek <polacek@redhat.com>
17478 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17479 libc_cv_asm_type_prefix with %.
17480 * configure: Regenerated.
17481 * include/libc-symbols.h: Remove comment about
17482 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17483 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17484 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17485 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17486 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17487 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17488 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17489 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17490 * elf/tst-unique2mod1.c: Likewise.
17491 * elf/tst-unique1mod2.c: Likewise.
17492 * elf/tst-unique1mod1.c: Likewise.
17493 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17494 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17495 Replace ASM_TYPE_DIRECTIVE with .type.
17496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17497 * sysdeps/i386/sysdep.h: Likewise.
17498 * sysdeps/x86_64/sysdep.h: Likewise.
17499 * sysdeps/sh/sysdep.h: Likewise.
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17501 Do not define ASM_TYPE_DIRECTIVE.
17502 * sysdeps/powerpc/sysdep.h: Likewise.
17503 * sysdeps/powerpc/powerpc32/sysdep.h:
17504 Replace ASM_TYPE_DIRECTIVE with .type.
17505 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17506 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17507 * sysdeps/i386/fpu/e_powf.S: Likewise.
17508 * sysdeps/i386/fpu/e_expl.S: Likewise.
17509 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17511 * sysdeps/i386/fpu/e_pow.S: Likewise.
17512 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17514 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17515 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17516 * sysdeps/i386/fpu/e_log2.S: Likewise.
17517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17519 * sysdeps/i386/fpu/e_powl.S: Likewise.
17520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17521 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17522 * sysdeps/i386/fpu/e_logl.S: Likewise.
17523 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17524 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17525 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17526 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17527 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17528 * sysdeps/i386/fpu/e_log.S: Likewise.
17529 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17530 * sysdeps/i386/fpu/e_logf.S: Likewise.
17531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17533 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17534 * sysdeps/i386/fpu/e_log10.S: Likewise.
17535 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17536 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17537 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17538 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17539 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17540 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17541 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17542 * sysdeps/i386/i686/strtok.S: Likewise.
17543 * sysdeps/i386/i386-mcount.S: Likewise.
17544 * sysdeps/i386/strtok.S: Likewise.
17545 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17546 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17548 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17549 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17550 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17551 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17552 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17553 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17554 * sysdeps/x86_64/_mcount.S: Likewise.
17555 * sysdeps/x86_64/strtok.S: Likewise.
17556 * sysdeps/sh/_mcount.S: Likewise.
17558 2012-08-01 Roland McGrath <roland@hack.frob.com>
17560 * libio/iofopen.c: Include <fcntl.h>.
17561 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17562 (_IO_fopen64, fopen64): Define as aliases.
17563 * libio/iofopen64.c: Include <fcntl.h>.
17564 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17565 Conditionalize body on this.
17566 * sysdeps/wordsize-64/iofopen.c: File removed.
17567 * sysdeps/wordsize-64/iofopen64.c: File removed.
17569 2012-08-01 Marek Polacek <polacek@redhat.com>
17571 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17572 Use dlfcn directly instead of a variable.
17573 (binfmt-subdir): Do not define.
17576 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17578 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17579 Remove all definitions.
17580 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17581 <kernel-features.h>.
17582 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17583 (miss_F_GETOWN_EX): Remove all definitions.
17584 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17586 [!__ASSUME_FCNTL64]: Remove conditional code.
17587 [__ASSUME_FCNTL64]: Make code unconditional.
17588 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17589 <kernel-features.h>.
17590 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17591 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17592 (lockf64) [__NR_fcntl64]: Make code unconditional.
17593 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17595 * sysdeps/unix/sysv/linux/kernel-features.h
17596 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17597 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17598 Make code unconditional.
17599 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17600 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17602 [__NR_vfork]: Make code unconditional.
17603 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17604 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17606 [__NR_vfork]: Make code unconditional.
17607 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17608 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17610 2012-08-01 Roland McGrath <roland@hack.frob.com>
17612 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17613 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17615 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17616 Define mkstemp64 as an alias.
17617 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17618 Define mkstemps64 as an alias.
17619 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17620 Define mkostemp64 as an alias.
17621 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17622 Define mkostemps64 as an alias.
17623 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17624 Conditionalize body on this.
17625 * misc/mkostemp64.c: Likewise.
17626 * misc/mkostemps64.c: Likewise.
17627 * misc/mkstemps64.c: Likewise.
17628 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17629 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17630 * sysdeps/wordsize-64/mkostemp.c: File removed.
17631 * sysdeps/wordsize-64/mkstemp.c: File removed.
17632 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17633 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17634 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17635 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17638 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17639 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17640 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17641 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17643 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17644 compat_symbol macros from <shlib-compat.h> rather than the underlying
17645 default_symbol_version and symbol_version macros, so that DEFAULT
17646 lines in shlib-versions are respected.
17647 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17649 2012-08-01 Florian Weimer <fweimer@redhat.com>
17651 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17652 Declare with warn_unused_result.
17653 (setgid, setregid, setegid, setresgid): Likewise.
17654 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17656 * WUR-REPORT: Remove set*id functions.
17658 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17660 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17662 2012-07-31 Roland McGrath <roland@hack.frob.com>
17665 * include/sys/socket.h (__libc_accept, __libc_accept4):
17666 Add attribute_hidden.
17667 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17669 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17671 * inet/getnetgrent_r.c (setup): Likewise.
17673 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17675 2012-07-31 David S. Miller <davem@davemloft.net>
17677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17679 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17682 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17683 value between 1.0 and 2.0 and smaller part has absolute value less
17685 * math/s_clog10.c (__clog10): Likewise.
17686 * math/s_clog10f.c (__clog10f): Likewise.
17687 * math/s_clog10l.c (__clog10l): Likewise.
17688 * math/s_clogf.c (__clogf): Likewise.
17689 * math/s_clogl.c (__clogl): Likewise.
17690 * math/libm-test.inc (clog_test): Add more tests.
17691 (clog10_test): Likewise.
17692 * sysdeps/i386/fpu/libm-test-ulps: Update.
17693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695 2012-07-31 Florian Weimer <fweimer@redhat.com>
17697 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17698 Exit with zero in case no suitable GID is found, and write a
17699 message to standard error.
17701 2012-07-30 Roland McGrath <roland@hack.frob.com>
17703 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17705 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17706 (MAXPATHLEN): Removed.
17707 (NOGROUP, NODEV): New macros.
17708 (setbit, clrbit, isset, isclr): New macros.
17709 (howmany, roundup, powerof2): New macros.
17710 (DEV_BSIZE): New macro.
17712 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17713 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17715 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17716 definition on [!__NO_LONG_DOUBLE_MATH].
17718 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17719 PTR_MANGLE and PTR_DEMANGLE.
17721 * socket/accept4.c (accept4): Rename to __libc_accept4.
17722 Define accept4 as a weak alias.
17724 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17725 on [_DIRENT_HAVE_D_TYPE].
17726 * io/ftw.c (ftw_dir): Likewise.
17728 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17730 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17732 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17733 Use the BSD numbers rather than the arbitrary ones we had.
17734 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17735 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17736 (SIGXCPU, SIGXFSZ): New macros.
17739 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17740 initializer on [_LIBC_REENTRANT].
17742 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17743 definitions inside [_POSIX_MAPPED_FILES].
17745 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17747 * dirent/opendir.c: Include <fcntl.h>.
17749 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17750 (__libc_getspecific): Likewise.
17751 (__libc_key_create): Likewise.
17753 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17754 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17755 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17756 (tmpfile64): Define as alias.
17757 * sysdeps/wordsize-64/tmpfile.c: File removed.
17758 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17760 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17762 * stdio-common/vfscanf.c: Include <stdbool.h>.
17763 * nss/makedb.c: Likewise.
17764 * stdio-common/_i18n_number.h: Likewise.
17765 * argp/argp-help.c: Likewise.
17766 * posix/wordexp.c: Likewise.
17767 * sysdeps/posix/spawni.c: Likewise.
17768 * nss/nss_files/files-initgroups.c: Likewise.
17769 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17770 * nss/nss_files/files-initgroups.c: Likewise.
17771 * nss/nss_db/db-netgrp.c: Likewise.
17772 * nss/nss_db/db-initgroups.c: Likewise.
17773 * io/fchmodat.c: Include <sys/stat.h>.
17775 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17776 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17778 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17781 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17782 Add multiple inclusion protection.
17784 2012-07-27 David S. Miller <davem@davemloft.net>
17786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17788 2012-07-27 Gary Benson <gbenson@redhat.com>
17791 * elf/rtld.c: Include <stap-probe.h>.
17792 (dl_main): Added static probes "init_start" and "init_complete".
17793 * elf/dl-load.c: Include <stap-probe.h>.
17794 (lose): Take new parameter "nsid".
17795 Added static probe "map_failed".
17796 (_dl_map_object_from_fd): Pass namespace id to lose.
17797 Added static probe "map_start".
17798 (open_verify): Pass namespace id to lose.
17799 * elf/dl-open.c: Include <stap-probe.h>.
17800 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17801 and "reloc_complete".
17802 * elf/dl-close.c: Include <stap-probe.h>.
17803 (_dl_close_worker): Added static probes "unmap_start" and
17805 * elf/rtld-debugger-interface.txt: New file documenting the above.
17807 2012-07-26 Roland McGrath <roland@hack.frob.com>
17809 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17810 rather than a string variable.
17811 * sunrpc/rpc_main.c (h_output): Likewise.
17812 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17814 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17816 * inet/check_native.c: New file.
17818 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17821 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17822 if larger part has absolute value 1.0.
17823 * math/s_clog10.c (__clog10): Likewise.
17824 * math/s_clog10f.c (__clog10f): Likewise.
17825 * math/s_clog10l.c (__clog10l): Likewise.
17826 * math/s_clogf.c (__clogf): Likewise.
17827 * math/s_clogl.c (__clogl): Likewise.
17828 * math/libm-test.inc (clog_test): Add more tests.
17829 (clog10_test): Likewise.
17830 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17833 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17834 (pltexit): Likewise.
17835 (La_regs): Likewise.
17836 (La_retval): Likewise.
17837 (int_retval): Likewise.
17838 Update #error for removed macros to refer only to definitions in
17840 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17842 (pltexit): Likewise.
17843 (La_regs): Likewise.
17844 (La_retval): Likewise.
17845 (int_retval): Likewise.
17846 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17848 (pltexit): Likewise.
17849 (La_regs): Likewise.
17850 (La_retval): Likewise.
17851 (int_retval): Likewise.
17852 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17854 (pltexit): Likewise.
17855 (La_regs): Likewise.
17856 (La_retval): Likewise.
17857 (int_retval): Likewise.
17858 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17860 (pltexit): Likewise.
17861 (La_regs): Likewise.
17862 (La_retval): Likewise.
17863 (int_retval): Likewise.
17864 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17866 (pltexit): Likewise.
17867 (La_regs): Likewise.
17868 (La_retval): Likewise.
17869 (int_retval): Likewise.
17870 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17872 (pltexit): Likewise.
17873 (La_regs): Likewise.
17874 (La_retval): Likewise.
17875 (int_retval): Likewise.
17876 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17877 macro definitions in tst-audit.h.
17878 * sysdeps/i386/tst-audit.h: New file.
17879 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17880 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17881 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17882 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17883 * sysdeps/sh/tst-audit.h: Likewise.
17884 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17885 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17886 * sysdeps/x86_64/tst-audit.h: Likewise.
17888 2012-07-26 Andreas Jaeger <aj@suse.de>
17890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17893 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17894 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17895 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17897 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17898 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17899 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17901 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17904 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17906 (si_call_addr, si_syscall, si_arch): Define new macro.
17907 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17909 (si_call_addr, si_syscall, si_arch): Define new marcro.
17910 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17912 (si_call_addr, si_syscall, si_arch): Define new macro.
17913 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17915 (si_call_addr, si_syscall, si_arch): Define new macro.
17917 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17920 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17921 Change to 2.4.21 where previously 2.4.1.
17922 * sysdeps/unix/sysv/linux/configure: Regenerated.
17923 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17924 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17925 Linux kernel version.
17926 (__ASSUME_STD_AUXV): Remove.
17927 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17929 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17930 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17931 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17932 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17933 (__ASSUME_NETLINK_SUPPORT): Likewise.
17934 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17935 (__no_netlink_support): Remove conditional definition.
17936 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17938 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17939 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17940 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17941 (if_nameindex_ioctl): Remove.
17942 (if_nameindex_netlink): Do not handle __no_netlink_support.
17943 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17945 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17946 Remove conditional code.
17947 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17949 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17951 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17952 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17953 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17955 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17956 [!__ASSUME_STD_AUXV]: Remove conditional code.
17957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17958 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17959 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17961 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17962 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17964 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17966 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17967 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17969 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17971 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17974 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17977 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17978 code unconditional.
17979 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17981 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17983 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17986 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17988 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17991 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17992 code unconditional.
17993 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17995 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17997 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18000 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18001 code unconditional.
18002 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18004 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18006 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18009 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18011 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18012 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18013 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18014 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18015 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18016 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18017 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18018 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18019 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18020 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18021 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18022 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18023 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18024 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18025 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18026 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18027 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18028 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18029 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18031 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18032 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18035 2012-07-25 Florian Weimer <fweimer@redhat.com>
18037 * Versions.def: Add GLIBC_2.17.
18038 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18039 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18040 Introduce __libc_secure_getenv.
18041 * stdlib/Versions (2.17): Add secure_getenv
18042 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18043 * stdlib/secure-getenv.c: Rename __secure_getenv to
18044 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18045 symbol __secure_getenv for GLIBC_2.0.
18046 * stdlib/tst-secure-getenv.c: New.
18047 * stdlib/Makefile (tests): Add testcase.
18048 * manual/startup.texi (Environment Access): Document
18050 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18051 __libc_secure_getenv.
18052 * inet/ruserpass.c (ruserpass): Likewise.
18053 * malloc/mtrace.c (mtrace): Likewise.
18054 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18055 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18056 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18057 * sysdeps/posix/tempname.c: Likewise. Evaluate
18058 HAVE_SECURE_GETENV.
18059 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18060 __secure_getenv to __libc_secure_getenv.
18061 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18074 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18076 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18077 (struct La_i86_retval): Likewise.
18078 (struct La_x86_64_regs): Likewise.
18079 (struct La_x86_64_retval): Likewise.
18080 (struct La_x32_regs): Likewise.
18081 (struct La_x32_retval): Likewise.
18082 (struct La_ppc32_regs): Likewise.
18083 (struct La_ppc32_retval): Likewise.
18084 (struct La_ppc64_regs): Likewise.
18085 (struct La_ppc64_retval): Likewise.
18086 (struct La_sh_regs): Likewise.
18087 (struct La_sh_retval): Likewise.
18088 (struct La_s390_32_regs): Likewise.
18089 (struct La_s390_32_retval): Likewise.
18090 (struct La_s390_64_regs): Likewise.
18091 (struct La_s390_64_retval): Likewise.
18092 (struct La_sparc32_regs): Likewise.
18093 (struct La_sparc32_retval): Likewise.
18094 (struct La_sparc64_regs): Likewise.
18095 (struct La_sparc64_retval): Likewise.
18096 (struct audit_ifaces): Remove architecture-specific pltenter and
18098 * sysdeps/i386/ldsodefs.h: New file.
18099 * sysdeps/powerpc/ldsodefs.h: Likewise.
18100 * sysdeps/s390/ldsodefs.h: Likewise.
18101 * sysdeps/sh/ldsodefs.h: Likewise.
18102 * sysdeps/sparc/ldsodefs.h: Likewise.
18103 * sysdeps/x86_64/ldsodefs.h: Likewise.
18105 2012-07-25 Marek Polacek <polacek@redhat.com>
18108 * math/libm-test.inc (yn_test): Add another test.
18109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18110 to ERANGE when the result is +-Inf.
18111 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18112 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18113 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18114 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18116 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18118 * conform/data/time.h-data (NULL): Use macro-constant. Require
18120 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18122 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18124 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18126 * configure.in <sysdeps resolving>: Correct printing
18128 * configure: Regenerate.
18130 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18132 * math/w_ilogb.c: Include <limits.h>.
18133 * math/w_ilogbl.c: Likewise.
18135 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18137 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18138 va_copy. Document allowing for unavailable va_copy only as
18139 pre-C99 compatibility.
18140 * manual/string.texi (Copying and Concatenation): Use va_copy
18141 instead of __va_copy in concat example.
18143 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18145 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18146 (__sendto): Use create_address_port. Initialize APORT and deallocate
18149 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18150 with O_NOLINK passed to __file_name_lookup.
18152 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18153 with O_NOLINK passed to __file_name_lookup.
18155 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18156 negative N or less than NGIDS.
18158 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18159 type to string_t. Set ERANGE as errno and return it if NAME is not big
18160 enough. Use memcpy instead of strncpy.
18162 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18164 * elf/Makefile (check-data): Remove.
18165 (localplt.data): New vpath directive.
18166 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18167 instead of $(check-data).
18168 * scripts/data/localplt-generic.data: Move to ...
18169 * sysdeps/generic/localplt.data: ... here.
18170 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18171 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18172 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18175 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18178 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18181 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18184 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18187 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18191 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18193 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18194 PPC32 and PPC64 files.
18195 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18196 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18198 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18200 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18201 __makecontext_ret to ...
18202 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18203 ... here and call exit if uc_link is NULL. New file.
18204 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18205 __makecontext_ret.S.
18206 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18207 __makecontext_ret to ...
18208 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18209 ... here and call exit if uc_link is NULL. New file.
18210 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18211 __makecontext_ret.S.
18213 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18215 * elf/elf.h (R_390_IRELATIVE): New definition.
18216 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18217 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18218 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18219 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18220 (elf_machine_lazy_rel): Likewise.
18221 * sysdeps/s390/dl-irel.h: New file.
18222 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18223 * sysdeps/s390/s390-64/memset.S: New asm code.
18224 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18225 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18226 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18227 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18228 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18229 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18231 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18232 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18233 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18234 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18235 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18236 * sysdeps/s390/s390-32/memset.S: New asm code.
18237 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18239 2012-07-17 Marek Polacek <polacek@redhat.com>
18242 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18243 * sysdeps/s390/s390-64/configure.in: Likewise.
18244 * sysdeps/sparc/configure.in: Likewise.
18245 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18246 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18247 * sysdeps/i386/configure.in: Likewise.
18248 * sysdeps/x86_64/configure.in: Likewise.
18249 * sysdeps/sh/configure.in: Likewise.
18250 * sysdeps/s390/s390-32/configure: Regenerated.
18251 * sysdeps/s390/s390-64/configure: Likewise.
18252 * sysdeps/x86_64/configure: Likewise.
18253 * sysdeps/sh/configure: Likewise.
18254 * sysdeps/powerpc/powerpc64/configure: Likewise.
18255 * sysdeps/powerpc/powerpc32/configure: Likewise.
18256 * sysdeps/sparc/configure: Likwise.
18257 * sysdeps/i386/configure: Likewise.
18259 * elf/dl-open.c: Comment fixes.
18261 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18263 * Makefile [CXX] (check-data): Remove.
18264 [CXX] (c++-types.data): New vpath directive.
18265 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18266 vpath. Do not allow for C++ type data being missing.
18267 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18268 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18269 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18270 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18271 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18272 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18273 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18276 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18279 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18282 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18285 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18288 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18291 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18294 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18297 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18298 definitions to architecture-specific files.
18299 (TLS_IE): Likewise.
18300 (TLS_LD): Likewise.
18301 (TLS_GD): Likewise.
18302 * sysdeps/i386/tls-macros.h: New file.
18303 * sysdeps/powerpc/tls-macros.h: Likewise.
18304 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18305 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18306 * sysdeps/sh/tls-macros.h: Likewise.
18307 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18308 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18309 * sysdeps/x86_64/tls-macros.h: Likewise.
18311 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18314 zero value for regular exit case.
18316 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18317 (__start_context): Preserve zero value for regular exit case.
18319 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18320 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18322 * manual/setjmp.texi (setcontext): Clarify normal process
18323 termination when uc_link is the null pointer.
18324 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18327 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18329 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18330 preprocessor. Test for each exception mask separately.
18332 2012-07-16 Andreas Jaeger <aj@suse.de>
18334 * po/ru.po: Update from translation team.
18336 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18338 * conform/data/string.h-data (NULL): Use macro-constant. Require
18340 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18341 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18342 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18343 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18344 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18346 2012-07-13 Andreas Jaeger <aj@suse.de>
18348 * po/fr.po: Update from translation team.
18350 2012-07-12 Marek Polacek <polacek@redhat.com>
18353 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18354 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18357 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18360 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18361 Change to 2.4.1 where previously 2.4.0.
18362 * sysdeps/unix/sysv/linux/configure: Regenerated.
18363 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18364 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18366 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18367 (__ASSUME_AT_CLKTCK): Remove.
18368 (__ASSUME_AT_PAGESIZE): Likewise.
18369 (__ASSUME_AT_XID): Likewise.
18370 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18371 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18372 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18374 (HAVE_AUX_PAGESIZE): Likewise.
18375 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18376 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18377 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18379 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18383 the temporary buffer used to invoke __gethostbyname2_r,
18384 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18385 host_data / struct gaih_addrtuple.
18386 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18387 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18388 header file nss/nsswitch.h.
18389 * nss/nsswitch.h (global scope): Add definition of implementation
18390 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18391 resolv/nss_dns/dns-host.c).
18393 2012-07-11 Andreas Jaeger <aj@suse.de>
18395 * po/fr.po: Update from translation team.
18397 * po/sv.po: Update from translation team
18398 * po/fr.po: Another update from translation team.
18400 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18402 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18403 for subnormals or multiply small sinh result by itself.
18404 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18407 2012-07-11 David S. Miller <davem@davemloft.net>
18409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18411 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18414 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18415 (INTERNAL_MARK): Shift it here.
18417 2012-07-10 Marek Polacek <polacek@redhat.com>
18420 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18421 libc_cv_asm_global_directive with .globl.
18422 * configure: Regenerated.
18423 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18425 * sysdeps/i386/configure: Regenerated.
18426 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18428 * sysdeps/x86_64/configure: Regenerated.
18429 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18430 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18431 * elf/tst-unique2mod2.c: Likewise.
18432 * elf/tst-unique2mod1.c: Likewise.
18433 * elf/tst-unique1mod2.c: Likewise.
18434 * elf/tst-unique1mod1.c: Likewise.
18435 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18436 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18437 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18438 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18439 * sysdeps/mach/sysdep.h: Likewise.
18440 * sysdeps/i386/sysdep.h: Likewise.
18441 * sysdeps/i386/i386-mcount.S: Likewise.
18442 * sysdeps/x86_64/_mcount.S: Likewise.
18443 * sysdeps/x86_64/sysdep.h: Likewise.
18444 * sysdeps/sh/_mcount.S: Likewise.
18445 * sysdeps/sh/sysdep.h: Likewise.
18446 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18447 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18448 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18449 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18450 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18451 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18452 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18453 * locale/localeinfo.h: Likewise.
18454 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18455 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18457 2012-07-09 Roland McGrath <roland@hack.frob.com>
18460 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18462 * manual/message.texi (The Uniforum approach): Likewise.
18463 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18464 (glibc iconv Implementation): Likewise.
18466 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18469 * math/s_clog.c (__clog): Avoid scaling a value down where that
18470 could result in underflow.
18471 * math/s_clog10.c (__clog10): Likewise.
18472 * math/s_clog10f.c (__clog10f): Likewise.
18473 * math/s_clog10l.c (__clog10l): Likewise.
18474 * math/s_clogf.c (__clogf): Likewise.
18475 * math/s_clogl.c (__clogl): Likewise.
18476 * math/libm-test.inc (clog_test): Add more tests.
18477 (clog10_test): Likewise.
18478 * sysdeps/i386/fpu/libm-test-ulps: Update.
18479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18481 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18484 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18485 by 7 not 8 to examine high bit of fractional part.
18488 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18489 for call to __mcount_internal.
18490 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18491 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18492 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18494 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18497 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18498 approximation for values within 0x1p-13f of an odd multiple of
18500 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18501 exception. Add more tests.
18502 * sysdeps/i386/fpu/libm-test-ulps: Update.
18505 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18506 inputs and return -1 for them. Do not check for +Inf in case not
18507 reachable for +Inf.
18508 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18509 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18511 and return -1 for them. Do not check for +Inf in case not
18512 reachable for +Inf.
18513 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18515 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18516 and return -1 for them. Do not check for +Inf in case not
18517 reachable for +Inf.
18518 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18519 spurious underflow.
18520 * sysdeps/i386/fpu/libm-test-ulps: Update.
18521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18525 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18527 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18531 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18532 could result in spurious underflow. Scale down values above
18533 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18534 * math/s_csqrtf.c (__csqrtf): Likewise.
18535 * math/s_csqrtl.c (__csqrtl): Likewise.
18536 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18537 spurious underflow.
18538 * sysdeps/i386/fpu/libm-test-ulps: Update.
18539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18541 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18543 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18545 * catgets/xopen-msg.awk: New file.
18546 * catgets/xopen-msg.sed: Removed.
18548 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18550 * intl/po2test.awk: New file.
18551 * intl/po2test.sed: Removed.
18553 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18556 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18557 or multiply small sinh result by itself.
18558 * math/s_ctanf.c (__ctanf): Likewise.
18559 * math/s_ctanh.c (__ctanh): Likewise.
18560 * math/s_ctanhf.c (__ctanhf): Likewise.
18561 * math/s_ctanhl.c (__ctanhl): Likewise.
18562 * math/s_ctanl.c (__ctanl): Likewise.
18563 * math/libm-test.inc (ctan_test_tonearest): New function.
18564 (ctan_test_towardzero): Likewise.
18565 (ctan_test_downward): Likewise.
18566 (ctan_test_upward): Likewise.
18567 (ctanh_test_tonearest): Likewise.
18568 (ctanh_test_towardzero): Likewise.
18569 (ctanh_test_downward): Likewise.
18570 (ctanh_test_upward): Likewise.
18571 (main): Call these new functions.
18572 * sysdeps/i386/fpu/libm-test-ulps: Update.
18573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18575 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18577 * .gitignore: Delete /ports entry.
18579 2012-07-03 Andreas Jaeger <aj@suse.de>
18581 * po/bg.po: Update from translation team.
18582 * po/cs.po: Likewise.
18583 * po/de.po: Likewise.
18584 * po/hr.po: Likewise.
18585 * po/nl.pl: Likewise.
18586 * po/pl.po: Likewise.
18587 * po/vi.po: Likewise.
18589 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18591 * Makeconfig [!+link] (+link-before-libc): New variable.
18592 [!+link] (+link-after-libc): Likewise.
18593 [!+link] (+link-tests): Likewise.
18594 [!+link] (+link): Define in terms of $(+link-before-libc) and
18595 $(+link-after-libc).
18596 [!+link-static] (+link-static-before-libc): New variable.
18597 [!+link-static] (+link-static-after-libc): Likewise.
18598 [!+link-static] (+link-static-tests): Likewise.
18599 [!+link-static] (+link-static): Define in terms of
18600 $(+link-static-before-libc) and $(+link-static-after-libc).
18601 [build-shared] (link-libc-before-gnulib): New variable.
18602 [build-shared] (link-libc-tests): Likewise.
18603 [build-shared] (link-libc): Define in terms of
18604 $(link-libc-before-gnulib).
18605 [!build-shared] (link-libc-tests): New variable.
18606 (link-libc-static-tests): New variable.
18607 [!gnulib] (gnulib-arch): New variable.
18608 [!gnulib] (gnulib-tests): Likewise.
18609 [!gnulib] (static-gnulib-arch): Likewise.
18610 [!gnulib] (static-gnulib-tests): Likewise.
18611 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18612 Define with "=" instead of ":=".
18613 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18614 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18615 * Rules (binaries-all-notests): New variable.
18616 (binaries-all-tests): Likewise.
18617 (binaries-static-notests): Likewise.
18618 (binaries-static-tests): Likewise.
18619 (binaries-all): Define using $(binaries-all-notests) and
18620 $(binaries-all-tests).
18621 (binaries-static): Define using $(binaries-static-notests) and
18622 $(binaries-static-tests).
18623 (binaries-shared-tests): New variable.
18624 (binaries-shared-notests): Likewise.
18625 (binaries-shared): Remove variable.
18626 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18627 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18628 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18629 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18630 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18631 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18632 * elf/Makefile (sln-modules): New variable.
18633 (extra-objs): Add $(sln-modules:=.o).
18634 (ldconfig-modules): Add static-stubs.
18635 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18636 * elf/static-stubs.c: New file.
18639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18640 by 7 not 8 to examine high bit of fractional part. Use volatile
18641 variables when splitting into final array of floats if
18642 __FLT_EVAL_METHOD__ != 0.
18643 * math/libm-test.inc (cos_test): Add another test.
18644 (sin_test): Likewise.
18645 * sysdeps/i386/fpu/libm-test-ulps: Update.
18648 * math/libm-test.inc (cosh_test): Add more tests.
18650 * version.h (RELEASE): Set to "development".
18651 (VERSION): Set to "2.16.90".
18653 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18655 * NEWS: Update copyright. Remove last-updated date.
18656 Mention math library bug fixes and timezone data changes.
18657 * README: Mention GNU/Hurd, x32, and HPPA support status.
18659 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18661 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18663 2012-06-27 Andreas Jaeger <aj@suse.de>
18665 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18667 2012-06-25 Andreas Jaeger <aj@suse.de>
18669 * sysdeps/s390/fpu/libm-test-ulps: Update.
18671 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18672 Thomas Schwinge <thomas@codesourcery.com>
18674 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18675 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18676 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18679 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18681 * sysdeps/mach/start.c: Remove file.
18682 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18683 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18684 * sysdeps/sh/init-first.c: Likewise.
18686 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18687 registers for frame unwinding purposes, add CFI directives.
18688 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18689 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18690 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18693 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18694 __fortify_fail returning.
18695 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18697 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18698 sysdeps/sh/____longjmp_chk.S.
18699 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18700 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18701 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18702 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18704 * sysdeps/sh/abort-instr.h: New file.
18705 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18706 process in case exit returns.
18708 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18709 initialize the GOT register before use.
18711 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18712 calculation of ARGC > 4.
18714 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18715 meaningful names to some local labels.
18717 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18718 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18720 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18721 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18722 (__arch_compare_and_exchange_val_16_acq): Likewise.
18723 (__arch_compare_and_exchange_val_32_acq): Likewise.
18724 (atomic_exchange_and_add): Fix gUSA sequence.
18725 (atomic_add): Likewise.
18726 (atomic_add_negative): Likewise.
18727 (atomic_add_zero): Likewise.
18728 (atomic_bit_test_set): Likewise.
18730 2012-06-22 Andreas Schwab <schwab@redhat.com>
18733 * include/link.h (struct link_map): Add l_free_initfini.
18734 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18736 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18737 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18738 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18741 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18743 * configure.in: Use AC_LANG_SOURCE.
18744 * configure: Regenerate.
18746 2012-06-22 Roland McGrath <roland@hack.frob.com>
18748 * configure.in (libc_cv_localstatedir): New substituted variable.
18749 * configure: Regenerated.
18750 * config.make.in (localstatedir): New variable, substituted from
18751 libc_cv_localstatedir.
18752 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18753 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18754 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18755 * sysdeps/gnu/configure: Regenerated.
18757 2012-06-21 Jeff Law <law@redhat.com>
18760 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18761 free. Simplify list management for _LIBC case.
18763 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18766 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18767 Clear sign bit of 64-bit integer value before comparing against
18770 * sysdeps/mach/configure: Regenerated.
18772 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18775 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18777 2012-06-21 Jeff Law <law@redhat.com>
18780 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18781 uint16_t for elements in the "seen" array to avoid char overflows.
18782 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18783 * elf/dl-open.c (dl_open_worker): Likewise.
18785 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18787 * scripts/list-sources.sh: Scan PORTS for translations.
18788 * po/libc.pot: Regenerated.
18790 2012-06-21 Andreas Jaeger <aj@suse.de>
18793 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18795 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18796 * bits/byteswap-16.h (__bswap_16): Likewise.
18797 * bits/byteswap.h (__bswap_constant_16): Likewise.
18799 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18802 * sysdeps/i386/fpu_control.h: Removed.
18803 * sysdeps/x86_64/fpu_control.h: Moved to ...
18804 * sysdeps/x86/fpu_control.h: Here.
18806 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18807 (_FPU_SETCW): Likewise.
18809 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18812 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18813 * sysdeps/x86/fpu/bits/mathinline.h: This.
18814 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18818 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18819 functions if __x86_64__ is defined.
18821 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18823 * string/endian.h: Add !__ASSEMBLER__ condition for including
18824 conversion interfaces.
18826 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18829 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18830 of ABS(x) in calculating zero to negative powers other than odd
18832 * math/libm-test.inc (pow_test): Add more tests.
18834 2012-06-15 Andreas Jaeger <aj@suse.de>
18836 * manual/contrib.texi (Contributors): Update entry of Liubov
18837 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18840 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18842 * string/string.h: Add __wur to GNU version of strerror_r.
18844 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18847 * string/Makefile (tests): Add tst-strtok_r.
18848 * string/tst-strtok_r.c: New file.
18849 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18850 RAX_LP/RDX_LP on SAVE_PTR.
18852 2012-06-14 Roland McGrath <roland@hack.frob.com>
18854 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18856 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18858 * libm_test.inc (csqrt_test): Allow more spurious underflow
18860 (j0_test): Likewise.
18861 (j1_test): Likewise.
18862 (y0_test): Likewise.
18863 (y1_test): Likewise.
18865 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18867 * po/Makefile (libc.pot): Use UTF-8 charset.
18869 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18872 Suppress sign-conversion warning from FD_SET.
18873 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18874 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18875 not unsigned long int.
18876 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18878 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18882 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18883 __extern_always_inline instead of __extern_inline.
18884 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18885 (__signbit): Likewise.
18886 (__signbitl): Support C++ namespace.
18887 (lrintf): New inline function.
18889 (llrintf): Likewise.
18890 (llrint): Likewise.
18900 (floorf): Likewise.
18901 (nearbyint): Likewise.
18902 (nearbyintf): Likewise.
18904 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18906 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18907 non-default versions.
18909 2012-06-11 Roland McGrath <roland@hack.frob.com>
18912 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18914 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18916 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18917 (FE_UPWARD, FE_DOWNWARD): Don't define.
18918 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18919 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18923 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18924 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18926 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18928 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18930 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18931 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18933 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18936 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18937 * sysdeps/i386/fpu/Implies: New file.
18938 * sysdeps/x86_64/fpu/Implies: Likewise.
18939 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18940 * sysdeps/x86/fpu/bits/fenv.h: This.
18942 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18945 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18948 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18949 character 0xffff that matches the last element of the
18952 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18957 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18960 values higher than 25.6283.
18962 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18965 subnormal exponent extraction and add some __builtin_expect.
18966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18967 Fix for subnormal mantissa calculation.
18969 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18971 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18972 cpu2 is -1 and errno is not ENOSYS.
18974 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18977 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18978 * sysdeps/x86/bits/string.h: This.
18979 * sysdeps/x86_64/bits/string.h: Removed.
18981 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18982 if not compiling for x86-64, but compiling for >= i486.
18984 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18985 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18987 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18988 New macro from Linux kernel 3.4.0.
18989 (FP_XSTATE_MAGIC2): Likewise.
18990 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18991 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18992 (struct _fpx_sw_bytes): New struct.
18993 (struct _xsave_hdr): Likewise.
18994 (struct _ymmh_state): Likewise.
18995 (struct _xstate): Likewise.
18997 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18998 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19000 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19001 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19002 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19004 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19005 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19006 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19007 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19008 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19011 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19014 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19015 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19016 (sysdep_headers): Include sys/platform/ppc.h.
19017 * sysdeps/powerpc/test-gettimebase.c: Test for
19018 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19019 * manual/Makefile (appendices): Include platform.texi.
19020 * manual/contrib.texi (Contributors): Update @node pointers.
19021 * manual/maint.texi (Maintenance): Likewise.
19022 (Platform): New node.
19023 * manual/platform.texi: New file. Document the new features.
19025 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19026 Jakub Jelinek <jakub@redhat.com>
19029 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19030 where __builtin_expect is unavailable.
19032 2012-06-03 David S. Miller <davem@davemloft.net>
19034 * stdlib/longlong.h: Updated from GCC.
19036 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19039 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19040 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19043 (GLIBC_2.16): Likewise.
19045 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19047 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19049 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19052 (default-abi): New variable.
19053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19054 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19056 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19058 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19060 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19063 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19064 definition. Document in comment.
19066 2012-06-01 David S. Miller <davem@davemloft.net>
19068 * stdlib/longlong.h: Updated from GCC.
19070 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19073 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19074 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19075 sys/debugreg.h sys/io.h here.
19076 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19077 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19079 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19080 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19081 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19082 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19083 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19084 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19086 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19087 Define only if __x86_64__ is defined.
19089 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19092 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19093 Use int64_t for variable i.
19094 * math/libm-test.inc (fmod_test): Add more tests.
19096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19097 z computation is not scheduled after fetestexcept.
19098 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19099 Use math_force_eval instead of asm to ensure calculation scheduled
19100 before exception test.
19101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19102 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19104 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19107 computation is not scheduled after fetestexcept.
19109 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19112 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19113 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19115 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19117 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19118 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19120 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19125 (__WCHAR_MIN): Support __WORDSIZE == 64.
19126 (__WCHAR_MAX): Likewise.
19128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19129 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19132 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19133 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19136 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19137 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19140 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19142 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19143 Defined to 1 if __x86_64__ isn't defined.
19144 (_STAT_VER_LINUX_OLD): New.
19145 (st_atime): Remove duplicate.
19146 (st_mtime): Likewise.
19147 (st_ctime): Likewise.
19149 2012-05-31 David S. Miller <davem@davemloft.net>
19151 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19154 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19156 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19160 * elf/dl-reloc.c: Include <_itoa.h>.
19161 (_dl_reloc_bad_type): Remove use of INTUSE.
19162 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19163 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19164 * stdio-common/psiginfo.c (psiginfo): Likewise.
19165 * stdio-common/psignal.c (psignal): Likewise.
19166 * string/strsignal.c (strsignal): Likewise.
19167 * include/signal.h (_sys_siglist): Declare hidden proto.
19168 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19169 INTVARDEF with libc_hidden_data_def.
19170 * stdio-common/itoa-udigits.c: Likewise.
19171 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19172 (_itoa_lower_digits_internal): Remove declaration.
19173 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19174 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19175 (_sys_sigabbrev_internal): Remove aliases.
19176 (_sys_siglist): Define hidden alias.
19178 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19183 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19186 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19187 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19189 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19190 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19191 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19192 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19194 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19196 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19198 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19200 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19208 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19209 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19210 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19212 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19213 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19214 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19215 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19216 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19217 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19219 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19220 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19222 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19223 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19225 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19226 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19227 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19229 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19230 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19232 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19234 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19235 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19236 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19238 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19240 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19242 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19244 * math/math.h (M_El): Use two more decimal places.
19245 (M_LOG2El): Likewise.
19246 (M_LOG10El): Likewise.
19247 (M_LN2l): Likewise.
19248 (M_LN10l): Likewise.
19250 (M_PI_2l): Likewise.
19251 (M_PI_4l): Likewise.
19252 (M_1_PIl): Likewise.
19253 (M_2_PIl): Likewise.
19254 (M_2_SQRTPIl): Likewise.
19255 (M_SQRT2l): Likewise.
19256 (M_SQRT1_2l): Likewise.
19258 2012-05-31 David S. Miller <davem@davemloft.net>
19260 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19261 values between float registers.
19262 * sysdeps/sparc/sparc64/memset.S: Likewise.
19263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19265 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19267 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19268 -D_FORTIFY_SOURCE=1.
19269 (CPPFLAGS-tst-longjmp_chk.c): Define.
19270 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19271 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19272 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19273 CFLAGS-tst-wchar-h.c.
19275 2012-05-31 Marek Polacek <polacek@redhat.com>
19278 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19279 __endmntent_internal): Remove declaration.
19280 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19281 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19282 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19284 2012-05-30 David S. Miller <davem@davemloft.net>
19286 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19287 (___Q_simulate_exceptions): Use real FP ops rather than writing
19289 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19292 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19295 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19296 * sysdeps/x86/bits/xtitypes.h: This.
19298 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19299 * sysdeps/x86/bits/wordsize.h: This.
19301 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19302 * sysdeps/x86/bits/huge_vall.h: This.
19304 * sysdeps/i386/bits/select.h: Removed.
19305 * sysdeps/x86_64/bits/select.h: Renamed to ...
19306 * sysdeps/x86/bits/select.h: This.
19308 * sysdeps/i386/bits/setjmp.h: Removed.
19309 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19310 * sysdeps/x86/bits/setjmp.h: This.
19312 * sysdeps/i386/bits/mathdef.h: Removed.
19313 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19314 * sysdeps/x86/bits/mathdef.h: This.
19316 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19319 * include/sys/socket.h (__connect_internal)
19320 (__libc_sa_len_internal): Remove declaration.
19321 (__connect, __libc_sa_len): Declare hidden_proto.
19322 (SA_LEN): Remove use of INTUSE.
19323 * socket/connect.c: Add libc_hidden_def.
19324 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19325 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19326 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19328 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19329 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19330 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19331 of adding _internal alias.
19333 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19336 * sysdeps/i386/bits/link.h: Removed.
19337 * sysdeps/i386/bits/linkmap.h: Likewise.
19338 * sysdeps/x86_64/bits/link.h: Renamed to ...
19339 * sysdeps/x86/bits/link.h: This.
19340 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19341 * sysdeps/x86/bits/linkmap.h: This.
19343 * sysdeps/i386/bits/endian.h: Removed.
19344 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19345 * sysdeps/x86/bits/endian.h: This.
19347 * sysdeps/i386/bits/byteswap.h: Removed.
19348 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19349 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19350 * sysdeps/x86/bits/byteswap.h: This.
19351 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19352 * sysdeps/x86/bits/byteswap-16.h: This.
19353 * sysdeps/i386/Implies: Add x86.
19354 * sysdeps/x86_64/Implies: Likewise.
19356 2012-05-30 David S. Miller <davem@davemloft.net>
19358 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19359 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19361 (FP_TRAPPING_EXCEPTIONS): Define.
19362 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19363 (FP_TRAPPING_EXCEPTIONS): Define.
19364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19365 subnormals only when inexact has been signalled or underflow
19366 exceptions are enabled.
19367 (_FP_PACK_CANONICAL): Likewise.
19369 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19373 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19375 2012-05-30 Richard Henderson <rth@twiddle.net>
19377 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19378 with #ifndef NOT_IN_libc.
19380 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19381 marked to avoid plt entry.
19383 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19386 * Makeconfig (default-abi): New macro.
19387 (abi-includes): Likewise.
19388 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19389 $(abi-$(default-abi)-lib-soname) for soname if defined.
19390 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19392 * Makefile (installed-stubs): Likewise.
19393 * include/stubs-biarch.h: Removed.
19394 * scripts/lib-names.awk: Only handle one library at a time.
19395 * scripts/soversions.awk: Remove WORDSIZE support.
19396 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19398 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19400 (syscall-list-default-condition): Likewise.
19401 (syscall-list-default-condition): Likewise.
19402 (syscall-list-includes): Likewise.
19403 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19404 syscall-list-* with abi-*. Handle undefined abi-variants.
19405 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19406 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19407 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19408 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19409 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19410 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19412 (syscall-list-32-options): Likewise.
19413 (syscall-list-32-condition): Likewise.
19414 (syscall-list-64-options): Likewise.
19415 (syscall-list-64-condition): Likewise.
19416 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19418 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19421 (abi-64-ld-soname): New macro.
19422 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19423 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19426 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19427 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19429 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19431 * sysdeps/unix/sysv/linux/kernel-features.h
19432 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19433 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19434 include <kernel-features.h>.
19435 [!__NR_ftruncate64]: Remove conditional code.
19436 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19437 [__NR_ftruncate64]: Make code unconditional.
19438 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19439 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19440 include <kernel-features.h>.
19441 [!__NR_ftruncate64]: Remove conditional code.
19442 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19443 [__NR_ftruncate64]: Make code unconditional.
19444 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19446 include <kernel-features.h>.
19447 [!__NR_ftruncate64]: Remove conditional code.
19448 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19449 [__NR_ftruncate64]: Make code unconditional.
19450 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19452 include <kernel-features.h>.
19453 [!__NR_ftruncate64]: Remove conditional code.
19454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19455 [__NR_ftruncate64]: Make code unconditional.
19456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19458 * configure.in (libc_cv_fpie): Weaken to a compile test using
19459 LIBC_TRY_CC_OPTION.
19460 * configure: Regenerated.
19462 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19477 2012-05-27 David S. Miller <davem@davemloft.net>
19479 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19481 (__Q_simulate_exceptions): Return void. Change to simulate
19482 exceptions by writing into the %fsr.
19483 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19484 (__Qp_handle_exceptions): Likewise.
19486 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19487 __Qp_handle_exceptions.
19488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19489 __Qp_handle_exceptions.
19490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19491 as unused and give dummy FP_RND_NEAREST initializer.
19492 (FP_INHIBIT_RESULTS): Define.
19493 (___Q_simulate_exceptions): Update declaration.
19494 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19496 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19497 as unused and give dummy FP_RND_NEAREST initializer.
19498 (__Qp_handle_exceptions): Update declaration.
19499 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19502 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19504 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19505 the temporary FPU control word.
19506 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19507 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19508 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19509 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19510 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19511 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19512 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19513 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19514 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19515 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19516 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19518 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19520 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19523 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19525 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19526 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19527 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19528 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19530 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19531 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19534 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19536 * po/h.po: Update from translation team.
19538 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19540 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19542 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19543 handling of denormals.
19544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19545 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19546 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19553 2012-05-26 Marek Polacek <polacek@redhat.com>
19556 * math/libm-test.inc (fma_test): Don't always expect underflow
19559 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19562 * elf/tst-execstack.c: Include stackinfo.h.
19563 (do_test): Adjust test case to ensure that pthread_getattr_np
19564 behaviour remains the same after marking stack executable.
19566 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19568 * sysdeps/unix/sysv/linux/kernel-features.h
19569 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19570 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19572 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19573 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19574 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19576 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19577 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19579 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19581 * configure.in: Define the default includes to being none.
19582 * configure: Regenerated.
19584 2012-05-25 Roland McGrath <roland@hack.frob.com>
19586 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19587 * sysdeps/x86_64/setjmp.S: Likewise.
19588 * sysdeps/i386/bsd-setjmp.S: Likewise.
19589 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19590 * sysdeps/i386/setjmp.S: Likewise.
19591 * sysdeps/i386/__longjmp.S: Likewise.
19592 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19595 * include/stap-probe.h: New file.
19596 * configure.in: Handle --enable-systemtap.
19597 * configure: Regenerated.
19598 * config.h.in (USE_STAP_PROBE): New #undef.
19599 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19600 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19601 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19603 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19606 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19607 to 2.4.0 where earlier.
19608 * sysdeps/unix/sysv/linux/configure: Regenerated.
19609 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19610 <kernel-features.h>.
19611 [__ASSUME_32BITUIDS]: Make code unconditional.
19612 [!__ASSUME_32BITUIDS]: Remove conditional code.
19613 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19614 <kernel-features.h>.
19615 [__ASSUME_32BITUIDS]: Make code unconditional.
19616 [!__ASSUME_32BITUIDS]: Remove conditional code.
19617 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19618 [__ASSUME_32BITUIDS]: Make code unconditional.
19619 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19620 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
19633 <kernel-features.h>.
19634 [__ASSUME_32BITUIDS]: Make code unconditional.
19635 [!__ASSUME_32BITUIDS]: Remove conditional code.
19636 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19637 <kernel-features.h>.
19638 [__ASSUME_32BITUIDS]: Make code unconditional.
19639 [!__ASSUME_32BITUIDS]: Remove conditional code.
19640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19641 <kernel-features.h>.
19642 [__ASSUME_32BITUIDS]: Make code unconditional.
19643 [!__ASSUME_32BITUIDS]: Remove conditional code.
19644 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19645 <kernel-features.h>.
19646 [__ASSUME_32BITUIDS]: Make code unconditional.
19647 [!__ASSUME_32BITUIDS]: Remove conditional code.
19648 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19649 <kernel-features.h>.
19650 [__ASSUME_32BITUIDS]: Make code unconditional.
19651 [!__ASSUME_32BITUIDS]: Remove conditional code.
19652 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19653 <kernel-features.h>.
19654 [__ASSUME_32BITUIDS]: Make code unconditional.
19655 [!__ASSUME_32BITUIDS]: Remove conditional code.
19656 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19657 <kernel-features.h>.
19658 [__ASSUME_32BITUIDS]: Make code unconditional.
19659 [!__ASSUME_32BITUIDS]: Remove conditional code.
19660 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19661 <kernel-features.h>.
19662 [__NR_setresgid] (__setresgid): Do not declare.
19663 [__ASSUME_32BITUIDS]: Make code unconditional.
19664 [!__ASSUME_32BITUIDS]: Remove conditional code.
19665 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19666 <kernel-features.h>.
19667 [__NR_setresuid] (__setresuid): Do not declare.
19668 [__ASSUME_32BITUIDS]: Make code unconditional.
19669 [!__ASSUME_32BITUIDS]: Remove conditional code.
19670 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
19683 <kernel-features.h>.
19684 [__ASSUME_32BITUIDS]: Make code unconditional.
19685 [!__ASSUME_32BITUIDS]: Remove conditional code.
19686 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19687 <kernel-features.h>.
19688 [__ASSUME_32BITUIDS]: Make code unconditional.
19689 [!__ASSUME_32BITUIDS]: Remove conditional code.
19690 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19691 <kernel-features.h>.
19692 [__ASSUME_32BITUIDS]: Make code unconditional.
19693 [!__ASSUME_32BITUIDS]: Remove conditional code.
19694 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19695 <kernel-features.h>.
19696 [__ASSUME_32BITUIDS]: Make code unconditional.
19697 [!__ASSUME_32BITUIDS]: Remove conditional code.
19698 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19699 <kernel-features.h>.
19700 [__ASSUME_32BITUIDS]: Make code unconditional.
19701 [!__ASSUME_32BITUIDS]: Remove conditional code.
19702 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19703 <kernel-features.h>.
19704 [__ASSUME_32BITUIDS]: Make code unconditional.
19705 [!__ASSUME_32BITUIDS]: Remove conditional code.
19706 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19707 <kernel-features.h>.
19708 [__ASSUME_32BITUIDS]: Make code unconditional.
19709 [!__ASSUME_32BITUIDS]: Remove conditional code.
19710 * sysdeps/unix/sysv/linux/kernel-features.h
19711 (__ASSUME_SETRESUID_SYSCALL): Remove.
19712 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19713 (__ASSUME_32BITUIDS): Likewise.
19714 (__ASSUME_LDT_WORKS): Likewise.
19715 (__ASSUME_O_DIRECTORY): Likewise.
19716 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19717 architecture but not kernel version.
19718 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19719 (__ASSUME_MMAP2_SYSCALL): Likewise.
19720 (__ASSUME_STAT64_SYSCALL): Likewise.
19721 (__ASSUME_IPC64): Likewise.
19722 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19723 <kernel-features.h>.
19724 [__ASSUME_32BITUIDS]: Make code unconditional.
19725 [!__ASSUME_32BITUIDS]: Remove conditional code.
19726 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19727 <kernel-features.h>.
19728 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19729 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19730 132096]: Remove conditional code.
19731 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19732 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19733 <kernel-features.h>.
19734 [__ASSUME_32BITUIDS]: Make code unconditional.
19735 [!__ASSUME_32BITUIDS]: Remove conditional code.
19736 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19737 <kernel-features.h>.
19738 [__ASSUME_32BITUIDS]: Make code unconditional.
19739 [!__ASSUME_32BITUIDS]: Remove conditional code.
19740 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19741 <kernel-features.h>.
19742 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19744 (__setresgid): Do not declare.
19745 [__ASSUME_32BITUIDS]: Make code unconditional.
19746 [!__ASSUME_32BITUIDS]: Remove conditional code.
19747 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19748 <kernel-features.h>.
19749 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19751 (__setresuid): Do not declare.
19752 [__ASSUME_32BITUIDS]: Make code unconditional.
19753 [!__ASSUME_32BITUIDS]: Remove conditional code.
19754 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19755 <kernel-features.h>.
19756 [__ASSUME_32BITUIDS]: Make code unconditional.
19757 [!__ASSUME_32BITUIDS]: Remove conditional code.
19758 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19759 <kernel-features.h>.
19760 [__ASSUME_32BITUIDS]: Make code unconditional.
19761 [!__ASSUME_32BITUIDS]: Remove conditional code.
19763 2012-05-25 Richard Henderson <rth@twiddle.net>
19765 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19766 dl_hwcap to ifunc resolver.
19767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19769 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19770 dl_hwcap to ifunc resolver.
19771 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19773 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19776 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19777 for |x| <= 2**-26, not 2**-57.
19778 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19781 2012-05-24 Jeff Law <law@redhat.com>
19783 * stdio-common/Makefile (tests): Add bug25.
19784 * stdio-common/bug25.c: New test.
19786 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19789 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19790 multiple of MALLOC_ALIGNMENT in size.
19791 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19793 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19795 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19797 (FILENAME_MAX): Use macro-int-constant.
19798 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19799 (_IOFBF): Use macro-int-constant.
19800 (_IOLBF): Likewise.
19801 (_IONBF): Likewise.
19802 (SEEK_CUR): Likewise.
19803 (SEEK_END): Likewise.
19804 (SEEK_SET): Likewise.
19805 (TMP_MAX): Likewise.
19806 (EOF): Use macro-int-constant. Require < 0.
19807 (NULL): Use macro-constant. Require == 0.
19808 (stdin): Require type to be FILE *.
19809 (stdout): Likewise.
19810 (stderr): Likewise.
19811 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19812 macro-int-constant.
19813 (EXIT_SUCCESS): Likewise.
19814 (NULL): Use macro-constant. Require == 0.
19815 (RAND_MAX): Use macro-int-constant.
19816 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19817 [C99-based standards] (strtof): Require function.
19818 [C99-based standards] (strtold): Likewise.
19819 [C99-based standards] (strtoll): Likewise.
19820 [C99-based standards] (strtoull): Likewise.
19821 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19822 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19823 [ISO || ISO99 || ISO11] (math.h): Likewise.
19824 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19825 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19828 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19831 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19832 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19833 * intl/dgettext.c (DCGETTEXT): Likewise.
19834 * intl/gettext.c (DCGETTEXT): Likewise.
19835 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19836 * posix/regex_internal.h (gettext): Likewise.
19837 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19838 Remove declaration.
19839 * include/argz.h (__argz_count_internal)
19840 (__argz_stringify_internal): Remove declaration.
19841 (__argz_count, __argz_stringify): Declare hidden proto.
19842 * intl/dcgettext.c: Remove use of INTDEF.
19843 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19844 * string/argz-stringify.c: Likewise.
19845 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19846 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19847 Declare hidden proto.
19848 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19849 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19850 Declare hidden proto.
19851 * include/stdio.h (__asprintf_internal): Don't declare.
19852 (__asprintf): Don't define as macro. Declare hidden proto.
19853 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19854 (__fsetlocking): Declare hidden proto.
19855 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19856 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19858 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19859 (_IO_setlinebuf): Remove use of INTUSE.
19860 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19861 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19862 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19863 Remove declaration.
19864 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19865 (_IO_do_flush): Remove use of INTUSE.
19866 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19867 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19868 (_IO_adjust_column, _IO_least_wmarker)
19869 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19870 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19871 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19872 (_IO_default_doallocate, _IO_wdefault_doallocate)
19873 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19874 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19875 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19876 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19877 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19878 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19879 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19880 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19881 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19882 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19883 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19884 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19885 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19887 (_IO_flush_all_internal, _IO_adjust_column_internal)
19888 (_IO_default_uflow_internal, _IO_default_finish_internal)
19889 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19890 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19891 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19892 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19893 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19894 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19895 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19896 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19897 (_IO_file_close_internal, _IO_file_close_it_internal)
19898 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19899 (_IO_file_init_internal, _IO_file_attach_internal)
19900 (_IO_file_fopen_internal, _IO_file_read_internal)
19901 (_IO_file_sync_internal, _IO_file_seek_internal)
19902 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19903 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19904 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19905 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19906 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19907 (_IO_list_all_internal, _IO_link_in_internal)
19908 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19909 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19910 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19911 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19912 (_IO_do_write_internal, _IO_padn_internal)
19913 (_IO_getline_info_internal, _IO_getline_internal)
19914 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19915 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19916 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19917 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19918 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19919 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19920 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19921 with libc_hidden_ver, remove use of INTUSE.
19922 * libio/genops.c: Likewise.
19923 * libio/freopen.c: Likewise.
19924 * libio/freopen64.c: Likewise.
19925 * libio/iofclose.c: Likewise.
19926 * libio/iofdopen.c: Likewise.
19927 * libio/iofflush.c: Likewise.
19928 * libio/iofflush_u.c: Likewise.
19929 * libio/iofgets.c: Likewise.
19930 * libio/iofgets_u.c: Likewise.
19931 * libio/iofopen.c: Likewise.
19932 * libio/iofopncook.c: Likewise.
19933 * libio/iofread.c: Likewise.
19934 * libio/iofread_u.c: Likewise.
19935 * libio/ioftell.c: Likewise.
19936 * libio/iofwrite.c: Likewise.
19937 * libio/iogetline.c: Likewise.
19938 * libio/iogets.c: Likewise.
19939 * libio/iogetwline.c: Likewise.
19940 * libio/iopadn.c: Likewise.
19941 * libio/iopopen.c: Likewise.
19942 * libio/ioseekoff.c: Likewise.
19943 * libio/ioseekpos.c: Likewise.
19944 * libio/iosetbuffer.c: Likewise.
19945 * libio/iosetvbuf.c: Likewise.
19946 * libio/ioungetc.c: Likewise.
19947 * libio/ioungetwc.c: Likewise.
19948 * libio/iovdprintf.c: Likewise.
19949 * libio/iovsprintf.c: Likewise.
19950 * libio/iovsscanf.c: Likewise.
19951 * libio/memstream.c: Likewise.
19952 * libio/obprintf.c: Likewise.
19953 * libio/oldfileops.c: Likewise.
19954 * libio/oldiofclose.c: Likewise.
19955 * libio/oldiofdopen.c: Likewise.
19956 * libio/oldiofopen.c: Likewise.
19957 * libio/oldiopopen.c: Likewise.
19958 * libio/oldstdfiles.c: Likewise.
19959 * libio/putc.c: Likewise.
19960 * libio/setbuf.c: Likewise.
19961 * libio/setlinebuf.c: Likewise.
19962 * libio/stdfiles.c: Likewise.
19963 * libio/strops.c: Likewise.
19964 * libio/vasprintf.c: Likewise.
19965 * libio/vscanf.c: Likewise.
19966 * libio/vsnprintf.c: Likewise.
19967 * libio/vswprintf.c: Likewise.
19968 * libio/wfiledoalloc.c: Likewise.
19969 * libio/wfileops.c: Likewise.
19970 * libio/wgenops.c: Likewise.
19971 * libio/wmemstream.c: Likewise.
19972 * libio/wstrops.c: Likewise.
19973 * libio/__fpurge.c: Likewise.
19974 * libio/__fsetlocking.c: Likewise.
19975 * assert/assert.c: Likewise.
19976 * debug/fgets_chk.c: Likewise.
19977 * debug/fgets_u_chk.c: Likewise.
19978 * debug/fread_chk.c: Likewise.
19979 * debug/fread_u_chk.c: Likewise.
19980 * debug/gets_chk.c: Likewise.
19981 * debug/obprintf_chk.c: Likewise.
19982 * debug/vasprintf_chk.c: Likewise.
19983 * debug/vdprintf_chk.c: Likewise.
19984 * debug/vsnprintf_chk.c: Likewise.
19985 * debug/vsprintf_chk.c: Likewise.
19986 * malloc/mtrace.c: Likewise.
19987 * misc/error.c: Likewise.
19988 * misc/syslog.c: Likewise.
19989 * stdio-common/asprintf.c: Likewise.
19990 * stdio-common/fxprintf.c: Likewise.
19991 * stdio-common/getw.c: Likewise.
19992 * stdio-common/isoc99_fscanf.c: Likewise.
19993 * stdio-common/isoc99_scanf.c: Likewise.
19994 * stdio-common/isoc99_vfscanf.c: Likewise.
19995 * stdio-common/isoc99_vscanf.c: Likewise.
19996 * stdio-common/isoc99_vsscanf.c: Likewise.
19997 * stdio-common/printf-prs.c: Likewise.
19998 * stdio-common/printf_fp.c: Likewise.
19999 * stdio-common/printf_fphex.c: Likewise.
20000 * stdio-common/printf_size.c: Likewise.
20001 * stdio-common/putw.c: Likewise.
20002 * stdio-common/scanf.c: Likewise.
20003 * stdio-common/sprintf.c: Likewise.
20004 * stdio-common/tmpfile.c: Likewise.
20005 * stdio-common/vfprintf.c: Likewise.
20006 * stdio-common/vfscanf.c: Likewise.
20007 * stdlib/strfmon_l.c: Likewise.
20008 * sunrpc/openchild.c: Likewise.
20009 * sunrpc/xdr_stdio.c: Likewise.
20010 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20011 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20013 2012-05-24 Roland McGrath <roland@hack.frob.com>
20015 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20017 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20018 in the third column, to generate for the shared library an IFUNC
20019 that uses _dl_vdso_vsym.
20020 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20021 * Makeconfig (object-suffixes-noshared): New variable.
20023 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20024 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20025 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20026 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20029 * include/sys/time.h (__gettimeofday): Remove macro.
20030 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20031 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20033 (__gettimeofday): Add libc_hidden_def.
20034 (gettimeofday): Add libc_hidden_weak.
20035 * sysdeps/mach/gettimeofday.c: Likewise.
20036 * sysdeps/posix/gettimeofday.c: Likewise.
20037 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20038 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20040 (__gettimeofday_internal): Remove strong_alias.
20041 (__gettimeofday): Add libc_hidden_def.
20042 (gettimeofday): Add libc_hidden_weak.
20043 * sysdeps/unix/syscalls.list (gettimeofday):
20044 Remove __gettimeofday_internal alias.
20046 2012-05-24 Daniel Jacobowitz <drow@false.org>
20047 H.J. Lu <hongjiu.lu@intel.com>
20050 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20051 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20052 (largebin_index_32_big): New.
20053 (largebin_index): Use it for 16-byte alignment.
20054 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20055 correction with front_misalign.
20057 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20076 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20085 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20086 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20088 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20092 * math/libm-test.inc (exp_test): Add test from bug 14036.
20093 (pow_test): Add test from bug 10846.
20095 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20097 (special_function): Do not include flags in test name.
20098 (parse_args): Likewise.
20099 * sysdeps/i386/fpu/libm-test-ulps: Update.
20100 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20101 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20102 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20105 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20107 * math/libm-test.inc ("Philosophy"): Update comment about
20109 (UNDERFLOW_EXCEPTION): New macro.
20110 (UNDERFLOW_EXCEPTION_OK): Likewise.
20111 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20112 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20113 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20114 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20115 (INVALID_EXCEPTION_OK): Update value.
20116 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20117 (OVERFLOW_EXCEPTION_OK): Likewise.
20118 (IGNORE_ZERO_INF_SIGN): Likewise.
20119 (test_exceptions): Handle underflow exceptions.
20120 (acos_test): Update for underflow exception expectations.
20121 (cexp_test): Likewise.
20122 (clog_test): Likewise.
20123 (clog10_test): Likewise.
20124 (csqrt_test): Likewise.
20125 (ctan_test): Likewise.
20126 (ctanh_test): Likewise.
20127 (exp_test): Likewise.
20128 (exp10_test): Likewise.
20129 (exp2_test): Likewise.
20130 (expm1_test): Likewise.
20131 (fma_test): Likewise.
20132 (j0_test): Likewise.
20133 (jn_test): Likewise.
20134 (nexttoward_test): Likewise.
20135 (pow_test): Likewise.
20136 (scalbn_test): Likewise.
20137 (scalbln_test): Likewise.
20138 (tan_test): Likewise.
20139 (y1_test): Likewise.
20140 * sysdeps/i386/fpu/libm-test-ulps: Update.
20141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20143 2012-05-23 David S. Miller <davem@davemloft.net>
20145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20146 (__libc_sigaction): Remove unused local variables.
20148 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20150 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20152 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20154 mktime: avoid signed integer overflow
20155 * time/mktime.c (__mktime_internal): Do not mishandle the case
20156 where diff == INT_MIN.
20158 mktime: simplify computation of average
20159 * time/mktime.c (ranged_convert): Use new time_t_avg function
20160 instead of rolling our own (probably-slower) code.
20162 mktime: do not assume signed right shift propagates sign bit
20163 * time/mktime.c (isdst_differ): New static function.
20164 (__mktime_internal): No need to normalize tm_isdst now.
20165 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20168 mktime: merge another wrapv change from gnulib
20169 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20170 from some compilers.
20172 mktime: remove incorrect attempt at unusual arithmetics
20173 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20174 The code didn't really work on such machines anyway.
20175 (TYPE_MINIMUM): Assume two's complement.
20176 (twos_complement_arithmetic): Verify that long_int and time_t
20177 are two's complement (or unsigned, in the latter case).
20179 mktime: check signed shifts on long_int and time_t, too
20180 * time/mktime.c (SHR): Check that shifts work as desired
20181 on the types long_int and time_t too, as SHR is used on
20184 mktime: do not assume 'long' is wide enough
20185 * time/mktime.c (verify): Move decl up.
20186 (long_int): New type.
20187 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20188 to remove assumption in the code that 'long' is wide enough to
20189 store year values. This assumption is not true on x32 and on
20190 some non-glibc platforms.
20192 mktime: merge wrapv change from gnulib
20193 * time/mktime.c (WRAPV): New macro.
20194 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20195 (guess_time_tm, __mktime_internal): Do not assume that signed
20196 integer overflow wraps around; modern compilers generate code
20197 where this assumption is no longer valid.
20199 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20201 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20202 Replace "jmp L(pseudo_end)" with "ret".
20203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20206 2012-05-23 Andreas Jaeger <aj@suse.de>
20208 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20209 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20211 2012-05-23 Andreas Jaeger <aj@suse.de>
20212 Maximilian Attems <max@stro.at>
20214 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20217 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20219 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20220 code so that pseudo_end is just ret and the stack pointer is
20221 correct also for static library in error case.
20223 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20225 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20226 move to syscalls.list.
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20232 * manual/install.texi (Running make install): Do not mention Linux
20233 kernel version for which pt_chown is not needed.
20234 (Linux): Do not mention problems with nscd with 2.0 kernels.
20235 * INSTALL: Regenerated.
20237 2012-05-23 Andreas Jaeger <aj@suse.de>
20239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20240 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20242 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20244 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20245 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20246 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20247 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20248 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20249 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20251 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20252 * sysdeps/unix/sysv/linux/bits/in.h
20253 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20255 2012-05-22 Roland McGrath <roland@hack.frob.com>
20257 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20258 (PREPARE_VERSION): Just use assert instead, it will be elided
20259 under [NDEBUG] anyway.
20261 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20263 * sysdeps/unix/sysv/linux/Makefile: Include
20264 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20265 (sysdep_routines): Remove sysctl.
20266 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20267 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20268 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20269 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20270 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20272 2012-05-22 Andreas Jaeger <aj@suse.de>
20274 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20275 that pseudo_end is just ret and the stack pointer is correct also
20276 for static library in error case.
20278 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20281 * nss/nsswitch.c (defconfig_entries): New variable.
20282 (__nss_database_lookup): Don't leak defconfig entries.
20283 (nss_parse_service_list): Don't leak on error paths.
20284 (free_database_entries): New function.
20285 (free_defconfig): New function.
20286 (free_mem): Move common code to free_database_entries.
20288 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20290 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20292 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20294 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20295 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20298 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20299 (INTERNAL_SYSCALL_TYPES): Likewise.
20300 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20301 (LOAD_REGS_TYPES_[1-6]): Likewise.
20302 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20303 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20305 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20307 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20308 copysignl for GLIBC_2_0.
20309 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20310 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20312 logbl for GLIBC_2_0.
20313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20314 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20316 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20319 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20321 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20324 * time/mktime.c: Update copyright years.
20326 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20328 mktime: merge comment-quoting-style change from gnulib
20329 * time/mktime.c: Quote 'like this' in comments.
20330 The GNU coding standards suggest that we no longer quote `like this',
20331 as "`" and "'" are typically rendered asymmetrically nowadays.
20332 The typical gnulib style is to quote 'like this' when quoting
20333 code, and "like this" when quoting English.
20335 * time/mktime.c (compile-command): Add "-I.".
20337 mktime: merge mktime-internal.h change from gnulib
20338 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20340 mktime: merge time_r change from gnulib
20341 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20343 mktime: merge DEBUG change from gnulib
20344 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20345 case system <time.h> has a #define.
20347 mktime: merge <sys/types.h> change from gnulib
20348 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20349 since <time.t> is now guaranteed to define time_t.
20351 mktime: merge HAVE_CONFIG_H change from gnulib
20352 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20354 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20356 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20359 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20361 (struct rusage): Use anonymous union to pad each field to
20364 2012-05-21 David S. Miller <davem@davemloft.net>
20366 * Makefules (o-iterator): Remove .s cases.
20367 (compile-command.s): Delete.
20368 (COMPILE.s): Delete.
20369 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20371 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20373 * configure.in (libc_cv_predef_stack_protector): Only consider
20374 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20375 * configure: Regenerated.
20377 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20380 New macro. Use R*LP on int and pointer.
20381 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20382 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20383 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20384 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20386 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20387 [__WORDSIZE_TIME64_COMPAT32] instead of
20388 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20389 (struct utmp): Likewise.
20390 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20391 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20393 (__WORDSIZE_TIME64_COMPAT32): This.
20394 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20395 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20396 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20397 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20398 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20399 (__WORDSIZE_TIME64_COMPAT32): New macro.
20401 2012-05-21 Andreas Jaeger <aj@suse.de>
20403 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20404 only if [SHARED]. Add prototype for __wcschr_ia32.
20406 2012-05-21 Roland McGrath <roland@hack.frob.com>
20408 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20409 of %rbp unmolested in the jmp_buf while mangling the low bits.
20410 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20411 unmolested high bits of %rbp while demangling the low bits.
20412 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20414 2012-05-21 Andreas Jaeger <aj@suse.de>
20416 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20417 * sunrpc/svc_simple.c: Use it for registerrpc.
20418 * sunrpc/xcrypt.c: Use it for passwd2des.
20420 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20422 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20424 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20425 Don't define if [__SYSCALL_WORDSIZE != 32].
20426 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20429 2012-05-21 Bruno Haible <bruno@clisp.org>
20430 Andreas Jaeger <aj@suse.de>
20432 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20433 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20434 inptr and inend for must_buffer_ch.
20435 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20436 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20437 * stdio-common/Makefile (tests): Remove bug15.
20438 (bug15-ENV): Remove macro.
20439 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20442 2012-05-19 Andreas Jaeger <aj@suse.de>
20443 Roland McGrath <roland@hack.frob.com>
20445 * manual/contrib.texi: Completely rewritten. It contains now an
20446 alphabetical list of contributors and their contributions.
20448 2012-05-21 Richard Henderson <rth@twiddle.net>
20450 * misc/getauxval.c (__getauxval): Use unsigned long int.
20451 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20452 (getauxval): Use unsigned long int.
20454 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20456 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20458 2012-05-21 Roland McGrath <roland@hack.frob.com>
20460 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20461 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20462 __alignof__ (long double).
20464 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20468 2012-05-20 Richard Henderson <rth@twiddle.net>
20470 * misc/getauxval.c: New file.
20471 * misc/sys/auxv.h: New file.
20472 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20473 (routines): Add getauxval.
20474 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20475 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20476 * elf/dl-sysdep.c (_dl_auxv): Remove.
20477 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20478 * elf/dl-support.c (_dl_auxv): New variable.
20479 (_dl_aux_init): Initialize it.
20480 * manual/startup.texi (Auxiliary Vector): New node.
20481 * sysdeps/generic/bits/hwcap.h: New file.
20482 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20483 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20484 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20485 * sysdeps/sparc/sysdep.h: ... here. Include it.
20486 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20487 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20499 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20503 2012-05-19 David S. Miller <davem@davemloft.net>
20505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20507 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20510 * math/s_ccosh.c: Include <float.h>
20511 (__ccosh): Avoid internal overflow calculating sinh and cosh
20512 values before multiplying by sin and cos values.
20513 * math/s_ccoshf.c: Likewise.
20514 * math/s_ccoshl.c: Likewise.
20515 * math/s_csin.c: Likewise.
20516 * math/s_csinf.c: Likewise.
20517 * math/s_csinl.c: Likewise.
20518 * math/s_csinh.c: Likewise.
20519 * math/s_csinhf.c: Likewise.
20520 * math/s_csinhl.c: Likewise.
20521 * math/libm-test.inc (ccos_test): Add more tests.
20522 (ccosh_test): Likewise.
20523 (csin_test): Likewise.
20524 (csinh_test): Likewise.
20525 * sysdeps/i386/fpu/libm-test-ulps: Update.
20526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20528 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20530 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20531 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20533 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20535 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20537 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20538 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20539 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20540 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20541 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20542 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20543 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20544 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20545 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20546 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20547 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20548 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20549 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20550 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20551 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20552 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20553 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20554 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20555 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20556 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20557 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20558 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20559 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20560 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20561 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20562 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20563 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20564 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20565 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20566 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20567 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20569 2012-05-18 Andreas Jaeger <aj@suse.de>
20571 * csu/.gitignore: Delete.
20573 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20575 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20576 (timex): Use __syscall_slong_t.
20578 2012-05-18 Andreas Jaeger <aj@suse.de>
20579 Carlos O'Donell <carlos_odonell@mentor.com>
20581 * manual/install.texi (Configuring and compiling): Update
20582 description about files modified in the source directory.
20583 * INSTALL: Regenerated.
20585 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20587 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20588 value. Use "or" to set return value to -1.
20589 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20590 negate return value.
20592 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20594 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20595 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20596 failure if the compiler has Graphite support disabled.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20599 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20600 CFLAGS-memmove.c): Likewise.
20601 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20604 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20606 * sysdeps/x86_64/x32/_itoa.h: New file.
20608 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20609 getdents system call only if kernel and user dirents have the
20610 same d_ino and d_off.
20612 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20613 LLONG_MAX != LONG_MAX.
20614 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20615 (_fitoa_word): Likewise.
20617 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20619 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20620 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20623 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20624 include <bits/wordsize.h>. Check __x86_64__ instead of
20626 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20627 if __x86_64__ is defined. Use anonymous union on fpstate.
20629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20632 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20634 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20635 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20636 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20637 Refer to _rtld_local_ro instead of _rtld_global_ro.
20638 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20640 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20642 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20644 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20645 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20646 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20648 * sysdeps/powerpc/powerpc32/dl-machine.c
20649 (__elf_machine_runtime_setup) [PROF]: Don't reference
20652 2012-05-18 Andreas Jaeger <aj@suse.de>
20654 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20655 function only available for GCCs before 3.4 since GCC 3.4
20656 introduced a builtin.
20658 (llrintf): Likewise.
20659 (llrint): Likewise.
20666 (nearbyint): Likewise.
20667 (nearbyintf): Likewise.
20671 (floorf): Likewise.
20673 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20675 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20676 on both fields and cast pointer to __syscall_ulong_t.
20678 * bits/types.h (__fsword_t): New type.
20679 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20680 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20682 (__FSWORD_T_TYPE): Likewise.
20683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20684 (__FSWORD_T_TYPE): Likewise.
20685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20686 (__FSWORD_T_TYPE): Likewise.
20687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20688 (__FSWORD_T_TYPE): Likewise.
20689 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20690 __SWORD_TYPE with __fsword_t.
20691 (statfs64): Likewise.
20693 2012-05-17 David S. Miller <davem@davemloft.net>
20695 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20697 2012-05-17 Andreas Jaeger <aj@suse.de>
20699 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20702 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20704 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20706 2012-05-17 Andreas Jaeger <aj@suse.de>
20708 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20711 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20713 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20715 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20717 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20718 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20720 2012-05-17 Andreas Jaeger <aj@suse.de>
20721 Carlos O'Donell <carlos_odonell@mentor.com>
20724 * sysdeps/x86_64/multiarch/init-arch.h
20725 (bit_YMM_Usable): Rename to...
20726 (bit_AVX_Usable): ... this.
20727 (bit_FMA4_Usable): New macro.
20728 (bit_XMM_state): New macro.
20729 (bit_YMM_state): New macro.
20730 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20731 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20732 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20733 (CPUID_OSXSAVE): New macro.
20734 (CPUID_AVX): New macro.
20735 (CPUID_FMA4): New macro.
20736 (index_YMM_Usable): Rename to...
20737 (index_AVX_Usable): ... this.
20738 (HAS_AVX): Use HAS_ARCH_FEATURE.
20739 (HAS_FMA4): Likewise.
20740 (HAS_YMM_USABLE): Remove.
20741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20742 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20744 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20745 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20746 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20747 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20748 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20750 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20752 * math/libm-test.c: Support platforms without multiple rounding modes.
20753 * math/bug-nextafter.c: Support platforms without FP exceptions.
20754 * math/bug-nexttoward.c: Likewise.
20755 * math/test-fenv.c: Likewise.
20756 * math/test-misc.c: Likewise.
20757 * stdlib/bug-getcontext.c: Likewise.
20759 2012-05-17 Andreas Jaeger <aj@suse.de>
20761 * manual/examples/search.c (critter_cmp): Change signature to
20763 * manual/string.texi (Collation Functions): Likewise.
20765 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20767 * bits/types.h: Fold copyright years.
20768 * bits/typesizes.h: Likewise.
20769 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20773 * time/time.h: Likewise.
20775 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20778 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20779 in instead of returning them. Return void.
20780 (__libc_mallinfo): Accumulate over all arenas.
20781 (__malloc_stats): Adjust for change in int_mallinfo interface.
20783 2012-05-16 Roland McGrath <roland@hack.frob.com>
20786 * configure.in (NM): Add AC_CHECK_TOOL for it.
20787 (libc_extra_cflags): New substituted variable.
20788 Check for -fstack-protector being used implicitly.
20789 * configure: Regenerated.
20790 * config.make.in (config-extra-cflags): New variable,
20791 gets @libc_extra_cflags@.
20792 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20795 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20796 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20797 * configure: Regenerated.
20798 * config.make.in (CPPUNDEFS): New substituted variable.
20799 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20800 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20801 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20803 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20805 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20806 (mq_attr): Use __syscall_slong_t.
20808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20810 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20811 Check __x86_64__ instead of __WORDSIZE.
20812 (_STAT_VER_LINUX): Likewise.
20813 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20814 __syscall_ulong_t and __syscall_slong_t.
20815 (stat64): Likewise.
20817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20823 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20825 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20827 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20830 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20831 include <bits/wordsize.h>. Check __x86_64__ instead of
20833 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20835 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20837 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20838 include <bits/wordsize.h>. Check __x86_64__ instead of
20840 (user_regs_struct): Use "__extension__ unsigned long long"
20841 instead of "unsigned long" if __x86_64__ is defined.
20842 (user): Likewise. Pad after pointer field if __ILP32__ is
20845 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20847 * configure.in (makeinfo): Require version 4.5 or later. Allow
20849 * configure: Regenerated.
20850 * manual/install.texi (texinfo): Increase version requirement to
20852 * INSTALL: Regenerated.
20854 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20856 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20858 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20860 * sysdeps/x86_64/x32/ffs.c: New file.
20862 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20864 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20865 defined. Use __syscall_ulong_t.
20866 (shminfo): Use __syscall_ulong_t.
20867 (shm_info): Likewise.
20869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20872 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20874 (msgqnum_t): Use __syscall_ulong_t.
20875 (msglen_t): Likewise.
20876 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20879 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20880 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20882 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20884 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20885 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20887 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20891 include <bits/wordsize.h>. Check __x86_64__ instead of
20894 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20895 "unsigned long long int" if __x86_64__ is defined.
20896 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20898 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20899 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20900 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20902 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20904 (GET_PC): Cast to uintptr_t first.
20905 (GET_FRAME): Likewise.
20906 (GET_STACK): Likewise.
20908 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20909 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20914 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20915 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20916 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20917 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20918 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20919 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20920 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20921 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20922 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20923 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20924 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20925 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20927 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20929 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20930 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20931 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20932 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20935 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20938 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20940 * Makerules (+depfiles): Also collect depfiles from .oS in
20942 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20943 .oS, $(libnldbl-routines)).
20945 * Makerules (native-compile-mkdep-flags): Define.
20946 * sunrpc/Makefile (extra-objs): Add $(addprefix
20947 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20948 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20949 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20950 calling $(make-target-directory).
20952 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20954 * bits/types.h (__snseconds_t): Removed.
20955 * time/time.h (struct timespec): Replace __snseconds_t with
20957 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20958 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20961 (__SNSECONDS_T_TYPE): Likewise.
20962 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20963 (__SNSECONDS_T_TYPE): Likewise.
20964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20965 (__SNSECONDS_T_TYPE): Likewise.
20967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20969 * sysdeps/mach/hurd/bits/typesizes.h
20970 (__SYSCALL_SLONG_TYPE): New macro.
20971 (__SYSCALL_ULONG_TYPE): Likewise.
20973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20975 * bits/types.h (__syscall_slong_t): New type.
20976 (__syscall_ulong_t): Likewise.
20978 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20979 (__SYSCALL_ULONG_TYPE): Likewise.
20980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20981 (__SYSCALL_SLONG_TYPE): Likewise.
20982 (__SYSCALL_ULONG_TYPE): Likewise.
20983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20984 (__SYSCALL_SLONG_TYPE): Likewise.
20985 (__SYSCALL_ULONG_TYPE): Likewise.
20986 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20987 (__SYSCALL_SLONG_TYPE): Likewise.
20988 (__SYSCALL_ULONG_TYPE): Likewise.
20990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20992 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20993 Add sigaltstack-offsets.sym.
20994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20995 <sigaltstack-offsets.h>.
20996 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20997 longjmp_msg pointer.
20998 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20999 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21001 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21003 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21005 * elf/stackguard-macros.h: Remove file.
21006 * sysdeps/generic/stackguard-macros.h: New file.
21007 * sysdeps/i386/stackguard-macros.h: Likewise.
21008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21014 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21015 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21016 <elf/stackguard-macros.h>.
21019 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21020 __aligned__ in attribute.
21021 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21022 (gregset_t): Likewise.
21024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21026 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21027 * sysdeps/x86_64/64/Implies-after: Here. New file.
21028 * sysdeps/x86_64/x32/Implies-after: New file.
21030 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21032 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21033 and access return value for _dl_profile_fixup. Use R10_LP to
21036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21038 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21042 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21043 * sysdeps/x86_64/x32/sysdep.h: New file.
21045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21047 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21048 * sysdeps/x86_64/setjmp.S: Likewise.
21050 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21054 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21056 remove unused global constant.
21058 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21060 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21061 include of <not-cancel.h>.
21063 2012-05-15 Roland McGrath <roland@hack.frob.com>
21065 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21067 2012-05-15 Jeff Law <law@redhat.com>
21068 Andreas Jaeger <aj@suse.de>
21071 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21073 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21074 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21075 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21076 code changing __hst_map_handle.map.
21078 2012-05-15 Roland McGrath <roland@hack.frob.com>
21080 * configure.in (sysnames): Look for Implies-before and Implies-after
21082 * configure: Regenerated.
21084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21086 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21087 8-byte data alignment with LP_SIZE alignment.
21089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21091 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21096 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21100 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21101 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21106 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21108 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21109 (stackinfo_sub_sp): Likewise.
21111 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21113 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21123 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21128 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21132 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21133 into R11_LP and load __x86_64_shared_cache_size_half into
21136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21138 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21141 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21143 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21149 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21150 powerpc32/power7/fpu/s_logb.c via #include.
21151 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21152 powerpc32/power7/fpu/s_logbf.c via #include.
21153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21154 powerpc32/power7/fpu/s_logbl.c via #include.
21156 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21158 * README.libm: Remove file.
21160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21162 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21163 count for x32. Use R*_LP and omit operand-size suffix.
21165 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21167 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21168 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21169 * sysdeps/x86_64/x32/shlib-versions: New file.
21171 2012-05-14 Roland McGrath <roland@hack.frob.com>
21173 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21174 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21175 Use _dl_fatal_printf instead.
21177 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21179 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21180 set if not set by the user. Do not allow for being unset.
21181 * sysdeps/unix/sysv/linux/configure: Regenerated.
21183 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21185 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21186 the `q' suffix from lea and replace .quad with ASM_ADDR.
21188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21191 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21193 (PTR_DEMANGLE): Likewise.
21195 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21197 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21199 (ASM_ADDR): Likewise.
21200 (RAX_LP): Likewise.
21201 (RBP_LP): Likewise.
21202 (RBX_LP): Likewise.
21203 (RCX_LP): Likewise.
21204 (RDI_LP): Likewise.
21205 (RSI_LP): Likewise.
21206 (RSP_LP): Likewise.
21209 (R10_LP): Likewise.
21210 (R10_LP): Likewise.
21211 (R11_LP): Likewise.
21212 (R12_LP): Likewise.
21213 (R13_LP): Likewise.
21214 (R14_LP): Likewise.
21215 (R15_LP): Likewise.
21217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21219 * sysdeps/x86_64/x32/dl-machine.h: New file.
21221 2012-05-14 Andreas Jaeger <aj@suse.de>
21223 * manual/Makefile (subdir): Remove export of subdir.
21224 (all): Remove target.
21225 (.PHONY): Remove all from list.
21226 (mkinstalldirs): Remove.
21227 (.PHONY): Remove installdirs from list.
21228 ($(inst_infodir)/libc.info): Use make-target-directory.
21229 (installdirs): Remove.
21230 (subdir_%): Remove.
21231 (glibc-targets): Remove.
21234 ($(objpfx)stubs ../po/manual.pot): Remove.
21235 ($(objpfx)stamp%): Remove.
21236 (make-target-directory): Remove.
21237 (subdir_install): Remove.
21238 (routines): Remove.
21245 * manual/.gitignore: Remove, it's not needed anymore.
21246 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21248 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21250 (texis): Renamed to $(objpfx)texis.
21251 (texis-path): New, contains path to generated files.
21252 (chapters.%): Use texis-path for complete path, add extra argument
21254 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21255 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21256 (summary,texi, stamp-summary): Use complete path of
21257 files. Generate files in build dir.
21258 (dir-add.texi): Build in build dir.
21259 (libm-err.texi,stamp-libm-err): Likewise.
21260 (version.texi, stamp-version): Likewise.
21261 (.%c.texi): Likewise.
21262 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21263 (mostlyclean): Remove target.
21264 (realclean): Remove target.
21265 (generated): Add new variable with contents from mostlyclean and
21266 realclean, remove entries duplicated in common-mostlyclean, add
21267 stamp-libm-err and stamp-version.
21268 (generated-dirs): Add libc directory.
21269 ($(inst_infodir)/libc.info): Install files from build dir.
21271 * manual/install.texi (Configuring and compiling): Adjust since
21272 the info files are not part of the tar ball anymore.
21274 2012-05-14 Andreas Jaeger <aj@suse.de>
21276 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21279 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21282 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21283 to 2.2.0 where earlier.
21284 * sysdeps/unix/sysv/linux/configure: Regenerated.
21285 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21286 Remove conditional code.
21287 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21288 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21289 Remove conditional code.
21290 [!__NR_lchown]: Likewise.
21291 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21292 [__NR_lchown]: Likewise.
21293 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21294 comment referencing __ASSUME_LCHOWN_SYSCALL.
21295 * sysdeps/unix/sysv/linux/i386/sigaction.c
21296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21298 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21299 Remove conditional code.
21300 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21301 (__protocol_available): Remove #if 0 code.
21302 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21304 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21305 * sysdeps/unix/sysv/linux/kernel-features.h
21306 (__ASSUME_GETCWD_SYSCALL): Don't define.
21307 (__ASSUME_REALTIME_SIGNALS): Likewise.
21308 (__ASSUME_PREAD_SYSCALL): Likewise.
21309 (__ASSUME_PWRITE_SYSCALL): Likewise.
21310 (__ASSUME_POLL_SYSCALL): Likewise.
21311 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21312 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21314 (__ASSUME_SIOCGIFNAME): Don't define.
21315 (__ASSUME_MSG_NOSIGNAL): Likewise.
21316 (__ASSUME_SENDFILE): Define unconditionally.
21317 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21318 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21320 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21321 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21322 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21323 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21324 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21325 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21326 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21328 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21329 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21331 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21334 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21335 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21337 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21338 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21340 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21341 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21343 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21344 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21346 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21347 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21349 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21350 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21351 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21352 Remove conditional code.
21353 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21354 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21355 Remove conditional code.
21356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21357 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21358 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21359 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21360 Remove conditional code.
21361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21362 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21363 Remove conditional code.
21364 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21365 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21366 Remove conditional code.
21367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21368 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21369 Remove conditional code.
21370 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21371 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21372 Remove conditional code.
21373 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21374 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21375 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21376 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21377 * sysdeps/unix/sysv/linux/sigaction.c
21378 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21379 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21380 * sysdeps/unix/sysv/linux/sigpending.c
21381 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21382 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21383 * sysdeps/unix/sysv/linux/sigprocmask.c
21384 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21385 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21386 * sysdeps/unix/sysv/linux/sigsuspend.c
21387 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21388 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21389 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21390 (__libc_missing_rt_sigs): Remove.
21391 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21392 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21393 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21394 Remove conditional code.
21395 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21396 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21399 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21400 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21401 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21403 2012-05-14 Andreas Jaeger <aj@suse.de>
21405 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21406 it's not used in glibc.
21407 (__coshm1): Likewise.
21408 (__acosh1p): Likewise.
21411 * manual/string.texi (Copying and Concatenation): Add missing
21412 variable in concat example.
21413 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21415 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21418 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21419 __builtin_clzl with __builtin_clzll.
21421 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21424 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21427 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21429 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21430 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21431 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21434 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21436 * NEWS: Update ia64 info.
21438 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21440 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21443 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21445 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21446 * sysdeps/unix/syscalls.list (dup3): Likewise.
21447 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21448 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21450 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21452 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21453 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21455 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21457 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21459 (TLS_IE): Use mov/add instead of movq/addq to load thread
21461 (TLS_GD_PREFIX): New.
21464 2012-05-11 David S. Miller <davem@davemloft.net>
21466 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21467 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21468 (_FPU_SETCW): Likewise.
21470 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21472 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21473 is 32-byte aligned.
21475 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21478 * iconvdata/gb18030.c: Update tables.
21479 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21480 characters specially.
21481 (BODY for TO_LOOP): Add encoding of missing ranges.
21483 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21486 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21487 * sysdeps/mach/hurd/dup3.c: Likewise.
21488 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21489 * sysdeps/powerpc/memmove.c:: Likewise.
21491 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21494 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21496 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21498 * elf/elf.h (R_X86_64_RELATIVE64): New.
21499 (R_X86_64_NUM): Updated.
21500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21501 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21502 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21503 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21504 tst-quad1pie tst-quad2pie
21505 (modules-names): Add tst-quadmod1 tst-quadmod2.
21506 ($(objpfx)tst-quad1): New dependency.
21507 ($(objpfx)tst-quad2): Likewise.
21508 ($(objpfx)tst-quad1pie): Likewise.
21509 ($(objpfx)tst-quad2pie): Likewise.
21510 * sysdeps/x86_64/tst-quad1.c: New file.
21511 * sysdeps/x86_64/tst-quad1pie.c: New file.
21512 * sysdeps/x86_64/tst-quad2.c: Likewise.
21513 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21514 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21515 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21516 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21517 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21521 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21522 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21523 * streams/stropts.h (t_scalar_t): Define type.
21525 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21526 (_PATH_PRESERVE): Set to "/var/lib".
21527 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21529 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21532 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21533 if __dir_mkfile succeeded.
21535 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21536 checking for _hurd_dtablesize. Unlock it right after having
21537 finished _hurd_dtable allocation.
21539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21541 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21542 * sysdeps/mach/hurd/configure: Regenerated.
21543 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21544 special-casing to...
21545 * sysdeps/gnu/configure.in: ... this new file.
21546 * sysdeps/unix/sysv/linux/configure: Regenerated.
21547 * sysdeps/gnu/configure: New generated file.
21549 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21550 for Linux: use nsec instead of usec, as well as:
21551 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21552 members of type struct timespec.
21553 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21555 (struct stat64): Likewise.
21556 (_STATBUF_ST_NSEC): New macro.
21557 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21559 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21560 __strtoul_internal rather than strtoul.
21562 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21564 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21569 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21570 which preserves existing values.
21571 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21575 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21576 TIMEOUT values. Return EINVAL for NFDS values either negative or
21577 greater than FD_SETSIZE.
21579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21581 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21582 allocated, call __vm_protect to finish enabling the existing space, and
21583 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21584 allocate the remainder.
21586 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21588 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21589 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21593 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21594 sysdeps/mach/hurd/readlink.c.
21596 * posix/tst-sysconf.c (posix_options): Only use
21597 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21598 _POSIX_SYNCHRONIZED_IO when they are defined
21599 * sysdeps/mach/hurd/bits/posix_opt.h:
21600 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21601 (_XOPEN_REALTIME): Undefine macro.
21602 (_XOPEN_REALTIME_THREADS): Undefine macro.
21603 (_XOPEN_SHM): Undefine macro.
21604 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21606 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21608 (_POSIX_ASYNC_IO): Undefine macro.
21609 (_POSIX_PRIORITIZED_IO): Undefine macro.
21610 (_POSIX_SPIN_LOCKS): Define macro to -1.
21612 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21613 SA_NODEFER, SA_RESETHAND.
21614 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21615 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21618 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21620 * elf/Makefile (pldd-modules): Define unconditionally.
21622 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21624 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21628 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21629 Return ENOENT when name is empty.
21630 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21634 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21636 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21640 Fix mlock in all cases except non-readable pages.
21641 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21642 instead of VM_PROT_ALL as parameter to __vm_wire function.
21644 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21645 (__mkdir): When path is `/', just fail with EEXIST.
21646 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21650 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21651 <sys/uio.h> (for writev).
21652 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21653 and <sys/param.h> (for MIN).
21655 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21657 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21658 REQUESTED_TIME. Properly set the remaining time and return EINTR
21661 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21663 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21664 Depend on against $(link-rpcuserlibs).
21666 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21668 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21669 (__libc_stack_end): Do not use attribute_relro.
21670 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21671 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21672 to libthread-provided value.
21673 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21679 * bits/libc-lock.h (__libc_once_get): New macro.
21680 * sysdeps/mach/bits/libc-lock.h: Likewise.
21681 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21682 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21683 instead of using implementation details.
21685 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21686 * libio/freopen.c: Likewise.
21687 * libio/freopen64.c: Likewise.
21688 * misc/syslog.c: Likewise.
21689 * nscd/connections.c: Likewise.
21690 * nscd/netgroupcache.c: Likewise.
21691 * sysdeps/posix/getcwd.c: Likewise.
21693 2012-05-10 Roland McGrath <roland@hack.frob.com>
21695 * math/w_ilogbf.c: Add #include <limits.h>.
21697 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21699 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21700 path instead of returning without unlocking.
21702 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21703 immediate-write ioctls.
21704 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21708 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21709 __builtin_frame_address instead of making assumptions about the
21710 location of the return address relative to DATA. Force early load of
21711 the return address.
21712 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21713 __builtin_frame_address.
21716 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21717 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21718 implement dup3 and do some further code clean-ups.
21719 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21720 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21724 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21726 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21727 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21728 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21729 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21730 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21733 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21734 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21735 when handler == SIG_ERR, not when handler != SIG_ERR.
21737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21739 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21740 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21743 accept4 for GNU Hurd.
21744 * include/sys/socket.h (__libc_accept4): New prototype.
21745 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21746 to implement __libc_accept4.
21747 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21749 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21751 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21752 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21753 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21754 signal-defines.sym.
21756 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21758 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21760 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21762 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21763 assertion on O_CLOEXEC flag.
21764 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21765 * hurd/intern-fd.c: Likewise.
21766 * hurd/port2fd.c: Likewise.
21768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21771 * bits/in.h (IPV6_PKTINFO): Define new macro.
21772 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21774 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21781 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21782 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21784 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21785 * math/libm-test.inc (logb_test) : Additional logb tests.
21787 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21788 Andreas Jaeger <aj@suse.de>
21790 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21791 * configure: Regenerated.
21792 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21793 * config.make.in (link-obsolete-rpc): New substituted variable.
21794 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21795 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21796 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21797 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21798 so that libc.a contains the symbols.
21799 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21800 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21801 * sunrpc/auth_none.c: Likewise.
21802 * sunrpc/auth_unix.c: Likewise.
21803 * sunrpc/authdes_prot.c: Likewise.
21804 * sunrpc/authuxprot.c: Likewise.
21805 * sunrpc/clnt_gen.c: Likewise.
21806 * sunrpc/clnt_perr.c: Likewise.
21807 * sunrpc/clnt_raw.c: Likewise.
21808 * sunrpc/clnt_simp.c: Likewise.
21809 * sunrpc/clnt_tcp.c: Likewise.
21810 * sunrpc/clnt_udp.c: Likewise.
21811 * sunrpc/clnt_unix.c: Likewise.
21812 * sunrpc/des_crypt.c: Likewise.
21813 * sunrpc/des_soft.c: Likewise.
21814 * sunrpc/get_myaddr.c: Likewise.
21815 * sunrpc/key_call.c: Likewise.
21816 * sunrpc/key_prot.c: Likewise.
21817 * sunrpc/netname.c: Likewise.
21818 * sunrpc/pm_getmaps.c: Likewise.
21819 * sunrpc/pm_getport.c: Likewise.
21820 * sunrpc/pmap_clnt.c: Likewise.
21821 * sunrpc/pmap_prot.c: Likewise.
21822 * sunrpc/pmap_prot2.c: Likewise.
21823 * sunrpc/pmap_rmt.c: Likewise.
21824 * sunrpc/publickey.c: Likewise.
21825 * sunrpc/rpc_cmsg.c: Likewise.
21826 * sunrpc/rpc_common.c: Likewise.
21827 * sunrpc/rpc_dtable.c: Likewise.
21828 * sunrpc/rpc_prot.c: Likewise.
21829 * sunrpc/rpc_thread.c: Likewise.
21830 * sunrpc/rtime.c: Likewise.
21831 * sunrpc/svc.c: Likewise.
21832 * sunrpc/svc_auth.c: Likewise.
21833 * sunrpc/svc_raw.c: Likewise.
21834 * sunrpc/svc_run.c: Likewise.
21835 * sunrpc/svc_tcp.c: Likewise.
21836 * sunrpc/svc_udp.c: Likewise.
21837 * sunrpc/svc_unix.c: Likewise.
21838 * sunrpc/svcauth_des.c: Likewise.
21839 * sunrpc/xcrypt.c: Likewise.
21840 * sunrpc/xdr.c: Likewise.
21841 * sunrpc/xdr_array.c: Likewise.
21842 * sunrpc/xdr_float.c: Likewise.
21843 * sunrpc/xdr_intXX_t.c: Likewise.
21844 * sunrpc/xdr_mem.c: Likewise.
21845 * sunrpc/xdr_rec.c: Likewise.
21846 * sunrpc/xdr_ref.c: Likewise.
21847 * sunrpc/xdr_sizeof.c: Likewise.
21848 * sunrpc/xdr_stdio.c: Likewise.
21850 2012-05-10 Roland McGrath <roland@hack.frob.com>
21852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21853 change. Update copyright years.
21855 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21857 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21859 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21860 Joseph Myers <joseph@codesourcery.com>
21861 Paul Pluzhnikov <ppluzhnikov@google.com>
21864 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21866 [cross-compiling] (extra-libs): Likewise.
21867 [cross-compiling] (extra-libs-others): Likewise.
21868 [cross-compiling] (librpcsvc-routines): Likewise.
21869 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21870 [cross-compiling] (omit-deps): Likewise.
21871 (sunrpc-CPPFLAGS): New variable.
21872 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21873 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21874 (cross-rpcgen-objs): New variable.
21875 (extra-objs): Append $(cross-rpcgen-objs).
21876 ($(cross-rpcgen-objs)): New rule.
21877 ($(objpfx)cross-rpcgen): Likewise.
21878 (rpcgen-cmd): Define to use $(built-program-file). Expand
21880 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21881 ($(objpfx)x%.stmp): Likewise.
21882 * sunrpc/proto.h [IS_IN_build] (_): Define.
21883 [IS_IN_build] (_libc_intl_domainname): Likewise.
21885 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21888 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21889 and R_X86_64_TPOFF64.
21891 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21893 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21894 sysdeps/unix/sysv/syscalls.list.
21897 * sysdeps/unix/sysv/syscalls.list: Remove file.
21899 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21902 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21903 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21904 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21905 (__LC_IDENTIFICATION): Make these macros useful in #if
21906 expressions, as required by C99.
21908 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21910 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21911 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21914 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21916 * stdlib/longlong.h: Updated from GCC.
21918 2012-05-09 Andreas Jaeger <aj@suse.de>
21920 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21921 default is first entry.
21922 (run_mode): Set type.
21923 (main): Remove informal message about syslog.
21924 (options): Fix typo.
21927 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21930 (llrintf): Likewise.
21931 (llrint): Likewise.
21934 (nearbyint): Likewise.
21935 (nearbyintf): Likewise.
21937 2012-05-09 Andreas Jaeger <aj@suse.de>
21938 Pedro Alves <palves@redhat.com>
21940 * nscd/nscd.c (run_mode): Use enum.
21941 (main): Cleanup coding style issue.
21943 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21944 Andreas Jaeger <aj@suse.de>
21946 * nscd/nscd.c (go_background): Replaced with...
21947 (run_mode): ... this.
21948 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21949 (options): Add -F --foreground.
21950 (main): Implement it.
21951 (parse_opt): Parse it.
21953 2012-05-09 Andreas Jaeger <aj@suse.de>
21956 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21957 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21958 -Wconversion warning.
21959 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21962 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21964 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21966 (LC_ALL): Use macro-int-constant.
21967 (LC_COLLATE): Likewise.
21968 (LC_CTYPE): Likewise.
21969 (LC_MESSAGES): Likewise.
21970 (LC_MONETARY): Likewise.
21971 (LC_NUMERIC): Likewise.
21972 (LC_TIME): Likewise.
21973 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21974 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21975 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21976 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21978 [C99-based standards] (float_t): Expect type.
21979 [C99-based standards] (double_t): Expect type.
21980 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21982 [C99-based standards] (HUGE_VALL): Likewise.
21983 [C99-based standards] (INFINITY): Likewise.
21984 [C99-based standards] (NAN): Likewise.
21985 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21986 [C99-based standards] (FP_NAN): Likewise.
21987 [C99-based standards] (FP_NORMAL): Likewise.
21988 [C99-based standards] (FP_SUBNORMAL): Likewise.
21989 [C99-based standards] (FP_ZERO): Likewise.
21990 [C99-based standards] (FP_FAST_FMA): Use
21991 optional-macro-int-constant. Specify type. Require == 1.
21992 [C99-based standards] (FP_FAST_FMAF): Likewise.
21993 [C99-based standards] (FP_FAST_FMAL): Likewise.
21994 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21995 [C99-based standards] (FP_ILOGBNAN): Likewise.
21996 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21998 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21999 [C99-based standards] (math_errhandling): Specify type.
22000 [ISO99 || ISO11] (signgam): Do not allow.
22001 [non-C99-based standards] (copysignf): Do not allow.
22002 [non-C99-based standards] (exp2f): Likewise.
22003 [non-C99-based standards] (log2f): Likewise.
22004 [non-C99-based standards] (modff): Allow.
22005 [non-C99-based standards] (erff): Do not allow.
22006 [non-C99-based standards] (erfcf): Likewise.
22007 [non-C99-based standards] (gammaf): Likewise.
22008 [non-C99-based standards] (hypotf): Likewise.
22009 [non-C99-based standards] (j0f): Likewise.
22010 [non-C99-based standards] (j1f): Likewise.
22011 [non-C99-based standards] (jnf): Likewise.
22012 [non-C99-based standards] (lgammaf): Likewise.
22013 [non-C99-based standards] (tgammaf): Likewise.
22014 [non-C99-based standards] (y0f): Likewise.
22015 [non-C99-based standards] (y1f): Likewise.
22016 [non-C99-based standards] (ynf): Likewise.
22017 [non-C99-based standards] (isnanf): Likewise.
22018 [non-C99-based standards] (acoshf): Likewise.
22019 [non-C99-based standards] (asinhf): Likewise.
22020 [non-C99-based standards] (atanhf): Likewise.
22021 [non-C99-based standards] (cbrtf): Likewise.
22022 [non-C99-based standards] (expm1f): Likewise.
22023 [non-C99-based standards] (ilogbf): Likewise.
22024 [non-C99-based standards] (log1pf): Likewise.
22025 [non-C99-based standards] (logbf): Likewise.
22026 [non-C99-based standards] (nextafterf): Likewise.
22027 [non-C99-based standards] (remainderf): Likewise.
22028 [non-C99-based standards] (rintf): Likewise.
22029 [non-C99-based standards] (scalbf): Likewise.
22030 [non-C99-based standards] (copysignl): Likewise.
22031 [non-C99-based standards] (exp2l): Likewise.
22032 [non-C99-based standards] (log2l): Likewise.
22033 [non-C99-based standards] (modfl): Allow.
22034 [non-C99-based standards] (erfl): Do not allow.
22035 [non-C99-based standards] (erfcl): Likewise.
22036 [non-C99-based standards] (gammal): Likewise.
22037 [non-C99-based standards] (hypotl): Likewise.
22038 [non-C99-based standards] (j0l): Likewise.
22039 [non-C99-based standards] (j1l): Likewise.
22040 [non-C99-based standards] (jnl): Likewise.
22041 [non-C99-based standards] (lgammal): Likewise.
22042 [non-C99-based standards] (tgammal): Likewise.
22043 [non-C99-based standards] (y0l): Likewise.
22044 [non-C99-based standards] (y1l): Likewise.
22045 [non-C99-based standards] (ynl): Likewise.
22046 [non-C99-based standards] (isnanl): Likewise.
22047 [non-C99-based standards] (acoshl): Likewise.
22048 [non-C99-based standards] (asinhl): Likewise.
22049 [non-C99-based standards] (atanhl): Likewise.
22050 [non-C99-based standards] (cbrtl): Likewise.
22051 [non-C99-based standards] (expm1l): Likewise.
22052 [non-C99-based standards] (ilogbl): Likewise.
22053 [non-C99-based standards] (log1pl): Likewise.
22054 [non-C99-based standards] (logbl): Likewise.
22055 [non-C99-based standards] (nextafterl): Likewise.
22056 [non-C99-based standards] (remainderl): Likewise.
22057 [non-C99-based standards] (rintl): Likewise.
22058 [non-C99-based standards] (scalbl): Likewise.
22059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22060 [non-C99-based standards] (FP_*): Do not allow.
22061 [C99-based standards] (FP_*): Change to
22062 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22063 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22065 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22066 (SIG_ERR): Likewise.
22067 [X/Open-based standards] (SIG_HOLD): Likewise.
22068 (SIG_IGN): Likewise.
22069 (SIGABRT): Use macro-int-constant. Specify type. Require
22071 (SIGFPE): Likewise.
22072 (SIGILL): Likewise.
22073 (SIGINT): Likewise.
22074 (SIGSEGV): Likewise.
22075 (SIGTER): Likewise.
22076 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22077 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22078 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22079 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22080 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22081 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22082 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22083 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22084 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22085 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22086 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22087 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22088 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22089 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22090 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22091 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22092 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22093 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22094 [X/Open-based standards] (SIGTRAP): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22099 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22102 2012-05-08 Ian Wienand <ianw@vmware.com>
22105 * time/tzset.c (__tzset_parse_tz): Update default rules for
22106 daylight time changes in the Energy Policy Act of 2005.
22108 2012-05-09 Andreas Jaeger <aj@suse.de>
22111 * elf/ldconfig.c (parse_conf): Change string to make clear that
22112 ldconfig only issued a warning if ld.so.conf does not exist.
22114 2012-05-08 David S. Miller <davem@davemloft.net>
22116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22117 movxtod instead of popping the value on the stack.
22119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22121 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22123 * config.h.in: Add HAVE_ARM_PCS_VFP.
22125 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22128 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22129 checking but the checks are disabled for any reason.
22131 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22133 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22134 and ELF64_R_TYPE with ELFW(R_TYPE).
22136 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22138 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22139 (ulimit): Likewise.
22141 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22142 (settimeofday): Likewise.
22144 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22146 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22147 a struct th_u2 inside the union, and move tu_block/tu_code into
22148 a new th_u3 union of tu_block/tu_code inside of that. Move
22149 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22150 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22151 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22152 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22153 (th_stuff): Change to th_u1.tu_stuff.
22155 (th_msg): Change to th_u1.th_u2.tu_data.
22157 2012-05-07 David S. Miller <davem@davemloft.net>
22159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22162 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22163 (SETUP_PIC_REG): Use it.
22164 (SETUP_PIC_REG_LEAF): Use it.
22166 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22170 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22172 (EXPL_FINITE): Likewise.
22173 (FLDLOG): Likewise.
22174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22175 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22177 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22179 (EXPL_FINITE): Likewise.
22180 (FLDLOG): Likewise.
22181 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22182 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22184 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22185 test of -max_value argument for long double.
22186 * sysdeps/i386/fpu/libm-test-ulps: Update.
22187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22189 2012-05-06 David S. Miller <davem@davemloft.net>
22191 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22192 quad soft-float symbols whose references which are compiler
22194 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22196 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22200 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22202 (EXPL_FINITE): Likewise.
22203 (FLDLOG): Likewise.
22206 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22207 Adjust comments for base varying.
22208 (__expl_finite): Change alias to EXPL_FINITE.
22209 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22211 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22212 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22214 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22215 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22217 (EXPL_FINITE): Likewise.
22218 (FLDLOG): Likewise.
22221 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22222 Adjust comments for base varying.
22223 (__expl_finite): Change alias to EXPL_FINITE.
22224 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22229 * math/libm-test.inc (check_float_internal): Correct ulp
22230 calculation for subnormal expected results.
22232 2012-05-06 Andreas Jaeger <aj@suse.de>
22234 * Makeconfig (+math-flags): New, set to -frounding-math.
22235 (+cflags): Add +math-flags so that all of glibc gets compiled with
22238 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22240 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22242 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22248 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22249 (__ieee754_expl): Allow for and saturate large arguments.
22250 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22251 (u_threshold): Likewise.
22252 (__exp): Call __ieee754_exp before checking for overflow and
22254 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22255 (u_threshold): Likewise.
22256 (__expf): Call __ieee754_expf before checking for overflow and
22258 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22259 (u_threshold): Likewise.
22260 (__expl): Call __ieee754_expl before checking for overflow and
22262 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22263 (__ieee754_expl): Allow for and saturate large arguments.
22264 * math/libm-test.inc (exp_test): Add another test. Do not allow
22265 missing overflow exception on overflow.
22266 (expm1_test): Do not allow missing overflow exception on overflow.
22268 * sysdeps/i386/fpu/e_expl.c: Move to ...
22269 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22270 rather than using inline asm.
22271 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22272 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22273 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22275 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22278 (signal): Likewise.
22282 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22284 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22285 sysdeps/unix/common/syscalls.list.
22286 (fchmod): Likewise.
22287 (fchown): Likewise.
22288 (ftruncate): Likewise.
22289 (getrusage): Likewise.
22290 (gettimeofday): Likewise.
22291 (setpgid): Likewise.
22292 (setregid): Likewise.
22293 (setreuid): Likewise.
22294 (sigaction): Likewise.
22295 (truncate): Likewise.
22296 (vhangup): Likewise.
22297 * sysdeps/unix/common/syscalls.list: Remove file.
22298 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22299 * sysdeps/unix/sysv/linux/Implies: Likewise.
22301 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22303 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22305 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22309 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22312 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22315 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22318 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22321 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22324 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22327 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22331 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22335 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22338 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22342 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22346 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22348 * sysdeps/unix/common/bits/dirent.h: Remove file.
22349 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22351 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22352 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22353 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22354 * sysdeps/unix/bsd/isatty.c: Likewise.
22355 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22356 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22357 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22359 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22362 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22363 long double comparison inaccuracies.
22364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22367 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22369 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22370 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22372 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22375 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22376 nonzero digits before rounding a hex value.
22377 * stdlib/tst-strtod.c (tests): Add another test.
22379 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22381 * sysdeps/s390/fpu/libm-test-ulps: Update.
22383 2012-05-03 Andreas Jaeger <aj@suse.de>
22385 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22386 does not get optimized out.
22387 (malloc_opt_barrier): New.
22389 2012-05-03 Andreas Jaeger <aj@suse.de>
22390 Roland McGrath <roland@hack.frob.com>
22392 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22393 intermediate file deletion.
22394 (generated): Add .symlist files.
22396 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22399 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22400 Redirect under this condition.
22401 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22402 [__USE_GNU] (__dprintf_chk): Not under this condition.
22403 [__USE_GNU] (__vdprintf_chk): Likewise.
22404 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22405 under this condition.
22406 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22407 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22408 [__USE_XOPEN2K8] (vdprintf): Likewise.
22409 [__USE_GNU] (__dprintf_chk): Not under this condition.
22410 [__USE_GNU] (__vdprintf_chk): Likewise.
22411 [__USE_GNU] (dprintf): Likewise.
22412 [__USE_GNU] (vdprintf): Likewise.
22414 2012-05-03 Roland McGrath <roland@hack.frob.com>
22416 * elf/Makefile (common-generated): Set this instead of generated for
22417 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22418 $(all-built-dso)-derived lists.
22420 2012-05-03 Andreas Jaeger <aj@suse.de>
22422 * sysdeps/i386/fpu/libm-test-ulps: Update.
22425 * FAQ.in: Likewise.
22426 * scripts/gen-FAQ.pl: Likewise.
22427 * manual/install.texi (Installation): Point to online location of
22429 * Makefile (files-for-dist): Remove FAQ.
22432 2012-05-02 Allan McRae <allan@archlinux.org>
22434 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22435 (LDFLAGS-reldepmod5.so): Likewise.
22436 (LDFLAGS-reldep6mod1.so): Likewise.
22437 (LDFLAGS-reldep6mod4.so): Likewise.
22438 (LDFLAGS-reldep8mod3.so): Likewise.
22439 (LDFLAGS-unload4mod1.so): Likewise.
22440 (LDFLAGS-unload4mod2.so): Likewise.
22441 (LDFLAGS-tst-initorder): Likewise.
22442 (LDFLAGS-tst-initordera2.so): Likewise.
22443 (LDFLAGS-tst-initordera3.so): Likewise.
22444 (LDFLAGS-tst-initordera4.so): Likewise.
22445 (LDFLAGS-tst-initorderb2.so): Likewise.
22446 (LDFLAGS-noload): Likewise.
22447 (LDFLAGS-next): Likewise.
22448 (LDFLAGS-order2mod1.so): Likewise.
22449 (LDFLAGS-order2mod2.so): Likewise.
22450 (LDFLAGS-tst-initorder2): Likewise.
22451 (LDFLAGS-tst-initorder2a.so): Likewise.
22452 (LDFLAGS-tst-initorder2b.so): Likewise.
22453 (LDFLAGS-tst-initorder2c.so): Likewise.
22454 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22456 2012-05-02 David S. Miller <davem@davemloft.net>
22458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22460 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22463 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22465 2012-05-02 Andreas Jaeger <aj@suse.de>
22467 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22468 since we manipulate rounding mode.
22469 (CPPFLAGS-test-idouble.c): Likewise.
22470 (CPPFLAGS-test-ifloat.c): Likewise.
22471 (CFLAGS-test-ldouble.c): Likewise.
22472 (CFLAGS-test-double.c): Likewise.
22473 (CFLAGS-test-float.c): Likewise.
22474 (CFLAGS-test-misc.c): Likewise.
22475 (CFLAGS-test-test-fenv.c): Likewise.
22477 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22481 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22482 comparisons to determine direction to adjust input.
22484 2012-05-01 Roland McGrath <roland@hack.frob.com>
22486 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22487 output to the target.
22489 * scripts/localplt.awk: New file.
22490 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22491 (check-localplt-CFLAGS): Variable removed.
22492 ($(all-built-dso:=.jmprel)): New static pattern rule.
22493 (generated): Add those targets.
22494 (localplt-built-dso): New variable.
22495 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22497 * elf/check-localplt.c: File removed.
22499 * scripts/check-execstack.awk: New file.
22500 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22501 (check-execstack-CFLAGS): Variable removed.
22502 ($(objpfx)check-execstack.h): Target removed.
22503 ($(objpfx)execstack-default): New target.
22504 (generated): Add that instead of check-execstack.h.
22505 ($(all-built-dso:=.phdr)): New static pattern rule.
22506 (generated): Add those targets.
22507 * elf/check-execstack.c: File removed.
22509 * scripts/check-textrel.awk: New file.
22510 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22511 (check-textrel-CFLAGS): Variable removed.
22512 (all-built-dso): Use := to define.o
22513 ($(all-built-dso:=.dyn)): New static pattern rule.
22514 (generated): Add those targets.
22515 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22516 * config.make.in (READELF): New substituted variable.
22517 * elf/check-textrel.c: File removed.
22519 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22521 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22523 * conform/data/ctype.h-data [C99-based standards] (isblank):
22525 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22526 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22528 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22529 Specify type. Require positive value.
22530 (EILSEQ): Likewise.
22531 (ERANGE): Likewise.
22532 [ISO || POSIX] (EILSEQ): Do not expect.
22533 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22534 Specify type. Require positive value.
22535 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22548 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22550 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22551 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22557 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22558 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22559 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22560 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22561 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22567 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22578 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22579 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22580 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22581 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22582 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22583 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22584 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22585 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22586 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22587 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22588 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22589 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22590 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22591 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22592 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22593 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22594 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22595 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22596 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22597 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22598 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22599 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22600 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22601 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22602 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22603 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22604 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22605 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22606 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22607 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22608 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22609 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22610 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22611 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22613 (FLT_ROUNDS): Expect as macro, not constant.
22614 (FLT_MANT_DIG): Use macro-int-constant.
22615 (DBL_MANT_DIG): Likewise.
22616 (LDBL_MANT_DIG): Likewise.
22617 (FLT_DIG): Likewise.
22618 (DBL_DIG): Likewise.
22619 (LDBL_DIG): Likewise.
22620 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22621 (DBL_MIN_EXP): Likewise.
22622 (LDBL_MIN_EXP): Likewise.
22623 (FLT_MAX_EXP): Use macro-int-constant.
22624 (DBL_MAX_EXP): Likewise.
22625 (LDBL_MAX_EXP): Likewise.
22626 (FLT_MAX_10_EXP): Likewise.
22627 (DBL_MAX_10_EXP): Likewise.
22628 (LDBL_MAX_10_EXP): Likewise.
22629 (FLT_MAX): Use macro-constant.
22630 (DBL_MAX): Likewise.
22631 (LDBL_MAX): Likewise.
22632 (FLT_EPSILON): Use macro-constant. Give upper bound.
22633 (DBL_EPSILON): Likewise.
22634 (LDBL_EPSILON): Likewise.
22635 (FLT_MIN): Likewise.
22636 (DBL_MIN): Likewise.
22637 (LDBL_MIN): Likewise.
22638 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22639 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22640 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22641 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22642 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22643 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22644 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22645 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22646 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22647 [ISO11] (FLT_TRUE_MIN): Likewise.
22648 [ISO11] (LDBL_TRUE_MIN): Likewise.
22649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22650 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22651 (SCHAR_MIN): Use macro-int-constant. Specify type.
22652 (SCHAR_MAX): Likewise.
22653 (UCHAR_MAX): Likewise.
22654 (CHAR_MIN): Likewise.
22655 (CHAR_MAX): Likewise.
22656 (MB_LEN_MAX): Use macro-int-constant.
22657 (SHRT_MIN): Use macro-int-constant. Specify type.
22658 (SHRT_MAX): Likewise.
22659 (USHRT_MAX): Likewise.
22660 (INT_MAX): Likewise.
22661 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22663 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22665 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22667 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22668 bound negative. Suffix upper bound with "L".
22669 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22671 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22673 [C99-based standards] (LLONG_MAX): Likewise.
22674 [C99-based standards] (ULLONG_MAX): Likewise.
22675 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22677 [ISO11] (max_align_t): Require type.
22678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22680 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22681 from $CFLAGS, without defining away __attribute__ calls.
22682 (checknamespace): Use $CFLAGS_namespace.
22684 * conform/conformtest.pl (@keywords): Only include C99 keywords
22685 for standards based on C99 or C11.
22687 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22689 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22692 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22693 usability of symbols in #if.
22695 * conform/conformtest.pl: If macro or constant types start
22696 "promoted:", expect the symbol to be of the following type
22697 promoted by the integer promotions.
22699 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22700 in one place. Also handle "macro-constant".
22702 * conform/conformtest.pl: Only accept expected macro values with
22703 "==". Parse all "macro" lines in one place.
22704 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22706 * conform/conformtest.pl: Handle braced types on "constant" lines
22707 instead of handling "typed-constant".
22708 * conform/data/signal.h-data: Use "constant" instead of
22711 * conform/conformtest.pl: Handle "optional-" at start of lines in
22712 one place rather than duplicating several cases. Handle each
22713 format of "macro" line with initial "optional-".
22715 * conform/conformtest.pl: Only accept expected constant or
22716 optional-constant values with "==". Parse all "constant" lines in
22717 one place. Parse all "optional-constant" lines in one place.
22718 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22719 * conform/data/fmtmsg.h-data: Likewise.
22720 * conform/data/netinet/in.h-data: Likewise.
22721 * conform/data/tar.h-data: Likewise.
22722 * conform/data/limits.h-data: Use "==" form on "constant" and
22723 "optional-constant" lines.
22725 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22726 Use -std=c99 for XOPEN2K.
22727 (@knownproblems): Remove.
22728 (newtoken): Don't check %isknown.
22730 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22731 Do not expect macro.
22732 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22734 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22735 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22736 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22737 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22738 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22739 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22740 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22741 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22742 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22743 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22744 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22745 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22746 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22751 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22752 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22753 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22754 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22755 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22756 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22757 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22758 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22759 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22760 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22761 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22762 [XPG3] (acosh): Likewise.
22763 [XPG3] (asinh): Likewise.
22764 [XPG3] (atanh): Likewise.
22765 [XPG3] (cbrt): Likewise.
22766 [XPG3] (expm1): Likewise.
22767 [XPG3] (ilogb): Likewise.
22768 [XPG3] (log1p): Likewise.
22769 [XPG3] (logb): Likewise.
22770 [XPG3] (nextafter): Likewise.
22771 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22772 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22773 [XPG3] (remainder): Likewise.
22774 [XPG3] (rint): Likewise.
22775 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22776 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22777 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22778 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22779 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22780 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22781 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22782 [UNIX98 || XOPEN2K] (scalb): Expect.
22783 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22784 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22785 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22787 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22788 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22789 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22790 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22791 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22792 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22793 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22794 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22795 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22796 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22797 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22798 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22800 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22801 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22802 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22803 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22804 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22805 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22806 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22809 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22810 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22811 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22812 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22813 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22814 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22815 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22816 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22817 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22818 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22819 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22820 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22821 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22822 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22823 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22824 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22825 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22826 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22827 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22828 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22829 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22830 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22831 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22832 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22833 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22834 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22835 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22836 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22837 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22838 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22839 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22840 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22841 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22842 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22843 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22844 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22845 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22846 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22848 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22849 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22850 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22851 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22852 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22853 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22854 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22855 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22857 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22858 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22859 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22860 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22861 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22862 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22863 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22864 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22865 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22866 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22867 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22868 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22869 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22870 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22871 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22872 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22873 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22874 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22875 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22876 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22877 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22878 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22879 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22880 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22881 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22882 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22883 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22884 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22885 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22886 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22887 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22888 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22889 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22890 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22891 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22892 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22893 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22894 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22895 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22896 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22897 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22898 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22899 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22900 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22901 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22902 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22903 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22904 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22905 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22906 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22907 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22908 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22909 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22910 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22911 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22912 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22913 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22914 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22915 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22916 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22917 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22918 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22919 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22921 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22922 _XOPEN_SOURCE_EXTENDED for XPG4.
22924 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22926 * Makeconfig (localtime): Remove variable.
22927 (inst_localtime-file): Likewise.
22929 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22950 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22954 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22955 comparisons to determine direction to adjust input.
22956 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22957 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22960 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22962 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22967 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22969 * math/libm-test.inc (nexttoward_test): Add more tests.
22971 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22975 in version GLIBC_2.1, not GLIBC_2.0.
22976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22979 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22982 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22984 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22985 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22986 * math/libm-test.inc (acos_test): Add more tests.
22987 (asin_test): Likewise.
22988 * sysdeps/i386/fpu/libm-test-ulps: Update.
22989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22992 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22994 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22996 * math/libm-test.inc (acos_test_tonearest): New function.
22997 (acos_test_towardzero): Likewise.
22998 (acos_test_downward): Likewise.
22999 (acos_test_upward): Likewise.
23000 (asin_test_tonearest): Likewise.
23001 (asin_test_towardzero): Likewise.
23002 (asin_test_downward): Likewise.
23003 (asin_test_upward): Likewise.
23004 (main): Call the new functions.
23005 * sysdeps/i386/fpu/libm-test-ulps: Update.
23006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23010 * math/e_exp10.c: Include <float.h>.
23011 (__ieee754_exp10): Handle underflow here rather than multiplying
23012 large negative argument by M_LN10.
23013 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23015 * math/e_exp10l.c: Include <float.h>.
23016 (__ieee754_exp10l): Handle underflow here rather than multiplying
23017 large negative argument by M_LN10l.
23018 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23019 spurious overflow exception on underflow.
23021 2012-04-29 Marek Polacek <polacek@redhat.com>
23023 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23024 (__fortify_function): New macro.
23025 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23026 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23027 __extern_always_inline.
23028 * libio/bits/stdio2.h: Likewise.
23029 * libio/bits/stdio.h: Likewise.
23030 * string/string.h: Likewise.
23031 * string/bits/string3.h: Likewise.
23032 * include/stdio.h: Likewise.
23033 * stdlib/bits/stdlib.h: Likewise.
23034 * stdlib/stdlib.h: Likewise.
23035 * rt/bits/mqueue2.h: Likewise.
23036 * rt/mqueue.h: Likewise.
23037 * posix/bits/unistd.h: Likewise.
23038 * posix/unistd.h: Likewise.
23039 * io/bits/poll2.h: Likewise.
23040 * io/bits/fcntl2.h: Likewise.
23041 * io/fcntl.h: Likewise.
23042 * io/sys/poll.h: Likewise.
23043 * misc/bits/syslog.h: Likewise.
23044 * misc/bits/syslog-ldbl.h: Likewise.
23045 * misc/sys/syslog.h: Likewise.
23046 * socket/bits/socket2.h: Likewise.
23047 * socket/sys/socket.h: Likewise.
23048 * debug/tst-chk1.c: Likewise.
23049 * wcsmbs/bits/wchar2.h: Likewise.
23050 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23051 * wcsmbs/wchar.h: Likewise.
23053 2012-04-29 Andreas Jaeger <aj@suse.de>
23055 * Makerules (tests): Remove enable-check-abi protection.
23056 (check-abi-warn): Remove.
23057 (check-abi-%): Remove check-abi-warn usage.
23059 * configure.in: Remove check-abi configure option.
23060 * configure: Regenerated.
23061 * config.make.in (enable-check-abi): Remove.
23063 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23066 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23067 double functions to double *_finite functions.
23070 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23071 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23073 * stdio-common/Makefile (tests): Add tst-sprintf3.
23074 * stdio-common/tst-sprintf3.c: New file.
23076 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23077 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23079 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23081 * conform/conformtest.pl: Remove duplicate typed-constant
23084 2012-04-28 David S. Miller <davem@davemloft.net>
23086 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23087 (check-abi-%): Remove AWK script prerequisite and explicit
23089 (check-abi): Rewrite to just diff the symlist with the abilist.
23090 (config-tls, config-abi-config): Delete, no longer used.
23091 (update-abi-%): Remove AWK script and explicit abilist directory.
23092 (update-abi): Rewrite to simply compare and conditionally copy the
23093 symlist and the sysdep abilist file. Remove update-abi-config
23095 * abilist/ld.abilist: Remove.
23096 * abilist/libBrokenLocale.abilist: Remove.
23097 * abilist/libanl.abilist: Remove.
23098 * abilist/libcrypt.abilist: Remove.
23099 * abilist/libdl.abilist: Remove.
23100 * abilist/librt.abilist: Remove.
23101 * abilist/libthread_db.abilist: Remove.
23102 * abilist/libutil.abilist: Remove.
23103 * scripts/extract-abilist.awk: Remove.
23104 * scripts/merge-abilist.awk: Remove.
23105 * sysdeps/generic/libcidn.abilist: New file.
23106 * sysdeps/generic/libnss_compat.abilist: New file.
23107 * sysdeps/generic/libnss_db.abilist: New file.
23108 * sysdeps/generic/libnss_dns.abilist: New file.
23109 * sysdeps/generic/libnss_files.abilist: New file.
23110 * sysdeps/generic/libnss_hesiod.abilist: New file.
23111 * sysdeps/generic/libnss_nis.abilist: New file.
23112 * sysdeps/generic/libnss_nisplus.abilist: New file.
23113 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23114 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23115 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23117 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23118 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23119 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23120 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23121 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23122 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23123 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23124 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23125 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23127 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23128 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23129 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23130 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23132 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23134 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23135 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23136 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23137 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23139 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23140 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23141 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23143 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23246 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23247 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23248 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23250 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23251 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23252 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23253 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23254 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23255 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23256 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23257 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23258 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23259 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23311 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23313 * conform/conformtest.pl: Fix typo in handling typed-constant from
23316 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23318 * README: Cut down references to pre-2.6 Linux kernels and
23319 Linuxthreads. Update lists of configurations in libc and ports
23320 and sort alphabetically. Say "or newer" with Linux kernel version
23323 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23325 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23328 * math/libm-test.inc (logb_test_downward): New test to expose
23329 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23332 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23335 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23337 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23338 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23340 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23342 * sysdeps/unix/i386/brk.S: Remove file.
23343 * sysdeps/unix/i386/dl-brk.S: Likewise.
23344 * sysdeps/unix/i386/pipe.S: Likewise.
23345 * sysdeps/unix/i386/sigreturn.S: Likewise.
23346 * sysdeps/unix/i386/syscall.S: Likewise.
23347 * sysdeps/unix/i386/vfork.S: Likewise.
23348 * sysdeps/unix/i386/wait.S: Likewise.
23350 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23351 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23353 * configure.in (arm*-none*): Do not allow without
23354 --enable-hacker-mode.
23355 (netbsd*): Remove case setting base_os.
23356 (386bsd*): Likewise.
23357 (freebsd*): Likewise.
23360 (sunos*): Likewise.
23361 (ultrix*): Likewise.
23362 (newsos*): Likewise.
23363 (dynix*): Likewise.
23369 (minix*): Likewise.
23370 (irix4*): Likewise.
23371 (irix6*): Likewise.
23372 (solaris[2-9]*): Likewise.
23374 * configure: Regenerated.
23376 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23379 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23380 overflow or cancellation in calculating denominator.
23381 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23383 down expression to avoid unexpected rounding in newer GCCs.
23384 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23386 2012-04-26 David S. Miller <davem@davemloft.net>
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23389 long-double compat symbols.
23390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23404 2012-04-25 David S. Miller <davem@davemloft.net>
23406 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23407 HWCAP_* values only after the memory barriers have been defined.
23408 (atomic_full_barrier): Define.
23409 (atomic_read_barrier): Define.
23410 (atomic_write_barrier): Define.
23412 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23414 * shlib-versions: Add libgcc_s version information.
23415 * sysdeps/generic/libgcc_s.h: Remove.
23416 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23418 * sysdeps/gnu/unwind-resume.c: Likewise.
23419 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23421 2012-04-25 David S. Miller <davem@davemloft.net>
23423 * sysdeps/unix/sparc/brk.S: Delete.
23424 * sysdeps/unix/sparc/dl-brk.S: Delete.
23425 * sysdeps/unix/sparc/pipe.S: Delete.
23426 * sysdeps/unix/sparc/sysdep.S: Delete.
23427 * sysdeps/unix/sparc/sysdep.h: Delete.
23428 * sysdeps/unix/sparc/vfork.S: Delete.
23429 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23430 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23432 ret_ERRVAL, r0, r1, MOVE): Define.
23433 (JUMPTARGET): Remove.
23434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23435 sysdeps/unix/sparc/sysdep.h
23436 (ENTRY, END): Remove.
23437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23439 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23441 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23442 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23445 * timezone/README: Update upstream location and email address for
23447 * timezone/zdump.c: Update from tzcode 2012b.
23448 * timezone/zic.c: Likewise.
23450 * configure.in (libc_cv_as_needed): Remove test.
23451 * configure: Regenerated.
23452 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23453 conditional definition.
23454 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23455 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23456 * config.make.in (have-as-needed): Remove variable.
23458 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23459 Paul Pluzhnikov <ppluzhnikov@google.com>
23461 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23464 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23466 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23467 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23468 * sysdeps/sh/strlen.S: Likewise.
23470 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23472 * sysdeps/unix/fork.S: Remove file.
23473 * sysdeps/unix/i386/fork.S: Likewise.
23474 * sysdeps/unix/sparc/fork.S: Likewise.
23476 * sysdeps/unix/system.c: Remove file.
23477 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23479 * sysdeps/unix/getegid.S: Remove file.
23480 * sysdeps/unix/geteuid.S: Likewise.
23482 2012-04-24 Roland McGrath <roland@hack.frob.com>
23484 * scripts/check-localplt.awk: New file.
23485 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23487 * scripts/data/localplt-generic.data: Add a comment.
23489 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23490 NODE when __dir_mkfile failed.
23491 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23492 Reported by Ludovic Courtès <ludo@gnu.org>.
23494 2012-04-24 Andreas Jaeger <aj@suse.de>
23496 * Makerules (common-clean): Also remove gen-as-const-headers
23499 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23501 * Makerules (native-compile): Do not change working directory for
23502 build. Use $(OUTPUT_OPTION) in command.
23503 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23505 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23508 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23509 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23510 * math/libm-test.inc (floor_test): Add more tests.
23511 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23513 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23515 * sysdeps/unix/getdents.c: Remove file.
23516 * sysdeps/unix/sysv/getdents.c: Likewise.
23517 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23519 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23520 sysdeps/unix/mman/syscalls.list.
23522 (mprotect): Likewise.
23524 (munmap): Likewise.
23525 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23526 * sysdeps/unix/mman/syscalls.list: Remove.
23527 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23529 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23530 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23531 * configure: Regenerated.
23532 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23533 $(libgcc_s_suffix).
23534 * config.make.in (libgcc_s_suffix): Remove variable.
23536 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23538 * sysdeps/unix/sysv/gethostname.c: Move to ...
23539 * sysdeps/posix/gethostname.c: ... here.
23541 * sysdeps/unix/execve.S: Remove file.
23543 * sysdeps/unix/_exit.S: Remove file.
23545 2012-04-23 Andreas Jaeger <aj@suse.de>
23548 * manual/Makefile: Remove make dist support, there's no
23549 need for a stand-alone documentation tar ball.
23550 (TEXI2DVI): Define always, it's not in Makeconfig.
23553 (edition): Removed.
23554 (glibc-doc-$(edition).tar): Removed
23558 (ETAGS): Remove, it's in Makeconfig.
23559 (move-if-change): Remove, it's in Makeconfig.
23561 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23564 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23565 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23566 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23567 (strtod_l, strtof_l, strtold_l): Remove __wur.
23568 It is not necessarily an error to ignore strtol's return value.
23569 One can reliably look at the stored endptr to decide whether
23570 the number had valid syntax.
23572 2012-04-21 Andreas Jaeger <aj@suse.de>
23575 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23577 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23579 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23580 * sysdeps/unix/sysv/Versions: Remove file.
23582 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23585 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23587 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23591 version from __vm86.
23593 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23595 * sysdeps/unix/common/lxstat.c: Remove file.
23596 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23598 * sysdeps/unix/sysv/Makefile: Remove file.
23600 * sysdeps/unix/sysv/direct.h: Remove file.
23602 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23603 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23604 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23605 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23606 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23607 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23608 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23610 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23612 * sysdeps/unix/xmknod.c: Remove file.
23613 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23615 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23617 * sysdeps/unix/sysv/i386/time.S: Remove file.
23619 * sysdeps/unix/fxstat.c: Remove file.
23620 * sysdeps/unix/xstat.c: Likewise.
23621 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23623 * sysdeps/unix/sysv/sigaction.c: Remove file.
23625 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23626 (sysdep_headers): Remove variable.
23627 [termio.h not in sysdep_headers] (generated): Likewise.
23628 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23629 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23630 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23631 * sysdeps/unix/sysv/tcflow.c: Likewise.
23632 * sysdeps/unix/sysv/tcflush.c: Likewise.
23633 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23634 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23635 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23636 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23637 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23639 * sysdeps/unix/siglist.c: Remove file.
23641 * sysdeps/unix/getppid.S: Remove file.
23643 * sysdeps/unix/mkdir.c: Remove file.
23644 * sysdeps/unix/rmdir.c: Likewise.
23646 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23648 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23650 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23651 errlist-compat value.
23653 2012-04-18 David S. Miller <davem@davemloft.net>
23655 * sysdeps/generic/memcopy.h (reg_char): Delete.
23656 * debug/strcat_chk.c: Use char, not reg_char.
23657 * debug/strcpy_chk.c: Likewise.
23658 * debug/strncat_chk.c: Likewise.
23659 * debug/strncpy_chk.c: Likewise.
23660 * string/memchr.c: Likewise.
23661 * string/memrchr.c: Likewise.
23662 * string/rawmemchr.c: Likewise.
23663 * string/strcat.c: Likewise.
23664 * string/strchr.c: Likewise.
23665 * string/strchrnul.c: Likewise.
23666 * string/strcmp.c: Likewise.
23667 * string/strcpy.c: Likewise.
23668 * string/strncat.c: Likewise.
23669 * string/strncmp.c: Likewise.
23670 * string/strncpy.c: Likewise.
23672 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23674 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23675 __builtin_memcopy is called when src and dest ranges are known to not
23678 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23680 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23681 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23682 fwd_align_merge macro call.
23683 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23684 bwd_align_merge macro call.
23685 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23687 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23689 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23690 bwd_align_merge macros.
23691 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23692 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23693 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23695 2012-04-18 David S. Miller <davem@davemloft.net>
23697 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23699 2012-04-18 Andreas Jaeger <aj@suse.de>
23702 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23703 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23704 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23707 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23708 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23710 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23711 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23712 Adjust for changed ldbl-128 files.
23714 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23715 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23716 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23718 2012-04-17 David S. Miller <davem@davemloft.net>
23720 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23722 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23724 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23725 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23726 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23727 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23728 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23729 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23731 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23734 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23735 * math/libm-test.inc: Add ilogb errno and exception tests.
23736 * math/w_ilogb.c: New file: ilogb wrapper.
23737 * math/w_ilogbf.c: New file: ilogbf wrapper.
23738 * math/w_ilogbl.c: New file: ilogbl wrapper.
23739 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23740 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23741 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23742 exception being thrown with 0.0 as argument.
23743 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23744 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23745 exception being thrown with 0.0 as argument.
23746 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23747 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23748 exception being thrown with 0.0 as argument.
23749 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23750 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23751 exception being thrown with 0.0 as argument.
23752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23753 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23754 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23755 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23756 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23757 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23758 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23759 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23760 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23762 2012-04-17 Petr Baudis <pasky@ucw.cz>
23764 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23767 2012-04-16 Marek Polacek <polacek@redhat.com>
23769 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23771 2012-04-16 Marek Polacek <polacek@redhat.com>
23773 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23774 operands of fdivp instruction.
23776 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23778 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23779 * elf/tst-auditmod3b.c: Likewise.
23780 * elf/tst-auditmod4b.c: Likewise.
23781 * elf/tst-auditmod5b.c: Likewise.
23782 * elf/tst-auditmod6b.c: Likewise.
23783 * elf/tst-auditmod6c.c: Likewise.
23784 * elf/tst-auditmod7b.c: Likewise.
23785 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23786 * sysdeps/x86_64/preconfigure.in: Likewise.
23787 * sysdeps/x86_64/preconfigure: Regenerated.
23789 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23791 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23794 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23797 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23799 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23802 * locale/iso-639.def: Fix gl language name. Spotted by
23805 2012-04-12 Roland McGrath <roland@hack.frob.com>
23808 * libio/libio.h (__io_write_fn): Update comment.
23810 2012-04-12 Petr Baudis <pasky@ucw.cz>
23813 * stdio.texi (Hook Functions): The user provided writer function
23814 is not allowed to return -1.
23816 2012-04-11 David S. Miller <davem@davemloft.net>
23818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23820 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23822 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23823 Add a leading slash to rtkaio.
23825 2012-04-11 Jim Meyering <meyering@redhat.com>
23828 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23829 It is not necessarily an error to ignore fwrite's return
23830 value. One can reliably use ferror to test for errors after
23833 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23835 * bits/types.h (__snseconds_t): New type.
23836 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23838 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23840 (__SNSECONDS_T_TYPE): Likewise.
23841 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23842 (__SNSECONDS_T_TYPE): Likewise.
23843 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23844 (__SNSECONDS_T_TYPE): Likewise.
23846 2012-04-10 Andreas Jaeger <aj@suse.de>
23849 * manual/time.texi (Processor Time): Return type of times is
23850 elapsed real time since an arbitrary point in the past.
23851 (CPU Time): Move CLK_TCK from here...
23852 (Processor Time): ...to here. Correct description.
23853 * manual/conf.texi (Constants for Sysconf): Correct description of
23856 2012-04-10 David S. Miller <davem@davemloft.net>
23859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23860 where the is a gap between DT_REL(A) and DT_JMPREL.
23862 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23864 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23865 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23866 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23868 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23870 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23871 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23872 (dl_main): Handle --inhibit-cache.
23873 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23875 * elf/dl-load.c (_dl_map_object): Use it.
23876 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23878 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23881 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23882 (__ieee754_powl): Saturate large exponents rather than testing for
23883 overflow of y*log2(x).
23884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23885 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23889 * math/s_ctan.c: Include <float.h>.
23890 (__ctan): Avoid internal overflow or cancellation in calculating
23892 * math/s_ctanf.c: Likewise.
23893 * math/s_ctanl.c: Likewise.
23894 * math/s_ctanh.c: Likewise.
23895 * math/s_ctanhf.c: Likewise.
23896 * math/s_ctanhl.c: Likewise.
23897 * math/libm-test.inc (ctan_test): Add more tests.
23898 (ctanh_test): Likewise.
23899 * sysdeps/i386/fpu/libm-test-ulps: Update.
23900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23902 2012-04-09 Andreas Jaeger <aj@suse.de>
23905 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23906 is an optional BSD extension.
23909 * manual/stdio.texi (Opening Streams): Document additional fopen
23912 2012-04-09 Roland McGrath <roland@hack.frob.com>
23914 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23915 %eax without telling the compiler.
23917 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23920 * manual/install.texi: Use sourceware.org.
23922 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23925 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23926 (__ieee754_pow): Generate overflow and underflow using huge*huge
23927 and tiny*tiny rather than just returning constant infinity or zero
23928 for large exponents.
23929 * math/libm-test.inc (pow_test): Require overflow exceptions for
23930 applicable cases of large exponents.
23933 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23934 (__ieee754_pow): Use iterative multiplication algorithm only for
23935 integer exponents with absolute value below 1024. Check for odd
23936 integer exponents when using algorithm for real exponents.
23937 * math/libm-test.inc (pow_test): Add more tests.
23938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23940 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23943 * math/libm-test.inc (exp_test): Do not allow overflow exception
23946 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23949 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23950 instead of __kernel_standard_f.
23952 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23954 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23955 * sysdeps/x86_64/memset_chk.S: Likewise.
23957 2012-04-08 Andreas Jaeger <aj@suse.de>
23960 * manual/startup.texi (Environment Access): Describe return value
23961 for putenv and setenv.
23964 * manual/filesys.texi (Directory Entries): Add description for
23968 * manual/filesys.texi (Directory Entries): Clarify that it's file
23969 system not operating system in the description of DT_UNKNOWN.
23972 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23974 2012-04-08 Stephen Compall <s11@member.fsf.org>
23977 * manual/llio.texi (Opening and Closing Files): Add cross
23978 reference to explain mode argument.
23980 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23982 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23983 * sysdeps/x86_64/memset_chk.S: Likewise.
23985 2012-04-07 David S. Miller <davem@davemloft.net>
23987 * elf/elf.h (R_SPARC_WDISP10): Define.
23988 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23991 R_SPARC_SIZE64 and R_SPARC_H34.
23993 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23995 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23996 conditions and remove no longer applicable assertion.
23998 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24000 * bits/byteswap.h: Include <features.h>.
24001 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24002 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24004 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24006 * bits/byteswap.h (__bswap_16): Removed.
24007 Include <bits/byteswap-16.h> to get __bswap_16.
24008 * sysdeps/i386/bits/byteswap.h: Likewise.
24009 * sysdeps/s390/bits/byteswap.h: Likewise.
24010 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24011 * bits/byteswap-16.h: New file.
24012 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24013 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24014 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24015 * string/Makefile (headers): Add bits/byteswap-16.h.
24017 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24020 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24022 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24023 * nss/tst-nss-static.c: New.
24025 2012-04-06 Robert Millan <rmh@gnu.org>
24028 * manual/llio.texi (File Position Primitive): lseek
24029 refers to WHENCE when it really means OFFSET.
24031 2012-04-06 Andreas Jaeger <aj@suse.de>
24033 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24034 strncmp declarations.
24036 * abilist/libc.abilist: Add __poll and __ppoll.
24038 2012-04-05 David S. Miller <davem@davemloft.net>
24040 * scripts/check-local-headers.sh: Accept a host triplet in the
24041 path matched by the exclude regexp.
24043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24045 * sysdeps/powerpc/powerpc32/dl-machine.h
24046 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24047 * sysdeps/s390/s390-32/dl-machine.h
24048 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24049 * sysdeps/sparc/sparc32/dl-machine.h
24050 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24051 * sysdeps/sparc/sparc64/dl-machine.h
24052 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24054 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24056 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24057 undefined symbol errors.
24059 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24062 2012-04-05 Michael Matz <matz@suse.de>
24065 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24067 2012-04-05 Andreas Jaeger <aj@suse.de>
24070 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24073 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24075 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24076 which ROUND is no valid rounding mode.
24078 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24080 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24082 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24084 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24086 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24087 an exception using FPU order intentionally.
24089 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24091 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24092 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24093 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24094 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24096 2012-04-05 Simon Josefsson <simon@josefsson.org>
24099 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24100 EINVAL when BUFLEN is too smal.
24102 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24105 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24106 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24108 2012-04-03 Andreas Jaeger <aj@suse.de>
24111 * manual/setjmp.texi (System V contexts): Fix sentence.
24114 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24115 New macro for this case.
24116 [!__GNUC__] (__bswap_64): New inline function for this case.
24117 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24118 * bits/byteswap.h: Likewise.
24119 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24120 ull, guard with __GLIBC_HAVE_LONG_LONG.
24122 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24123 __GLIBC_HAVE_LONG_LONG.
24125 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24126 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24128 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24131 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24132 inptr and inend, rather than using last_ch.
24134 2012-04-02 David S. Miller <davem@davemloft.net>
24136 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24137 * stdio-common/printf-parse.h (read_int): Change return type to
24138 'int', return -1 on INT_MAX overflow.
24139 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24140 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24141 overflows INT_MAX. Check for overflow of in-format-string precision
24142 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24143 SIZE_MAX not INT_MAX for integer overflow test.
24144 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24145 skip the construct in the format string but do not record anything.
24146 * stdio-common/bug22.c: Adjust to test both width/prevision
24147 INT_MAX overflow as well as total length INT_MAX overflow. Check
24148 explicitly for proper errno values.
24150 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24152 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24154 * string/test-strcmp.c [! WIDE]: Likewise.
24155 * time/tst-mktime2.c: Likewise for INT_MAX.
24156 * string/test-string.h: #include <sys/param.h> for MIN.
24158 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24159 * sysdeps/i386/init-first.c (init): Likewise.
24160 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24161 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24162 * sysdeps/sh/init-first.c (init): Likewise.
24164 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24166 * po/ru.po: Update from translation team.
24167 * po/vi.po: Likewise.
24169 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24171 * resolv/nss_dns/dns-host.c: Merge copyright years.
24173 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24176 Optimize memcpy with prefetch if
24177 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24178 src, dst pointers have unequal 16 byte alignments.
24180 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24183 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24184 from a CNAME entry and return the minimum ttl for the query.
24185 (gaih_getanswer_slice): Likewise.
24187 2012-03-30 Jeff Law <law@redhat.com>
24189 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24191 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24192 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24194 * resolv/nss_dns/dns-host.c: Update copyright year.
24196 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24198 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24199 requests to save a system call. Fix check that all bytes are sent.
24201 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24202 comments for sendmmsg.
24204 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24207 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24208 with only 1 character between 0x0041 and 0x01b0.
24209 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24210 * wcsmbs/tst-mbsnrtowcs.c: New file.
24212 2012-03-29 David S. Miller <davem@davemloft.net>
24214 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24215 small copies by hand.
24217 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24220 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24221 _nss_compat_initgroups_dyn): Fall back to malloc/free
24222 for large group memberships.
24224 2012-03-28 David S. Miller <davem@davemloft.net>
24226 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24227 that branches into memcpy.
24228 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24229 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24230 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24231 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24234 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24235 implementation too.
24236 * sysdeps/sparc/mempcpy.S: New file.
24238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24239 the IFUNC routine in the libc case.
24240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24242 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24243 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24244 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24245 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24246 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24247 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24248 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24249 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24251 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24252 loop to 256 bytes instead of 64 bytes and fix test signedness.
24254 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24255 * sysdeps/sparc/sparc32/Makefile: rather than here...
24256 * sysdeps/sparc/sparc64/Makefile: and here.
24258 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24260 * malloc/mallocbug.c: Avoid warnings about unused variables.
24262 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24265 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24266 in the right place. Discard and retry query if response is
24267 larger than input buffer size.
24269 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24275 x for large integer exponent.
24276 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24277 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24278 sign of result as needed afterwards.
24279 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24281 result for underflowing pow the same as for overflow.
24282 (__kernel_standard_l): Handle powl overflow and underflow here
24283 rather than calling __kernel_standard.
24284 * math/libm-test.inc (pow_test): Add more tests.
24299 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24300 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24301 (__kernel_standard_l): New function.
24302 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24304 * math/w_acosl.c (__acosl): Likewise.
24305 * math/w_asinl.c (__asinl): Likewise.
24306 * math/w_atan2l.c (__atan2l): Likewise.
24307 * math/w_atanhl.c (__atanhl): Likewise.
24308 * math/w_coshl.c (__coshl): Likewise.
24309 * math/w_exp10l.c (__exp10l): Likewise.
24310 * math/w_exp2l.c (__exp2l): Likewise.
24311 * math/w_fmodl.c (__fmodl): Likewise.
24312 * math/w_hypotl.c (__hypotl): Likewise.
24313 * math/w_j0l.c (__j0l, __y0l): Likewise.
24314 * math/w_j1l.c (__j1l, __y1l): Likewise.
24315 * math/w_jnl.c (__jnl, __ynl): Likewise.
24316 * math/w_lgammal.c (__lgammal): Likewise.
24317 * math/w_log10l.c (__log10l): Likewise.
24318 * math/w_log2l.c (__log2l): Likewise.
24319 * math/w_logl.c (__logl): Likewise.
24320 * math/w_powl.c (__powl): Likewise.
24321 * math/w_remainderl.c (__remainderl): Likewise.
24322 * math/w_scalbl.c (sysv_scalbl): Likewise.
24323 * math/w_sinhl.c (__sinhl): Likewise.
24324 * math/w_sqrtl.c (__sqrtl): Likewise.
24325 * math/w_tgammal.c (__tgammal): Likewise.
24326 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24327 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24328 * math/libm-test.inc (acos_test): Add more tests.
24329 (acosh_test): Likewise.
24330 (asin_test): Likewise.
24331 (atanh_test): Likewise.
24332 (exp_test): Likewise.
24333 (exp10_test): Likewise.
24334 (exp2_test): Likewise.
24335 (expm1_test): Likewise.
24336 (lgamma_test): Likewise.
24337 (log_test): Likewise.
24338 (log10_test): Likewise.
24339 (log1p_test): Likewise.
24340 (log2_test): Likewise.
24341 (pow_test): Do not allow some spurious overflow exceptions.
24342 (sqrt_test): Add more tests.
24343 (tgamma_test): Likewise.
24344 (y0_test): Likewise.
24345 (y1_test): Likewise.
24346 (yn_test): Likewise.
24348 2012-03-27 Anton Blanchard <anton@samba.org>
24350 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24352 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24353 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24354 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24356 2012-03-27 David S. Miller <davem@davemloft.net>
24358 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24360 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24361 have-as-vis3 check.
24363 2012-03-27 Andreas Jaeger <aj@suse.de>
24365 * sysdeps/x86_64/elf/configure.in: Moved to ...
24366 * sysdeps/x86_64/configure.in: ... here.
24367 * sysdeps/x86_64/elf/start.S: Moved to ...
24368 * sysdeps/x86_64/start.S: ... here.
24369 * sysdeps/x86_64/elf/configure: Delete.
24371 * sysdeps/x86_64/configure.in: Merge contents from
24372 sysdeps/i386/configure.in (without i686 check).
24374 * sysdeps/i386/elf/Versions: Merge into ...
24375 * sysdeps/i386/Versions: ... this.
24376 * sysdeps/i386/elf/Versions: Delete file.
24377 * sysdeps/i386/elf/start.S: Moved to ...
24378 * sysdeps/i386/start.S: ...here.
24379 * sysdeps/i386/elf/configure.in: Merge into...
24380 * sysdeps/i386/configure.in: ...here.
24381 * sysdeps/i386/elf/configure.in: Delete file.
24382 * sysdeps/i386/elf/configure: Delete file.
24384 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24385 * debug/backtracesyms.c: ... here.
24386 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24387 * debug/backtracesymsfd.c: ... here.
24388 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24389 * sysdeps/generic/ifunc-sel.h: ... here.
24391 * sysdeps/unix/i386/start.c: Delete file.
24392 * sysdeps/unix/sparc/start.c: Delete file.
24393 * sysdeps/unix/start.c: Delete file.
24395 * sysdeps/sh/elf/configure.in: Moved to ...
24396 * sysdeps/sh/configure.in: ... here.
24397 * sysdeps/sh/elf/start.S: Moved to ...
24398 * sysdeps/sh/start.S: ... here.
24399 * sysdeps/sh/elf/configure: Delete file.
24401 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24402 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24403 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24404 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24405 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24406 * sysdeps/powerpc/powerpc64/start.S: here.
24407 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24408 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24409 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24410 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24411 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24413 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24414 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24415 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24416 * sysdeps/powerpc/powerpc32/start.S: ... here.
24417 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24418 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24419 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24421 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24422 * sysdeps/powerpc/ifunc-sel.h: ... here.
24423 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24424 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24426 * sysdeps/sparc/elf/configure.in: Moved to ...
24427 * sysdeps/sparc/configure.in: ... here.
24428 * sysdeps/sparc/elf/configure: Delete file.
24429 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24430 * sysdeps/sparc/sparc32/start.S: ... here.
24431 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24432 * sysdeps/sparc/sparc64/start.S: ... here.
24433 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24434 * sysdeps/sparc/sparc32/Makefile: ... this.
24435 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24436 * sysdeps/sparc/sparc64/Makefile: ... this.
24438 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24439 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24440 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24441 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24442 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24443 * sysdeps/s390/s390-32/setjmp.S: ... here.
24444 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24445 * sysdeps/s390/s390-32/configure.in: ... here.
24446 * sysdeps/s390/s390-32/elf/configure: Delete file.
24447 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24448 * sysdeps/s390/s390-32/start.S: ... here.
24450 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24451 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24452 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24453 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24454 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24455 * sysdeps/s390/s390-64/setjmp.S: ... here.
24456 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24457 * sysdeps/s390/s390-64/configure.in: ... here
24458 * sysdeps/s390/s390-64/elf/configure: Delete file.
24459 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24460 * sysdeps/s390/s390-64/start.S: ... here.
24461 * sysdeps/s390/s390-64/elf/configure: Delete.
24463 * configure.in: Remove support for elf directories in sysdeps.
24465 * configure: Regenerated.
24466 * sysdeps/i386/configure: Regenerated.
24467 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24468 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24469 * sysdeps/s390/s390-32/configure: Regenerated.
24470 * sysdeps/s390/s390-64/configure: Regenerated.
24471 * sysdeps/sh/configure: Regenerated.
24472 * sysdeps/sparc/configure: Regenerated.
24473 * sysdeps/x86_64/configure: Regenerated.
24475 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24479 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24480 denormal result into account.
24482 2012-03-25 Roland McGrath <roland@hack.frob.com>
24484 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24485 Reported by Allan McRae <allan@archlinux.org>.
24487 2012-03-23 Jeff Law <law@redhat.com>
24489 * nss/getnssent.c (__nss_getent): Fix typo.
24491 2012-03-23 David S. Miller <davem@davemloft.net>
24493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24495 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24497 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24498 to pad to uint64_t for each field.
24499 (dl_tls_index): Replace unsigned long with uint64_t.
24501 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24502 Paul Pluzhnikov <ppluzhnikov@google.com>
24505 * grp/Makefile (otherlibs): Don't set it.
24506 * inet/Makefile (otherlibs): Likewise.
24507 * login/Makefile (otherlibs): Likewise.
24508 * nscd/Makefile (otherlibs): Likewise.
24509 * posix/Makefile (otherlibs): Likewise.
24510 * pwd/Makefile (otherlibs): Likewise.
24511 * rt/Makefile (otherlibs): Likewise.
24512 * sunrpc/Makefile (otherlibs): Likewise.
24513 * nss/Makefile (otherlibs): Likewise.
24514 Add libnss_files to routines and static-only-routines.
24515 ($(objpfx)getent): Remove rule.
24516 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24517 static-only-routines.
24519 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24522 * math/s_cexp.c: Include <float.h>.
24523 (__cexp): Handle exp result overflowing not necessarily
24524 overflowing both real and imaginary parts of result.
24525 * math/s_cexpf.c: Likewise.
24526 * math/s_cexpl.c: Likewise.
24527 * math/libm-test.inc (cexp_test): Add more tests.
24528 * sysdeps/i386/fpu/libm-test-ulps: Update.
24529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24531 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24533 * include/link.h (ELFW): New macro.
24534 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24535 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24537 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24539 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24544 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24546 (struct La_x32_retval): Likewise.
24548 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24550 * sysdeps/x86_64/preconfigure.in: New file.
24551 * sysdeps/x86_64/preconfigure: New generated file.
24553 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24556 * math/e_exp2l.c: Include <float.h>.
24557 (__ieee754_exp2l): Handle overflow and underflow cases
24558 separately. Only pass fractional part of argument to
24560 * math/libm-test.inc (exp2_test): Add more tests.
24562 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24563 negating x to take absolute value.
24564 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24569 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24570 computing low part if x was negated.
24571 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24573 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24575 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24576 la_x32_gnu_pltexit.
24577 (pltexit): Cast int_retval to ptrdiff_t.
24578 * elf/tst-auditmod3b.c: Likewise.
24579 * elf/tst-auditmod4b.c: Likewise.
24580 * elf/tst-auditmod5b.c: Likewise.
24581 * elf/tst-auditmod6b.c: Likewise.
24582 * elf/tst-auditmod6c.c: Likewise.
24583 * elf/tst-auditmod7b.c: Likewise.
24585 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24586 and x32_gnu_pltexit.
24588 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24589 __ELF_NATIVE_CLASS.
24590 (La_x32_regs): New macro.
24591 (La_x32_retval): Likewise.
24592 (la_x32_gnu_pltenter): New function prototype.
24593 (la_x32_gnu_pltexit): Likewise.
24595 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24597 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24602 * configure.in (libc_cv_cc_nofma): Check for option to disable
24603 generation of FMA instructions.
24604 * configure: Regenerate.
24605 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24606 * sysdeps/ieee754/dbl-64/Makefile: New file.
24607 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24608 Remove brandred-fma4.
24609 (CFLAGS-brandred-fma4.c): Remove.
24610 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24611 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24613 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24616 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24618 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24619 LLONG_MAX != LONG_MAX.
24620 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24621 (_fitoa_word): Likewise.
24622 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24623 LLONG_MAX != LONG_MAX.
24624 * stdio-common/_itowa.h: Include <_itoa.h>.
24625 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24626 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24627 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24628 only if not defined.
24629 (_ITOA_WORD_TYPE): Likewise.
24630 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24631 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24633 2012-03-21 David S. Miller <davem@davemloft.net>
24635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24637 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24639 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24640 of x86_64 when setting libc_cv_slibdir, libdir and
24642 * sysdeps/unix/sysv/linux/configure: Regenerated.
24644 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24646 * manual/lang.texi (Old Varargs): Remove section.
24647 (How Variadic): Update menu.
24648 (va_start): Do not mention varargs.h.
24650 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24651 Joseph Myers <joseph@codesourcery.com>
24653 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24655 * configure: Regenerated.
24657 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24659 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24660 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24663 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24666 * Makefile (files-for-dist): Remove NOTES.
24667 (NOTES): Remove rule.
24668 * README: Don't refer to NOTES.
24669 * manual/creature.texi: Don't include macros.texi.
24670 * manual/intro.texi (creature.texi): Remove comment referring to
24673 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24674 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24675 * configure: Regenerated.
24676 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24677 LIBC_TRY_CC_OPTION.
24678 (libc_cv_as_i686): Likewise.
24679 (libc_cv_cc_avx): Likewise.
24680 (libc_cv_cc_sse2avx): Likewise.
24681 (libc_cv_cc_fma4): Likewise.
24682 (libc_cv_cc_novzeroupper): Likewise.
24683 * sysdeps/i386/configure: Regenerated.
24686 * sysdeps/i386/fpu/s_cexp.S: Remove.
24687 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24688 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24689 * math/libm-test.inc (cexp_test): Add more tests.
24690 * sysdeps/i386/fpu/libm-test-ulps: Update.
24691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24693 2012-03-21 Allan McRae <allan@archlinux.org>
24695 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24697 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24700 * math/w_exp2.c: Do not include <float.h>.
24701 (o_threshold, u_threshold): Remove.
24702 (__exp2): Calculate result before checking finiteness and calling
24704 * math/w_exp2f.c: Likewise.
24705 * math/w_exp2l.c: Likewise.
24706 * math/libm-test.inc (exp2_test): Require overflow exception for
24710 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24711 range of signed 64-bit integers before using fistpll. Remove
24712 checks for whether integers fit in mantissa bits.
24713 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24714 the range of signed 32-bit integers before using fistpl. Remove
24715 checks for whether integers fit in mantissa bits.
24716 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24717 (__ieee754_powl): Test for y outside the range of signed 64-bit
24718 integers before using fistpll. Reduce 64-bit values to 63-bit
24720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24721 divide-by-zero is raised for zero to large negative powers.
24722 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24723 (__ieee754_powl): Test for y outside the range of signed 64-bit
24724 integers before using fistpll. Reduce 64-bit values to 63-bit
24726 * math/libm-test.inc (pow_test): Add more tests.
24728 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24730 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24731 <stdio-common/_itoa.h>.
24732 * debug/segfault.c: Likewise.
24733 * elf/dl-cache.c: Likewise.
24734 * elf/dl-minimal.c: Likewise.
24735 * elf/dl-misc.c: Likewise.
24736 * elf/dl-sysdep.c: Likewise.
24737 * elf/dl-version.c: Likewise.
24738 * elf/rtld.c: Likewise.
24739 * hurd/hurdsock.c: Likewise.
24740 * hurd/lookup-retry.c: Likewise.
24741 * malloc/malloc.c: Likewise.
24742 * malloc/mtrace.c: Likewise.
24743 * nscd/nscd_getgr_r.c: Likewise.
24744 * nscd/nscd_getpw_r.c: Likewise.
24745 * nscd/nscd_getserv_r.c: Likewise.
24746 * posix/getopt_init.c: Likewise.
24747 * posix/wordexp.c: Likewise.
24748 * stdio-common/_itoa.c: Likewise.
24749 * stdio-common/printf_fphex.c: Likewise.
24750 * stdio-common/vfprintf.c: Likewise.
24751 * string/_strerror.c: Likewise.
24752 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24753 * sysdeps/i386/i686/hp-timing.h: Likewise.
24754 * sysdeps/mach/_strerror.c: Likewise.
24755 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24756 * sysdeps/mach/hurd/sethostid.c: Likewise.
24757 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24758 * sysdeps/mach/xpg-strerror.c: Likewise.
24759 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24761 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24762 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24763 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24764 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24765 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24766 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24767 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24768 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24769 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24770 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24771 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24772 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24773 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24774 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24775 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24776 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24777 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24778 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24779 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24781 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24783 * stdio-common/_itoa.h: Moved to ...
24784 * sysdeps/generic/_itoa.h: Here.
24786 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24788 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24789 instead of "_itoa.h" and "_itowa.h".
24790 * stdio-common/vfprintf.: Likewise.
24792 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24794 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24796 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24797 (__signbit): Likwise.
24798 (llrintf): Likwise.
24801 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24803 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24806 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24808 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24809 OVERFLOW_EXCEPTION_OK.
24810 * math/libm-test.inc ("Philosophy"): Update comment about
24812 (OVERFLOW_EXCEPTION): Define.
24813 (OVERFLOW_EXCEPTION_OK): Likewise.
24814 (INVALID_EXCEPTION_OK): Renumber.
24815 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24816 (IGNORE_ZERO_INF_SIGN): Likewise.
24817 (test_exceptions): Handle FE_OVERFLOW.
24818 (exp10_test): Expect overflow exceptions.
24819 (exp2_test): Likewise.
24820 (expm1_test): Likewise.
24821 (nextafter_test): Likewise.
24822 (pow_test): Likewise.
24823 (scalbn_test): Likewise.
24824 (scalbln_test): Likewise.
24826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24828 * sysdeps/x86_64/bits/atomic.h
24829 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24831 (atomic_exchange_acq): Likewise.
24832 (__arch_exchange_and_add_body): Likewise.
24833 (__arch_add_body): Likewise.
24834 (atomic_add_negative): Likewise.
24835 (atomic_add_zero): Likewise.
24837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24839 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24840 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24842 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24844 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24845 Check __x86_64__ instead of __WORDSIZE.
24847 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24849 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24851 2012-03-19 David S. Miller <davem@davemloft.net>
24853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24855 * sysdeps/sparc/fpu/fenv_private.h: New file.
24856 * sysdeps/sparc/fpu/math_private.h: Use it.
24857 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24859 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24860 (libc_feholdexcept_setroundl): Remove.
24861 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24863 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24864 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24866 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24868 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24869 int64_t instead of long int.
24870 (INSERT_WORDS64): Likwise.
24872 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24874 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24875 _Unwind_GetCFA return to _Unwind_Ptr first.
24877 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24880 * math/s_clog.c: Include <float.h>.
24881 (__clog): Scale large or subnormal inputs.
24882 * math/s_clogf.c: Likewise.
24883 * math/s_clogl.c: Likewise.
24884 * math/s_clog10.c: Include <float.h>.
24885 (M_LOG10_2): Define.
24886 (__clog10): Scale large or subnormal inputs.
24887 * math/s_clog10f.c: Likewise.
24888 * math/s_clog10l.c: Likewise.
24889 * math/libm-test.inc (clog_test): Add more tests.
24890 (clog10_test): Likewise.
24891 * sysdeps/i386/fpu/libm-test-ulps: Update.
24892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24895 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24897 * math/libm-test.inc (atan2_test): Add another test.
24899 * Makerules (common-objdir-compile): Remove.
24900 * sysdeps/unix/Makefile (config-generated): Do not add
24901 $(unix-generated) to variable.
24902 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24903 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24905 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24907 [generic bits/local_lim.h] (before-compile): Do not append to
24909 [generic bits/local_lim.h] (common-generated): Likewise.
24910 [generic sys/param.h] (before-compile): Do not append to variable.
24911 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24912 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24913 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24914 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24916 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24917 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24918 [generic sys/param.h] ($(addprefix
24919 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24920 [generic sys/param.h] (common-generated): Do not append to
24922 [generic sys/param.h] (sysdep_headers): Likewise.
24923 [generic bits/errno.h] (before-compile): Do not append to
24925 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24927 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24928 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24929 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24930 [generic bits/errno.h] (common-generated): Do not append to
24932 [generic bits/ioctls.h] (before-compile): Do not append to
24934 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24936 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24937 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24938 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24940 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24941 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24942 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24943 [generic bits/ioctls.h] (common-generated): Do not append to
24945 [generic sys/syscall.h] (syscall.h): Remove variable.
24946 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24948 [generic sys/syscall.h] (before-compile): Do not append to
24950 [generic sys/syscall.h] (common-generated): Likewise.
24951 * sysdeps/unix/errnos-tmpl.c: Remove file.
24952 * sysdeps/unix/errnos.awk: Likewise.
24953 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24954 * sysdeps/unix/ioctls.awk: Likewise.
24955 * sysdeps/unix/mk-local_lim.c: Likewise.
24956 * sysdeps/unix/snarf-ioctls: Likewise.
24958 2012-03-19 Richard Henderson <rth@twiddle.net>
24960 * sysdeps/i386/fpu/fenv_private.h: New file.
24961 * sysdeps/i386/fpu/math_private.h: Use it.
24962 (math_opt_barrier, math_force_eval): Remove.
24963 (libc_feholdexcept_setround_53bit): Remove.
24964 (libc_feupdateenv_53bit): Remove.
24965 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24966 (math_opt_barrier, math_force_eval): Remove.
24967 (libc_feholdexcept): Remove.
24968 (libc_feholdexcept_setround): Remove.
24969 (libc_fetestexcept, libc_fesetenv): Remove.
24970 (libc_feupdateenv_test): Remove.
24971 (libc_feupdateenv, libc_feholdsetround): Remove.
24972 (libc_feresetround): Remove.
24974 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24975 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24977 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24978 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24979 (libc_feupdateenv_testl): New.
24980 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24981 (libc_feupdateenv_testf): New.
24982 (libc_feupdateenv): Use libc_feupdateenv_test.
24983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24984 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24986 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24987 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24988 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24989 (libc_feresetround_noex): New.
24990 (libc_feresetround_noexf): New.
24991 (libc_feresetround_noexl): New.
24992 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24993 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24994 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24995 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25000 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25001 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25002 SET_RESTORE_ROUND_NOEX.
25003 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25004 SET_RESTORE_ROUND_NOEXF.
25005 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25006 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25007 (libc_feholdsetroundf): New.
25008 (libc_feresetround, libc_feresetroundf): New.
25010 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25011 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25012 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25014 * sysdeps/generic/math_private.h: Include <fenv.h>.
25015 (default_libc_feholdexcept): New.
25016 (default_libc_feholdexcept_setround): New.
25017 (default_libc_fesetenv, default_libc_feupdateenv): New.
25018 (libc_feholdexcept): Only define if undefined.
25019 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25020 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25021 (libc_feholdexcept_setroundl): Likewise.
25022 (libc_feholdexcept_setround_53bit): Likewise.
25023 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25024 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25025 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25026 (libc_feupdateenv_53bit): Likewise.
25027 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25028 (libc_feholdexcept): Convert from macro to inline function.
25029 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25030 (libc_fesetenv, libc_feupdateenv): Likewise.
25032 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25033 not previously defined.
25034 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25035 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25036 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25037 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25038 * sysdeps/ieee754/flt-32/math_private.h: New file.
25039 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25040 math_private.h below SET_FLOAT_WORD.
25041 (__isnan, __isinf_ns, __finite): Remove.
25042 (__isnanf, __isinf_nsf, __finitef): Remove.
25044 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25048 2012-03-17 David S. Miller <davem@davemloft.net>
25051 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25054 2012-03-16 David S. Miller <davem@davemloft.net>
25056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25060 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25062 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25063 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25064 sysdep_routines when subdir is sysvipc.
25065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25066 __getshmlba helper.
25068 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25070 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25072 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25077 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25078 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25079 (__lround): Renamed to ...
25080 (__llround): This. Replace long int with long long int.
25081 Define lround functions as aliases of llround functions.
25082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25084 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25086 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25087 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25088 adresses to uintptr_t. Replace "long int" and "unsigned long
25089 int" with "greg_t" on va_arg.
25091 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25093 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25094 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25096 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25097 Move e_machine check before EI_CLASS check. Handle x32
25098 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25099 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25100 SKIP_EM_IA_64 and include
25101 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25103 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25104 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25105 (add_system_dir): New macro.
25107 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25108 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25110 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25121 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25123 * math/w_j0f.c (j0f): Likewise.
25125 * math/w_j0l.c (__j0l): Likewise.
25127 * math/w_j1.c (j1): Likewise.
25129 * math/w_j1f.c (j1f): Likewise.
25131 * math/w_j1l.c (__j1l): Likewise.
25133 * math/w_jn.c (jn): Likewise.
25135 * math/w_jnf.c (jnf): Likewise.
25137 * math/w_jnl.c (__jnl): Likewise.
25139 * math/libm-test.inc (j0_test): Add more tests.
25140 (j1_test): Likewise.
25141 (jn_test): Likewise. Add trailing semicolon to existing test.
25142 (y0_test): Likewise.
25143 (y1_test): Likewise.
25144 * sysdeps/i386/fpu/libm-test-ulps: Update.
25145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25149 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25150 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25151 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25152 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25153 (__tanl): Set errno for infinite argument.
25154 * sysdeps/i386/fpu/mptan.c: Remove.
25155 * sysdeps/i386/fpu/s_tan.S: Likewise.
25156 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25157 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25158 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25159 * math/libm-test.inc (tan_test): Add more tests and enable more
25160 tests for double and long double.
25161 * sysdeps/i386/fpu/libm-test-ulps: Update.
25162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25164 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25166 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25167 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25169 2012-03-16 Roland McGrath <roland@hack.frob.com>
25171 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25172 * configure.in: Use it for both main tree and add-ons.
25173 * configure: Regenerated.
25175 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25177 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25179 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25181 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25185 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25186 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25191 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25193 != 0 for prec == 2.
25194 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25195 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25196 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25197 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25198 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25199 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25200 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25201 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25202 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25203 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25204 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25205 * math/libm-test.inc (cos_test): Add more tests and enable more
25206 tests for long double.
25207 (sin_test): Likewise.
25208 (sincos_test): Likewise.
25209 * sysdeps/i386/fpu/libm-test-ulps: Update.
25210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25212 2012-03-16 David S. Miller <davem@davemloft.net>
25214 * sysdeps/sparc/fpu/math_private.h: New file.
25216 2012-03-15 David S. Miller <davem@davemloft.net>
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25232 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25233 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25235 * sysdeps/sparc/sparc-ifunc.h: New file.
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25281 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25283 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25287 2012-03-15 Andreas Jaeger <aj@suse.de>
25290 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25291 ieee754/flt-32 implementation for sin, cos and sincos.
25292 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25293 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25294 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25295 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25296 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25297 ieee754/flt-32 implementation for tan.
25299 * math/libm-test.inc (cos_test): Enable some large input tests for
25301 (sin_test): Likewise.
25302 (sincos_test): Likewise.
25303 (tan_test): Add tests for large input.
25305 * sysdeps/i386/fpu/libm-test-ulps: Update.
25307 2012-03-15 Andreas Jaeger <aj@suse.de>
25310 * math/libm-test.inc (cos_test): Add more test cases.
25311 (sin_test): Likewise.
25312 (sincos_test): Likewise.
25314 2012-03-15 Andreas Jaeger <aj@suse.de>
25317 * math/libm-test.inc (cos_test): Add a test case for large input
25319 (sin_test): Likewise.
25320 (sincos_test): Likewise.
25322 2012-03-15 Andreas Jaeger <aj@suse.de>,
25323 Joseph Myers <joseph@codesourcery.com>
25326 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25327 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25328 * sysdeps/i386/fpu/branred.c: Likewise.
25329 * sysdeps/i386/fpu/dosincos.c: Likewise.
25330 * sysdeps/i386/fpu/mpa.c: Likewise.
25331 * sysdeps/i386/fpu/s_cos.S: Likewise.
25332 * sysdeps/i386/fpu/s_sin.S: Likewise.
25333 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25334 * sysdeps/i386/fpu/sincos32.c: Likewise.
25336 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25338 (libc_feupdateenv_53bit): Define.
25339 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25341 (libc_feupdateenv_53bit): Define.
25343 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25344 53 bit (without extend i386 double precision).
25346 * math/libm-test.inc (sincos_test): Add tests for large input.
25350 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25352 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25356 2012-03-15 David S. Miller <davem@davemloft.net>
25358 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25359 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25360 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25386 fmin/fmax sysdep routines.
25387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25389 2012-03-14 David S. Miller <davem@davemloft.net>
25391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25397 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25398 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25412 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25413 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25414 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25415 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25416 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25463 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25468 * sysdeps/sparc/configure.in: New file.
25469 * sysdeps/sparc/configure: Generate.
25470 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25471 * configure: Regenerate.
25472 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25473 * config.make.in (have-as-vis3): New.
25474 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25475 available use -Av9d instead of -Av9a.
25476 * sysdeps/sparc/sparc64/Makefile: Likewise.
25477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25487 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25488 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25489 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25492 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25493 fzeros/fnegs to load 0x80000000 into a float register instead of
25495 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25497 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25501 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25502 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25503 ($(inst_includedir)/bits/syscall.h): Remove rule.
25504 ($(objpfx)bits/syscall.d): Include instead of
25505 $(objpfx)syscall-list.d.
25506 (generated): Change syscall-list.h and syscall-list.d to
25507 bits/syscall.h and bits/syscall.d.
25509 2012-03-14 Roland McGrath <roland@hack.frob.com>
25512 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25514 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25517 * math/s_csqrt.c: Include <float.h>.
25518 (__csqrt): Scale large or subnormal inputs.
25519 * math/s_csqrtf.c: Likewise.
25520 * math/s_csqrtl.c: Likewise.
25521 * math/libm-test.inc (csqrt_test): Add more tests.
25522 * sysdeps/i386/fpu/libm-test-ulps: Update.
25523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25526 * math/libm-test.inc (hypot_test): Add more tests.
25528 2012-03-13 David S. Miller <davem@davemloft.net>
25531 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25532 double-precision for the calculation instead of scaling.
25534 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25536 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25537 manipulate bits before adding and subtracting TWO52[sx].
25538 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25543 2012-03-13 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25546 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25548 rtld-global-offsets.h
25549 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25551 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25554 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25556 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25557 'err' in the ifdef scope in which it is actually used.
25559 * nss/nss_db/db-init.c: Include string.h
25561 2012-03-12 David S. Miller <davem@davemloft.net>
25563 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25564 masking out of the most significant byte of random value used.
25565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25566 Fix coding style in previous change.
25568 * sysdeps/unix/sysv/linux/kernel-features.h
25569 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25570 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25572 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25575 2012-03-11 David S. Miller <davem@davemloft.net>
25577 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25578 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25579 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25580 for 'resultvar' otherwise things get truncated on 64-bit.
25582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25583 Fix masking out of the most significant byte of random value used.
25585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25587 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25591 2012-03-09 David S. Miller <davem@davemloft.net>
25593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25594 variables with appropriate CPP guards.
25595 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25596 frame pointer, not the stack pointer. Correct layout comments. Fix test
25597 on resulting framesize and the management of the outregs buffer for pltexit.
25598 Preserve floating point return values across _dl_call_pltexit call.
25599 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25600 framesize and the management of the outregs buffer for pltexit.
25601 Preserve floating point return values across _dl_call_pltexit
25603 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25604 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25605 (print_exit): Fix format string for return register value.
25607 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25609 * sunrpc/Makefile (others): Add rpcgen.
25610 ($(objpfx)rpcgen): Remove special build rule and dependency on
25612 * sunrpc/rpcgen.c: New file.
25614 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25617 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25618 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25619 * sysdeps/i386/crti.S: Likewise.
25620 * sysdeps/i386/crtn.S: Likewise.
25621 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25622 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25623 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25624 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25625 * sysdeps/sh/crti.S: Likewise.
25626 * sysdeps/sh/crtn.S: Likewise.
25627 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25630 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25632 * locale/programs/locfile-kw.gperf: Likewise.
25633 * locale/programs/charmap-kw.h: Regenerated.
25634 * locale/programs/locfile-kw.h: Likewise.
25637 * intl/plural.y: Replace FSF snail mail address with URL.
25638 * intl/plural.c: Regenerated.
25640 2012-03-09 Richard Henderson <rth@twiddle.net>
25642 * include/math_private.h: Remove file.
25643 * math/math_private.h: Move file ...
25644 * sysdeps/generic/math_private.h: ... here.
25646 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25647 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25648 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25650 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25651 and <math_private.h>.
25652 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25653 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25654 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25655 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25656 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25674 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25698 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25699 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25702 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25703 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25704 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25705 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25707 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25709 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25710 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25711 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25713 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25716 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25717 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25718 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25719 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25720 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25721 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25726 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25729 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25730 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25731 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25733 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25734 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25736 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25737 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25739 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25740 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25741 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25742 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25743 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25745 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25746 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25747 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25748 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25749 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25750 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25751 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25752 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25753 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25754 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25755 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25757 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25758 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25759 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25760 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25762 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25763 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25764 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25765 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25766 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25767 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25768 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25769 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25770 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25771 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25773 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25774 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25775 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25776 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25777 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25779 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25780 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25781 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25782 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25783 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25784 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25785 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25786 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25787 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25788 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25789 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25790 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25791 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25793 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25794 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25795 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25796 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25797 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25798 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25799 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25800 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25801 * sysdeps/ieee754/k_standard.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25833 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25834 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25835 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25836 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25837 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25840 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25841 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25842 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25843 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25844 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25845 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25846 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25921 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25934 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25940 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25950 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25951 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25962 * sysdeps/ieee754/s_lib_version.c: Likewise.
25963 * sysdeps/ieee754/s_matherr.c: Likewise.
25964 * sysdeps/ieee754/s_signgam.c: Likewise.
25965 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25966 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25967 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25968 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25969 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25970 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25971 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25972 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25973 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25974 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25975 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25976 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25977 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25978 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25979 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25980 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25981 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25982 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25985 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25987 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25989 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25990 * sunrpc/rpc_main.c: Likewise.
25991 * sunrpc/rpc_svcout.c: Likewise.
25993 2012-03-09 David S. Miller <davem@davemloft.net>
25995 * include/math_private.h: New file.
25997 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25999 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26000 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26001 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26002 from <bits/socket_type.h>.
26003 (enum __socket_type): Don't define here.
26004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26006 bits/socket_type.h.
26009 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26010 checking __USE_GNU.
26012 * Makerules ($(inst_includedir)/%.h): New rule.
26013 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26014 (install-others): Remove variable setting.
26015 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26017 2012-03-08 Richard Henderson <rth@twiddle.net>
26019 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26020 from macro to inline function; merge with the
26021 !__LIBC_INTERNAL_MATH_INLINES version.
26022 (__ieee754_sqrtf): Likewise.
26024 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26025 to inline function.
26026 (__rintf, __floor, __floorf): Likewise.
26028 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26029 macro to inline function.
26030 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26032 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26033 not <math/math_private.h>.
26035 2012-03-08 David S. Miller <davem@davemloft.net>
26037 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26039 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26041 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26043 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26045 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26046 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26048 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26050 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26051 be defined individually, they must be defined as a block. Define
26052 S for printing a string instead of hidint the different by using a
26053 macro for adding the 'l'.
26054 * stdio-common/tst-fphex-wide.c: Adjust.
26056 2012-03-07 Marek Polacek <polacek@redhat.com>
26058 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26060 2012-03-08 Marek Polacek <polacek@redhat.com>
26063 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26064 * stdio-common/tst-fphex.c: Define a few macros to make the
26065 test reusable. Use them.
26066 * stdio-common/tst-fphex-wide.c: New file.
26068 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26071 * manual/macros.texi (gnusystems): New macro.
26072 (nongnusystems): Likewise.
26073 (gnulinuxhurdsystems): Likewise.
26074 (gnuhurdsystems): Likewise..
26075 (gnulinuxsystems): Likewise.
26076 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26077 variants of the GNU system, not "GNU system".
26078 * manual/conf.texi: Likewise.
26079 * manual/errno.texi: Likewise. Update example of errno macro
26081 * manual/filesys.texi: Likewise.
26082 (getumask): Document as specific to GNU/Hurd.
26083 * manual/install.texi: Likewise. Reword some references to
26085 * manual/intro.texi: Likewise.
26086 * manual/io.texi: Likewise.
26087 (File Name Portability): Detail which constraints are inapplicable
26088 to all GNU systems and which are only inapplicable to GNU/Hurd.
26089 * manual/job.texi: Likewise.
26090 * manual/llio.texi: Likewise.
26091 (O_NOCTTY): Document as present on GNU/Linux.
26092 * manual/maint.texi: Likewise.
26093 * manual/memory.texi: Likewise.
26094 * manual/pattern.texi: Likewise.
26095 * manual/pipe.texi: Likewise.
26096 * manual/process.texi: Likewise.
26097 * manual/resource.texi: Likewise.
26098 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26100 * manual/setjmp.texi: Likewise.
26101 * manual/signal.texi: Likewise.
26102 * manual/startup.texi: Likewise.
26103 * manual/stdio.texi: Likewise.
26104 * manual/terminal.texi: Likewise.
26105 (ONLCR): Document as POSIX.
26106 (OXTABS): Document availability on GNU/Linux as XTABS.
26107 (ONOEOT): Document availability separately from other bits.
26108 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26109 * manual/time.texi: Likewise.
26110 * manual/users.texi: Likewise.
26111 * INSTALL: Regenerated.
26112 * sysdeps/gnu/errlist.c: Regenerated.
26114 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26115 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26116 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26118 * configure: Regenerated.
26120 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26122 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26123 default includes instead of AC_HEADER_CHECK.
26124 * sysdeps/i386/configure: Regenerated.
26127 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26128 * math/s_cacoshf.c (__cacoshf): Likewise.
26129 * math/s_cacoshl.c (__cacoshl): Likewise.
26130 * math/s_casinh.c (__casinh): Set signs of result from argument.
26131 * math/s_casinhf.c (__casinhf): Likewise.
26132 * math/s_casinhl.c (__casinhl): Likewise.
26133 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26134 (casinh_test): Add more tests.
26135 * sysdeps/i386/fpu/libm-test-ulps: Update.
26136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26140 * po/zh_TW.po: Update from translation team.
26142 * login/Makefile (distribute): Remove variable.
26143 * catgets/Makefile: Likewise.
26144 * mach/Makefile: Likewise.
26145 * malloc/Makefile: Likewise.
26146 * misc/Makefile: Likewise.
26147 * iconv/Makefile: Likewise.
26148 * nscd/Makefile: Likewise.
26149 * hurd/Makefile: Likewise.
26150 * manual/Makefile: Likewise.
26151 * locale/Makefile: Likewise.
26152 * intl/Makefile: Likewise.
26153 * conform/Makefile: Likewise.
26154 * nss/Makefile: Likewise.
26155 * time/Makefile: Likewise.
26156 * soft-fp/Makefile: Likewise.
26157 * dirent/Makefile: Likewise.
26158 * gmon/Makefile: Likewise.
26159 * po/Makefile: Likewise.
26160 * rt/Makefile: Likewise.
26161 * socket/Makefile: Likewise.
26162 * math/Makefile: Likewise.
26163 * signal/Makefile: Likewise.
26164 * debug/Makefile: Likewise.
26165 * elf/Makefile: Likewise.
26166 * timezone/Makefile: Likewise.
26167 * stdlib/Makefile: Likewise.
26168 * iconvdata/Makefile: Likewise.
26169 * sunrpc/Makefile: Likewise.
26170 * io/Makefile: Likewise.
26171 * argp/Makefile: Likewise.
26172 * inet/Makefile: Likewise.
26173 * hesiod/Makefile: Likewise.
26174 * grp/Makefile: Likewise.
26175 * csu/Makefile: Likewise.
26176 * wctype/Makefile: Likewise.
26177 * crypt/Makefile: Likewise.
26178 * libio/Makefile: Likewise.
26179 * string/Makefile: Likewise.
26180 * nis/Makefile: Likewise.
26181 * resolv/Makefile: Likewise.
26182 * stdio-common/Makefile: Likewise.
26183 * wcsmbs/Makefile: Likewise.
26184 * dlfcn/Makefile: Likewise.
26185 * posix/Makefile: Likewise.
26188 * timezone/Makefile: Don't install timezone files, just the programs
26191 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26193 * nss/databases.def: Add missing gshadow entry.
26195 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26197 2012-03-06 Marek Polacek <polacek@redhat.com>
26200 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26201 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26202 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26203 * stdio-common/tst-long-dbl-fphex.c: New file.
26205 2012-03-06 David S. Miller <davem@davemloft.net>
26207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26208 (set_obp_int): New function.
26209 (get_obp_int): New function.
26210 (__get_clockfreq_via_dev_openprom): Likewise.
26211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26212 Avoid unused variable warnings on 'val' and use builtin_expect.
26213 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26215 (INLINE_CLONE_SYSCALL): Likewise.
26217 2012-03-05 David S. Miller <davem@davemloft.net>
26219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26221 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26226 only for |x| >= 40.
26227 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26229 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26232 Replace gettimeofday with __vdso_gettimeofday.
26234 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26235 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26236 __vdso_clock_gettime and __vdso_getcpu.
26238 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26239 time with __vdso_time.
26241 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26243 * manual/lang.texi (size_t): Note types to which size_t may be
26244 equivalent with the GNU C Library, but do not describe when
26245 differences between them are significant.
26247 2012-03-05 Andreas Jaeger <aj@suse.de>
26249 * sysdeps/i386/fpu/libm-test-ulps: Update.
26251 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26254 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26255 (__ieee754_pow): Save and restore rounding mode and use
26256 round-to-nearest for main computations.
26257 * math/libm-test.inc (pow_test_tonearest): New function.
26258 (pow_test_towardzero): Likewise.
26259 (pow_test_downward): Likewise.
26260 (pow_test_upward): Likewise.
26261 (main): Call the new functions.
26262 * sysdeps/i386/fpu/libm-test-ulps: Update.
26263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26266 * math/libm-test.inc (cosh_test_tonearest): New function.
26267 (cosh_test_towardzero): Likewise.
26268 (cosh_test_downward): Likewise.
26269 (cosh_test_upward): Likewise.
26270 (sinh_test_tonearest): Likewise.
26271 (sinh_test_towardzero): Likewise.
26272 (sinh_test_downward): Likewise.
26273 (sinh_test_upward): Likewise.
26274 (main): Call the new functions.
26275 * sysdeps/i386/fpu/libm-test-ulps: Update.
26276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26278 2012-03-05 Tom de Vries <tom@codesourcery.com>
26280 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26281 default stack guard is set in last bytes.
26282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26284 2012-03-05 Kees Cook <keescook@chromium.org>
26286 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26289 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26290 possibly allocate from heap instead of stack.
26291 * stdio-common/bug-vfprintf-nargs.c: New file.
26292 * stdio-common/Makefile (tests): Add nargs overflow test.
26294 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26298 2012-03-03 Marek Polacek <polacek@redhat.com>
26300 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26301 * math/math_private.h: Likewise.
26302 * stdlib/tst-strtod.c: Likewise.
26303 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26304 * sysdeps/x86_64/bits/atomic.h: Likewise.
26306 2012-03-02 David S. Miller <davem@davemloft.net>
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26312 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26313 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26317 2012-03-02 Roland McGrath <roland@hack.frob.com>
26320 * manual/examples/README: New file, says the example source files
26321 can be used under GPL>=2.
26322 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26323 line containing just "*/".
26324 * manual/examples/add.c: Add copyright header (GPL>=2).
26325 * manual/examples/argp-ex1.c: Likewise.
26326 * manual/examples/argp-ex2.c: Likewise.
26327 * manual/examples/argp-ex3.c: Likewise.
26328 * manual/examples/argp-ex4.c: Likewise.
26329 * manual/examples/atexit.c: Likewise.
26330 * manual/examples/db.c: Likewise.
26331 * manual/examples/dir.c: Likewise.
26332 * manual/examples/dir2.c: Likewise.
26333 * manual/examples/execinfo.c: Likewise.
26334 * manual/examples/filecli.c: Likewise.
26335 * manual/examples/filesrv.c: Likewise.
26336 * manual/examples/fmtmsgexpl.c: Likewise.
26337 * manual/examples/genpass.c: Likewise.
26338 * manual/examples/inetcli.c: Likewise.
26339 * manual/examples/inetsrv.c: Likewise.
26340 * manual/examples/isockad.c: Likewise.
26341 * manual/examples/longopt.c: Likewise.
26342 * manual/examples/memopen.c: Likewise.
26343 * manual/examples/memstrm.c: Likewise.
26344 * manual/examples/mkfsock.c: Likewise.
26345 * manual/examples/mkisock.c: Likewise.
26346 * manual/examples/mygetpass.c: Likewise.
26347 * manual/examples/pipe.c: Likewise.
26348 * manual/examples/popen.c: Likewise.
26349 * manual/examples/rprintf.c: Likewise.
26350 * manual/examples/search.c: Likewise.
26351 * manual/examples/select.c: Likewise.
26352 * manual/examples/setjmp.c: Likewise.
26353 * manual/examples/sigh1.c: Likewise.
26354 * manual/examples/sigusr.c: Likewise.
26355 * manual/examples/stpcpy.c: Likewise.
26356 * manual/examples/strdupa.c: Likewise.
26357 * manual/examples/strftim.c: Likewise.
26358 * manual/examples/strncat.c: Likewise.
26359 * manual/examples/subopt.c: Likewise.
26360 * manual/examples/swapcontext.c: Likewise.
26361 * manual/examples/termios.c: Likewise.
26362 * manual/examples/testopt.c: Likewise.
26363 * manual/examples/testpass.c: Likewise.
26364 * manual/examples/timeval_subtract.c: Likewise.
26367 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26369 * manual/timeval_subtract.c.texi: ... here, new file.
26371 2012-03-02 David S. Miller <davem@davemloft.net>
26373 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26375 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26378 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26379 (__sin): Save and restore rounding mode and use round-to-nearest
26380 for all computations.
26381 (__cos): Save and restore rounding mode and use round-to-nearest
26382 for all computations.
26383 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26385 (tan): Save and restore rounding mode and use round-to-nearest for
26387 * math/libm-test.inc (cos_test_tonearest): New function.
26388 (cos_test_towardzero): Likewise.
26389 (cos_test_downward): Likewise.
26390 (cos_test_upward): Likewise.
26391 (sin_test_tonearest): Likewise.
26392 (sin_test_towardzero): Likewise.
26393 (sin_test_downward): Likewise.
26394 (sin_test_upward): Likewise.
26395 (tan_test_tonearest): Likewise.
26396 (tan_test_towardzero): Likewise.
26397 (tan_test_downward): Likewise.
26398 (tan_test_upward): Likewise.
26399 (main): Call the new functions.
26400 * sysdeps/i386/fpu/libm-test-ulps: Update.
26401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26404 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26405 small n, then large n, before computing and testing k+n.
26406 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26411 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26412 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26413 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26414 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26419 * math/libm-test.inc (scalbn_test): Add more tests.
26420 (scalbln_test): Likewise.
26422 * manual/filesys.texi (mode_t): Describe constraints on size and
26423 signedness, not exact equivalence to a particular type.
26425 (ino64_t): Likewise.
26427 (nlink_t): Likewise.
26428 (blkcnt_t): Likewise.
26429 (blkcnt64_t): Likewise.
26430 * manual/llio.texi (off_t): Likewise.
26433 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26434 (__ieee754_exp): Save and restore rounding mode and use
26435 round-to-nearest for all computations.
26436 * math/libm-test.inc (exp_test_tonearest): New function.
26437 (exp_test_towardzero): Likewise.
26438 (exp_test_downward): Likewise.
26439 (exp_test_upward): Likewise.
26440 (main): Call the new functions.
26441 * sysdeps/i386/fpu/libm-test-ulps: Update.
26442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26444 2012-03-01 Chris Demetriou <cgd@google.com>
26446 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26447 have predictable order.
26449 2012-03-01 David S. Miller <davem@davemloft.net>
26451 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26453 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26454 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26456 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26458 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26459 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26460 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26462 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26463 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26464 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26465 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26466 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26470 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26471 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26474 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26475 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26476 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26477 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26478 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26480 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26481 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26482 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26483 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26484 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26485 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26487 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26488 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26490 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26491 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26492 * sysdeps/sparc/elf/configure: Regenerated.
26494 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26496 * configure.in (AS, LD): Require binutils 2.20 or later.
26497 * configure: Regenerated.
26498 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26499 as required minimum version.
26500 * INSTALL: Regenerated.
26504 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26505 before squaring exponent.
26506 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26507 bottom long double and 27 bits of top long double before squaring
26509 * math/libm-test.inc (erfc_test): Add more tests.
26510 * sysdeps/i386/fpu/libm-test-ulps: Update.
26511 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26514 2012-03-01 Kai Tietz <ktietz@redhat.com>
26516 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26517 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26518 containing bit-fields.
26519 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26520 * soft-fp/single.h (_FP_UNION_S): Likewise.
26521 * soft-fp/double.h (_FP_UNION_D): Likewise.
26523 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26526 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26527 not include ../strcmp.S.
26528 [USE_AS_STRNCASECMP_L]: Likewise.
26529 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26530 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26531 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26532 (__strncasecmp_l_ia32): Define as alias to
26533 __strncasecmp_l_nonascii.
26536 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26537 * sysdeps/i386/fpu/libm-test-ulps: Update.
26538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26543 2012-02-29 Jeff Law <law@redhat.com>
26545 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26546 out of bounds read.
26548 2012-02-29 Marek Polacek <polacek@redhat.com>
26551 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26552 * elf/Makefile: Add rules to run tst-unused-dep.out.
26554 2012-02-28 David S. Miller <davem@davemloft.net>
26556 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26557 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26558 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26559 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26560 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26561 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26563 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26565 * math/libm-test.inc (llround_test): Move one test from
26566 lround_test. Use TEST_f_L in moved test.
26567 (lround_test): Move misplaced test to llround_test. Add testcase
26570 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26572 * sysdeps/x86_64/fpu/e_expf.S: New file.
26573 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26575 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26578 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26579 of remain_len that may cause incomplete multi-byte character and
26581 * posix/bug-regex33.c: New file.
26582 * posix/Makefile (tests): Add bug-regex33.
26584 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26586 * manual/macros.texi: New file.
26587 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26588 * manual/libc.texinfo: Include macros.texi.
26589 * manual/creatute.texi: Likewise.
26590 * manual/install.texi: Likewise.
26591 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26592 @glibcadj{} in references to the GNU C Library.
26593 * manual/charset.texi: Likewise.
26594 * manual/conf.texi: Likewise.
26595 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26596 when not using those macros.
26597 * manual/creature.texi: Likewise.
26598 * manual/crypt.texi: Likewise.
26599 * manual/errno.texi: Likewise.
26600 * manual/filesys.texi: Likewise.
26601 * manual/header.texi: Likewise.
26602 * manual/install.texi: Likewise.
26603 * manual/intro.texi: Likewise.
26604 * manual/io.texi: Likewise.
26605 * manual/job.texi: Likewise.
26606 * manual/lang.texi: Likewise.
26607 * manual/libc.texiinfo: Likewise.
26608 * manual/llio.texi: Likewise.
26609 * manual/locale.texi: Likewise.
26610 * manual/maint.texi: Likewise.
26611 * manual/math.texi: Likewise.
26612 * manual/memory.texi: Likewise.
26613 * manual/message.texi: Likewise.
26614 * manual/nss.texi: Likewise.
26615 * manual/pattern.texi: Likewise.
26616 * manual/process.texi: Likewise.
26617 * manual/resource.texi: Likewise.
26618 * manual/search.texi: Likewise.
26619 * manual/setjmp.texi: Likewise.
26620 * manual/signal.texi: Likewise.
26621 * manual/socket.texi: Likewise.
26622 * manual/startup.texi: Likewise.
26623 * manual/stdio.texi: Likewise.
26624 * manual/string.texi: Likewise.
26625 * manual/sysinfo.texi: Likewise.
26626 * manual/syslog.texi: Likewise.
26627 * manual/terminal.texi: Likewise.
26628 * manual/time.texi: Likewise.
26629 * manual/users.texi: Likewise.
26630 * INSTALL: Regenerated.
26631 * NOTES: Regenerated.
26632 * sysdeps/gnu/errlist.c: Regenerated.
26634 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26636 * include/dirent.h: Include <dirstream.h> before
26639 2012-02-28 David S. Miller <davem@davemloft.net>
26641 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26642 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26643 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26644 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26646 2012-02-27 David S. Miller <davem@davemloft.net>
26648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26650 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26651 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26654 frame pointer instead of stack pointer relative arg slot.
26655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26659 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26662 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26664 2012-02-27 David S. Miller <davem@davemloft.net>
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26670 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26671 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26672 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26673 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26675 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26677 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26678 later. Allow versions 5-9.
26679 * configure: Regenerated.
26680 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26681 required minimum version and 4.6 as recommended version. Do not
26682 mention bugs in GCC 2.7 and 2.8.
26683 * INSTALL: Regenerated.
26685 2012-02-27 David S. Miller <davem@davemloft.net>
26687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26691 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26692 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26693 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26694 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26696 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26697 manipulate bits before adding and subtracting TWO112[sx].
26698 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26700 2012-02-27 Roland McGrath <roland@hack.frob.com>
26703 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26704 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26705 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26706 being in POSIX, because they are in 1003.1-2008.
26708 * rt/tst-aio.c: Include <fcntl.h>.
26709 * rt/tst-aio7.c: Likewise.
26710 * rt/tst-aio64.c: Likewise.
26712 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26714 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26716 * manual/install.texi (--with-headers): Describe headers as
26717 interface headers, not private headers.
26718 (Specific advice for GNU/Linux systems): Describe use of headers
26719 from "make headers_install", not private headers from older
26721 * INSTALL: Regenerated.
26722 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26724 * sysdeps/unix/sysv/linux/configure: Regenerated.
26726 * manual/llio.texi (fclean): Remove documentation.
26728 * manual/Makefile (libc-texi-generated): New variable. Include
26730 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26731 $(libc-texi-generated), not duplicated list of files.
26732 (version.texi, stamp-version): New rules.
26733 (realclean): Remove $(libc-texi-generated), not individual files
26734 from that list. Do not remove dir-add.texinfo.
26735 * manual/libc.texinfo: Comment out uses of edition numbers and
26736 references to printed manual. Remove last-updated dates.
26737 (EDITION): Comment out.
26739 (VERSION, UPDATED): Remove.
26740 (version.texi): Include.
26742 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26744 * sysdeps/posix/spawni.c: Include <signal.h>.
26745 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26746 * sysdeps/pthread/aio_fsync.c: Likewise.
26748 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26750 * conform/Makefile (tests): Run only when not cross-compiling and
26751 when fast-check is not defined.
26753 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26754 * conform/data/limits.h-data: Fixes for POSIX2008.
26755 * conform/run-conformtest.sh: Run all tests.
26756 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26758 * include/bits/dlfcn.h: Likewise.
26759 * include/langinfo.h: Likewise.
26760 * include/monetary.h: Likewise.
26761 * include/sys/poll.h: Likewise.
26763 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26765 * posix/spawn.h: Define __need_sigset_t.
26766 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26767 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26768 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26769 to get sigevent_t only.
26770 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26771 only for __USE_GNU.
26772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26773 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26774 process_vm_writev only for __USE_GNU.
26775 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26777 * conform/Makefile: For now ignore errors from run-conformtest.
26778 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26779 POSIX to avoid namespace pollution. Don't prepend headers.
26780 * conform/data/aio.h-data: Fixes for POSIX testing.
26781 * conform/data/fcntl.h-data: Likewise.
26782 * conform/data/glob.h-data: Likewise.
26783 * conform/data/grp.h-data: Likewise.
26784 * conform/data/pthread.h-data: Likewise.
26785 * conform/data/pwd.h-data: Likewise.
26786 * conform/data/signal.h-data: Likewise.
26787 * conform/data/spawn.h-data: Likewise.
26788 * conform/data/stdio.h-data: Likewise.
26789 * conform/data/stdlib.h-data: Likewise.
26790 * conform/data/stropts.h-data: Likewise.
26791 * conform/data/sys/mman.h-data: Likewise.
26792 * conform/data/sys/stat.h-data: Likewise.
26793 * conform/data/sys/types.h-data: Likewise.
26794 * conform/data/sys/wait.h-data: Likewise.
26795 * conform/data/time.h-data: Likewise.
26796 * conform/data/unistd.h-data: Likewise.
26797 * conform/data/utime.h-data: Likewise.
26799 * io/sys/stat.h: fchmod was always in POSIX.
26800 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26801 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26802 * rt/aio.h: Define __need_timespec before including <time.h>.
26803 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26804 struct. Add forward declaration of pthread_attr_t and use it in
26806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26808 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26809 always remove CLK_TCK definition.
26811 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26813 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26815 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26817 * conform/run-conformtest.sh: New file.
26818 * conform/Makefile: Run run-conformtest for tests.
26819 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26822 * conform/data/uchar.h-data: New file.
26823 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26824 * conform/data/arpa/inet.h-data: Likewise.
26825 * conform/data/assert.h-data: Likewise.
26826 * conform/data/complex.h-data: Likewise.
26827 * conform/data/cpio.h-data: Likewise.
26828 * conform/data/ctype.h-data: Likewise.
26829 * conform/data/dirent.h-data: Likewise.
26830 * conform/data/dlfcn.h-data: Likewise.
26831 * conform/data/errno.h-data: Likewise.
26832 * conform/data/fcntl.h-data: Likewise.
26833 * conform/data/float.h-data: Likewise.
26834 * conform/data/fmtmsg.h-data: Likewise.
26835 * conform/data/fnmatch.h-data: Likewise.
26836 * conform/data/ftw.h-data: Likewise.
26837 * conform/data/glob.h-data: Likewise.
26838 * conform/data/grp.h-data: Likewise.
26839 * conform/data/iconv.h-data: Likewise.
26840 * conform/data/inttypes.h-data: Likewise.
26841 * conform/data/langinfo.h-data: Likewise.
26842 * conform/data/libgen.h-data: Likewise.
26843 * conform/data/limits.h-data: Likewise.
26844 * conform/data/locale.h-data: Likewise.
26845 * conform/data/math.h-data: Likewise.
26846 * conform/data/monetary.h-data: Likewise.
26847 * conform/data/mqueue.h-data: Likewise.
26848 * conform/data/ndbm.h-data: Likewise.
26849 * conform/data/net/if.h-data: Likewise.
26850 * conform/data/netdb.h-data: Likewise.
26851 * conform/data/netinet/in.h-data: Likewise.
26852 * conform/data/nl_types.h-data: Likewise.
26853 * conform/data/poll.h-data: Likewise.
26854 * conform/data/pthread.h-data: Likewise.
26855 * conform/data/pwd.h-data: Likewise.
26856 * conform/data/regex.h-data: Likewise.
26857 * conform/data/sched.h-data: Likewise.
26858 * conform/data/search.h-data: Likewise.
26859 * conform/data/semaphore.h-data: Likewise.
26860 * conform/data/setjmp.h-data: Likewise.
26861 * conform/data/signal.h-data: Likewise.
26862 * conform/data/spawn.h-data: Likewise.
26863 * conform/data/stdarg.h-data: Likewise.
26864 * conform/data/stdio.h-data: Likewise.
26865 * conform/data/stdlib.h-data: Likewise.
26866 * conform/data/string.h-data: Likewise.
26867 * conform/data/strings.h-data: Likewise.
26868 * conform/data/stropts.h-data: Likewise.
26869 * conform/data/sys/ipc.h-data: Likewise.
26870 * conform/data/sys/mman.h-data: Likewise.
26871 * conform/data/sys/msg.h-data: Likewise.
26872 * conform/data/sys/resource.h-data: Likewise.
26873 * conform/data/sys/select.h-data: Likewise.
26874 * conform/data/sys/sem.h-data: Likewise.
26875 * conform/data/sys/shm.h-data: Likewise.
26876 * conform/data/sys/socket.h-data: Likewise.
26877 * conform/data/sys/stat.h-data: Likewise.
26878 * conform/data/sys/statvfs.h-data: Likewise.
26879 * conform/data/sys/time.h-data: Likewise.
26880 * conform/data/sys/timeb.h-data: Likewise.
26881 * conform/data/sys/times.h-data: Likewise.
26882 * conform/data/sys/types.h-data: Likewise.
26883 * conform/data/sys/uio.h-data: Likewise.
26884 * conform/data/sys/un.h-data: Likewise.
26885 * conform/data/sys/utsname.h-data: Likewise.
26886 * conform/data/sys/wait.h-data: Likewise.
26887 * conform/data/syslog.h-data: Likewise.
26888 * conform/data/tar.h-data: Likewise.
26889 * conform/data/termios.h-data: Likewise.
26890 * conform/data/utime.h-data: Likewise.
26891 * conform/data/utmpx.h-data: Likewise.
26892 * conform/data/varargs.h-data: Likewise.
26893 * conform/data/wchar.h-data: Likewise.
26894 * conform/data/wctype.h-data: Likewise.
26895 * conform/data/wordexp.h-data: Likewise.
26897 * include/stropts.h: New file.
26898 * include/uchar.h: New file.
26899 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26900 * include/assert.h: Likewise.
26901 * include/ctype.h: Likewise.
26902 * include/dirent.h: Likewise.
26903 * include/dlfcn.h: Likewise.
26904 * include/fcntl.h: Likewise.
26905 * include/fnmatch.h: Likewise.
26906 * include/glob.h: Likewise.
26907 * include/grp.h: Likewise.
26908 * include/libio.h: Likewise.
26909 * include/locale.h: Likewise.
26910 * include/math.h: Likewise.
26911 * include/net/if.h: Likewise.
26912 * include/netdb.h: Likewise.
26913 * include/netinet/in.h: Likewise.
26914 * include/pthread.h: Likewise.
26915 * include/pwd.h: Likewise.
26916 * include/regex.h: Likewise.
26917 * include/sched.h: Likewise.
26918 * include/search.h: Likewise.
26919 * include/setjmp.h: Likewise.
26920 * include/signal.h: Likewise.
26921 * include/stdio.h: Likewise.
26922 * include/stdlib.h: Likewise.
26923 * include/string.h: Likewise.
26924 * include/sys/cdefs.h: Likewise.
26925 * include/sys/mman.h: Likewise.
26926 * include/sys/msg.h: Likewise.
26927 * include/sys/resource.h: Likewise.
26928 * include/sys/select.h: Likewise.
26929 * include/sys/socket.h: Likewise.
26930 * include/sys/stat.h: Likewise.
26931 * include/sys/statvfs.h: Likewise.
26932 * include/sys/time.h: Likewise.
26933 * include/sys/times.h: Likewise.
26934 * include/sys/uio.h: Likewise.
26935 * include/sys/utsname.h: Likewise.
26936 * include/sys/wait.h: Likewise.
26937 * include/termios.h: Likewise.
26938 * include/time.h: Likewise.
26939 * include/ulimit.h: Likewise.
26940 * include/unistd.h: Likewise.
26941 * include/utime.h: Likewise.
26942 * include/wchar.h: Likewise.
26943 * include/wctype.h: Likewise.
26944 * include/wordexp.h: Likewise.
26946 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26948 * time/time.h: TIME_UTC must be a macro.
26949 Make timespec_get available for ISO C11 only as well.
26951 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26953 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26954 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26958 * configure.in: Use -o not -a in test for unsupported multi-arch.
26960 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26962 * manual/texinfo.tex: Update to version 2012-01-19.16.
26964 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26966 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26968 2012-02-24 Roland McGrath <roland@hack.frob.com>
26971 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26972 * manual/fdl-1.3.texi: New file.
26973 * manual/fdl-1.1.texi: File removed.
26976 * manual/libc.texinfo (FDL_VERSION): New @set.
26977 Use it for mention of FDL in cover text.
26978 (Documentation License): Use it in @include file name.
26980 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26981 Roland McGrath <roland@hack.frob.com>
26984 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26985 not LONG_LONG_MAX and LONG_LONG_MIN.
26986 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26987 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26989 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26991 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26995 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26996 manipulate bits before adding and subtracting TWO23[sx].
26997 * math/libm-test.inc (nearbyint_test): Add more tests.
26999 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27002 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27003 bits before adding and subtracting TWO23[sx].
27004 * math/libm-test.inc (rint_test): Add more tests.
27005 (rint_test_tonearest): Likewise.
27006 (rint_test_towardzero): Likewise.
27007 (rint_test_downward): Likewise.
27008 (rint_test_upward: Likewise.
27010 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27013 * include/stdc-predef.h: New file. Extracted from features.h.
27014 * include/features.h: Include stdc-predef.h.
27015 * Makefile (headers): Add stdc-predef.h.
27016 * CONFORMANCE (Compiler limitations): Update.
27018 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27020 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27022 2012-02-21 David S. Miller <davem@davemloft.net>
27024 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27025 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27027 2012-02-20 David S. Miller <davem@davemloft.net>
27029 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27030 using a normal save/restore sequence, rather than allocating a
27031 dummy stack frame just to store a frame pointer and restore.
27032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27034 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27036 * manual/install.texi: Fix stray word in line-wrapped comment.
27038 2012-02-20 David S. Miller <davem@davemloft.net>
27040 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27041 both binutils and gcc support GOTDATA.
27043 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27044 "rd %pc" in the PIC register setup sequences.
27046 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27047 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27048 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27049 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27050 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27052 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27055 (SYSCALL_ERROR_HANDLER): Likewise.
27056 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27057 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27059 (SYSCALL_ERROR_HANDLER): Likewise.
27061 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27062 (HAVE_GCC_GOTDATA): New.
27063 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27064 relocation support in both binutils and gcc.
27065 * sysdeps/sparc/elf/configure: Regenerate.
27067 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27068 * sysdeps/sparc/sparc32/elf/configure: Delete.
27069 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27070 * sysdeps/sparc/sparc64/elf/configure: Delete.
27071 * sysdeps/sparc/elf/configure.in: New file.
27072 * sysdeps/sparc/elf/configure: Generate.
27074 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27075 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27076 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27077 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27078 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27080 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27082 * manual/install.texi: Do not mention specific glibc version
27084 * manual/libc.texinfo (VERSION, UPDATED): Update.
27085 (@copying): Use @copyright{} and range of years.
27087 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27090 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27091 [crti.S not in sysdirs] (generated): Do not append.
27092 [crti.S not in sysdirs] (omit-deps): Likewise.
27093 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27094 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27095 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27096 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27097 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27099 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27100 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27101 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27102 * csu/defs.awk: Remove file.
27103 * sysdeps/generic/initfini.c: Likewise.
27104 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27106 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27109 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27111 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27112 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27113 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27114 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27115 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27116 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27118 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27119 (__EPOLL_PACKED): Define to empty if not defined by
27121 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27125 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27127 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27128 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27129 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27130 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27132 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27136 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27138 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27140 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27141 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27145 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27147 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27148 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27150 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27152 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27153 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27155 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27157 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27160 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27162 * math/w_acos.c: Use non-signaling floating-point comparisons.
27163 * math/w_acosf.c: Likewise.
27164 * math/w_acosh.c: Likewise.
27165 * math/w_acoshf.c: Likewise.
27166 * math/w_acoshl.c: Likewise.
27167 * math/w_acosl.c: Likewise.
27168 * math/w_asin.c: Likewise.
27169 * math/w_asinf.c: Likewise.
27170 * math/w_asinl.c: Likewise.
27171 * math/w_atanh.c: Likewise.
27172 * math/w_atanhf.c: Likewise.
27173 * math/w_atanhl.c: Likewise.
27174 * math/w_exp2.c: Likewise.
27175 * math/w_exp2f.c: Likewise.
27176 * math/w_exp2l.c: Likewise.
27177 * math/w_j0.c: Likewise.
27178 * math/w_j0f.c: Likewise.
27179 * math/w_j0l.c: Likewise.
27180 * math/w_j1.c: Likewise.
27181 * math/w_j1f.c: Likewise.
27182 * math/w_j1l.c: Likewise.
27183 * math/w_jn.c: Likewise.
27184 * math/w_jnf.c: Likewise.
27185 * math/w_log.c: Likewise.
27186 * math/w_log10.c: Likewise.
27187 * math/w_log10f.c: Likewise.
27188 * math/w_log10l.c: Likewise.
27189 * math/w_log2.c: Likewise.
27190 * math/w_log2f.c: Likewise.
27191 * math/w_log2l.c: Likewise.
27192 * math/w_logf.c: Likewise.
27193 * math/w_logl.c: Likewise.
27194 * math/w_sqrt.c: Likewise.
27195 * math/w_sqrtf.c: Likewise.
27196 * math/w_sqrtl.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27199 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27200 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27201 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27203 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27206 * manual/string.texi (strnlen): Use correct parameter name in
27207 equivalent expression.
27209 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27212 * manual/users.texi (seteuid): Consistently use neweuid for
27215 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27218 * manual/nss.texi (Services in the NSS configuration): Correct
27219 list of services in example configuration file.
27221 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27224 * manual/arith.texi: Remove statements about negative zero
27225 behaving identically to zero.
27227 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27230 * manual/install.texi: Do not document upgrading from libc5.
27232 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27235 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27237 2012-02-18 David S. Miller <davem@davemloft.net>
27239 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27240 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27241 %o7 across the call.
27242 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27245 SETUP_PIC_REG_LEAF.
27246 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27247 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27248 * sysdeps/sparc/crtn.S: Likewise.
27250 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27252 * aout/Makefile: Remove.
27254 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27257 * manual/examples/argp-ex1.c (main): Format definition in GNU
27259 * manual/examples/argp-ex2.c (main): Likewise.
27260 * manual/examples/argp-ex3.c (main): Likewise.
27261 * manual/examples/argp-ex4.c (main): Likewise.
27262 * manual/examples/longopt.c (main): Use new-style prototype
27264 * manual/examples/strncat.c (main): Specify return type and use
27265 (void) for arguments.
27266 * manual/examples/subopt.c (main): Use char **argv argument.
27268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27271 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27274 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27277 * manual/string.texi (strchr): Change when strchrnul is
27280 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27283 * manual/locale.texi (setlocale): Document LOCPATH.
27285 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27288 * manual/process.texi (execle): Move @dots{} before last argument.
27290 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27293 * manual/charset.texi (Generic Charset Conversion): Fix typo
27294 (LC_TYPE -> LC_CTYPE).
27296 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27299 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27300 (scalbnf): Likewise.
27301 (scalbnl): Likewise.
27302 (scalbln): Likewise.
27303 (scalblnf): Likewise.
27304 (scalblnl): Likewise.
27305 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27306 (vwarnx): Likewise.
27309 * manual/filesys.texi (telldir): Use braces around return type.
27310 * manual/llio.texi (mmap): Add space after comma.
27311 (mmap64): Likewise.
27312 * manual/math.texi (jn): Use @var{} on parameter names.
27318 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27320 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27322 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27323 (sched_get_priority_max): Likewise.
27324 * manual/signal.texi (sigvec): Add space after comma.
27325 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27327 (if_indextoname): Likewise.
27328 (if_freenameindex): Likewise.
27329 (sendto): Use ',' instead of '.' in prototype.
27330 * manual/startup.texi (syscall): Use @dots{} instead of literal
27332 * manual/stdio.texi (__fpending): Separate initial words of
27333 paragraph from @deftypefun line.
27334 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27336 (vsyslog): Use @var{} on parameter names.
27337 * manual/terminal.texi (stty): Use @var{} on parameter names.
27338 * manual/users.texi (getutmp): Use @var{} on parameter names.
27339 (getutmpx): Likewise.
27341 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27344 * manual/stdio.texi (fopen): Fix typos in description of
27347 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27350 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27351 get clock_id definition.
27353 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27356 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27357 (madvise): Cast every argument to void on its own.
27359 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27362 * manual/startup.texi (Exit Status): Fix typo.
27364 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27367 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27368 * manual/examples/argp-ex2.c: Likewise.
27369 * manual/examples/argp-ex3.c: Likewise.
27371 2012-02-16 Richard Henderson <rth@redhat.com>
27373 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27374 * sysdeps/s390/s390-32/initfini.c: Remove.
27375 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27376 * sysdeps/s390/s390-64/initfini.c: Remove.
27378 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27380 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27381 compiler output for sysdeps/generic/initfini.c.
27382 * sysdeps/sh/elf/initfini.c: Remove file.
27384 2012-02-16 David S. Miller <davem@davemloft.net>
27387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27389 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27390 * sysdeps/sparc/crti.S: New file.
27391 * sysdeps/sparc/crtn.S: New file.
27392 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27393 * sysdeps/sparc/sparc64/Makefile: Likewise.
27395 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27398 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27400 2012-02-15 Roland McGrath <roland@hack.frob.com>
27403 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27405 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27406 (write, read, close): Likewise.
27407 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27409 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27411 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27412 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27413 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27414 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27416 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27420 2012-02-14 Marek Polacek <polacek@redhat.com>
27422 * sysdeps/x86_64/crti.S: New file.
27423 * sysdeps/x86_64/crtn.S: New file.
27424 * sysdeps/x86_64/elf/initfini.c: Remove file.
27426 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27429 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27430 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27431 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27433 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27437 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27439 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27440 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27441 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27442 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27444 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27445 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27448 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27450 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27451 __feraiseexcept instead of feraiseexcept.
27453 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27454 nanosleep invocations.
27455 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27456 strings, and add error checking for a nanosleep invocations.
27458 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27460 Replace FSF snail mail address with URLs, as per GNU coding standards.
27461 Most of the snail mail addresses were wrong anyway, and omitting
27462 them makes the source code easier to maintain. Almost all of the
27463 changes are to license notices and to locale LC_IDENTIFICATION
27464 addresses, except for this one:
27465 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27466 not its snail mail address.
27468 2012-02-09 Richard Henderson <rth@twiddle.net>
27470 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27471 of kernel-features.h.
27473 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27475 2012-02-08 Marek Polacek <polacek@redhat.com>
27477 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27478 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27479 * sysdeps/gnu/_G_config.h: Likewise.
27480 * sysdeps/generic/_G_config.h: Likewise.
27482 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27484 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27488 * sysdeps/powerpc/powerpc32/crti.S: New file.
27489 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27490 * sysdeps/powerpc/powerpc64/crti.S: New file.
27491 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27493 * Makeconfig (have-initfini): Don't set.
27494 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27495 * configure.in (nopic_initfini): Don't substitute.
27496 * config.h.in (HAVE_INITFINI): Don't #undef.
27497 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27498 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27500 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27502 Support crti.S and crtn.S provided directly by architectures.
27503 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27504 [crti.S in sysdirs] (omit-deps): Likewise.
27505 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27506 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27507 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27508 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27509 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27510 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27511 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27512 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27513 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27514 compiler output for sysdeps/generic/initfini.c.
27515 * sysdeps/i386/elf/Makefile: Remove file.
27516 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27518 2012-02-07 Marek Polacek <polacek@redhat.com>
27520 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27521 * sysdeps/gnu/_G_config.h: Likewise.
27522 * sysdeps/mach/hurd/_G_config.h: Likewise.
27524 2012-02-07 Marek Polacek <polacek@redhat.com>
27526 * math/Makefile (tests): Add tst-CMPLX2.
27527 * math/tst-CMPLX2.c: New file.
27529 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27531 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27533 * math/libm-test.inc (jn_test): Add missing L suffix.
27535 2012-02-06 Marek Polacek <polacek@redhat.com>
27537 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27538 * sysdeps/i386/fpu/e_powf.S: Likewise.
27539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27540 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27541 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27542 * sysdeps/i386/fpu/e_pow.S: Likewise.
27543 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27544 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27545 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27546 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27547 * sysdeps/i386/fpu/e_log2.S: Likewise.
27548 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27549 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27550 * sysdeps/i386/fpu/e_powl.S: Likewise.
27551 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27552 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27553 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27554 * sysdeps/i386/fpu/e_logl.S: Likewise.
27555 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27556 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27557 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27558 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27560 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27561 * sysdeps/i386/fpu/e_log.S: Likewise.
27562 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27564 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27565 * sysdeps/i386/fpu/e_logf.S: Likewise.
27566 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27567 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27568 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27569 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27570 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27571 * sysdeps/i386/fpu/e_log10.S: Likewise.
27572 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27573 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27574 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27575 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27576 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27577 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27578 * sysdeps/i386/asm-syntax.h: Likewise.
27579 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27581 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27582 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27583 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27585 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27586 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27588 * sysdeps/powerpc/sysdep.h: Likewise.
27589 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27592 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27595 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27597 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27599 * sysdeps/i386/sysdep.h: Include <features.h>.
27600 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27603 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27605 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27607 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27610 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27612 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27613 (SETUP_PIC_REG): Use GET_PC_THUNK.
27614 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27617 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27619 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27620 for non-PIC compilation.
27621 (SETUP_PIC_REG): Add .p2align directive.
27622 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27623 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27624 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27625 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27637 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27638 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27639 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27640 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27641 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27643 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27644 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27645 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27648 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27649 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27650 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27651 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27652 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27653 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27654 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27655 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27656 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27657 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27658 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27659 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27660 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27661 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27662 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27664 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27666 * math/tst-CMPLX.c: Include <stdio.h>.
27668 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27670 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27672 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27673 * sysdeps/sparc/bits/mathdef.h: Likewise.
27675 2012-01-31 Marek Polacek <polacek@redhat.com>
27677 * libio/libio.h: Don't define _PARAMS.
27678 * locale/programs/config.h: Don't define PARAMS.
27679 * stdlib/strtol_l.c: Likewise.
27680 (__strtol_l): Remove PARAMS from the prototype.
27682 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27684 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27685 names. Just use the correct names. Remove unnecessary wrapper
27687 * malloc/arena.c: Likewise.
27688 * malloc/hooks.c: Likewise.
27690 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27691 ARENA_TEST says not to. Simplify test for creation of a new arena.
27692 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27694 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27696 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27698 (update_get_addr): New function.
27699 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27700 GET_ADDR_MODULE parameter.
27702 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27704 * crypt/cert.c: Remove __STDC__ conditionals.
27705 * crypt/crypt-entry.c: Likewise.
27706 * crypt/crypt_util.c: Likewise.
27707 * libio/filedoalloc.c: Likewise.
27708 * libio/fileops.c: Likewise.
27709 * libio/genops.c: Likewise.
27710 * libio/iofclose.c: Likewise.
27711 * libio/iofdopen.c: Likewise.
27712 * libio/iofopen.c: Likewise.
27713 * libio/iofopen64.c: Likewise.
27714 * libio/iogetdelim.c: Likewise.
27715 * libio/iopopen.c: Likewise.
27716 * libio/obprintf.c: Likewise.
27717 * libio/oldfileops.c: Likewise.
27718 * libio/oldiofclose.c: Likewise.
27719 * libio/oldiofdopen.c: Likewise.
27720 * libio/oldiofopen.c: Likewise.
27721 * libio/oldiopopen.c: Likewise.
27722 * libio/wfiledoalloc.c: Likewise.
27723 * libio/wgenops.c: Likewise.
27724 * locale/programs/xmalloc.c: Likewise.
27725 * misc/syslog.c: Likewise.
27726 * stdio-common/xbug.c: Likewise.
27727 * string/memchr.c: Likewise.
27728 * string/memcmp.c: Likewise.
27729 * string/memrchr.c: Likewise.
27730 * string/rawmemchr.c: Likewise.
27731 * sysdeps/posix/getcwd.c: Likewise.
27732 * time/strftime_l.c: Likewise.
27734 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27736 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27737 * config.make.in (config-cflags-sse2avx): Define.
27738 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27741 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27743 * scripts/config.guess: Update from upstream config git repository.
27744 * scripts/config.sub: Likewise.
27746 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27748 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27750 (R_TILEPRO_*, R_TILEGX_*): New macros.
27752 * scripts/firstversions.awk: Fix bug in version range handling.
27754 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27756 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27758 * include/sys/epoll.h: New file.
27759 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27762 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27764 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27765 Avoid unnecessary __WORDSIZE == 64 test.
27766 (fmaxf): Use VEX format if possible.
27771 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27772 * math/math_private.h: Remove libc_fegetround* and
27774 * sysdeps/i386/configure.in: Check for -msse2avx.
27775 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27776 also if SSE2AVX is defined.
27777 Remove libc_fegetround* and libc_fesetround*.
27778 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27779 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27780 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27782 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27783 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27784 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27788 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27790 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27794 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27796 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27799 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27801 * Makeconfig (libm): Define.
27802 * elf/Makefile: Add rules to build and run tst-relsort1.
27803 * elf/tst-relsort1.c: New file.
27804 * elf/tst-relsort1mod1.c: New file.
27805 * elf/tst-relsort1mod2.c: New file.
27807 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27809 * math/s_ldexp.c: Remove __STDC__ conditionals.
27810 * math/s_ldexpf.c: Likewise.
27811 * math/s_ldexpl.c: Likewise.
27812 * math/s_nextafter.c: Likewise.
27813 * math/s_nexttowardf.c: Likewise.
27814 * math/s_significand.c: Likewise.
27815 * math/s_significandf.c: Likewise.
27816 * math/s_significandl.c: Likewise.
27817 * math/w_jnl.c: Likewise.
27818 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27819 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27820 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27821 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27822 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27824 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27825 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27827 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27828 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27829 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27830 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27831 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27832 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27834 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27837 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27838 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27839 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27846 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27847 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27848 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27849 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27850 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27851 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27854 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27858 * sysdeps/ieee754/k_standard.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27879 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27882 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27889 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27891 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27894 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27902 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27908 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27909 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27912 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27913 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27914 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27916 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27920 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27922 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27923 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27925 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27933 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27934 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27935 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27936 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27937 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27938 * sysdeps/ieee754/s_matherr.c: Likewise.
27939 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27940 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27942 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27944 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27946 * crypt/md5.h: Remove __STDC__ conditionals.
27947 * libio/libioP.h: Likewise.
27948 * locale/programs/config.h: Likewise.
27949 * sysdeps/generic/sysdep.h: Likewise.
27950 * sysdeps/i386/asm-syntax.h: Likewise.
27951 * sysdeps/s390/asm-syntax.h: Likewise.
27952 * sysdeps/unix/sysdep.h: Likewise.
27953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27956 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27958 * libio/libio.h: Remove __STDC__ conditionals.
27959 * malloc/obstack.h: Likewise.
27960 * math/complex.h: Likewise.
27961 * math/math.h: Likewise.
27962 * sysdeps/generic/_G_config.h: Likewise.
27963 * sysdeps/gnu/_G_config.h: Likewise.
27964 * sysdeps/mach/hurd/_G_config.h: Likewise.
27965 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27966 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27967 * sysdeps/sparc/bits/mathdef.h: Likewise.
27969 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27972 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27973 Clean up HAS_* macros.
27974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27975 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27977 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27979 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27980 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27981 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27982 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27983 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27985 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27987 * elf/tst-unique3.cc (gets): Remove declaration.
27988 * elf/tst-unique3lib.cc (gets): Likewise.
27989 * elf/tst-unique3lib2.cc (gets): Likewise.
27990 * elf/tst-unique4.cc (gets): Likewise.
27992 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27994 * include/stdio.h: Add C++ protection. Add gets declarations and
27996 * debug/tst-chk1.c: Don't declare gets here.
27997 * stdio-common/tst-gets.c: Likewise.
27999 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28001 * posix/glob: Remove directory.
28003 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28005 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28007 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28009 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28010 of the non-standard EPFNOSUPPORT.
28012 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28014 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28015 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28016 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28018 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28020 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28022 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28024 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28026 * nscd/grpcache.c (cache_addgr): Likewise.
28027 * nscd/hstcache.c (cache_addhst): Likewise.
28028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28029 * nscd/pwdcache.c (cache_addpw): Likewise.
28030 * nscd/servicescache.c (cache_addserv): Likewise.
28032 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28034 * malloc/malloc.c: Various cleanups.
28035 * malloc/hooks.c: Likewise.
28037 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28038 * stdlib/bug-fmtmsg1.c: New file.
28040 * stdlib/fmtmsg.c (init): Add missing unlock.
28041 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28043 2012-01-12 Marek Polacek <polacek@redhat.com>
28045 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28048 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28050 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28052 macro to ensure uniqueness of label name.
28053 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28054 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28056 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28058 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28061 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28062 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28065 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28067 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28069 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28070 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28071 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28073 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28075 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28076 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28077 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28078 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28080 * math/bits/math-finite.h: Add ldexp support.
28082 2012-01-10 Marek Polacek <polacek@redhat.com>
28084 * locale/programs/localedef.h (show_archive_content): Add noreturn
28087 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28089 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28091 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28093 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28095 * io/Makefile (headers): Add bits/poll2.h.
28097 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28100 typo #include statement.
28102 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28104 * include/sys/cdefs.h: Define __attribute_alloc_size.
28105 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28106 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28107 * elf/pldd.c: Likewise.
28108 * iconv/iconv_charmap.c: Likewise.
28109 * iconv/iconvconfig.c: Likewise.
28110 * iconv/strtab.c: Likewise.
28111 * locale/programs/locale.c: Likewise.
28112 * locale/programs/localedef.h: Likewise.
28113 * locale/programs/simple-hash.c: Likewise.
28114 * nscd/nscd.h: Likewise.
28115 * nss/makedb.c: Likewise.
28116 * sysdeps/generic/ldconfig.h: Likewise.
28117 * locale/programs/localedef.c: Remove xmalloc prototype.
28118 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28120 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28122 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28125 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28127 * math/Makefile (tests): Add tst-CMPLX.
28128 * math/tst-CMPLX.c: New file.
28130 * math/complex.h (CMPLXL): Fix typo.
28132 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28133 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28135 * debug/tst-chk1.c: Add poll and ppoll tests.
28136 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28137 * include/sys/poll.h: Add hidden proto for ppoll.
28138 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28139 * sysdeps/mach/hurd/ppoll.c: Likewise.
28140 * io/ppoll.c: Likewise.
28141 * debug/poll_chk.c: New file.
28142 * debug/ppoll_chk.c: New file.
28143 * include/bits/poll2.h: New file.
28144 * io/bits/poll2.h: New file.
28147 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28149 * configure.in: static is always set to yes. Remove.
28150 * config.make.in: Don't set build-static.
28151 * Makeconfig: Remove use of build-static.
28152 * dlfcn/Makefile: Likewise.
28153 * elf/Makefile: Likewise.
28154 * math/Makefile: Likewise.
28155 * misc/Makefile: Likewise.
28156 * nptl/Makefile: Likewise.
28157 * sysdeps/mach/hurd/Makefile: Likewise.
28159 * configure.in: PWD_P is not used anymore.
28160 * config.make.in: Remove PWD_P entry.
28162 * configure.in: Remove last remnants of RANLIB.
28163 No need to check for signed size_t anymore.
28164 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28166 Remove __builtin_expect test because we require at least gcc 3.4.
28167 * aclocal.m4: Likewise.
28169 * wcsmbs/mbrtoc16.c: Implement using towc function.
28170 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28171 * wcsmbs/wcsmbsload.c: Likewise.
28172 * iconv/gconv_simple.c: Likewise.
28173 * iconv/gconv_int.h: Likewise.
28174 * iconv/gconv_builtin.h: Likewise.
28175 * iconv/iconv_prog.c: Remove CHAR16 handling.
28177 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28179 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28181 * configure.in: Remove --with-elf and --enable-bounded options.
28182 Dont set base_machine for ia64. More non-ELF conditions removed.
28183 Remove testing and setting of leading underscore information.
28184 * config.make.in (build-bounded): Set to no.
28185 * config.h.in: Remove NO_UNDERSCORES entry.
28186 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28188 * csu/start.c: Remove !NO_UNDERSCORE code.
28189 * locale/localeinfo.h: Likewise.
28190 * sysdeps/generic/machine-gmon.h: Likewise.
28191 * sysdeps/generic/sysdep.h: Likewise.
28192 * sysdeps/i386/sysdep.h: Likewise.
28193 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28194 * sysdeps/mach/sysdep.h: Likewise.
28195 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28197 * sysdeps/sh/sysdep.h: Likewise.
28198 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28199 * sysdeps/unix/i386/sysdep.S: Likewise.
28200 * sysdeps/unix/sparc/start.c: Likewise.
28201 * sysdeps/unix/sparc/sysdep.S: Likewise.
28202 * sysdeps/unix/sparc/sysdep.h: Likewise.
28203 * sysdeps/unix/start.c: Likewise.
28204 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28205 * sysdeps/x86_64/sysdep.h: Likewise.
28207 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28210 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28212 * argp/argp-fmtstream.h: Use const instead __const.
28213 * argp/argp.h: Likewise.
28214 * assert/assert.h: Likewise.
28215 * bits/fenv.h: Likewise.
28216 * bits/sched.h: Likewise.
28217 * bits/sigset.h: Likewise.
28218 * bits/sigthread.h: Likewise.
28219 * catgets/nl_types.h: Likewise.
28220 * conform/data/pthread.h-data: Likewise.
28221 * crypt/crypt-private.h: Likewise.
28222 * crypt/crypt.h: Likewise.
28223 * crypt/crypt_util.c: Likewise.
28224 * ctype/ctype.h: Likewise.
28225 * debug/execinfo.h: Likewise.
28226 * debug/mbsnrtowcs_chk.c: Likewise.
28227 * debug/mbsrtowcs_chk.c: Likewise.
28228 * debug/wcsnrtombs_chk.c: Likewise.
28229 * debug/wcsrtombs_chk.c: Likewise.
28230 * debug/wcstombs_chk.c: Likewise.
28231 * dirent/dirent.h: Likewise.
28232 * dlfcn/dlfcn.h: Likewise.
28233 * elf/neededtest4.c: Likewise.
28234 * grp/grp.h: Likewise.
28235 * gshadow/gshadow.h: Likewise.
28236 * iconv/gconv.h: Likewise.
28237 * iconv/gconv_int.h: Likewise.
28238 * iconv/gconv_simple.c: Likewise.
28239 * iconv/iconv.h: Likewise.
28240 * iconv/loop.c: Likewise.
28241 * iconv/skeleton.c: Likewise.
28242 * include/aio.h: Likewise.
28243 * include/aliases.h: Likewise.
28244 * include/argz.h: Likewise.
28245 * include/arpa/inet.h: Likewise.
28246 * include/assert.h: Likewise.
28247 * include/dirent.h: Likewise.
28248 * include/dlfcn.h: Likewise.
28249 * include/execinfo.h: Likewise.
28250 * include/fcntl.h: Likewise.
28251 * include/fenv.h: Likewise.
28252 * include/glob.h: Likewise.
28253 * include/grp.h: Likewise.
28254 * include/libintl.h: Likewise.
28255 * include/mntent.h: Likewise.
28256 * include/netdb.h: Likewise.
28257 * include/pwd.h: Likewise.
28258 * include/rpc/netdb.h: Likewise.
28259 * include/sched.h: Likewise.
28260 * include/search.h: Likewise.
28261 * include/shadow.h: Likewise.
28262 * include/signal.h: Likewise.
28263 * include/stdio.h: Likewise.
28264 * include/stdlib.h: Likewise.
28265 * include/string.h: Likewise.
28266 * include/sys/socket.h: Likewise.
28267 * include/sys/stat.h: Likewise.
28268 * include/sys/statfs.h: Likewise.
28269 * include/sys/statvfs.h: Likewise.
28270 * include/sys/syslog.h: Likewise.
28271 * include/sys/time.h: Likewise.
28272 * include/sys/uio.h: Likewise.
28273 * include/time.h: Likewise.
28274 * include/unistd.h: Likewise.
28275 * include/utmp.h: Likewise.
28276 * include/wchar.h: Likewise.
28277 * include/wctype.h: Likewise.
28278 * inet/aliases.h: Likewise.
28279 * inet/arpa/inet.h: Likewise.
28280 * inet/netinet/ether.h: Likewise.
28281 * inet/netinet/in.h: Likewise.
28282 * intl/libintl.h: Likewise.
28283 * io/bits/fcntl2.h: Likewise.
28284 * io/fcntl.h: Likewise.
28285 * io/ftw.h: Likewise.
28286 * io/sys/poll.h: Likewise.
28287 * io/sys/stat.h: Likewise.
28288 * io/sys/statfs.h: Likewise.
28289 * io/sys/statvfs.h: Likewise.
28290 * io/utime.h: Likewise.
28291 * libio/bits/stdio.h: Likewise.
28292 * libio/bits/stdio2.h: Likewise.
28293 * libio/libio.h: Likewise.
28294 * libio/libioP.h: Likewise.
28295 * libio/stdio.h: Likewise.
28296 * locale/lc-ctype.c: Likewise.
28297 * locale/locale.h: Likewise.
28298 * login/utmp.h: Likewise.
28299 * malloc/arena.c: Likewise.
28300 * malloc/malloc.c: Likewise.
28301 * malloc/malloc.h: Likewise.
28302 * malloc/mcheck.c: Likewise.
28303 * malloc/mtrace.c: Likewise.
28304 * math/bits/mathcalls.h: Likewise.
28305 * math/fenv.h: Likewise.
28306 * math/math_private.h: Likewise.
28307 * misc/bits/error.h: Likewise.
28308 * misc/bits/syslog.h: Likewise.
28309 * misc/err.h: Likewise.
28310 * misc/error.h: Likewise.
28311 * misc/fstab.h: Likewise.
28312 * misc/mntent.h: Likewise.
28313 * misc/regexp.h: Likewise.
28314 * misc/search.h: Likewise.
28315 * misc/sgtty.h: Likewise.
28316 * misc/sys/mman.h: Likewise.
28317 * misc/sys/syslog.h: Likewise.
28318 * misc/sys/uio.h: Likewise.
28319 * misc/sys/xattr.h: Likewise.
28320 * misc/ttyent.h: Likewise.
28321 * nis/rpcsvc/ypclnt.h: Likewise.
28322 * nss/nss.h: Likewise.
28323 * posix/bits/unistd.h: Likewise.
28324 * posix/fnmatch.h: Likewise.
28325 * posix/glob.h: Likewise.
28326 * posix/sched.h: Likewise.
28327 * posix/spawn.h: Likewise.
28328 * posix/sys/wait.h: Likewise.
28329 * posix/unistd.h: Likewise.
28330 * posix/wordexp.h: Likewise.
28331 * pwd/pwd.h: Likewise.
28332 * resolv/netdb.h: Likewise.
28333 * resource/sys/resource.h: Likewise.
28334 * rt/aio.h: Likewise.
28335 * rt/bits/mqueue2.h: Likewise.
28336 * rt/mqueue.h: Likewise.
28337 * shadow/shadow.h: Likewise.
28338 * signal/signal.h: Likewise.
28339 * socket/send.c: Likewise.
28340 * socket/sendto.c: Likewise.
28341 * socket/sys/socket.h: Likewise.
28342 * stdio-common/printf.h: Likewise.
28343 * stdlib/bits/stdlib.h: Likewise.
28344 * stdlib/fmtmsg.h: Likewise.
28345 * stdlib/monetary.h: Likewise.
28346 * stdlib/stdlib.h: Likewise.
28347 * stdlib/ucontext.h: Likewise.
28348 * streams/stropts.h: Likewise.
28349 * string/argz.h: Likewise.
28350 * string/bits/string2.h: Likewise.
28351 * string/string.h: Likewise.
28352 * string/strings.h: Likewise.
28353 * sunrpc/rpc/auth.h: Likewise.
28354 * sunrpc/rpc/auth_des.h: Likewise.
28355 * sunrpc/rpc/clnt.h: Likewise.
28356 * sunrpc/rpc/netdb.h: Likewise.
28357 * sunrpc/rpc/pmap_clnt.h: Likewise.
28358 * sunrpc/rpc/xdr.h: Likewise.
28359 * sysdeps/generic/inttypes.h: Likewise.
28360 * sysdeps/generic/net/if.h: Likewise.
28361 * sysdeps/generic/sys/swap.h: Likewise.
28362 * sysdeps/gnu/net/if.h: Likewise.
28363 * sysdeps/gnu/utmpx.h: Likewise.
28364 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28365 * sysdeps/i386/i486/bits/string.h: Likewise.
28366 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28367 * sysdeps/s390/bits/string.h: Likewise.
28368 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28369 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28370 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28371 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28372 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28373 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28374 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28375 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28376 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28377 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28378 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28379 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28380 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28381 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28382 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28383 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28384 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28386 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28388 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28389 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28390 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28391 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28392 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28393 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28394 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28395 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28396 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28397 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28398 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28399 * sysvipc/sys/ipc.h: Likewise.
28400 * sysvipc/sys/msg.h: Likewise.
28401 * sysvipc/sys/sem.h: Likewise.
28402 * sysvipc/sys/shm.h: Likewise.
28403 * termios/termios.h: Likewise.
28404 * time/sys/time.h: Likewise.
28405 * time/time.h: Likewise.
28406 * wcsmbs/bits/wchar2.h: Likewise.
28407 * wcsmbs/uchar.h: Likewise.
28408 * wcsmbs/wchar.h: Likewise.
28409 * wctype/wctype.h: Likewise.
28412 * Makeconfig: Remove all but ELF support including AIX support.
28413 * Makerules: Likewise.
28414 * config.h.in: Likewise.
28415 * config.make.in: Likewise.
28416 * configure: Likewise.
28417 * configure.in: Likewise.
28418 * csu/Makefile: Likewise.
28419 * csu/version.c: Likewise.
28420 * debug/Makefile: Likewise.
28421 * dlfcn/Makefile: Likewise.
28422 * elf/Makefile: Likewise.
28423 * extra-lib.mk: Likewise.
28424 * iconv/Makefile: Likewise.
28425 * include/libc-symbols.h: Likewise.
28426 * include/shlib-compat.h: Likewise.
28427 * resolv/Makefile: Likewise.
28428 * resolv/res_libc.c: Likewise.
28429 * rt/Makefile: Likewise.
28430 * sysdeps/i386/asm-syntax.h: Likewise.
28431 * sysdeps/i386/sysdep.h: Likewise.
28432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28433 * sysdeps/mach/sysdep.h: Likewise.
28434 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28435 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28436 * sysdeps/s390/asm-syntax.h: Likewise.
28437 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28438 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28439 * sysdeps/sh/sysdep.h: Likewise.
28440 * sysdeps/unix/sparc/sysdep.h: Likewise.
28441 * sysdeps/wordsize-32/divdi3.c: Likewise.
28442 * sysdeps/x86_64/sysdep.h: Likewise.
28444 * argp/Versions: Remove _argp_unlock_xxx.
28447 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28448 * abilist/libBrokenLocale.abilist: Likewise.
28449 * abilist/libanl.abilist: Likewise.
28450 * abilist/libc.abilist: Likewise.
28451 * abilist/libcrypt.abilist: Likewise.
28452 * abilist/libdl.abilist: Likewise.
28453 * abilist/libm.abilist: Likewise.
28454 * abilist/libnsl.abilist: Likewise.
28455 * abilist/libpthread.abilist: Likewise.
28456 * abilist/libresolv.abilist: Likewise.
28457 * abilist/librt.abilist: Likewise.
28458 * abilist/libthread_db.abilist: Likewise.
28459 * abilist/libutil.abilist: Likewise.
28460 * abilist/libnss_db.abilist: New file.
28462 * scripts/abilist.awk: Add support for indirect functions.
28464 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28466 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28468 * shlib-versions: Remove entries for ports architectures.
28470 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28472 * elf/stackguard-macros.h: Remove support for IA-64.
28473 * elf/tst-auditmod1.c: Likewise.
28474 * sysdeps/generic/ldsodefs.h: Likewise.
28476 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28477 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28481 * configure.in: Remove --enable-omitfp support.
28483 * config.make.in: Likewise.
28484 * Makeconfig: Likewise.
28485 * manual/install.texi: Likewise.
28487 In case anyone cares, the IA-64 architecture could move to ports.
28488 * sysdeps/ia64/*: Removed.
28489 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28490 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28493 * configure.in: Remove entries for unsupported architectures.
28496 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28497 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28499 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28500 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28501 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28502 fall back to using wcrtomb.
28503 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28504 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28506 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28507 * wcsmbs/tst-c16c32-1.c: New file.
28509 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28512 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28514 * elf/tst-unique3.cc: Add explicit declaration of gets.
28515 * elf/tst-unique3lib.cc: Likewise.
28516 * elf/tst-unique3lib2.cc: Likewise.
28517 * elf/tst-unique4.cc: Likewise.
28519 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28521 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28524 * assert/assert.h (static_assert): Don't define for C++.
28525 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28526 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28528 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28530 * iconv/loop.c (single loop): Fix assertion in storing of
28533 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28535 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28537 * posix/getconf.c: Update copyright year.
28538 * nss/getent.c: Likewise.
28539 * nss/makedb.c: Likewise.
28540 * iconv/iconvconfig.c: Likewise.
28541 * iconv/iconv_prog.c: Likewise.
28542 * elf/ldconfig.c: Likewise.
28543 * elf/pldd.c: Likewise.
28544 * elf/sotruss.ksh: Likewise.
28545 * catgets/gencat.c: Likewise.
28546 * csu/version.c: Likewise.
28547 * elf/ldd.bash.in: Likewise.
28548 * elf/sprof.c (print_version): Likewise.
28549 * locale/programs/locale.c: Likewise.
28550 * locale/programs/localedef.c: Likewise.
28551 * login/programs/pt_chown.c: Likewise.
28552 * nscd/nscd.c (print_version): Likewise.
28553 * debug/xtrace.sh: Likewise.
28554 * malloc/memusage.sh: Likewise.
28555 * malloc/mtrace.pl: Likewise.
28556 * debug/catchsegv.sh: Likewise.
28558 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28560 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28563 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28566 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28567 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28569 * iconv/gconv_int.h: Likewise.
28570 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28571 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28572 from libc for GLIBC_2.16.
28573 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28574 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28575 * wcsmbs/uchar.h: Really define mbstate_t.
28576 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28577 * wcsmbs/c16rtomb.c: New file.
28578 * wcsmbs/mbrtoc16.c: New file.
28579 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28580 for C/POSIX locale.
28581 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28582 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28584 * wcsmbs/wchar.h: Add missing __restrict.
28586 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28589 * time/Makefile (routines): Add timespec_get.
28590 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28591 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28592 timespec for ISO C11.
28593 * time/timespec_get.c: New file.
28594 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28595 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28598 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28599 * stdlib/stdlib.h: Declare aligned_alloc.
28600 * Versions.def: Add GLIBC_2.16 for libc.
28601 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28604 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28607 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28611 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28614 * assert/assert.h (static_assert): Define.
28616 * version.h: Update for 2.16 development version.
28619 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28622 * version.h (RELEASE): Bump for 2.15 release.
28623 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28625 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28626 Patch by Marek Polacek <mpolacek@redhat.com>.
28628 * bits/byteswap.h: Protect long long constants with __extension__.
28629 * sysdeps/i386/bits/byteswap.h: Likewise.
28630 * sysdeps/ia64/bits/byteswap.h: Likewise.
28631 * sysdeps/s390/bits/byteswap.h: Likewise.
28632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28634 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28637 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28638 destination buffer.
28639 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28641 2011-12-23 Marek Polacek <polacek@redhat.com>
28643 * elf/dl-addr.c (determine_info): Add inline keyword.
28644 * elf/tst-auditmod4b.c (check_avx): Likewise.
28645 * elf/tst-auditmod6b.c (check_avx): Likewise.
28646 * elf/tst-auditmod6c.c (check_avx): Likewise.
28647 * elf/tst-auditmod7b.c (check_avx): Likewise.
28649 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28651 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28654 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28657 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28658 processing for last bytes.
28660 2011-08-06 Bruno Haible <bruno@clisp.org>
28663 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28664 U+0385, not to U+1FEE.
28667 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28668 entry for U+00A5 U+0301.
28670 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28673 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28674 buffer for the output is too small.
28676 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28680 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28681 SSE flags if possible.
28683 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28686 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28687 processing for last bytes.
28689 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28691 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28692 (syscall-list-default-options, syscall-list-default-condition)
28693 (syscall-list-includes): Define.
28694 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28695 list of ABIs and options and #if conditions for each ABI. Do not
28696 handle common syscalls between ABIs specially.
28697 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28699 (syscall-list-variants, syscall-list-32bit-options)
28700 (syscall-list-32bit-condition, syscall-list-64bit-options)
28701 (syscall-list-64bit-condition): Define.
28702 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28703 (syscall-list-variants, syscall-list-32bit-options)
28704 (syscall-list-32bit-condition, syscall-list-64bit-options)
28705 (syscall-list-64bit-condition): Define.
28706 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28708 (syscall-list-variants, syscall-list-32bit-options)
28709 (syscall-list-32bit-condition, syscall-list-64bit-options)
28710 (syscall-list-64bit-condition): Define.
28711 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28713 (syscall-list-variants, syscall-list-32bit-options)
28714 (syscall-list-32bit-condition, syscall-list-64bit-options)
28715 (syscall-list-64bit-condition): Define.
28717 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28719 * locale/iso-639.def: Add brx entry.
28722 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28723 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28725 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28726 __feraiseexcept_renamed.
28728 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28731 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28732 EPOLLET with unsigned values.
28733 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28736 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28737 to large cancellation.
28738 * math/s_cacoshf.c: Likewise.
28739 * math/s_cacoshl.c: Likewise.
28741 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28745 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28746 * math/s_cacoshf.c: Likewise.
28747 * math/s_cacoshl.c: Likewise.
28749 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28752 * iconv/gconv.h: Define __GCONV_SWAP.
28753 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28754 * iconvdata/utf-16.c: Likewise.
28755 * iconvdata/utf-32.c: Likewise.
28757 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28761 numerator after shifting it by one limb.
28763 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28766 under [__USE_EXTERN_INLINES].
28768 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28771 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28773 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28775 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28776 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28778 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28779 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28780 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28781 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28782 for strncasecmp/strncasecmp_l compilation.
28783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28784 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28786 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28789 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28792 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28795 * time/tzfile.c (__tzfile_read): Check values from file header.
28797 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28799 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28800 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28801 * powerpc/powerpc32/dl-start.S: Likewise.
28802 * powerpc/powerpc32/elf/start.S: Likewise.
28803 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28804 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28805 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28806 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28807 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28808 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28809 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28810 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28811 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28812 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28813 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28814 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28815 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28816 * powerpc/powerpc32/memset.S: Likewise.
28817 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28818 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28819 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28820 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28821 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28822 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28823 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28824 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28825 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28826 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28827 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28828 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28829 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28831 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28833 * math/libm-test.inc: Added more nearbyint tests.
28834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28839 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28841 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28844 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28846 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28847 Add wcscpy-ssse3 wcscpy-c.
28848 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28849 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28850 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28851 * sysdeps/x86_64/wcschr.S: New file.
28852 * sysdeps/x86_64/wcsrchr.S: New file.
28853 * string/test-strcmp.c: Remove checking of wcscmp function for
28855 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28856 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28857 wcsrchr-sse2 wcsrchr-c.
28858 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28859 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28860 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28861 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28862 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28863 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28864 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28865 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28866 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28867 * wcsmbc/wcschr.c (WCSCHR): New macro.
28869 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28871 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28872 * wcsmbs/test-wcsrchr.c: New file.
28873 * string/test-strrchr.c: Add wcsrchr support.
28875 * wcsmbs/test-wcscpy.c: New file.
28876 * string/test-strcpy.c: Add wcscpy support.
28879 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28881 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28884 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28887 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28889 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28891 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28892 Minor optimizations.
28894 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28895 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28896 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28898 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28900 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28901 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28902 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28903 for gcc to avoid warnings.
28904 * inet/Makefile (tests): Add tst-checks.
28905 * inet/tst-checks.c: New file.
28907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28910 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28913 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28914 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28916 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28918 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28920 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28923 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28925 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28927 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28928 conditional on GCC version.
28929 (__arch_compare_and_exchange_val_8_acq)
28930 (__arch_compare_and_exchange_val_16_acq)
28931 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28932 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28933 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28935 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28937 * sysdeps/sh/backtrace.c: New file.
28939 2011-12-02 Andreas Schwab <schwab@redhat.com>
28941 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28944 2011-12-01 Andreas Schwab <schwab@redhat.com>
28946 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28947 falling back to utime.
28949 2011-11-30 Andreas Schwab <schwab@redhat.com>
28951 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28952 expectations for float.
28954 2011-11-29 Andreas Schwab <schwab@redhat.com>
28956 * locale/weight.h (findidx): Add parameter len.
28957 * locale/weightwc.h (findidx): Likewise.
28958 * posix/fnmatch_loop.c (FCT): Adjust caller.
28959 * posix/regcomp.c (build_equiv_class): Likewise.
28960 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28961 * posix/regexec.c (check_node_accept_bytes): Likewise.
28962 * string/strcoll_l.c (STRCOLL): Likewise.
28963 * string/strxfrm_l.c (STRXFRM): Likewise.
28965 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28967 * Makefile.in: Remove CVSOPT handling.
28968 * configure.in: Remove use of AC_REVISION.
28969 * iconvdata/Makefile (distribute): No need to filter out CVS.
28970 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28973 2011-11-16 Andreas Schwab <schwab@redhat.com>
28975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28976 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28977 [USE_AS_STRNCASECMP_L]: Likewise.
28978 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28979 NO_TLS_DIRECT_SEG_REFS.
28980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28981 Fix argument offsets for non-PIC.
28982 [USE_AS_STRNCASECMP_L]: Likewise.
28983 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28984 NO_TLS_DIRECT_SEG_REFS.
28986 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28988 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28990 * locale/loadlocale.c (_nl_load_locale): Likewise.
28992 2011-11-15 Andreas Schwab <schwab@redhat.com>
28994 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28995 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28997 (SYSCALL_GETTIME): Set errno on error.
28999 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29000 count references to noai6ai_cached.
29002 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29004 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29006 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29007 FD_CLOEXEC for /proc/self/maps.
29009 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29010 FD_CLOEXEC for /proc/meminfo.
29012 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29015 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29016 FD_CLOEXEC for given file.
29018 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29020 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29021 FD_CLOEXEC for /etc/hosts.
29022 (_gethtent): Likewise.
29024 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29026 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29027 cancellation and set FD_CLOEXEC for /etc/netgroup.
29029 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29030 reading /etc/publickey.
29032 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29033 allow cancellation when reading /etc/group.
29035 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29037 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29039 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29040 when using data file.
29042 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29044 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29045 (write_nis_obj): Use "c" and "e" in fopen.
29047 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29049 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29051 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29053 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29055 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29058 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29060 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29062 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29064 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29065 file parsing and set FD_CLOEXEC.
29067 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29069 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29071 2011-11-14 Andreas Schwab <schwab@redhat.com>
29073 * malloc/arena.c (arena_get2): Don't call reused_arena when
29074 _int_new_arena failed.
29076 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29078 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29079 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29080 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29084 to compile strcasecmp and strncasecmp.
29085 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29086 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29090 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29092 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29093 locale-defines.sym to gen-as-const-headers.
29094 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29095 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29097 to compile strcasecmp and strncasecmp.
29098 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29099 strcasecmp_l and strncasecmp_l.
29100 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29101 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29102 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29103 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29104 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29105 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29106 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29107 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29108 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29109 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29110 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29112 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29114 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29115 result of SYSDEP_GETTIME_CPU to retval.
29116 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29117 parameter list to macro. Remove trailing semicolon. Adjust users.
29119 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29122 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29126 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29127 from unused variable.
29129 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29131 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29134 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29137 * sunrpc/rpc_prot.c (rejected): Fix case value.
29139 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29140 unsigned long long int to avoid warnings in shift.
29142 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29144 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29147 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29148 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29149 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29151 * nis/nis_table.c (nis_list): Use variable of correct type for
29152 result of __follow_path call.
29154 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29156 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29157 of math functions ceil, trunc, floor, round, and sqrt, when
29158 avaliable on the platform.
29159 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29165 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29167 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29168 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29170 2011-11-11 Roland McGrath <roland@hack.frob.com>
29172 * include/unistd.h: Fix __readlink return type.
29173 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29175 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29177 * stdlib/ucontext.h: Undo last change for makecontext.
29179 2011-11-11 Andreas Schwab <schwab@redhat.com>
29181 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29183 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29184 * setjmp/setjmp.h: Mark functions as non-leaf.
29185 * setjmp/bits/setjmp2.h: Likewise.
29186 * stdlib/ucontext.h: Likewise.
29188 2011-11-10 Andreas Schwab <schwab@redhat.com>
29190 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29191 (reused_arena): Don't check arena limit.
29192 (arena_get2): Atomically check arena limit.
29194 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29196 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29197 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29202 2011-11-07 Andreas Schwab <schwab@redhat.com>
29204 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29205 handler when locking.
29207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29208 Fix size of allocated buffer.
29210 2011-11-04 Andreas Schwab <schwab@redhat.com>
29213 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29214 declarations for long double functions.
29215 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29217 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29219 2011-11-03 Andreas Schwab <schwab@redhat.com>
29221 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29224 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29227 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29229 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29231 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29233 * include/alloca.h (stackinfo_alloca_round): Define.
29234 (extend_alloca): Use it.
29235 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29236 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29239 * scripts/check-local-headers.sh: Ignore libaudit.h.
29241 * nscd/Makefile (extra-objs): Make recursively expanded.
29243 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29245 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29248 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29249 * posix/tst-rfc3484-2.c: Likewise.
29250 * posix/tst-rfc3484-3.c: Likewise.
29252 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29254 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29256 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29257 process_vm_writev from libc using GLIBC_2.15 version.
29259 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29261 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29263 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29266 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29269 * nss/getent.c (initgroups_keys): Show error message in case no group
29272 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29273 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29274 __bump_nl_timestamp.
29275 * nscd/connections (nscd_init): When host database is served open
29276 netlink socket and request notification about configuration changes.
29277 (main_loop_poll): Track netlink file descriptor and bump timestamp
29278 in case data becomes available.
29279 (main_loop_epoll): Likewise.
29280 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29281 (database_pers_head): Add extra_data fileds.
29282 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29284 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29286 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29287 in6ai data, call __free_in6ai.
29288 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29289 Add -DHAVE_NETLINK.
29290 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29291 interface information. Reuse previous data if netlink timestamp
29293 (__bump_nl_timestamp): New function.
29294 (__free_in6ai): New function.
29296 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29298 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29299 close_not_cancel_no_status here.
29300 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29302 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29305 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29308 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29309 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29310 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29312 2011-07-03 Andreas Jaeger <aj@suse.de>
29315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29316 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29317 * math/libm-test.inc (sin_test): Add test case.
29319 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29322 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29325 * elf/chroot_canon.c (chroot_canon): Cleanups.
29327 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29330 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29331 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29333 * string/test-strchr.c: Make usable for strchrnul testing.
29334 * string/test-strchrnul.c: New file.
29335 * string/Makefile (strop-tests): Add strchrnul.
29337 * po/it.po: Update from translation team.
29338 * po/es.po: Likewise.
29340 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29343 the three constants needed as parameters. Drop the others.
29344 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29345 __m128i_strloadu_tolower.
29346 Create and initialize variable zero and use it in all the places
29347 where _mm_setzero_si128 was used.
29349 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29350 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29351 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29352 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29354 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29355 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29356 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29357 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29358 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29359 __mpranred, __mptan.
29360 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29361 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29362 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29363 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29364 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29365 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29367 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29368 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29370 2011-10-28 Andreas Schwab <schwab@redhat.com>
29372 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29373 redefine if SHARED.
29374 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29377 wide char related routines to wcsmbs subdir.
29379 2011-10-27 Andreas Schwab <schwab@redhat.com>
29382 * misc/sys/cdefs.h (__THROWNL): Define.
29383 * posix/unistd.h: Use __THREADNL instead of __THREAD
29384 for memory synchronization functions.
29386 2011-10-26 Roland McGrath <roland@hack.frob.com>
29389 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29391 * manual/stdio.texi (Obstack Streams): Node removed.
29393 2011-10-26 Andreas Schwab <schwab@redhat.com>
29395 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29396 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29399 * math/math_private.h (math_force_eval): Allow non-addressable
29401 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29403 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29405 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29406 file is not needed.
29408 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29411 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29412 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29413 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29415 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29417 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29418 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29419 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29420 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29421 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29422 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29423 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29424 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29425 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29426 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29427 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29428 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29429 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29430 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29431 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29432 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29433 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29434 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29435 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29437 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29438 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29440 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29441 place. Use VEX encoding when compiling for AVX.
29443 2011-10-25 Andreas Schwab <schwab@redhat.com>
29445 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29446 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29448 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29450 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29452 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29453 useless if() expression.
29454 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29455 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29456 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29457 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29458 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29459 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29462 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29465 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29466 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29469 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29470 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29471 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29472 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29474 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29476 2011-10-25 Andreas Schwab <schwab@redhat.com>
29478 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29484 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29485 .text section. Avoid duplicate constants.
29486 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29488 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29494 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29495 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29496 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29497 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29498 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29499 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29500 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29501 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29502 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29503 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29505 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29506 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29507 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29508 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29509 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29510 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29511 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29512 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29513 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29514 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29515 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29516 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29517 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29518 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29519 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29520 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29521 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29522 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29524 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29525 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29526 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29527 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29528 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29529 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29530 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29532 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29534 * sysdeps/x86_64/dla.h: Move to ...
29535 * sysdeps/x86_64/fpu/dla.h: ...here.
29536 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29537 situations. Use __builtin_fma only for gcc 4.6 and up.
29539 * config.make.in: Add have-mfma4 entry.
29540 * configure.in: Substitute libc_cv_cc_fma4.
29541 * math/Makefile (dbl-only-routines): Add sincostab.
29542 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29543 Use __sincostab not sincos.
29544 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29551 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29552 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29553 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29554 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29557 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29559 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29560 define aliases when function name is a macro.
29561 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29562 sysdeps/ieee754/dbl-64/sincos.tbl.
29563 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29564 fma4-enabled routines.
29565 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29566 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29567 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29568 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29569 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29570 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29571 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29574 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29575 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29576 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29577 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29578 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29579 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29580 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29581 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29582 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29583 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29584 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29585 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29586 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29588 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29589 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29590 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29592 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29593 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29594 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29596 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29604 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29607 2011-10-24 Andreas Schwab <schwab@redhat.com>
29609 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29611 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29613 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29615 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29619 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29620 Remove unused variable magic_bits.
29621 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29623 * string/strnlen.c: Define and use STRNLEN macro.
29624 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29625 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29627 * wcsmbs/wcslen.c: Define and use WCSLEN.
29628 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29629 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29630 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29631 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29632 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29633 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29634 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29636 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29639 strnlen-sse2-no-bsf.
29640 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29641 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29642 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29643 Add strnlen support.
29644 (USE_AS_STRNLEN): New macro.
29645 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29646 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29647 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29648 * sysdeps/x86_64/wcslen.S: New file.
29650 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29652 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29653 XMM-moves are used for copying on small sizes.
29655 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29657 * wcsmbs/Makefile (strop-tests): Add wcschr.
29658 * wcsmbs/test-wcschr.c: New file.
29659 * string/test-strchr.c: Update.
29660 Add wcschr support.
29663 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29665 * wcsmbs/Makefile (strop-tests): Add wcslen.
29666 * wcsmbs/test-wcslen.c: New file.
29667 * string/test-strlen.c: Update.
29668 Add wcslen support.
29671 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29673 * po/it.po: Update from translation team.
29675 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29677 * sysdeps/x86_64/wcscmp.S: Update.
29678 Fix wrong comparison semantics.
29679 wcscmp shall use signed comparison not unsigned.
29680 Don't use substraction to avoid overflow bug.
29681 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29682 * wcsmbc/wcscmp.c: Likewise.
29683 * string/test-strcmp.c: Likewise.
29684 Add new tests to check cases with negative values.
29686 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29688 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29689 * sysdeps/x86_64/dla.h: ...here. New file.
29690 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29694 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29700 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29702 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29703 __ynl_finite aliases.
29705 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29709 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29711 [DLA_FMA] (EMULV): Use DLA_FMA.
29712 [DLA_FMA] (MUL12): Use EMULV.
29713 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29714 that are not needed.
29715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29723 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29725 * math/s_nan.c: Undef __nan.
29726 * math/s_nanf.c: Undef __nanf.
29727 * math/s_nanl.c: Undef __nanl.
29728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29731 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29733 * math/s_catan.c: Add branch predictions.
29734 * math/s_catanf.c: Likewise.
29735 * math/s_catanh.c: Likewise.
29736 * math/s_catanhf.c: Likewise.
29737 * math/s_catanhl.c: Likewise.
29738 * math/s_catanl.c: Likewise.
29739 * math/s_cexp.c: Likewise.
29740 * math/s_cexpf.c: Likewise.
29741 * math/s_cexpl.c: Likewise.
29742 * math/s_clog.c: Likewise.
29743 * math/s_clog10.c: Likewise.
29744 * math/s_clog10f.c: Likewise.
29745 * math/s_clog10l.c: Likewise.
29746 * math/s_clogf.c: Likewise.
29747 * math/s_clogl.c: Likewise.
29748 * math/s_csqrt.c: Likewise.
29749 * math/s_csqrtf.c: Likewise.
29750 * math/s_csqrtl.c: Likewise.
29751 * math/s_ctanf.c: Likewise.
29752 * math/s_ctanh.c: Likewise.
29753 * math/s_ctanhf.c: Likewise.
29754 * math/s_ctanhl.c: Likewise.
29755 * math/s_ctanl.c: Likewise.
29757 * math/math_private.h: Define __nan, __nanf, __nanl.
29758 * math/s_cacosh.c: Include <math_private.h>.
29759 * math/s_cacoshl.c: Likewise.
29760 * math/s_casinh.c: Likewise.
29761 * math/s_casinhf.c: Likewise.
29762 * math/s_casinhl.c: Likewise.
29763 * math/s_ccos.c: Rely entire on ccosh.
29764 * math/s_ccosf.c: Rely entire on ccoshf.
29765 * math/s_ccosl.c: Rely entirely on ccoshl.
29766 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29767 Remove tests for FE_INVALID.
29768 * math/s_ccoshf.c: Likewise.
29769 * math/s_ccoshl.c: Likewise.
29770 * math/s_csin.c: Likewise.
29771 * math/s_csinf.c: Likewise.
29772 * math/s_csinh.c Likewise.
29773 * math/s_csinhf.c: Likewise.
29774 * math/s_csinhl.c: Likewise.
29775 * math/s_csinl.c: Likewise.
29776 * math/s_ctan.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29778 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29781 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29784 compilation problems.
29786 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29789 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29791 * sysdeps/i386/configure.in: Test for -mfma4 option.
29792 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29793 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29794 COMMON_CPUID_INDEX_80000001.
29795 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29796 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29797 use it if FMA3 is not supported.
29798 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29800 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29801 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29803 2011-10-20 Andreas Schwab <schwab@redhat.com>
29806 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29807 it would create a cycle with a link time dependency.
29809 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29811 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29813 * string/Makefile (strop-tests): Add rawmemchr.
29814 * string/test-rawmemchr.c: New file.
29816 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29818 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29819 when compiling str{,n}casecmp and when AVX is available. Hook up
29820 new optimized code in initializers.
29822 2011-10-19 Andreas Schwab <schwab@redhat.com>
29824 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29825 __feraiseexcept instead of feraiseexcept.
29827 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29829 * math/math_private.h: Define defaults for libc_fetestexcept and
29831 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29832 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29834 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29835 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29836 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29837 libc_fetestexcept and libc_feupdateenv.
29839 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29840 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29841 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29842 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29843 libc_feholdexcept_setround.
29845 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29846 Add s_nearbyint-c and s_nearbyintf-c.
29847 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29848 nearbyintf inlines.
29849 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29850 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29851 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29852 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29854 * math/math_private.h: Define defaults for libc_fegetround,
29855 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29856 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29857 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29858 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29859 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29860 standard functions.
29861 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29862 Remove comments and hacks for old compiler versions.
29863 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29864 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29865 libc_feholdexceptl.
29867 2011-10-18 Andreas Schwab <schwab@redhat.com>
29869 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29870 (__feraiseexcept_renamed): Add __NTH.
29871 (feraiseexcept): Add __NTH. Rename local variables to fix
29872 namespace violations.
29874 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29876 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29878 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29880 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29881 recently added interfaces.
29882 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29884 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29885 about macro parameter expansion.
29887 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29888 __NO_MATH_INLINES is defined. Cleanups.
29890 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29891 and __floorf is target has SSE4.1.
29892 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29893 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29894 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29895 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29897 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29899 (floorf): Likewise.
29901 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29903 2011-10-17 Andreas Schwab <schwab@redhat.com>
29905 * misc/sys/cdefs.h: Fix last change.
29907 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29910 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29912 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29914 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29915 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29918 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29919 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29921 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29924 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29925 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29926 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29927 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29928 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29929 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29930 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29931 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29932 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29933 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29934 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29935 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29937 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29938 ceil, ceilf, floor, floorf.
29940 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29941 Perform IRELATIVE relocations last.
29943 * elf/do-rel.h: Add another parameter nrelative, replacing the
29944 local variable with the same name. Change name of the function
29945 to end in Rel or Rela (uppercase).
29946 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29947 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29948 elf_dynamic_do_##reloc function.
29950 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29952 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29953 is sufficient, at least on modern CPUs.
29955 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29957 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29958 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29960 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29962 * math/bits/math-finite.h: Add entries for exp.
29963 * math/e_expl.c: Add __*_finite alias.
29964 * sysdeps/i386/fpu/e_exp.S: Likewise.
29965 * sysdeps/i386/fpu/e_expf.S: Likewise.
29966 * sysdeps/i386/fpu/e_expl.c: Likewise.
29967 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29968 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29971 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29972 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29975 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29976 is sufficient, at least on modern CPUs.
29978 * ctype/ctype-info.c (__ctype_init): Define.
29979 * include/ctype.h (__ctype_init): Declare.
29980 (__ctype_b_loc): The variable is always initialized.
29981 (__ctype_toupper_loc): Likewise.
29982 (__ctype_tolower_loc): Likewise.
29983 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29984 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29986 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29988 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29990 * configure.in: Also look in $cxxmachine/include for C++ system
29993 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29995 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29996 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29997 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29998 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30000 (USE_AS_WMEMCMP): New macro.
30002 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30003 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30004 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30005 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30007 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30008 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30010 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30011 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30013 (USE_AS_WMEMCMP): New macro.
30014 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30015 * sysdeps/string/test-memcmp.c: Update.
30016 Fix simple_wmemcmp.
30018 * wcsmbs/wmemcmp.c: Update.
30019 (WMEMCMP): New macro.
30022 2011-10-12 Andreas Jaeger <aj@suse.de>
30025 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30027 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30029 * libio/iofwide.c (do_length): Avoid warning.
30031 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30033 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30035 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30037 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30038 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30039 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30040 * sysdeps/i386/i686/fpu/e_log.S: New file.
30041 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30042 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30044 * ctype/ctype.h: Add support for inlined isXXX functions when
30045 compiling C++ code.
30047 2011-10-14 Andreas Schwab <schwab@redhat.com>
30049 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30051 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30053 2011-10-13 Roland McGrath <roland@hack.frob.com>
30056 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30058 2011-10-13 Andreas Schwab <schwab@redhat.com>
30060 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30061 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30064 * sysdeps/x86_64/memrchr.S: Check for zero size.
30066 * string/stratcliff.c: Add memrchr tests.
30068 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30071 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30072 rawmemchr-sse2 rawmemchr-sse2-bsf.
30073 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30074 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30075 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30076 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30077 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30078 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30079 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30080 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30081 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30082 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30083 * string/memrchr.c (MEMRCHR): New macro.
30085 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30087 Add integration with gcc's -ffinite-math-only and optimize wrapper
30089 * Versions.def: Define GLIBC_2.15 version for libm.
30090 * math/Makefile (headers): Add bits/math-finite.h.
30091 * math/bits/math-finite.h: New file.
30092 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30093 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30094 * math/e_acoshl.c: Add __*_finite alias.
30095 * math/e_acosl.c: Likewise.
30096 * math/e_asinl.c: Likewise.
30097 * math/e_atan2l.c: Likewise.
30098 * math/e_atanhl.c: Likewise.
30099 * math/e_coshl.c: Likewise.
30100 * math/e_exp10.c: Likewise.
30101 * math/e_exp10f.c: Likewise.
30102 * math/e_exp10l.c: Likewise.
30103 * math/e_exp2l.c: Likewise.
30104 * math/e_fmodl.c: Likewise.
30105 * math/e_gammal_r.c: Likewise.
30106 * math/e_hypotl.c: Likewise.
30107 * math/e_j0l.c: Likewise.
30108 * math/e_j1l.c: Likewise.
30109 * math/e_jnl.c: Likewise.
30110 * math/e_lgammal_r.c: Likewise.
30111 * math/e_log10l.c: Likewise.
30112 * math/e_log2l.c: Likewise.
30113 * math/e_logl.c: Likewise.
30114 * math/e_powl.c: Likewise.
30115 * math/e_sinhl.c: Likewise.
30116 * math/e_sqrtl.c: Likewise.
30117 * math/e_scalb.c: Completely rewritten and optimized.
30118 * math/e_scalbf.c: Likewise.
30119 * math/e_scalbl.c: Likewise.
30120 * math/w_acos.c: Likewise.
30121 * math/w_acosf.c: Likewise.
30122 * math/w_acosl.c: Likewise.
30123 * math/w_acosh.c: Likewise.
30124 * math/w_acoshf.c: Likewise.
30125 * math/w_acoshl.c: Likewise.
30126 * math/w_asin.c: Likewise.
30127 * math/w_asinf.c: Likewise.
30128 * math/w_asinl.c: Likewise.
30129 * math/w_atan2.c: Likewise.
30130 * math/w_atan2f.c: Likewise.
30131 * math/w_atan2l.c: Likewise.
30132 * math/w_atanh.c: Likewise.
30133 * math/w_atanhf.c: Likewise.
30134 * math/w_atanhl.c: Likewise.
30135 * math/w_exp10.c: Likewise.
30136 * math/w_exp10f.c: Likewise.
30137 * math/w_exp10l.c: Likewise.
30138 * math/w_fmod.c: Likewise.
30139 * math/w_fmodf.c: Likewise.
30140 * math/w_fmodl.c: Likewise.
30141 * math/w_j0.c: Likewise.
30142 * math/w_j0f.c: Likewise.
30143 * math/w_j0l.c: Likewise.
30144 * math/w_j1.c: Likewise.
30145 * math/w_j1f.c: Likewise.
30146 * math/w_j1l.c: Likewise.
30147 * math/w_jn.c: Likewise.
30148 * math/w_jnf.c: Likewise.
30149 * math/w_log.c: Likewise.
30150 * math/w_logf.c: Likewise.
30151 * math/w_logl.c: Likewise.
30152 * math/w_log10.c: Likewise.
30153 * math/w_log10f.c: Likewise.
30154 * math/w_log10l.c: Likewise.
30155 * math/w_log2.c: Likewise.
30156 * math/w_log2f.c: Likewise.
30157 * math/w_log2l.c: Likewise.
30158 * math/w_pow.c: Likewise.
30159 * math/w_powf.c: Likewise.
30160 * math/w_powl.c: Likewise.
30161 * math/w_remainder.c: Likewise.
30162 * math/w_remainderf.c: Likewise.
30163 * math/w_remainderl.c: Likewise.
30164 * math/w_scalb.c: Likewise.
30165 * math/w_scalbf.c: Likewise.
30166 * math/w_scalbl.c: Likewise.
30167 * math/w_sqrt.c: Likewise.
30168 * math/w_sqrtf.c: Likewise.
30169 * math/w_sqrtl.c: Likewise.
30170 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30171 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30173 * math/math_private.h: Declare __kernel_standard_f.
30174 * math/w_cosh.c: Remove cruft and optimize a bit.
30175 * math/w_coshf.c: Likewise.
30176 * math/w_coshl.c: Likewise.
30177 * math/w_exp2.c: Likewise.
30178 * math/w_exp2f.c: Likewise.
30179 * math/w_exp2l.c: Likewise.
30180 * math/w_hypot.c: Likewise.
30181 * math/w_hypotf.c: Likewise.
30182 * math/w_hypotl.c: Likewise.
30183 * math/w_lgamma.c: Likewise.
30184 * math/w_lgamma_r.c: Likewise.
30185 * math/w_lgammaf.c: Likewise.
30186 * math/w_lgammaf_r.c: Likewise.
30187 * math/w_lgammal.c: Likewise.
30188 * math/w_lgammal_r.c: Likewise.
30189 * math/w_sinh.c: Likewise.
30190 * math/w_sinhf.c: Likewise.
30191 * math/w_sinhl.c: Likewise.
30192 * math/w_tgamma.c: Likewise.
30193 * math/w_tgammaf.c: Likewise.
30194 * math/w_tgammal.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30196 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30197 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30198 Minor optimizations. Pretty printing. Remove cruft.
30199 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30201 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30202 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30203 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30204 * sysdeps/i386/fpu/e_asin.S: Likewise.
30205 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30206 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30207 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30208 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30209 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30210 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30211 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30212 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30213 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30214 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30215 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30216 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30217 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30218 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30219 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30220 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30221 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30222 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30223 * sysdeps/i386/fpu/e_log.S: Likewise.
30224 * sysdeps/i386/fpu/e_log10.S: Likewise.
30225 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30226 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30227 * sysdeps/i386/fpu/e_log2.S: Likewise.
30228 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30229 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30230 * sysdeps/i386/fpu/e_logf.S: Likewise.
30231 * sysdeps/i386/fpu/e_logl.S: Likewise.
30232 * sysdeps/i386/fpu/e_pow.S: Likewise.
30233 * sysdeps/i386/fpu/e_powf.S: Likewise.
30234 * sysdeps/i386/fpu/e_powl.S: Likewise.
30235 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30236 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30237 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30238 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30239 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30241 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30242 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30243 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30247 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30248 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30249 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30250 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30251 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30252 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30253 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30254 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30255 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30257 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30258 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30260 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30261 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30262 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30264 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30265 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30266 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30267 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30268 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30269 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30270 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30271 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30272 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30273 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30274 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30275 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30276 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30278 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30279 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30280 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30281 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30282 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30283 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30284 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30285 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30286 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30287 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30288 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30290 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30291 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30293 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30294 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30297 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30298 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30299 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30301 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30302 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30304 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30321 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30322 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30327 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30329 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30330 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30332 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30335 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30336 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30337 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30338 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30339 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30340 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30341 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30342 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30343 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30344 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30345 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30346 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30347 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30349 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30350 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30351 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30352 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30353 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30354 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30355 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30356 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30357 (__isnanf): Likewise.
30358 (__isinf_ns): Likewise.
30359 (__isinf_nsf): Likewise.
30360 (__finite): Likewise.
30361 (__finitef): Likewise.
30362 (__ieee754_sqrt): Define as macro.
30363 (__ieee754_sqrtf): Define as macro.
30364 (__ieee754_sqrtl): Define as macro.
30365 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30367 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30368 __FINITE_MATH_ONLY__ consistent.
30369 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30371 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30373 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30376 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30378 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30380 * po/ja.po: Update from translation team.
30382 2011-10-08 Roland McGrath <roland@hack.frob.com>
30384 * locale/programs/locarchive.c (prepare_address_space): New function.
30385 (create_archive, enlarge_archive, open_archive): Use it.
30387 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30388 inside [SHARED], where it is used.
30390 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30392 * nss/getent.c (netgroup_keys): Remove unused variable.
30393 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30395 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30397 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30400 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30401 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30402 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30403 * math/Makefile (libm-calls): Add s_isinf_ns.
30404 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30405 * math/multc3.c: Likewise.
30406 * math/s_casin.c: Likewise.
30407 * math/s_casinf.c: Likewise.
30408 * math/s_casinl.c: Likewise.
30409 * math/s_ccos.c: Likewise.
30410 * math/s_ccosf.c: Likewise.
30411 * math/s_ccosl.c: Likewise.
30412 * math/s_ctan.c: Likewise.
30413 * math/s_ctanf.c: Likewise.
30414 * math/s_ctanh.c: Likewise.
30415 * math/s_ctanhf.c: Likewise.
30416 * math/s_ctanhl.c: Likewise.
30417 * math/s_ctanl.c: Likewise.
30418 * math/w_fmod.c: Likewise.
30419 * math/w_fmodf.c: Likewise.
30420 * math/w_fmodl.c: Likewise.
30421 * math/w_remainder.c: Likewise.
30422 * math/w_remainderf.c: Likewise.
30423 * math/w_remainderl.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30425 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30428 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30429 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30430 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30431 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30433 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30435 * stdio-common/printf_fphex.c: Likewise.
30436 * stdio-common/printf_size.c: Likewise.
30438 * math/e_exp10.c: Include math_private.h using <...> not "...".
30439 * math/e_exp10f.c: Likewise.
30440 * math/e_exp10l.c: Likewise.
30441 * math/e_exp2l.c: Likewise.
30442 * math/e_j0l.c: Likewise.
30443 * math/e_j1l.c: Likewise.
30444 * math/e_jnl.c: Likewise.
30445 * math/e_lgammal_r.c: Likewise.
30446 * math/e_rem_pio2l.c: Likewise.
30447 * math/e_scalb.c: Likewise.
30448 * math/e_scalbf.c: Likewise.
30449 * math/e_scalbl.c: Likewise.
30450 * math/k_cosl.c: Likewise.
30451 * math/k_sinl.c: Likewise.
30452 * math/k_tanl.c: Likewise.
30453 * math/s_cacoshf.c: Likewise.
30454 * math/s_catan.c: Likewise.
30455 * math/s_catanf.c: Likewise.
30456 * math/s_catanh.c: Likewise.
30457 * math/s_catanhf.c: Likewise.
30458 * math/s_catanhl.c: Likewise.
30459 * math/s_catanl.c: Likewise.
30460 * math/s_ccosh.c: Likewise.
30461 * math/s_ccoshf.c: Likewise.
30462 * math/s_ccoshl.c: Likewise.
30463 * math/s_cexp.c: Likewise.
30464 * math/s_cexpf.c: Likewise.
30465 * math/s_cexpl.c: Likewise.
30466 * math/s_clog.c: Likewise.
30467 * math/s_clog10.c: Likewise.
30468 * math/s_clog10f.c: Likewise.
30469 * math/s_clog10l.c: Likewise.
30470 * math/s_clogf.c: Likewise.
30471 * math/s_clogl.c: Likewise.
30472 * math/s_csin.c: Likewise.
30473 * math/s_csinf.c: Likewise.
30474 * math/s_csinh.c: Likewise.
30475 * math/s_csinhf.c: Likewise.
30476 * math/s_csinhl.c: Likewise.
30477 * math/s_csinl.c: Likewise.
30478 * math/s_csqrt.c: Likewise.
30479 * math/s_csqrtf.c: Likewise.
30480 * math/s_csqrtl.c: Likewise.
30481 * math/s_ctan.c: Likewise.
30482 * math/s_ctanf.c: Likewise.
30483 * math/s_ctanh.c: Likewise.
30484 * math/s_ctanhf.c: Likewise.
30485 * math/s_ctanhl.c: Likewise.
30486 * math/s_ctanl.c: Likewise.
30487 * math/s_ldexp.c: Likewise.
30488 * math/s_ldexpf.c: Likewise.
30489 * math/s_ldexpl.c: Likewise.
30490 * math/s_significand.c: Likewise.
30491 * math/s_significandf.c: Likewise.
30492 * math/s_significandl.c: Likewise.
30493 * math/w_acos.c: Likewise.
30494 * math/w_acosf.c: Likewise.
30495 * math/w_acosh.c: Likewise.
30496 * math/w_acoshf.c: Likewise.
30497 * math/w_acoshl.c: Likewise.
30498 * math/w_acosl.c: Likewise.
30499 * math/w_asin.c: Likewise.
30500 * math/w_asinf.c: Likewise.
30501 * math/w_asinl.c: Likewise.
30502 * math/w_atan2.c: Likewise.
30503 * math/w_atan2f.c: Likewise.
30504 * math/w_atan2l.c: Likewise.
30505 * math/w_atanh.c: Likewise.
30506 * math/w_atanhf.c: Likewise.
30507 * math/w_atanhl.c: Likewise.
30508 * math/w_cosh.c: Likewise.
30509 * math/w_coshf.c: Likewise.
30510 * math/w_coshl.c: Likewise.
30511 * math/w_dremf.c: Likewise.
30512 * math/w_exp10.c: Likewise.
30513 * math/w_exp10f.c: Likewise.
30514 * math/w_exp10l.c: Likewise.
30515 * math/w_exp2.c: Likewise.
30516 * math/w_exp2f.c: Likewise.
30517 * math/w_fmod.c: Likewise.
30518 * math/w_fmodf.c: Likewise.
30519 * math/w_fmodl.c: Likewise.
30520 * math/w_hypot.c: Likewise.
30521 * math/w_hypotf.c: Likewise.
30522 * math/w_hypotl.c: Likewise.
30523 * math/w_j0.c: Likewise.
30524 * math/w_j0f.c: Likewise.
30525 * math/w_j0l.c: Likewise.
30526 * math/w_j1.c: Likewise.
30527 * math/w_j1f.c: Likewise.
30528 * math/w_j1l.c: Likewise.
30529 * math/w_jn.c: Likewise.
30530 * math/w_jnf.c: Likewise.
30531 * math/w_jnl.c: Likewise.
30532 * math/w_lgamma.c: Likewise.
30533 * math/w_lgamma_r.c: Likewise.
30534 * math/w_lgammaf.c: Likewise.
30535 * math/w_lgammaf_r.c: Likewise.
30536 * math/w_lgammal.c: Likewise.
30537 * math/w_lgammal_r.c: Likewise.
30538 * math/w_log.c: Likewise.
30539 * math/w_log10.c: Likewise.
30540 * math/w_log10f.c: Likewise.
30541 * math/w_log10l.c: Likewise.
30542 * math/w_log2.c: Likewise.
30543 * math/w_log2f.c: Likewise.
30544 * math/w_log2l.c: Likewise.
30545 * math/w_logf.c: Likewise.
30546 * math/w_logl.c: Likewise.
30547 * math/w_pow.c: Likewise.
30548 * math/w_powf.c: Likewise.
30549 * math/w_powl.c: Likewise.
30550 * math/w_remainder.c: Likewise.
30551 * math/w_remainderf.c: Likewise.
30552 * math/w_remainderl.c: Likewise.
30553 * math/w_scalb.c: Likewise.
30554 * math/w_scalbf.c: Likewise.
30555 * math/w_scalbl.c: Likewise.
30556 * math/w_sinh.c: Likewise.
30557 * math/w_sinhf.c: Likewise.
30558 * math/w_sinhl.c: Likewise.
30559 * math/w_sqrt.c: Likewise.
30560 * math/w_sqrtf.c: Likewise.
30561 * math/w_sqrtl.c: Likewise.
30562 * math/w_tgamma.c: Likewise.
30563 * math/w_tgammaf.c: Likewise.
30564 * math/w_tgammal.c: Likewise.
30566 * po/ja.po: Update from translation team.
30568 2011-09-29 Andreas Jaeger <aj@suse.de>
30571 * sunrpc/netname.c (netname2host): Fix logic.
30575 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30577 * math/w_remainder.c (__remainder): Likewise.
30578 * math/w_remainderf.c (__remainderf): Likewise.
30579 * math/libm-test.inc (remainder_test): Add test cases.
30581 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30583 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30586 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30588 * string/test-memcmp.c: Avoid unncessary #defines.
30589 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30591 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30593 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30594 Use new sse2 version for core i3 - i7 as it's faster
30595 than sse42 version.
30596 (bit_Prefer_PMINUB_for_stringop): New.
30597 * sysdeps/x86_64/rawmemchr.S: Update.
30598 Replace with faster SSE2 version.
30599 * sysdeps/x86_64/memrchr.S: New file.
30600 * sysdeps/x86_64/memchr.S: Update.
30601 Replace with faster SSE2 version.
30603 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30605 * elf/dl-load.c (lose): Add cast to avoid warning.
30607 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30609 * po/ca.po: Update from translation team.
30611 * inet/getnetgrent_r.c: Hook up nscd.
30612 * nscd/Makefile (routines): Add nscd_netgroup.
30613 (nscd-modules): Add netgroupcache.
30614 (CFLAGS-netgroupcache.c): Define.
30615 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30616 (cache_search): Add const to second parameter.
30617 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30619 (dbs): Add netgrdb entry.
30620 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30621 (verify_persistent_db): Handle netgrdb.
30622 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30623 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30625 (netgroup_response_header): Define.
30626 (innetgroup_response_header): Define.
30627 (datahead): Add netgroup_response_header and innetgroup_response_header
30629 * nscd/nscd.conf: Add entries for netgroup cache.
30630 * nscd/nscd.h (dbtype): Add netgrdb.
30631 (_PATH_NSCD_NETGROUP_DB): Define.
30632 (netgroup_iov_disabled): Declare.
30633 (xmalloc, xcalloc, xrealloc): Move declarations here.
30634 (cache_search): Adjust prototype.
30635 Add netgroup-related prototypes.
30636 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30637 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30638 (__nscd_innetgr): Declare.
30639 * nscd/selinux.c (perms): Use access_vector_t as element type and
30640 add netgroup-related initializers.
30641 * nscd/netgroupcache.c: New file.
30642 * nscd/nscd_netgroup.c: New file.
30643 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30644 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30645 For four parameters use innetgr.
30646 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30647 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30648 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30649 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30651 * nscd/connections.c (register_traced_file): Don't register file
30652 for disabled databases.
30654 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30656 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30658 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30659 from tree and freeing node.
30661 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30663 * nss/nsswitch.c (__nss_database_lookup): Handle
30664 nss_parse_service_list out of memory case.
30666 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30668 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30669 out of memory case.
30671 2011-10-04 Andreas Schwab <schwab@redhat.com>
30673 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30674 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30676 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30677 elf_machine_rela, elf_machine_lazy_rel.
30678 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30679 (ELF_DYNAMIC_DO_REL): Likewise.
30680 (ELF_DYNAMIC_DO_RELA): Likewise.
30681 (ELF_DYNAMIC_RELOCATE): Likewise.
30682 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30683 to ELF_DYNAMIC_DO_REL.
30684 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30685 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30686 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30689 skip_ifunc, don't call ifunc function if non-zero.
30690 (elf_machine_rela): Likewise.
30691 (elf_machine_lazy_rel): Likewise.
30692 (elf_machine_lazy_rela): Likewise.
30693 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30694 (elf_machine_lazy_rel): Likewise.
30695 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30697 (elf_machine_lazy_rel): Likewise.
30698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30700 (elf_machine_lazy_rel): Likewise.
30701 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30702 (elf_machine_lazy_rel): Likewise.
30703 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30704 (elf_machine_lazy_rel): Likewise.
30705 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30706 (elf_machine_lazy_rel): Likewise.
30707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30708 (elf_machine_lazy_rel): Likewise.
30709 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30710 (elf_machine_lazy_rel): Likewise.
30711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30712 (elf_machine_lazy_rel): Likewise.
30714 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30716 * nss/nss_files/files-init.c (_nss_files_init): Use static
30717 initialization for all the *_traced_file variables.
30719 2011-09-28 Andreas Schwab <schwab@redhat.com>
30721 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30723 2011-09-27 Roland McGrath <roland@hack.frob.com>
30726 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30728 2011-09-27 Andreas Schwab <schwab@redhat.com>
30730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30731 Reread the line before reparsing it.
30733 2011-09-26 Andreas Schwab <schwab@redhat.com>
30735 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30737 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30738 Maxim Kuvyrkov <maxim@codesourcery.com>
30739 Joseph Myers <joseph@codesourcery.com>
30741 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30742 if needed for __stack_chk_guard.
30744 2011-09-19 Roland McGrath <roland@hack.frob.com>
30746 * sysdeps/posix/spawni.c (script_execute): Always define it.
30747 It will be optimized away if unused.
30748 (maybe_script_execute): New function.
30749 (__spawni): Call it.
30751 * Makerules: Don't include tls.make.
30752 (config-tls): Always set to thread.
30753 * tls.make.c: File removed.
30755 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30757 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30758 * config.make.in (CPPFLAGS-config): New substituted variable.
30760 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30762 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30765 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30766 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30768 2011-09-15 Roland McGrath <roland@hack.frob.com>
30770 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30771 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30773 (CALL_FAIL): Likewise.
30774 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30775 (CALL_FAIL): Macro removed.
30776 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30778 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30780 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30781 for __FINITE_MATH_ONLY__ == 1.
30783 2011-09-15 Andreas Schwab <schwab@redhat.com>
30785 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30786 __ieee754_sqrt instead of sqrt.
30787 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30788 __ieee754_sqrtf instead of sqrtf.
30789 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30790 __floorf instead of floorf.
30791 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30792 __floorf, __truncf instead of floorf, truncf.
30794 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30796 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30798 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30799 __extern_always_inline.
30800 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30803 2011-09-14 Andreas Schwab <schwab@redhat.com>
30805 * elf/rtld.c (dl_main): Also relocate in dependency order when
30806 doing symbol dependency testing.
30808 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30810 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30811 Always define `refsym'.
30813 2011-09-13 Andreas Schwab <schwab@redhat.com>
30815 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30816 (__FD_ELT): Renamed from __FDELT.
30817 * misc/bits/select2.h (__FD_ELT): Likewise.
30818 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30819 __FD_MASK instead of __FDELT, __FDMASK.
30820 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30822 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30825 * elf/Makefile (gen-ldd): Fix pattern.
30827 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30828 (init_tls): Likewise.
30830 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30834 2011-09-12 Andreas Schwab <schwab@redhat.com>
30836 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30837 `struct cmsghdr *' instead of `void *'.
30838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30841 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30843 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30845 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30846 ldd_rewrite_script.
30848 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30850 * configure.in: Remove --with-tls option.
30851 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30852 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30853 out in case it is missing.
30854 * sysdeps/ia64/elf/configure.in: Likewise.
30855 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30856 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30857 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30858 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30859 * sysdeps/sh/elf/configure.in: Likewise.
30860 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30861 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30862 * sysdeps/x86_64/elf/configure.in: Likewise.
30863 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30864 * sysdeps/mach/hurd/tls.h: Likewise.
30867 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30870 * configure.in: Fix use of AC_INIT.
30872 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30874 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30876 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30878 * malloc/hooks.c: Likewise.
30881 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30882 variables statically.
30883 (narenas): Initialize.
30884 (list_lock): Initialize.
30885 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30886 initializtion of main_arena and list_lock. Small cleanups.
30887 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30888 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30889 Add initializers to main_arena and mp_.
30890 (malloc_state): Remove pagesize member. Change all users to use
30893 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30894 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30895 is always initialized.
30897 * malloc/malloc.c: Removed unused configurations and dead code.
30898 * malloc/arena.c: Likewise.
30899 * malloc/hooks.c: Likewise.
30900 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30902 * include/tls.h: Removed. USE___THREAD must always be defined.
30903 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30904 * elf/dl-libc.c: Likewise.
30905 * elf/dl-tsd.c: Likewise.
30906 * include/errno.h: Likewise.
30907 * include/netdb.h: Likewise.
30908 * include/resolv.h: Likewise.
30909 * inet/herrno-loc.c: Likewise.
30910 * inet/herrno.c: Likewise.
30911 * malloc/arena.c: Likewise.
30912 * malloc/hooks.c: Likewise.
30913 * malloc/malloc.c: Likewise.
30914 * resolv/res-state.c: Likewise.
30915 * resolv/res_libc.c: Likewise.
30916 * sysdeps/i386/dl-machine.h: Likewise.
30917 * sysdeps/ia64/dl-machine.h: Likewise.
30918 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30919 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30920 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30921 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30922 * sysdeps/sh/dl-machine.h: Likewise.
30923 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30924 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30925 * sysdeps/unix/i386/sysdep.S: Likewise.
30926 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30927 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30928 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30929 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30932 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30936 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30937 * sysdeps/x86_64/dl-machine.h: Likewise.
30938 * tls.make.c: Likewise.
30940 * configure.in: Remove --with-__thread option. Make tests for
30941 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30942 tls_model attribute fail if no support is available. Remove
30944 * Makeconfig: Adjust for dropped configure option. All features are
30946 * Makerules: Likewise.
30947 * Versions.def: Likewise.
30948 * argp/argp-fmtstream.c: Likewise.
30949 * argp/argp-fmtstream.h: Likewise.
30950 * argp/argp-help.c: Likewise.
30951 * assert/assert.c: Likewise.
30952 * config.h.in: Likewise.
30953 * config.make.in: Likewise.
30954 * configure: Likewise.
30955 * configure.in: Likewise.
30956 * csu/Versions: Likewise.
30957 * csu/init.c: Likewise.
30958 * elf/tst-audit2.c: Likewise.
30959 * elf/tst-tls10.c: Likewise.
30960 * elf/tst-tls10.h: Likewise.
30961 * elf/tst-tls11.c: Likewise.
30962 * elf/tst-tls12.c: Likewise.
30963 * elf/tst-tls14.c: Likewise.
30964 * elf/tst-tlsmod11.c: Likewise.
30965 * elf/tst-tlsmod12.c: Likewise.
30966 * elf/tst-tlsmod13.c: Likewise.
30967 * elf/tst-tlsmod13a.c: Likewise.
30968 * elf/tst-tlsmod14a.c: Likewise.
30969 * elf/tst-tlsmod15b.c: Likewise.
30970 * elf/tst-tlsmod16a.c: Likewise.
30971 * elf/tst-tlsmod16b.c: Likewise.
30972 * elf/tst-tlsmod7.c: Likewise.
30973 * elf/tst-tlsmod8.c: Likewise.
30974 * elf/tst-tlsmod9.c: Likewise.
30975 * gmon/gmon.c: Likewise.
30976 * grp/fgetgrent_r.c: Likewise.
30977 * grp/putgrent.c: Likewise.
30978 * hurd/fopenport.c: Likewise.
30979 * include/libc-symbols.h: Likewise.
30980 * include/tls.h: Likewise.
30981 * intl/gettextP.h: Likewise.
30982 * intl/loadinfo.h: Likewise.
30983 * locale/global-locale.c: Likewise.
30984 * locale/localeinfo.h: Likewise.
30985 * mach/devstream.c: Likewise.
30986 * malloc/arena.c: Likewise.
30987 * malloc/set-freeres.c: Likewise.
30988 * misc/err.c: Likewise.
30989 * misc/getttyent.c: Likewise.
30990 * misc/mntent_r.c: Likewise.
30991 * posix/getopt.c: Likewise.
30992 * posix/wordexp.c: Likewise.
30993 * pwd/fgetpwent_r.c: Likewise.
30994 * resolv/Versions: Likewise.
30995 * resolv/res_hconf.c: Likewise.
30996 * shadow/fgetspent_r.c: Likewise.
30997 * shadow/putspent.c: Likewise.
30998 * stdio-common/printf_fphex.c: Likewise.
30999 * stdio-common/tmpfile.c: Likewise.
31000 * stdlib/abort.c: Likewise.
31001 * stdlib/fmtmsg.c: Likewise.
31002 * sunrpc/auth_unix.c: Likewise.
31003 * sunrpc/clnt_perr.c: Likewise.
31004 * sunrpc/clnt_tcp.c: Likewise.
31005 * sunrpc/clnt_udp.c: Likewise.
31006 * sunrpc/clnt_unix.c: Likewise.
31007 * sunrpc/openchild.c: Likewise.
31008 * sunrpc/svc_simple.c: Likewise.
31009 * sunrpc/svc_tcp.c: Likewise.
31010 * sunrpc/svc_udp.c: Likewise.
31011 * sunrpc/svc_unix.c: Likewise.
31012 * sunrpc/xdr.c: Likewise.
31013 * sunrpc/xdr_array.c: Likewise.
31014 * sunrpc/xdr_rec.c: Likewise.
31015 * sunrpc/xdr_ref.c: Likewise.
31016 * sunrpc/xdr_stdio.c: Likewise.
31018 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31020 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31022 2011-07-03 Andreas Jaeger <aj@suse.de>
31024 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31025 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31026 regenerate with gen-libm-tests.pl.
31028 2010-05-12 Petr Baudis <pasky@suse.cz>
31031 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31032 around j0() zero points by switching to j1().
31033 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31038 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31040 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31042 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31045 Patch in part by Pavel Roskin <proski@gnu.org>.
31048 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31050 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31051 Free memory block if necessary.
31054 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31055 be NULL. Don't lock in this case.
31057 2011-09-09 Roland McGrath <roland@hack.frob.com>
31059 * elf/elf.h (ELFOSABI_GNU): New macro.
31060 (ELFOSABI_LINUX): Define to that.
31062 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31064 * string/strncat.c (strncat): Undef the symbol in case it has been
31065 defined in bits/string.h.
31067 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31069 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31071 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31074 2011-08-17 Andreas Jaeger <aj@suse.de>
31076 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31078 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31079 Ian Lance Taylor <iant@google.com>
31081 * math/libm-test.inc (lround_test): New testcase.
31082 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31084 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31086 * Makefile: Remove support for automatic cvs check-ins.
31087 * Makerules: Likewise.
31088 * config.make.in: Likewise.
31089 * configure.in: Likewise.
31090 * intl/Makefile: Likewise.
31091 * locale/Makefile: Likewise.
31092 * po/Makefile: Likewise.
31093 * posix/Makefile: Likewise.
31094 * sysdeps/gnu/Makefile: Likewise.
31095 * sysdeps/mach/hurd/Makefile: Likewise.
31096 * sysdeps/sparc/sparc32/Makefile: Likewise.
31099 * posix/Makefile (bug-regex32-ENV): Define.
31100 Patch by John Stanley <jpsinthemix@verizon.net>.
31102 * misc/Makefile (headers): Add bits/select2.h.
31103 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31104 * misc/bits/select2.h: New file.
31105 * include/bits/select2.h: New file.
31106 * debug/Makefile (routines): Add fdelt_chk.
31107 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31108 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31110 * debug/fdelt_chk.c: New file.
31112 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31113 * wcsmbs/test-wmemcmp.c: Likewise.
31114 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31115 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31117 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31119 * string/Makefile (strop-tests): Add memcmp.
31120 * string/test-wmemcmp.c: New file.
31121 * string/test-memcmp.c: Add wmemcmp support.
31123 2011-09-08 Roland McGrath <roland@hack.frob.com>
31126 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31129 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31130 garbage value in a __mach_port_mod_refs call in the cases of the
31131 task-self and thread-self ports.
31133 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31135 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31137 2011-09-08 Andreas Schwab <schwab@redhat.com>
31139 * elf/dl-load.c (lose): Check for non-null L.
31141 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31143 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31145 * elf/dl-libc.c (dlerror_run): Pass back error code from
31149 * elf/dl-load.c (lose): Free l_origin if it is valid.
31151 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31154 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31157 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31158 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31160 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31162 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31163 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31164 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31166 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31167 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31168 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31169 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31170 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31171 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31173 2011-08-15 Alan Modra <amodra@gmail.com>
31176 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31177 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31178 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31179 ppc_mcount to static-only-routines.
31180 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31182 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31183 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31185 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31187 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31188 for finite and infinity parameters.
31190 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31193 and add nop instructions for throughput optimization.
31194 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31196 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31198 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31199 aligned copy for power7 with vector-scalar instructions.
31200 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31202 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31207 2011-09-07 Andreas Schwab <schwab@redhat.com>
31210 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31213 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31215 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31216 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31217 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31221 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31223 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31224 Forgot to demangle the pointer.
31226 * sysdeps/i386/sysdep.h: Define atom_text_section.
31227 * sysdeps/x86_64/sysdep.h: Likewise.
31228 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31229 section with atom_text_section.
31230 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31231 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31232 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31233 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31234 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31237 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31238 already be defined. Change to take two parameters and don't assign
31239 result to variable. Adjust all users.
31240 Define INTERNAL_GETTIME if not already defined.
31241 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31244 HAVE_CLOCK_GETTIME_VSYSCALL.
31245 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31247 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31248 gettimeofday vsyscall, just use time.
31250 2011-09-06 Andreas Schwab <schwab@redhat.com>
31252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31255 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31257 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31261 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31262 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31263 syscall if possible.
31265 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31267 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31268 e_ident. Don't pass to find_mapsXX.
31269 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31271 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31274 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31275 * sysdeps/x86_64/multiarch/strchr.S: Update.
31276 Check bit_slow_BSF bit.
31277 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31278 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31279 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31281 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31284 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31286 (tryshell): Define.
31287 (__spawni): Change last parameter to be flag. Test
31288 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31289 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31290 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31291 * posix/spawni.c: Likewise.
31292 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31293 * posix/spawnp.c: Likewise. Change normal version to use
31294 SPAWN_XFLAGS_USE_PATH.
31295 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31296 SPAWN_XFLAGS_TRY_SHELL.
31299 * posix/glob.h: Remove gcc 1.x support.
31302 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31304 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31307 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31309 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31310 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31311 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31312 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31313 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31314 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31316 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31318 * sysdeps/x86_64/wcscmp.S: New file.
31320 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31321 wcscmp-c wcscmp-sse2
31322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31323 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31324 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31325 * wcsmbs/wcscmp.c: Allow renaming.
31327 2011-09-05 David S. Miller <davem@davemloft.net>
31329 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31330 stack slot, rather than the struct return pointer slot.
31331 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31332 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31334 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31336 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31338 * po/ja.po: Update from translation team.
31341 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31342 kernel in 64-bit binaries.
31344 2011-09-01 David S. Miller <davem@davemloft.net>
31346 * elf/elf.h (HWCAP_SPARC_*): Move to..
31347 * sysdeps/sparc/sysdep.h: this new file and add new values.
31348 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31349 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31350 _DL_HWCAP_COUNT to 24.
31351 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31353 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31354 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31355 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31357 instead of magic constants.
31358 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31360 2011-08-31 David S. Miller <davem@davemloft.net>
31362 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31364 Reimplement to do errno handling inline.
31365 (SYSCALL_ERROR_HANDLER): New macro.
31366 (__SYSCALL_STRING): Do not do errno handling in asm.
31367 (__CLONE_SYSCALL_STRING): Delete.
31368 (__INTERNAL_SYSCALL_STRING): Delete.
31369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31370 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31371 (PSEUDO): Reimplement to do errno handling inline.
31372 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31373 (SYSCALL_ERROR_HANDLER): New macro.
31374 (__SYSCALL_STRING): Do not do errno handling in asm.
31375 (__CLONE_SYSCALL_STRING): Delete.
31376 (__INTERNAL_SYSCALL_STRING): Delete.
31377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31378 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31380 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31381 (inline_syscall*): Add 'err' argument.
31382 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31383 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31384 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31385 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31387 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31388 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31390 2011-08-30 Andreas Schwab <schwab@redhat.com>
31392 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31394 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31396 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31399 2011-08-24 David S. Miller <davem@davemloft.net>
31401 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31403 2011-08-24 Andreas Schwab <schwab@redhat.com>
31405 * elf/Makefile: Add rules to build and run unload8 test.
31406 * elf/unload8.c: New file.
31407 * elf/unload8mod1.c: New file.
31408 * elf/unload8mod1x.c: New file.
31409 * elf/unload8mod2.c: New file.
31410 * elf/unload8mod3.c: New file.
31412 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31415 2011-08-23 David S. Miller <davem@davemloft.net>
31417 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31418 subtract stack bias.
31419 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31420 %sp not %fp in calculations.
31421 (_JMPBUF_UNWINDS_ADJ): Likewise.
31423 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31424 (aio_suspend): Call it to force an exception region around the
31425 AIO_MISC_WAIT() invocation.
31427 2011-08-23 Andreas Schwab <schwab@redhat.com>
31429 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31432 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31434 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31436 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31437 and <dl-machine.h>.
31438 (Elf64_FuncDesc): Remove.
31440 2011-08-22 David S. Miller <davem@davemloft.net>
31442 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31443 sigaltstack check, add missing cfi directives.
31444 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31445 missing cfi directives, and sigaltstack handling.
31447 2011-08-16 Andreas Schwab <schwab@redhat.com>
31450 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31451 object is seen twice.
31452 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31454 * elf/Makefile (distribute): Add tst-initorder2.c.
31455 (tests): Add tst-initorder2.
31456 (modules-names): Add tst-initorder2a tst-initorder2b
31457 tst-initorder2c tst-initorder2d. Add rules to build them.
31458 ($(objpfx)tst-initorder2.out): New rule.
31459 * elf/tst-initorder2.c: New file.
31460 * elf/tst-initorder2.exp: New file.
31462 2011-08-22 Andreas Schwab <schwab@redhat.com>
31464 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31466 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31467 dependencies back to end of function.
31469 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31470 $(elfobjdir)/ld.so.
31472 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31475 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31477 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31478 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31479 of __vdso_gettimeofday.
31480 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31481 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31483 (_libc_vdso_platform_setup): Remove initialization of
31484 __vdso_gettimeofday and __vdso_time.
31486 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31488 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31489 and fgetc_unlocked.
31490 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31493 * elf/dl-open.c (add_to_global): Report additions to the global scope
31494 for LD_DEBUG=scopes.
31495 (dl_open_worker): Also print scope of newly loaded dependencies.
31496 (_dl_show_scope): Indicate if there is no scope.
31499 * stdio-common/Makefile (tests): Add bug24.
31500 * stdio-common/bug24.c: New file.
31502 2011-08-19 Andreas Jaeger <aj@suse.de>
31505 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31506 non-existant file when using close-on-exec mode.
31508 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31511 the very first instruction.
31513 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31514 the CFI state in the end.
31515 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31516 inclusion of dl-trampoline.h.
31517 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31519 2011-08-19 Andreas Schwab <schwab@redhat.com>
31521 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31522 expectations for long double.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31525 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31527 2011-08-14 David S. Miller <davem@davemloft.net>
31529 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31530 artificual limit depends upon the system page size.
31532 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31534 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31535 * resolv/Makefile: Define CFLAGS-libresolv.
31537 2011-08-17 Andreas Schwab <schwab@redhat.com>
31539 * nss/makedb.c (compute_tables): Make variables used in nested
31542 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31544 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31545 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31546 if buffer was too small.
31548 * elf/pldd.c (main): Attach to all threads in the process.
31549 Rewrite /proc handling to use *at functions.
31551 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31553 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31554 specifies first scope to show.
31555 (dl_open_worker): Update callers. Move printing scope of new
31556 object to before the relocation.
31557 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31558 * sysdeps/generic/ldsodefs.h: Update declaration.
31560 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31561 string for the scope number.
31563 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31565 * nscd/servicescache.c (cache_addserv): Make sure written is always
31568 2011-08-14 Roland McGrath <roland@hack.frob.com>
31570 * sysdeps/i386/i486/bits/atomic.h
31571 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31572 statement expression, so as to suppress "set but not used" warning.
31573 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31575 * string/strncat.c (STRNCAT): Use prototype definition.
31577 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31578 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31580 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31581 (localedef-modules): Add localedef.
31582 (locale-modules): Add locale.
31584 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31585 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31586 to avoid a warning.
31588 2011-08-14 David S. Miller <davem@davemloft.net>
31590 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31591 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31593 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31595 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31596 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31597 * elf/rtld.c (dl_main): Set l_name of vDSO.
31598 Call _dl_show_scope when DL_DEBUG_SCOPES.
31599 (process_dl_debug): Recognize scopes flag and also set it for all.
31600 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31601 Declare _dl_show_scope.
31603 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31604 (do_dlopen): Pass caller_dlopen to dl_open.
31605 (__libc_dlopen_mode): Initialize caller_dlopen.
31607 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31608 of libc. Make tolower call locale-independent. Optimize a bit by
31609 using isdigit instead of isalnum.
31610 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31612 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31614 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31615 was a dependency or dynamically loaded.
31617 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31619 * intl/l10nflist.c: Allow architecture-specific pop function.
31620 * sysdeps/x86_64/l10nflist.c: New file.
31622 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31625 2011-08-10 Andreas Schwab <schwab@redhat.com>
31627 * include/dirent.h: Add libc_hidden_proto for scandirat and
31628 scandirat64. Don't declare __scandirat64.
31629 * dirent/scandirat.c: Add libc_hidden_def.
31630 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31631 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31633 2011-08-10 David S. Miller <davem@davemloft.net>
31635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31641 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31643 * Versions.def [libc]: Add GLIBC_2.15.
31644 * dirent/Makefile (routines): Add scandirat and scandirat64.
31645 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31647 * dirent/dirent.h: Declare scandirat and scandirat64.
31648 * dirent/scandirat.c: New file.
31649 * dirent/scandirat64.c: New file.
31650 * sysdeps/wordsize-64/scandirat.c: New file.
31651 * sysdeps/wordsize-64/scandirat64.c: New file.
31652 * dirent/opendir.c: Define opendirat.
31653 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31655 * dirent/scandir64.c: Adjust for scandir.c change.
31656 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31657 __scandirat64, and __scandir_cancel_handler.
31658 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31659 additional parameter and use openat instead of open (outside of ld.so).
31660 Add new __opendir as wrapper around __opendirat.
31661 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31662 here without requiring old scandirat implementation.
31664 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31666 * dirent/scandir.c (cancel_handler): Renamed to
31667 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31668 defined. Adjust users.
31669 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31670 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31672 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31674 * string/test-string.h (IMPL): Use __STRING to expand name and then
31677 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31680 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31682 * string/Makefile: Update.
31683 (strop-tests): Append strncat.
31684 * string/test-wcscmp.c: New file.
31685 New comprehensive test for wcscmp.
31686 * string/test-strcmp.c: Update.
31687 (WIDE): New define.
31689 2011-07-22 Andreas Schwab <schwab@redhat.com>
31691 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31694 2011-07-26 Andreas Schwab <schwab@redhat.com>
31696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31697 encoding to ACE if AI_IDN.
31699 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31701 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31702 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31704 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31706 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31707 Fix overflow bug in strncat.
31708 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31710 * string/test-strncat.c: Update.
31711 Add new tests for checking overflow bugs.
31713 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31716 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31717 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31718 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31720 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31721 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31722 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31723 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31726 (USE_AS_STRCAT): Define.
31727 Add strcat and strncat support.
31728 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31730 2011-07-25 Andreas Schwab <schwab@redhat.com>
31732 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31733 __n bigger than INT_MAX+1.
31734 (__strncmp_g): Likewise.
31736 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31738 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31739 * libio/stido.h: Likewise.
31741 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31746 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31747 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31753 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31758 (_dl_x86_64_save_sse): Likewise.
31760 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31764 (_dl_x86_64_save_sse): Likewise.
31766 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31768 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31770 2011-07-21 Andreas Schwab <schwab@redhat.com>
31772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31774 (_dl_x86_64_save_sse): Use correct AVX check.
31776 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31778 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31779 bug in strncpy/strncat.
31780 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31782 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31784 * string/tester.c (test_strcat): Add tests for different alignments
31785 of source and destination.
31786 (test_strncat): Likewise.
31788 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31791 * posix/glob.c (glob): Check passed in values before using them in
31792 expressions to avoid some overflows.
31793 (glob_in_dir): Likewise.
31796 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31797 check for AVX enablement so that we don't crash with old kernels and
31799 * elf/tst-audit4.c: Add same checks here.
31800 * elf/tst-audit6.c: Likewise.
31802 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31804 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31806 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31808 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31810 * po/cs.po: Update from translation team.
31811 * po/bg.po: Likewise.
31813 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31815 * misc/sys/cdefs.h: Add support for const attribute.
31816 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31817 to gnu_dev_{major,minor,makedev} functions.
31819 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31821 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31823 2011-07-20 Andreas Schwab <schwab@redhat.com>
31825 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31828 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31831 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31832 register in order to avoid conflicts with the soft frame pointer
31833 being held in r11 when necessary.
31834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31835 (INTERNAL_VSYSCALL_NCS): Likewise.
31837 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31839 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31840 * elf/dl-fini.c (_dl_fini): Adjust caller.
31841 * elf/dl-close.c (_dl_close_worker): Likewise.
31842 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31844 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31846 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31847 "aux_cache->nlibs < 0".
31849 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31850 in the reload-count case.
31852 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31855 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31856 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31857 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31858 * sysdeps/x86_64/multiarch/strcat.S: New file.
31859 * sysdeps/x86_64/multiarch/strncat.S: New file.
31860 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31861 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31862 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31863 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31864 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31865 (USE_AS_STRCAT): Define.
31866 Add strcat and strncat support.
31867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31868 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31869 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31870 * string/strncat.c: Update.
31871 (USE_AS_STRNCAT): Define.
31872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31873 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31875 * sysdeps/x86_64/multiarch/init-arch.h
31876 (bit_Prefer_PMINUB_for_stringop): New.
31877 (index_Prefer_PMINUB_for_stringop): Likewise.
31878 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31879 bit_Prefer_PMINUB_for_stringop.
31881 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31883 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31885 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31886 of casting of buffer.
31887 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31888 buffer32 and buffer64.
31889 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31890 writes instead of casting of buffer.
31891 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31893 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31896 2011-07-19 Andreas Schwab <schwab@redhat.com>
31898 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31900 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31902 * nscd/nscd.c (termination_handler): Don't do anything for a database
31903 if it has not yet been initialized.
31905 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31907 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31909 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31911 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31913 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31915 * po/nl.po: Update from translation team.
31916 * po/sv.po: Likewise.
31918 2011-07-16 Roland McGrath <roland@hack.frob.com>
31920 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31921 now disallowed by GCC.
31923 * configure.in (use-default-link): Default to yes if a test -shared
31924 link meets our qualifications.
31925 * configure: Regenerated.
31927 * config.make.in (output-format): New variable.
31928 * configure.in: Check for ld --print-output-format support.
31929 * configure: Regenerated.
31930 * Makerules ($(common-objpfx)format.lds)
31931 [$(output-format) != unknown]: Just use $(output-format),
31932 instead of the linker-script munging.
31934 2011-07-14 Roland McGrath <roland@hack.frob.com>
31936 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31937 of $(common-objpfx)shlib.lds.
31938 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31940 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31941 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31943 * configure.in (-z relro check): Adjust test code to add a large
31944 writable data section after it.
31945 * configure: Regenerated.
31947 2011-07-11 Roland McGrath <roland@hack.frob.com>
31949 * configure.in (-z relro check): Fix test code to make the variable
31951 * configure: Regenerated.
31953 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31955 * nscd/nscd.h (struct traced_file): Define.
31956 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31957 elements. Add traced_files.
31958 (inotify_fd): Declare.
31959 (register_traced_file): Declare.
31960 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31961 (inotify_fd): Export.
31962 (resolv_conf_descr): Remove.
31963 (nscd_init): Move inotify descriptor creation to main.
31964 Don't register files for notification here.
31965 (register_traced_file): New function.
31966 (invalidate_cache): Don't use reset_res to determine whether to call
31967 res_init, go through the list of registered files.
31968 (main_loop_poll): The inotify descriptors are now stored in the
31969 structures for the traced files.
31970 (main_loop_epoll): Likewise
31971 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31972 to __nss_disable_nscd.
31973 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31974 for a database anymore. Check the records for all the registered
31976 * nss/Makefile (libnss_files-routines): Add files-init.
31977 (libnss_db-routines): Add db-init.
31978 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31979 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31980 * nss/nss_db/db-init.c: New file.
31981 * nss/nss_files/files-init.c: New file.
31982 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31983 __nss_lookup_function.
31984 (__nss_lookup_function): Call nss_load_library.
31985 (nss_load_all_libraries): New function.
31986 (__nss_disable_nscd): Take parameter with callback function for files
31987 to register. Set is_nscd. Load all the DSOs for the NSS modules
31988 used for the cached services.
31989 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31990 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31991 options for features to all the files in nscd.
31993 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31995 2011-07-10 Roland McGrath <roland@hack.frob.com>
31997 * csu/elf-init.c (__libc_csu_init): Comment typo.
31999 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32001 * po/pl.po: Update from translation team.
32002 * po/ja.po: Likewise.
32003 * po/ru.po: Likewise.
32004 * po/ko.po: Likewise.
32005 * po/fr.po: Likewise.
32007 2011-07-09 Roland McGrath <roland@hack.frob.com>
32009 * configure.in (.ctors/.dtors header and trailer check):
32010 Use an empirical test on a built program.
32011 * configure: Regenerated.
32013 * configure.in (-z relro check): Use an empirical test on a built DSO.
32014 Detect, but do not require, on ia64.
32015 * configure: Regenerated.
32017 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32018 Update tests that use readelf to use $READELF instead.
32019 * configure: Regenerated.
32021 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32023 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32024 if the result is not used.
32026 2011-07-05 Andreas Jaeger <aj@suse.de>
32029 * stdlib/tst-strtod.c: Add testcase.
32031 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32033 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32034 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32035 The latter has a higher limit. Take additional parameter to pass to
32037 (__pathconf): Pass file to __statfs_link_max.
32038 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32040 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32044 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32045 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32047 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32048 (__statfs_filesize_max): Likewise.
32049 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32051 2011-07-05 Andreas Jaeger <aj@suse.de>
32053 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32055 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32057 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32059 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32062 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32064 * Makefile (strop-tests): Add strncat.
32065 * string/test-strncat.c: New file.
32067 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32069 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32071 2011-06-21 Andreas Jaeger <aj@suse.de>
32073 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32074 Copy rule from iconvdata/Makefile.
32076 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32079 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32080 but no long options are defined, just return 'W'.
32082 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32085 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32087 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32089 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32091 (innetgr): Likewise.
32093 2011-07-05 Roland McGrath <roland@hack.frob.com>
32095 * config.make.in (install_root): Default to $(DESTDIR).
32097 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32099 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32101 2011-07-02 Roland McGrath <roland@hack.frob.com>
32103 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32105 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32106 containing directory rather than embedding absolute directory names.
32108 * scripts/check-local-headers.sh: Rewritten using awk.
32109 Match by word, not by line. Print error messages for matches.
32110 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32112 * Makerules [shlib-lds-flags empty]:
32113 ($(common-objpfx)libc_pic.opts): New target.
32114 ($(common-objpfx)libc_pic.os.clean): New target.
32115 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32117 * config.make.in (OBJCOPY): New variable.
32118 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32119 * configure: Regenerated.
32121 * config.make.in (use-default-link): New variable.
32122 * configure.in (use_default_link): Grok --with-default-link to set it.
32123 * configure: Regenerated.
32124 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32125 (shlib-lds, shlib-lds-flags): Define to empty.
32127 * Makerules (shlib-lds): New variable.
32128 (shlib-lds-flags): New variable.
32129 (build-shlib, build-moduile, build-module-asneeded): Use it.
32130 ($(common-objpfx)libc.so): Use $(shlib-lds).
32131 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32132 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32134 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32135 DT_FLAGS/DT_FLAGS_1 with zero flags.
32137 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32138 linker script munging.
32140 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32142 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32144 * crypt/sha512.c (sha512_process_block): Perform total addition using
32145 128-bit if possible.
32146 (__sha512_finish_ctx): Likewise.
32147 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32149 * crypt/sha256.c (SWAP64): Define.
32150 (sha256_process_block): Perform total addition using 64-bit if
32152 (__sha256_finish_ctx): Likewise.
32154 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32156 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32157 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32158 * nscd/hstcache.c (cache_addhst): Likewise.
32159 * nscd/grpcache.c (cache_addgr): Likewise.
32160 * nscd/aicache.c (addhstaiX): Likewise
32161 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32163 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32165 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32166 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32167 * nscd/hstcache.c (cache_addhst): Likewise.
32168 * nscd/grpcache.c (cache_addgr): Likewise.
32169 * nscd/aicache.c (addhstaiX): Likewise
32171 2011-07-01 Andreas Schwab <schwab@redhat.com>
32173 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32174 domain only when needed.
32176 2011-06-30 Andreas Schwab <schwab@redhat.com>
32178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32179 is always restored.
32181 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32183 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32184 are re-adding the entry.
32185 * nscd/servicescache.c (cache_addserv): Likewise.
32187 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32189 * sysdeps/generic/dl-irel.h: fix protection against multiple
32191 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32193 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32196 * malloc/memusage.sh: Fix quoting in message.
32197 * debug/xtrace.sh: Likewise.
32199 * configure.in: Remove support for --experimental-malloc option, make
32201 * config.make.in: Likewise.
32202 * malloc/Makefile: Likewise.
32204 2011-06-27 Andreas Schwab <schwab@redhat.com>
32206 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32207 two-byte characters.
32209 2011-06-27 Roland McGrath <roland@hack.frob.com>
32211 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32212 AC_CACHE_CHECK invocation.
32213 * configure: Regenerated.
32215 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32217 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32220 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32221 bit from old_res_options.
32223 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32225 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32226 value type for setfct.
32228 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32230 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32231 __gettimeofday instead of gettimeofday.
32233 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32235 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32237 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32239 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32244 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32247 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32248 strcpy-sse2-unaligned strncpy-sse2-unaligned
32249 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32250 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32251 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32252 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32253 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32254 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32255 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32256 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32257 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32258 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32259 (STRCPY): Support SSE2 and SSSE3 versions.
32261 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32264 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32265 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32266 kernels which artificially limit size of requests.
32268 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32271 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32272 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32273 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32274 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32275 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32276 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32277 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32279 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32280 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32281 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32282 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32283 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32284 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32286 Enable unaligned load optimization for Intel Core i3, i5 and i7
32288 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32290 (index_Fast_Unaligned_Load): Define.
32291 (HAS_FAST_UNALIGNED_LOAD): Define.
32293 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32295 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32297 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32300 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32301 until it is clear that the information is realy needed.
32302 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32304 2011-06-22 Andreas Schwab <schwab@redhat.com>
32306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32308 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32310 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32311 /sys/devices/system/cpu/online if it is usable.
32313 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32314 reading the information from the /proc filesystem to once a second.
32316 2011-06-21 Andreas Jaeger <aj@suse.de>
32318 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32319 NULL after inclusion of kernel headers.
32321 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32323 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32324 calls to internal_setent.
32327 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32328 addresses using gethostbyname4_r ignore IPv4 addresses.
32330 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32331 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32333 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32335 2011-06-20 David S. Miller <davem@davemloft.net>
32337 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32339 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32341 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32342 (elf_irel): Use it.
32343 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32344 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32345 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32346 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32347 * sysdeps/x86_64/dl-irel.h: Likewise.
32349 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32350 * elf/dl-sym.c: Likewise.
32352 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32354 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32355 need to dereference resplen2.
32357 2011-06-14 Andreas Schwab <schwab@redhat.com>
32359 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32361 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32363 * Makeconfig: Define vardbdir and inst_vardbdir.
32364 * nss/Makefile: Add rules to install db-Makefile.
32366 * nss/nss_db/db-XXX.c: Cleanup.
32368 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32369 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32371 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32372 * nss/makedb.c: Implement -g option to specify that value strings
32373 are generated and should not be added to table iterated over for
32375 * nss/nss_db/db-initgroups.c: New file.
32377 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32380 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32381 (internal_getgrouplist): Adjust to name change.
32382 Update use_initgroups_entry if this is not the first call.
32383 * nss/databases.def: Add initgroups entry.
32385 * nss/makedb.c (compute_tables): Check result of multiple hash table
32386 sizes to minimize maximum chain length.
32388 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32390 * Versions.def: Add entry for libnss_db.
32391 * shlib-versions: Likewise.
32392 * nss/Makefile: Add rules to build libnss_db.
32393 * nss/Versions: Add libnss_db information. Organize libnss_files
32395 * nss/db-Makefile: Add gshadow support. Change rules for the new
32396 makedb progra. Some minor improvements to generate smaller files.
32397 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32399 * nss/makedb.c: ...here.
32400 Improve database format to be smaller and require less memory at
32402 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32404 * nss/nss_db/db-netgrp.c: Likewise.
32405 * nss/nss_db/db-open.c: Likewise.
32406 * nss/nss_files/flies-XXX.x: Adjust comments.
32407 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32408 * nss/nss_files/files-grp.c: Likewise.
32409 * nss/nss_files/files-hosts.c: Likewise.
32410 * nss/nss_files/files-network.c: Likewise.
32411 * nss/nss_files/files-proto.c: Likewise.
32412 * nss/nss_files/files-pwd.c: Likewise.
32413 * nss/nss_files/files-rpc.c: Likewise.
32414 * nss/nss_files/files-service.c: Likewise.
32415 * nss/nss_files/files-sgrp.c: Likewise.
32416 * nss/nss_files/files-spwd.c: Likewise.
32417 * nss/nss_db/db-alias.c: Removed.
32418 * nss/nss_db/dummy-db.h: Removed.
32420 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32422 * nss/makedb.c: Rewritten to not use database library.
32423 * nss/Makefile: Update to build new makedb program.
32425 2011-06-14 Andreas Jaeger <aj@suse.de>
32427 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32428 memset declaration.
32430 2011-06-10 Andreas Schwab <schwab@redhat.com>
32432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32435 2011-06-10 Roland McGrath <roland@hack.frob.com>
32437 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32438 * elf/Makefile ($(objpfx)ld.so): Likewise.
32440 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32441 Don't list ld.so twice in dependencies.
32443 * posix/bug-regex31.c: Include <stdlib.h>.
32445 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32447 * nis/nss_compat/compat-spwd.c
32448 (getspent_next_nss_netgr): Remove unused variable.
32449 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32451 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32452 nonmembers" output to use the right array.
32454 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32456 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32458 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32459 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32460 * catgets/gencat.c (read_input_file): Likewise.
32461 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32463 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32464 variable definition inside #if's controlling its use.
32466 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32468 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32470 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32472 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32475 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32477 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32478 * configure: Regenerated.
32480 * Makerules: Revert last change.
32481 * elf/Makefile: Likewise.
32483 2011-06-09 Roland McGrath <roland@hack.frob.com>
32485 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32486 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32487 (reloc-link): Likewise.
32489 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32491 * elf/Makefile: Add rules to build pldd.
32492 * elf/pldd.c: New file.
32493 * elf/pldd-xx.c: New file.
32495 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32497 * version.h: Update for 2.15 development version.
32499 2011-06-07 David S. Miller <davem@davemloft.net>
32501 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32504 elf_machine_lazy_rel): Likewise.
32505 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32506 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32507 elf_machine_lazy_rel): Likewise.
32508 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32509 dl_hwcap via passed in argument.
32510 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32513 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32515 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32517 2011-06-06 Roland McGrath <roland@hack.frob.com>
32520 * manual/fdl-1.1.texi: New file, verbatim from:
32521 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32522 * manual/lgpl-2.1.texi: New file, verbatim from:
32523 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32524 * manual/Makefile (licenses): New variable, list those new file names.
32526 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32528 * manual/fdl.texi: File removed.
32529 * manual/lesser.texi: File removed.
32530 * manual/libc.texinfo (Copying, Documentation License):
32531 Use new @include file names, put @appendix directive before @include.
32533 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32536 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32537 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32538 (mq_open): Add __NTH.
32540 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32543 Assume Intel Core i3/i5/i7 processor if AVX is available.
32545 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32547 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32550 2011-05-31 Andreas Schwab <schwab@redhat.com>
32552 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32553 memory. Use alloca_account. Fix memory leak when retrying.
32555 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32557 * version.h (RELEASE): Bump for 2.14 release.
32558 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32560 * config.make.in (RANLIB): Remove entry.
32562 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32564 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32565 (libc.pot): Work around missing support for .ksh extension in xgettext.
32568 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32569 if both request failed.
32570 (send_dg): In case of server errors clear resplen or *resplen2.
32573 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32574 when there are multiple maps.
32575 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32576 (_dl_fini): Remove test here.
32578 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32580 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32583 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32584 bit from old_res_options.
32585 (gaih_inet): Likewise.
32588 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32591 * resolv/res_init.c (res_setoptions): Make the code more compact.
32594 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32598 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32600 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32603 * malloc/malloc.h: Declare malloc hook variables as volatile.
32605 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32609 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32610 raise in the comment.
32611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32613 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32615 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32618 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32619 grow the buffers more if it already has to be sufficient.
32620 (build_wcs_upper_buffer): Likewise.
32621 * posix/regexec.c (check_matching): Likewise.
32622 (clean_state_log_if_needed): Likewise.
32623 (extend_buffers): Don't enlarge buffers beyond size of the input
32625 Patches mostly by Emil Wojak <emil@wojak.eu>.
32626 * posix/bug-regex32.c: New file.
32627 * posix/Makefile (tests): Add bug-regex32.
32629 * locale/findlocale.c (_nl_find_locale): Return right away if
32630 _nl_explode_name failed.
32631 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32635 * debug/xtrace.sh: Unify messages.
32636 * malloc/memusage.sh: Likewise.
32639 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32640 time symbol from vDSO. Substitute with vsyscall if not available.
32641 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32644 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32645 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32646 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32647 Add sendmmsg and internal_sendmmsg.
32648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32649 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32650 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32652 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32653 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32654 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32656 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32659 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32660 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32662 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32666 * iconvdata/Makefile (tests): Add bug-iconv9.
32667 * iconvdata/bug-iconv9.c: New file.
32669 2011-05-27 Andreas Schwab <schwab@redhat.com>
32672 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32674 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32677 (struct user_regs_struct): Change intcs field back to cs.
32679 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32681 * po/ja.po: Update from translation team.
32683 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32686 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32687 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32689 2011-05-20 Andreas Schwab <schwab@redhat.com>
32691 * stdlib/longlong.h: Update from GCC.
32693 2011-05-23 Andreas Schwab <schwab@redhat.com>
32695 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32697 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32698 Add parameter name.
32699 (__sysconf): Pass it down.
32701 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32704 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32706 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32707 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32708 add in in __libc_use_alloca calls. Adjust callers.
32709 (glob): Use malloc in some situations.
32711 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32712 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32715 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32717 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32718 and CLOCK_BOOTTIME_ALARM.
32721 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32724 * string/_strerror.c (__strerror_r): Print negative errors as signed
32728 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32729 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32730 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32732 * configure.in: Fix typo in redirection and correct removal of test
32733 files in two cases.
32736 * locale/setlocale.c (new_composite_name): Fix test to check for
32737 identical name of all categories.
32740 * libio/filedoalloc.c (local_isatty): New function.
32741 (_IO_file_doallocate): Use local_isatty.
32742 * stdio-common/perror.c (perror): In case a new stream is used
32743 forward the stream error.
32744 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32747 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32752 * include/alloca.h (extend_alloca_account): Define.
32755 * posix/regex.h: Fix comments with documentation of user-accessible
32756 fields after compilation and describe correct free'ing of pattern
32757 after re_compile_pattern.
32758 Patch by Reuben Thomas <rrt@sc3d.org>.
32760 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32762 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32763 and -mno-altivec to prevent the compiler from using Altivec and/or
32764 VSX instructions when the corresponding registers are not available.
32766 2011-05-19 Andreas Schwab <schwab@redhat.com>
32768 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32770 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32772 * libio/freopen.c (freopen): Use __dup2, not dup2.
32773 * libio/freopen64.c (freopen64): Likewise.
32775 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32778 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32779 * math/Makefile (tests): Add test-powl.
32780 (CFLAGS-test-powl.c): Define.
32781 * math/test-powl.c: New file.
32783 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32785 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32787 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32790 * iconvdata/gb18030.c: Update to GB18020-2005.
32792 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32794 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32795 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32796 Patch by Aharon Robbins <arnold@skeeve.com>.
32799 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32803 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32804 through underflows.
32807 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32808 point to strings before performing equality test for error_one_per_line
32812 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32816 (struct user_fpregs_struct): Avoid __uint*_t types.
32819 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32820 symbol info. Use it instead of calling _dl_addr locally.
32821 (lock_and_info): New function.
32822 (tr_freehook): Call lock_and_info and pass symbol info as additional
32823 parameter to tr_where.
32824 (tr_mallochook): Likewise.
32825 (tr_reallochook): Likewise.
32826 (tr_memalignhook): Likewise.
32828 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32829 used and couldn't be at all thread-safe.
32831 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32833 * libio/freopen.c (freopen): Don't close old file descriptor
32834 before the new one is opened. Instead dup the new file descriptor
32835 to the old one after the new stream is created.
32836 * libio/freopen64.c (freopen64): Likewise.
32837 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32838 * libio/fileops.c (_IO_new_file_close_it): Handle new
32839 _IO_FLAGS2_NOCLOSE flag.
32840 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32841 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32842 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32843 _IO_FLAGS2_NOCLOSE flag.
32844 * include/unistd.h: Add hidden_proto for dup3.
32845 Define __have_dup3.
32846 * io/dup3.c: Define hidden symbol.
32847 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32850 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32851 when an incomplete long option is used.
32852 * posix/tst-getopt_long1.c: New file.
32853 * posix/Makefile (tests): Add tst-getopt_long1.
32856 * scripts/config.guess: Update from autoconf-2.68.
32857 * scripts/config.sub: Likewise.
32860 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32862 (has_cpuclock): ...this. New function.
32863 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32864 macro here based on has_cpuclock code.
32867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32868 First byte (not low byte) is now always NUL.
32869 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32872 Use non-cancelable interfaces.
32875 * locale/iso-639.def: Add entry for Sorani.
32878 * include/stdlib.h: Move include protection to the right place.
32879 Define abort_msg_s. Declare __abort_msg with it.
32880 * stdlib/abort.c (__abort_msg): Adjust type.
32881 * assert/assert.c (__assert_fail_base): New function. Majority
32882 of code from __assert_fail. Allocate memory for __abort_msg with
32884 (__assert_fail): Now call __assert_fail_base.
32885 * assert/assert-perr.c: Remove bulk of implementation. Use
32886 __assert_fail_base.
32887 * include/assert.hL Declare __assert_fail_base.
32888 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32890 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32892 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32896 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32897 until all modules are registered in the DTV.
32898 * elf/Makefile: Add rules to build and run tst-tls19.
32899 * elf/tst-tls19.c: New file.
32900 * elf/tst-tls19mod1.c: New file.
32901 * elf/tst-tls19mod2.c: New file.
32902 * elf/tst-tls19mod3.c: New file.
32903 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32906 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32910 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32911 two-byte sequence errors.
32912 * iconvdata/Makefile (tests): Add bug-iconv8.
32913 * iconvdata/bug-iconv8.c: New file.
32916 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32919 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32922 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32923 (dummy_getcfa): New function.
32924 (init): Get _Unwind_GetCFA address, use dummy if not found.
32925 (backtrace_helper): In recursion check, also check whether CFA changes.
32926 (__backtrace): Completely initialize arg.
32928 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32929 storing incomplete byte sequence in state object. Avoid testing for
32930 guaranteed too small input if we know there is enough data available.
32932 2011-05-11 Andreas Schwab <schwab@redhat.com>
32934 * Makeconfig (+link-pie): Indent.
32935 * Rules (binaries-pie): Define if $(have-fpie) and
32937 (binaries-shared): Also filter out $(binaries-pie).
32938 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32939 * nscd/Makefile (others-pie): Add nscd.
32940 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32941 ($(objpfx)nscd): Remove command override.
32942 * login/Makefile (others-pie): Add pt_chown.
32943 ($(objpfx)pt_chown): Remove command override.
32944 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32945 remove command overrides.
32947 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32949 * libio/tst_putwc.c: Fix error messages.
32952 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32953 currently writing and seek to current position when not.
32954 * libio/Makefile (tests): Add bug-fclose1.
32955 * libio/bug-fclose1.c: New file.
32957 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32960 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32961 don't set DF_1_NODELETE here.
32962 (do_lookup_x): When entering new entry test for copy relocation
32963 and if necessary set DF_1_NODELETE flag.
32964 * elf/tst-unique4.cc: New file.
32965 * elf/tst-unique4.h: New file.
32966 * elf/tst-unique4lib.cc: New file.
32967 * elf/Makefile: Add rules to build and run tst-unique4.
32968 Patch by Piotr Bury <pbury@goahead.com>.
32970 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32973 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32976 * misc/mntent_r.c (addmntent): Flush the stream after the output
32979 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32980 (is_trusted_path_normalize): Skip initial colon. Append slash
32981 to empty buffer. Duplicate is_trusted_path code but allow
32982 constructed patch to be prefix.
32983 (is_dst): Allow $ORIGIN followed by /.
32984 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32985 Correct testing of result of is_trusted_path_normalize
32986 (decompose_rpath): Fix warning.
32988 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32991 * grp/initgroups.c (internal_getgrouplist): When we found the service
32992 list through the initgroups entry in nsswitch.conf do not always
32993 continue on a successful lookup. Don't always use the
32994 __nss_group_database value if it is set.
32995 * nss/nsswitch.conf (initgroups): Change action for successful db
32996 lookup to continue for compatibility.
32998 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33001 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33003 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33005 * iconvdata/tst-tables.sh: Likewise.
33006 * iconvdata/cp770.c: New file.
33007 * iconvdata/cp771.c: New file.
33008 * iconvdata/cp772.c: New file.
33009 * iconvdata/cp773.c: New file.
33010 * iconvdata/cp774.c: New file.
33011 * iconvdata/testdata/CP770: New file.
33012 * iconvdata/testdata/CP770..UTF8: New file.
33013 * iconvdata/testdata/CP771: New file.
33014 * iconvdata/testdata/CP771..UTF8: New file.
33015 * iconvdata/testdata/CP772: New file.
33016 * iconvdata/testdata/CP772..UTF8: New file.
33017 * iconvdata/testdata/CP773: New file.
33018 * iconvdata/testdata/CP773..UTF8: New file.
33019 * iconvdata/testdata/CP774: New file.
33020 * iconvdata/testdata/CP774..UTF8: New file.
33022 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33024 * iconvdata/gen-8bit-gap.sh: Likewise.
33025 * iconvdata/gen-8bit.sh: Likewise.
33027 * locale/iso-639.def: Add ary entry.
33030 * locale/C-translit.h.in: Add U20A1 transliteration.
33033 * locale/iso-639.def: Add wae entry.
33034 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33037 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33041 * locale/C-translit.h.in: Add entry for U20B9.
33042 Patch by pravin.d.s@gmail.com.
33044 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33047 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33048 ENAMETOOLONG use generic getcwd.
33049 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33050 in rtld. Use *stat64.
33051 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33052 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33053 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33054 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33055 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33056 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33057 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33058 __fstatat64 macros.
33059 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33060 * dirent/rewinddir.c: Add libc_hidden_def.
33061 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33062 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33064 * include/dirent.h (__alloc_dir): Add flags parameter.
33065 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33066 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33068 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33069 from fdopendir if O_CLOEXEC is already set.
33071 2011-03-15 Alan Modra <amodra@gmail.com>
33073 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33074 l_tls_firstbyte_offset non-zero. Save padding offset in
33075 l_tls_firstbyte_offset for later use.
33076 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33077 freeing static tls block.
33079 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33081 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33082 where #ifdef was intended. The intent is to prevent ARG_MAX from
33083 being defined by the kernel headers.
33085 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33088 * resolv/resolv.h: Define RES_NOTLDQUERY.
33089 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33090 no-tld-query and set RES_NOTLDQUERY.
33091 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33092 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33093 modern BIND to search name as TLD unless forbidden.
33095 2011-05-07 Petr Baudis <pasky@suse.cz>
33096 Ulrich Drepper <drepper@gmail.com>
33099 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33100 (is_trusted_path): ...to here.
33101 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33102 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33103 using is_trusted_path_normalize() in setuid scripts.
33105 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33107 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33108 __BEGIN/__END_DECLS.
33110 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33113 NSS_STATUS_NOTFOUND if no record was found.
33115 2011-05-05 Andreas Schwab <schwab@redhat.com>
33117 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33118 (headers-not-in-tirpc): Remove rpc/netdb.h
33119 * resolv/netdb.h: Revert last change.
33121 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33123 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33124 circular dependency between libgcc.a and libc.a.
33126 2011-05-05 Andreas Schwab <schwab@redhat.com>
33128 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33129 * nis/Makefile: Don't install rpcsvc/*.
33130 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33131 instead of <rpc/types.h>.
33132 (MAXHOSTNAMELEN): Define.
33134 2011-05-03 Andreas Schwab <schwab@redhat.com>
33136 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33138 2011-04-28 Maciej Babinski <mbabinski@google.com>
33141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33142 gethostbyname4_r when IPv6 results are possible.
33144 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33147 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33148 _PC_PIPE_BUF handling.
33150 2011-04-30 Bruno Haible <bruno@clisp.org>
33153 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33154 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33156 * inet/getnameinfo.c (getnameinfo): Likewise.
33158 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33160 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33161 to groups setting in database lookup.
33162 * nss/nsswitch.conf: Add initgroups entry.
33164 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33167 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33169 Patch by Eric Blake <eblake@redhat.com>.
33171 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33173 * sunrpc/Makefile (need-export-routines): Add svc_run.
33174 (routines): Remove svc_run.
33175 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33176 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33177 * sunrpc/svc_run.c (svc_run): Likewise.
33178 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33180 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33182 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33183 problem in reallocation in last patch.
33185 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33187 * sunrpc/Makefile: Move inclusion of Rules.
33189 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33191 * nss/nss_files/files-initgroups.c: New file.
33192 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33193 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33194 _nss_files_initgroups_dyn.
33196 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33198 * elf/elf.h (R_ARM_IRELATIVE): Define.
33200 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33202 * po/ru.po: Update from translation team.
33204 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33206 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33209 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33212 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33213 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33215 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33216 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33218 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33220 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33222 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33223 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33224 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33226 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33229 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33231 * stdlib/bug-getcontext.c: New file.
33232 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33234 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33236 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33237 instructions into .machine "z9-109".
33238 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33239 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33241 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33243 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33244 between environment variables and auxiliary vector.
33246 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33248 * Makefile: Add rules to build linkobj/libc.so.
33249 * include/libc-symbols.h: Define libc_hidden_nolink.
33250 * include/rpc/auth.h: Mark functions which are to be hidden.
33251 * include/rpc/auth_des.h: Likewise.
33252 * include/rpc/auth_unix.h: Likewise.
33253 * include/rpc/clnt.h: Likewise.
33254 * include/rpc/des_crypt.h: Likewise.
33255 * include/rpc/key_prot.h: Likewise.
33256 * include/rpc/pmap_clnt.h: Likewise.
33257 * include/rpc/pmap_prot.h: Likewise.
33258 * include/rpc/pmap_rmt.h: Likewise.
33259 * include/rpc/rpc_msg.h: Likewise.
33260 * include/rpc/svc.h: Likewise.
33261 * include/rpc/svc_auth.h: Likewise.
33262 * include/rpc/xdr.h: Likewise.
33263 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33264 * nss/Makefile: Likewise.
33265 * sunrpc/Makefile: Don't install headers. Build library with normal
33266 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33267 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33268 for the compat linking library. Remove use of INTDEF/INTUSE.
33269 * sunrpc/auth_none.c: Likewise.
33270 * sunrpc/auth_unix.c: Likewise.
33271 * sunrpc/authdes_prot.c: Likewise.
33272 * sunrpc/authuxprot.c: Likewise.
33273 * sunrpc/clnt_gen.c: Likewise.
33274 * sunrpc/clnt_perr.c: Likewise.
33275 * sunrpc/clnt_raw.c: Likewise.
33276 * sunrpc/clnt_simp.c: Likewise.
33277 * sunrpc/clnt_tcp.c: Likewise.
33278 * sunrpc/clnt_udp.c: Likewise.
33279 * sunrpc/clnt_unix.c: Likewise.
33280 * sunrpc/des_crypt.c: Likewise.
33281 * sunrpc/des_soft.c: Likewise.
33282 * sunrpc/get_myaddr.c: Likewise.
33283 * sunrpc/key_call.c: Likewise.
33284 * sunrpc/key_prot.c: Likewise.
33285 * sunrpc/netname.c: Likewise.
33286 * sunrpc/pm_getmaps.c: Likewise.
33287 * sunrpc/pm_getport.c: Likewise.
33288 * sunrpc/pmap_clnt.c: Likewise.
33289 * sunrpc/pmap_prot.c: Likewise.
33290 * sunrpc/pmap_prot2.c: Likewise.
33291 * sunrpc/pmap_rmt.c: Likewise.
33292 * sunrpc/publickey.c: Likewise.
33293 * sunrpc/rpc_cmsg.c: Likewise.
33294 * sunrpc/rpc_common.c: Likewise.
33295 * sunrpc/rpc_dtable.c: Likewise.
33296 * sunrpc/rpc_prot.c: Likewise.
33297 * sunrpc/rpc_thread.c: Likewise.
33298 * sunrpc/rtime.c: Likewise.
33299 * sunrpc/svc.c: Likewise.
33300 * sunrpc/svc_auth.c: Likewise.
33301 * sunrpc/svc_authux.c: Likewise.
33302 * sunrpc/svc_raw.c: Likewise.
33303 * sunrpc/svc_run.c: Likewise.
33304 * sunrpc/svc_simple.c: Likewise.
33305 * sunrpc/svc_tcp.c: Likewise.
33306 * sunrpc/svc_udp.c: Likewise.
33307 * sunrpc/svc_unix.c: Likewise.
33308 * sunrpc/svcauth_des.c: Likewise.
33309 * sunrpc/xcrypt.c: Likewise.
33310 * sunrpc/xdr.c: Likewise.
33311 * sunrpc/xdr_array.c: Likewise.
33312 * sunrpc/xdr_float.c: Likewise.
33313 * sunrpc/xdr_intXX_t.c: Likewise.
33314 * sunrpc/xdr_mem.c: Likewise.
33315 * sunrpc/xdr_rec.c: Likewise.
33316 * sunrpc/xdr_ref.c: Likewise.
33317 * sunrpc/xdr_sizeof.c: Likewise.
33318 * sunrpc/xdr_stdio.c: Likewise.
33320 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33323 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33324 * sysdeps/ia64/dl-tls.h: Likewise.
33325 * sysdeps/powerpc/dl-tls.h: Likewise.
33326 * sysdeps/s390/dl-tls.h: Likewise.
33327 * sysdeps/sh/dl-tls.h: Likewise.
33328 * sysdeps/sparc/dl-tls.h: Likewise.
33329 * sysdeps/x86_64/dl-tls.h: Likewise.
33330 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33332 2011-03-14 Andreas Schwab <schwab@redhat.com>
33334 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33335 rpath element also skip the following colon.
33336 (expand_dynamic_string_token): Add is_path parameter and pass
33337 down to DL_DST_REQUIRED and _dl_dst_substitute.
33338 (decompose_rpath): Call expand_dynamic_string_token with
33339 non-zero is_path. Ignore empty rpaths.
33340 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33343 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33348 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33351 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33352 Patch by Filipe David Manana <fdmanana@apache.org>.
33354 2011-04-07 Andreas Schwab <schwab@redhat.com>
33356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33357 Maintain aligned stack.
33358 (CHECK_RSP): Remove unused macro.
33360 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33362 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33365 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33367 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33369 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33371 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33374 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33375 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33376 * sysdeps/x86_64/memmove.c: New file.
33377 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33378 (memcpy): Renamed to ...
33379 (__new_memcpy): This.
33380 (memcpy): Provide GLIBC_2_14 memcpy.
33381 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33382 (memcpy): Provide GLIBC_2_2_5 memcpy.
33384 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33387 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33389 2011-03-30 Andreas Schwab <schwab@redhat.com>
33391 * misc/syncfs.c: New file.
33392 * misc/Makefile (routines): Add syncfs.
33393 * posix/unistd.h: Declare syncfs.
33394 * sysdeps/unix/syscalls.list: Add syncfs.
33396 2011-04-01 Andreas Schwab <schwab@redhat.com>
33398 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33401 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33405 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33406 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33408 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33411 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33412 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33414 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33415 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33418 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33419 sync_file_range.c with -fexceptions.
33420 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33421 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33422 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33423 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33424 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33425 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33426 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33427 sync_file_range as cancellation point
33428 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33429 now a wrapper around __call_sync_file_range with cancellation handling.
33430 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33431 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33432 function name to __call_sync_file_range.
33433 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33434 Add call_sync_file_range.
33436 2011-04-01 Andreas Schwab <schwab@redhat.com>
33438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33441 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33443 * iconv/iconv.h: Fix typo in comment.
33444 * io/fcntl.h: Likewise.
33445 * libio/stdio.h: Likewise.
33446 * posix/spawn.h: Likewise.
33447 * posix/unistd.h: Likewise.
33448 * stdlib/stdlib.h: Likewise.
33449 * time/time.h: Likewise.
33450 * wcsmbs/wchar.h: Likewise.
33452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33453 open_by_handle): Add.
33454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33455 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33456 Augment a few comments.
33457 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33458 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33459 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33460 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33461 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33462 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33465 * io/fcntl.h (AT_EMPTY_PATH): Define.
33467 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33469 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33470 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33471 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33473 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33474 * Versions.def: Add GLIBC_2.14.
33475 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33478 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33480 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33482 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33484 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33487 * string/test-strncmp.c (do_page_test): New function.
33488 (check2): Likewise.
33489 (test_main): Call check2.
33490 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33492 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33496 Handle cache information in CPU leaf 4.
33497 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33499 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33502 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33503 character representation.
33504 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33506 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33508 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33509 END(__isnan) to END(__isnanf) to match function entry point/label
33510 EALIGN(__isnanf,...).
33512 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33514 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33516 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33519 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33520 copy from the symbol referenced in the relocation to initialize the
33522 Patch by Piotr Bury <pbury@goahead.com>.
33523 * elf/Makefile: Add rules to build and tst-unique3.
33524 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33525 * elf/tst-unique3.cc: New file.
33526 * elf/tst-unique3.h: New file.
33527 * elf/tst-unique3lib.cc: New file.
33528 * elf/tst-unique3lib2.cc: New file.
33530 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33532 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33534 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33535 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33538 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33540 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33541 to-be-loaded object along a path to loader is ld.so.
33543 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33544 Ulrich Drepper <drepper@gmail.com>
33546 * sysdeps/x86_64/memset.S: After aligning destination, code
33547 branches to different locations depending on the value of
33548 misalignment, when multiarch is enabled. Fix this.
33550 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33552 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33553 Set _x86_64_preferred_memory_instruction for AMD processsors.
33554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33555 Set bit_Prefer_SSE_for_memop for AMD processors.
33557 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33559 * libio/fmemopen.c (fmemopen): Optimize a bit.
33561 2011-03-03 Andreas Schwab <schwab@redhat.com>
33563 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33565 2011-03-03 Roland McGrath <roland@redhat.com>
33567 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33569 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33571 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33572 __bzero_ultra1 instead of __memset_ultra1.
33574 2011-02-23 Andreas Schwab <schwab@redhat.com>
33575 Ulrich Drepper <drepper@gmail.com>
33578 * include/link.h (struct link_map): Add l_orig_initfini.
33579 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33580 returning unsuccessfully.
33581 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33582 close of a file loaded at startup, restore the original l_initfini
33584 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33585 list, store the pointer.
33586 * elf/Makefile ($(objpfx)noload-mem): New rule.
33587 (noload-ENV): Define.
33588 (tests): Add $(objpfx)noload-mem.
33589 * elf/noload.c: Include <memcheck.h>.
33590 (main): Call mtrace. Close all opened handles.
33592 2011-02-17 Andreas Schwab <schwab@redhat.com>
33595 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33596 dependencies are missing.
33598 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33600 Fix __if_freereq crash: Unlike the generic version which uses free,
33602 * sysdeps/mach/hurd/ifreq.h: New file.
33604 2011-01-27 Petr Baudis <pasky@suse.cz>
33605 Ulrich Drepper <drepper@gmail.com>
33608 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33609 to extend_alloca().
33610 * stdio-common/bug23.c: New file.
33611 * stdio-common/Makefile (tests): Add bug23.
33613 2010-09-28 Andreas Schwab <schwab@redhat.com>
33614 Ulrich Drepper <drepper@gmail.com>
33617 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33618 before performing relro protection. At old place add assertion
33619 to make sure nothing changed.
33621 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33622 Glauber de Oliveira Costa <glommer@gmail.com>
33624 * elf/elf.h: Add new ARM TLS relocs.
33626 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33629 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33631 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33633 * sysdeps/wordsize-64/tst-writev.c: New file.
33635 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33637 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33638 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33639 insns in _dl_start to prevent a TOC reference before relocs are
33642 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33645 * Makeconfig: Remove RANLIB definition.
33646 * Makerules: Don't use RANLIB.
33647 * aclocal.m4: Remove ranlib test.
33648 * configure.in: No need to check for ranlib.
33649 * elf/rtld-Rules: Don't use RANLIB.
33651 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33653 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33655 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33656 inclusion protection macro.
33658 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33659 SIGRTMIN and SIGRTMAX and print information in that case only when
33660 SIGRTMIN is defined.
33662 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33664 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33665 arginfo fn returning -1.
33667 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33668 and thousands string is zero terminated.
33670 2011-02-03 Andreas Schwab <schwab@redhat.com>
33672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33673 sysdeps/unix/sysv/linux/bits/socket.h.
33675 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33677 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33678 (__CPU_COUNT): Remove old macros.
33679 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33680 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33681 (__CPU_ALLOC, __CPU_FREE): Add macros.
33682 (__sched_cpualloc, __sched_cpufree): Add declarations.
33684 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33686 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33687 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33688 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33689 (readdhstai): Return value of addhstaiX call.
33690 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33691 (addgrbyX): Return value returned by cache_addgr.
33692 (readdgrbyname): Return value returned by addgrbyX.
33693 (readdgrbygid): Likewise.
33694 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33695 (addpwbyX): Return value returned by cache_addpw.
33696 (readdpwbyname): Return value returned by addhstbyX.
33697 (readdpwbyuid): Likewise.
33698 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33699 (addservbyX): Return value returned by cache_addserv.
33700 (readdservbyname): Return value returned by addservbyX:
33701 (readdservbyport): Likewise.
33702 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33703 (addhstbyX): Return value returned by cache_addhst.
33704 (readdhstbyname): Return value returned by addhstbyX.
33705 (readdhstbyaddr): Likewise.
33706 (readdhstbynamev6): Likewise.
33707 (readdhstbyaddrv6): Likewise.
33708 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33709 (readdinitgroups): Return value returned by addinitgroupsX.
33710 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33711 (prune_cache): Keep track of timeout value of re-added entries.
33712 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33713 * nscd/nscd.h: Adjust prototypes of readd* functions.
33715 2011-02-04 Roland McGrath <roland@redhat.com>
33717 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33718 (nis_stats): Likewise.
33719 * nis/nis_modify.c (nis_modify): Likewise.
33720 * nis/nis_remove.c (nis_remove): Likewise.
33721 * nis/nis_add.c (nis_add): Likewise.
33723 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33725 * posix/fnmatch_loop.c: Add some consts.
33727 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33729 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33732 * config.make.in (config-cflags-novzeroupper): Define.
33733 * configure.in: Substitute libc_cv_cc_novzeroupper.
33734 * elf/Makefile (AVX-CFLAGS): Define.
33735 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33736 (CFLAGS-tst-auditmod4a.c): Likewise.
33737 (CFLAGS-tst-auditmod4b.c): Likewise.
33738 (CFLAGS-tst-auditmod6b.c): Likewise.
33739 (CFLAGS-tst-auditmod6c.c): Likewise.
33740 (CFLAGS-tst-auditmod7b.c): Likewise.
33741 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33743 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33745 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33746 function to the callback.
33747 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33749 2011-02-02 Andreas Schwab <schwab@redhat.com>
33751 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33754 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33757 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33759 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33761 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33764 * elf/Makefile: Add rules to build and run new test.
33765 * elf/tst-initorder.c: New file.
33766 * elf/tst-initorder.exp: New file.
33767 * elf/tst-initordera1.c: New file.
33768 * elf/tst-initordera2.c: New file.
33769 * elf/tst-initordera3.c: New file.
33770 * elf/tst-initordera4.c: New file.
33771 * elf/tst-initorderb1.c: New file.
33772 * elf/tst-initorderb2.c: New file.
33773 * elf/tst-order-a1.c: New file.
33774 * elf/tst-order-a2.c: New file.
33775 * elf/tst-order-a3.c: New file.
33776 * elf/tst-order-a4.c: New file.
33777 * elf/tst-order-b1.c: New file.
33778 * elf/tst-order-b2.c: New file.
33779 * elf/tst-order-main.c: New file.
33780 New test case by George Gensure <werkt0@gmail.com>.
33782 2010-10-01 Andreas Schwab <schwab@redhat.com>
33784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33785 decoding ACE if AI_CANONIDN.
33787 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33789 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33791 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33793 * version.h (RELEASE): Bump for 2.13 release.
33794 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33796 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33798 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33800 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33801 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33803 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33805 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33807 * posix/getconf.c: Update copyright year.
33808 * catgets/gencat.c: Likewise.
33809 * csu/version.c: Likewise.
33810 * debug/catchsegv.sh: Likewise.
33811 * debug/xtrace.sh: Likewise.
33812 * elf/ldconfig.c: Likewise.
33813 * elf/ldd.bash.in: Likewise.
33814 * elf/sprof.c (print_version): Likewise.
33815 * iconv/iconv_prog.c: Likewise.
33816 * iconv/iconvconfig.c: Likewise.
33817 * locale/programs/locale.c: Likewise.
33818 * locale/programs/localedef.c: Likewise.
33819 * malloc/memusage.sh: Likewise.
33820 * malloc/mtrace.pl: Likewise.
33821 * nscd/nscd.c (print_version): Likewise.
33822 * nss/getent.c: Likewise.
33824 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33825 PF_CAIF, and PF_ALG.
33826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33828 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33830 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33831 (modules-names): Use them.
33832 (ifunc-test-modules, ifunc-pie-tests): Define.
33833 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33834 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33835 (test-extras): Likewise.
33836 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33837 $(compile-command.c).
33838 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33839 (all-built-dso): Define.
33840 (check-textrel.out, check-execstack.out): Depend on it.
33842 * configure.in: Don't override --enable-multi-arch.
33844 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33847 * nscd/hstcache.c (tryagain): Define.
33848 (cache_addhst): Return tryagain not notfound for temporary errors.
33849 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33852 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33856 to make the syscall.
33857 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33860 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33861 and fall back to matching as normal character if the string ends before
33862 the matching ']' is found. This is what POSIX requires.
33863 * posix/testfnm.c: Adjust test result.
33864 * posix/globtest.sh: Adjust test result. Add new test.
33865 * posix/tst-fnmatch.input: Likewise.
33866 * posix/tst-fnmatch2.c: Add new test.
33868 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33870 * elf/Makefile (check-execstack): Revert last change. Depend on
33872 (check-execstack.h): New target.
33873 (generated): Add check-execstack.h.
33874 * elf/check-execstack.c: Include "check-execstack.h".
33875 (main): Revert last change.
33876 (handle_file): Return zero if GNU_STACK is absent and
33877 DEFAULT_STACK_PERMS doesn't include PF_X.
33879 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33881 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33882 in child fails because the descriptor is already closed.
33883 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33884 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33885 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33888 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33892 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33893 temporary buffer used to handle multi lookups locally.
33894 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33896 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33898 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33901 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33903 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33904 alignment for SSE2.
33906 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33909 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33910 characters. When rounding increased number of integer digits recompute
33912 * stdio-common/tst-grouping.c: New file.
33913 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33915 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33917 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33918 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33920 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33922 * bits/select.h: Likewise.
33924 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33926 * po/ja.po: Update from translation team.
33928 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33931 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33932 implementation just like for lxstat, fxstatat, et al.
33934 2010-12-27 Jim Meyering <meyering@redhat.com>
33937 * posix/regexec.c (build_trtable): Return failure indication upon
33938 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33940 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33943 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33944 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33945 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33946 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33949 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33952 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33953 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33955 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33957 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33958 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33959 script has SORT_BY_INIT_PRIORITY.
33960 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33961 NO_CTORS_DTORS_SECTIONS is defined.
33962 * elf/soinit.c: Likewise.
33963 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33964 NO_CTORS_DTORS_SECTIONS is defined.
33965 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33966 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33967 * sysdeps/sh/init-first.c: Likewise.
33968 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33970 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33972 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33973 always use the slow path.
33975 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33977 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33978 similar rule which adds the sysdep directories to the header search in
33979 order to pick up the correct platform stackinfo.h.
33980 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33981 perform test if it is, otherwise return successfully without testing.
33982 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33983 DEFAULT_STACK_PERMS define in stackinfo.h.
33984 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33985 defined in stackinfo.h.
33986 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33987 DEFAULT_STACK_PERMS defined in stackinfo.h.
33988 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33989 * sysdeps/ia64/stackinfo.h: Likewise.
33990 * sysdeps/s390/stackinfo.h: Likewise.
33991 * sysdeps/sh/stackinfo.h: Likewise.
33992 * sysdeps/sparc/stackinfo.h: Likewise.
33993 * sysdeps/x86_64/stackinfo.h: Likewise.
33994 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33995 PF_X for powerpc64. Retain PF_X for powerpc32.
33997 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33999 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34001 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34002 GETDENTS_64BIT_ALIGNED.
34004 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34006 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34008 2010-12-10 Andreas Schwab <schwab@redhat.com>
34010 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34013 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34014 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34016 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34017 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34019 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34022 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34025 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34027 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34029 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34031 * po/it.po: Update from translation team.
34033 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34038 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34040 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34042 2010-11-24 Andreas Schwab <schwab@redhat.com>
34044 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34046 (gaih_getanswer_slice): Likewise.
34048 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34052 2010-05-31 Petr Baudis <pasky@suse.cz>
34055 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34056 silently even in the chroot mode.
34058 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34060 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34061 last patch a bit. Pretty printing
34063 2010-05-31 Petr Baudis <pasky@suse.cz>
34066 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34067 initialization of skip_initgroups_dyn.
34069 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34071 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34072 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34074 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34076 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34078 2010-11-11 Andreas Schwab <schwab@redhat.com>
34080 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34081 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34082 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34083 ($(objpfx)tst-fnmatch-mem): New rule.
34084 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34085 * posix/tst-fnmatch.c (main): Call mtrace.
34087 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34090 Support Intel processor model 6 and model 0x2c.
34092 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34094 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34097 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34100 * string/test-strncasecmp.c (check_result): New function.
34101 (do_one_test): Use it.
34102 (check1): New function.
34103 (test_main): Use it.
34104 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34105 Support strcasecmp and strncasecmp.
34107 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34110 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34113 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34115 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34119 * sysdeps/x86_64/multiarch/bzero.S: New file.
34120 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34121 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34122 * sysdeps/x86_64/multiarch/memset.S: New file.
34123 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34125 Set bit_Prefer_SSE_for_memop for Intel processors.
34126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34128 (index_Prefer_SSE_for_memop): Define.
34129 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34131 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34133 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34134 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34136 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34139 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34140 (__x86_64_raw_data_cache_size_half): Likewise.
34141 (__x86_64_raw_shared_cache_size): Likewise.
34142 (__x86_64_raw_shared_cache_size_half): Likewise.
34144 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34145 (__x86_64_raw_data_cache_size_half): Likewise.
34146 (__x86_64_raw_shared_cache_size): Likewise.
34147 (__x86_64_raw_shared_cache_size_half): Likewise.
34148 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34149 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34150 and __x86_64_raw_shared_cache_size_half. Round
34151 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34152 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34153 to multiple of 256 bytes.
34155 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34158 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34159 of inacessible symlinks. Verify result of symlink before returning it.
34160 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34161 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34163 2010-10-28 Erich Ritz <erichritz@gmail.com>
34165 * math/math.h (isinf): Fix typo in comment.
34167 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34169 * po/da.po: Update from translation team.
34171 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34173 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34174 is added to the list.
34176 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34177 Ulrich Drepper <drepper@gmail.com>
34179 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34180 the global list here. Move code to...
34181 (_dl_add_to_namespace_list): ...here. New function.
34182 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34183 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34184 * elf/dl-load.c (lose): Don't remove the element from the list.
34185 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34186 (_dl_map_object): Likewise.
34188 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34191 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34192 into all bytes of SSE register.
34193 Patch by Richard Li <richardpku@gmail.com>.
34195 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34198 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34201 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34203 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34204 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34205 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34206 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34211 2010-10-22 Andreas Schwab <schwab@redhat.com>
34213 * include/dlfcn.h (__RTLD_SECURE): Define.
34214 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34215 mode & __RTLD_SECURE instead.
34216 (open_path): Rename preloaded parameter to secure.
34217 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34218 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34219 * elf/dl-deps.c (openaux): Likewise.
34220 * elf/rtld.c (struct map_args): Remove is_preloaded.
34221 (map_doit): Don't use it.
34222 (dl_main): Likewise.
34223 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34224 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34226 2010-09-09 Andreas Schwab <schwab@redhat.com>
34228 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34229 (sysd-rules-targets): Remove duplicates.
34230 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34231 rtld-%.$o dependency.
34233 2010-10-18 Andreas Schwab <schwab@redhat.com>
34235 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34236 _dl_map_object do it.
34238 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34240 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34241 fast fma builtins, define the macros in the C99 standard.
34242 (FP_FAST_FMAF): Likewise.
34243 (FP_FAST_FMAL): Likewise.
34244 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34246 * bits/mathdef.h: Update copyright year.
34247 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34249 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34251 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34252 builtins, define the macros in the C99 standard.
34253 (FP_FAST_FMAF): Likewise.
34254 (FP_FAST_FMAL): Likewise.
34255 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34257 (FP_FAST_FMAF): Likewise.
34259 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34262 * math/libm-test.inc (fma_test): Some new testcases.
34263 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34264 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34265 y and infinite z. Do multiplication by C already in long double.
34266 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34268 y and infinite z. Do bitwise or of inexact bit into u.d.
34269 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34270 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34271 * sysdeps/i386/fpu/s_fma.S: Removed.
34272 * sysdeps/i386/fpu/s_fmal.S: Removed.
34274 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34277 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34278 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34279 computation is not scheduled after fetestexcept. Fix value
34280 of minimum denormal long double.
34282 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34285 * math/libm-test.inc (fma_test): Add some more tests.
34286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34289 2010-10-15 Andreas Schwab <schwab@redhat.com>
34291 * scripts/data/localplt-s390-linux-gnu.data: New file.
34292 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34294 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34297 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34298 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34300 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34302 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34304 if one of x and y is very large and the other is subnormal.
34305 * sysdeps/s390/fpu/s_fmaf.c: New file.
34306 * sysdeps/s390/fpu/s_fma.c: New file.
34307 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34308 * sysdeps/powerpc/fpu/s_fma.S: New file.
34309 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34310 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34311 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34313 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34316 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34319 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34320 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34321 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34322 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34323 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34324 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34326 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34329 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34330 * posix/bug-regex31.input: Add test case.
34332 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34334 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34335 * posix/bug-regex31.input: New file.
34338 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34339 (parse_sub_exp): Fix last change, use postorder.
34341 * posix/bug-regex31.c: New file.
34342 * posix/Makefile: Add rules to build and run bug-regex31.
34344 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34347 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34350 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34351 to have entries in sys_siglist.
34354 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34357 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34360 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34361 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34362 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34363 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34365 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34366 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34367 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34368 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34369 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34370 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34371 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34372 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34373 * math/ftestexcept.c (fetestexcept): Likewise.
34374 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34375 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34376 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34377 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34378 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34379 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34380 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34382 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34385 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34388 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34390 * string/bug-strstr1.c: New file.
34391 * string/Makefile: Add rules to build and run bug-strstr1.
34393 2010-10-05 Eric Blake <eblake@redhat.com>
34396 * string/str-two-way.h (two_way_long_needle): Always clear memory
34397 when skipping input due to the shift table.
34399 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34402 * malloc/mcheck.c: Handle large requests.
34405 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34406 for strncmp and strncasecmp.
34407 * string/stratcliff.c: Add tests for strcmp and strncmp.
34408 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34410 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34412 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34415 2010-09-30 Andreas Jaeger <aj@suse.de>
34417 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34418 (CGROUP_SUPER_MAGIC): Define.
34419 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34420 Handle btrfs and cgroup file systems.
34421 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34424 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34426 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34427 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34429 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34432 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34433 trying to locate the ELF header.
34435 2010-09-27 Andreas Schwab <schwab@redhat.com>
34438 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34439 Mask out sign-bit copies when constructing f_fsid.
34441 2010-09-24 Petr Baudis <pasky@suse.cz>
34443 * debug/stack_chk_fail_local.c: Add missing licence exception.
34444 * debug/warning-nop.c: Likewise.
34446 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34448 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34449 implementing getdents64 using getdents syscall, set d_type if
34450 __ASSUME_GETDENTS32_D_TYPE.
34452 2010-09-16 Andreas Schwab <schwab@redhat.com>
34454 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34455 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34457 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34460 * posix/unistd.h: Undo change of feature selection for ftruncate from
34463 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34465 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34468 2010-09-20 Andreas Schwab <schwab@redhat.com>
34470 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34472 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34474 2010-09-14 Andreas Schwab <schwab@redhat.com>
34476 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34477 variables after CHECK_SP call.
34478 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34480 2010-09-13 Andreas Schwab <schwab@redhat.com>
34481 Ulrich Drepper <drepper@redhat.com>
34483 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34484 re-relocationg ld.so.
34485 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34486 _dl_init_paths call.
34487 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34490 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34492 * resolv/res_init.c (__res_vinit): Count the default server we added.
34494 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34495 Ulrich Drepper <drepper@redhat.com>
34498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34499 (____longjmp_chk): Use %ebx for saving value across system call.
34502 2010-09-06 Andreas Schwab <schwab@redhat.com>
34504 * manual/Makefile: Don't mix pattern rules with normal rules.
34506 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34508 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34510 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34511 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34512 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34513 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34517 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34520 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34521 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34523 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34525 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34526 * sysdeps/x86_64/addmul_1.S: Likewise.
34527 * sysdeps/x86_64/lshift.S: Likewise.
34528 * sysdeps/x86_64/mul_1.S: Likewise.
34529 * sysdeps/x86_64/rshift.S: Likewise.
34530 * sysdeps/x86_64/sub_n.S: Likewise.
34531 * sysdeps/x86_64/submul_1.S: Likewise.
34533 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34535 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34536 Define __sched_param instead of SCHED_* and sched_param when
34537 <bits/sched.h> is included with __need_schedparam defined.
34538 * bits/sched.h [__need_schedparam]
34539 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34540 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34541 (__defined_schedparam): Define to 1.
34542 (__sched_param): New structure, identical to sched_param.
34543 (__need_schedparam): Undefine.
34545 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34548 (epoll_create1): Declare.
34550 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34552 2010-08-31 Andreas Schwab <schwab@redhat.com>
34555 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34556 shifting retval into place.
34558 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34560 * nis/rpcsvc/nis.h: Update copyright notice.
34561 * nis/rpcsvc/nis.x: Likewise.
34562 * nis/rpcsvc/nis_callback.h: Likewise.
34563 * nis/rpcsvc/nis_callback.x: Likewise.
34564 * nis/rpcsvc/nis_object.x: Likewise.
34565 * nis/rpcsvc/nis_tags.h: Likewise.
34566 * nis/rpcsvc/yp.h: Likewise.
34567 * nis/rpcsvc/yp.x: Likewise.
34568 * nis/rpcsvc/ypupd.h: Likewise.
34569 * nis/yp_xdr.c: Likewise.
34570 * nis/ypupdate_xdr.c: Likewise.
34572 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34573 mainly the body of pmap_getport. Add parameters to specify timeouts.
34574 (pmap_getport): Use __libc_rpc_getport.
34575 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34576 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34577 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34579 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34584 2010-08-27 Roland McGrath <roland@redhat.com>
34586 * sysdeps/i386/i686/multiarch/Makefile
34587 (CFLAGS-varshift.c): New variable.
34589 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34591 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34592 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34594 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34596 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34598 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34600 * sysdeps/x86_64/strlen.S: Unroll the loop.
34601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34602 strlen-sse2 strlen-sse2-bsf.
34603 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34604 __strlen_no_bsf if bit_Slow_BSF is set.
34605 (__strlen_sse42): Removed.
34606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34607 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34609 2010-08-25 Roland McGrath <roland@redhat.com>
34611 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34612 * sysdeps/x86_64/multiarch/varshift.c: New file.
34613 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34614 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34615 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34616 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34618 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34621 strlen-sse2 strlen-sse2-bsf.
34622 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34623 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34624 (__strlen_sse2): Removed.
34625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34628 bit_Slow_BSF for Atom.
34629 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34630 (index_Slow_BSF): Define.
34631 (HAS_SLOW_BSF): Define.
34633 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34636 * resolv/res_init.c (__res_vinit): When no server address at all
34637 is given default to loopback.
34639 2010-08-24 Roland McGrath <roland@redhat.com>
34641 * configure.in: Remove config-name.h generation.
34642 * configure: Regenerated.
34643 * config-name.in: File removed.
34644 * scripts/config-uname.sh: New file.
34645 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34646 ($(objdir)config-name.h): New target.
34648 * sunrpc/rpc_parse.h: Avoid nested comment.
34650 2010-08-24 Richard Henderson <rth@redhat.com>
34651 Ulrich Drepper <drepper@redhat.com>
34652 H.J. Lu <hongjiu.lu@intel.com>
34654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34656 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34657 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34658 _mm_alignr_epi8 with _mm_loadu_si128.
34659 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34660 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34661 (__m128i_shift_right): Removed.
34662 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34663 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34664 * sysdeps/x86_64/multiarch/varshift.h: New file.
34665 * sysdeps/x86_64/multiarch/varshift.S: New file.
34667 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34669 * configure.in: Move assembler checks to before sysdep dir checking.
34671 2010-08-20 Petr Baudis <pasky@suse.cz>
34673 * LICENSES: Sync the sunrpc license.
34675 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34677 * sunrpc/auth_des.c: Update copyright notice once again.
34678 * sunrpc/auth_none.c: Likewise.
34679 * sunrpc/auth_unix.c: Likewise.
34680 * sunrpc/authdes_prot.c: Likewise.
34681 * sunrpc/authuxprot.c: Likewise.
34682 * sunrpc/bindrsvprt.c: Likewise.
34683 * sunrpc/clnt_gen.c: Likewise.
34684 * sunrpc/clnt_perr.c: Likewise.
34685 * sunrpc/clnt_raw.c: Likewise.
34686 * sunrpc/clnt_simp.c: Likewise.
34687 * sunrpc/clnt_tcp.c: Likewise.
34688 * sunrpc/clnt_udp.c: Likewise.
34689 * sunrpc/clnt_unix.c: Likewise.
34690 * sunrpc/des_crypt.c: Likewise.
34691 * sunrpc/des_soft.c: Likewise.
34692 * sunrpc/get_myaddr.c: Likewise.
34693 * sunrpc/getrpcport.c: Likewise.
34694 * sunrpc/key_call.c: Likewise.
34695 * sunrpc/key_prot.c: Likewise.
34696 * sunrpc/openchild.c: Likewise.
34697 * sunrpc/pm_getmaps.c: Likewise.
34698 * sunrpc/pm_getport.c: Likewise.
34699 * sunrpc/pmap_clnt.c: Likewise.
34700 * sunrpc/pmap_prot.c: Likewise.
34701 * sunrpc/pmap_prot2.c: Likewise.
34702 * sunrpc/pmap_rmt.c: Likewise.
34703 * sunrpc/rpc/auth.h: Likewise.
34704 * sunrpc/rpc/auth_unix.h: Likewise.
34705 * sunrpc/rpc/clnt.h: Likewise.
34706 * sunrpc/rpc/des_crypt.h: Likewise.
34707 * sunrpc/rpc/key_prot.h: Likewise.
34708 * sunrpc/rpc/netdb.h: Likewise.
34709 * sunrpc/rpc/pmap_clnt.h: Likewise.
34710 * sunrpc/rpc/pmap_prot.h: Likewise.
34711 * sunrpc/rpc/pmap_rmt.h: Likewise.
34712 * sunrpc/rpc/rpc.h: Likewise.
34713 * sunrpc/rpc/rpc_des.h: Likewise.
34714 * sunrpc/rpc/rpc_msg.h: Likewise.
34715 * sunrpc/rpc/svc.h: Likewise.
34716 * sunrpc/rpc/svc_auth.h: Likewise.
34717 * sunrpc/rpc/types.h: Likewise.
34718 * sunrpc/rpc/xdr.h: Likewise.
34719 * sunrpc/rpc_clntout.c: Likewise.
34720 * sunrpc/rpc_cmsg.c: Likewise.
34721 * sunrpc/rpc_common.c: Likewise.
34722 * sunrpc/rpc_cout.c: Likewise.
34723 * sunrpc/rpc_dtable.c: Likewise.
34724 * sunrpc/rpc_hout.c: Likewise.
34725 * sunrpc/rpc_main.c: Likewise.
34726 * sunrpc/rpc_parse.c: Likewise.
34727 * sunrpc/rpc_parse.h: Likewise.
34728 * sunrpc/rpc_prot.c: Likewise.
34729 * sunrpc/rpc_sample.c: Likewise.
34730 * sunrpc/rpc_scan.c: Likewise.
34731 * sunrpc/rpc_scan.h: Likewise.
34732 * sunrpc/rpc_svcout.c: Likewise.
34733 * sunrpc/rpc_tblout.c: Likewise.
34734 * sunrpc/rpc_util.c: Likewise.
34735 * sunrpc/rpc_util.h: Likewise.
34736 * sunrpc/rpcinfo.c: Likewise.
34737 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34738 * sunrpc/rpcsvc/key_prot.x: Likewise.
34739 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34740 * sunrpc/rpcsvc/mount.x: Likewise.
34741 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34742 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34743 * sunrpc/rpcsvc/rex.x: Likewise.
34744 * sunrpc/rpcsvc/rstat.x: Likewise.
34745 * sunrpc/rpcsvc/rusers.x: Likewise.
34746 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34747 * sunrpc/rpcsvc/spray.x: Likewise.
34748 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34749 * sunrpc/rtime.c: Likewise.
34750 * sunrpc/svc.c: Likewise.
34751 * sunrpc/svc_auth.c: Likewise.
34752 * sunrpc/svc_authux.c: Likewise.
34753 * sunrpc/svc_raw.c: Likewise.
34754 * sunrpc/svc_run.c: Likewise.
34755 * sunrpc/svc_simple.c: Likewise.
34756 * sunrpc/svc_tcp.c: Likewise.
34757 * sunrpc/svc_udp.c: Likewise.
34758 * sunrpc/svc_unix.c: Likewise.
34759 * sunrpc/svcauth_des.c: Likewise.
34760 * sunrpc/xcrypt.c: Likewise.
34761 * sunrpc/xdr.c: Likewise.
34762 * sunrpc/xdr_array.c: Likewise.
34763 * sunrpc/xdr_float.c: Likewise.
34764 * sunrpc/xdr_mem.c: Likewise.
34765 * sunrpc/xdr_rec.c: Likewise.
34766 * sunrpc/xdr_ref.c: Likewise.
34767 * sunrpc/xdr_sizeof.c: Likewise.
34768 * sunrpc/xdr_stdio.c: Likewise.
34770 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34773 2010-08-19 Andreas Schwab <schwab@redhat.com>
34775 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34777 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34779 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34780 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34781 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34782 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34784 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34785 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34786 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34788 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34789 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34790 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34791 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34792 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34794 2010-07-26 Anton Blanchard <anton@samba.org>
34796 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34797 * malloc/arena.c (heap_trim): Likewise.
34799 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34801 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34803 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34804 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34806 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34808 * sysdeps/i386/elf/Makefile: New file.
34810 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34812 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34813 from fanotify_init.
34814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34815 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34817 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34819 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34821 * sysdeps/multiarch/strcmp.S: Likewise.
34823 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34825 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34826 strncase_l-nonascii.
34827 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34828 Add strncase_l-ssse3.
34829 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34830 * sysdeps/x86_64/strcmp.S: Likewise.
34831 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34832 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34833 * sysdeps/x86_64/strncase.S: New file.
34834 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34835 * sysdeps/x86_64/strncase_l.S: New file.
34836 * string/Makefile (strop-tests): Add strncasecmp.
34837 * string/test-strncasecmp.c: New file.
34839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34842 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34843 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34845 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34847 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34849 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34851 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34852 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34853 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34855 2010-05-01 Alan Modra <amodra@gmail.com>
34857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34858 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34859 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34860 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34861 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34862 tidying. Don't tail-call __sigjmp_save for static lib.
34863 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34865 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34866 (CALL_MCOUNT): Add eh info, and nop after bl.
34867 (TAIL_CALL_SYSCALL_ERROR): New macro.
34868 (PSEUDO_RET): Use it.
34869 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34870 Correct save location of integer regs and cr.
34871 (_dl_profile_resolve): Correct cr save location. Delete nops
34872 after bl when SHARED. Reduce cfi size a little by better
34873 placement of cfi directives.
34874 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34875 make a stack frame. Instead use parm save area as a temp.
34876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34877 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34879 Don't make a stack frame for parent, use parm save area.
34880 Increase child stack frame to 112 bytes. Don't save unused reg,
34881 and adjust reg usage. Set up cfi on error recovery and
34882 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34884 (__makecontext): Add dummy nop after jump to exit.
34885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34886 Use correct parm save area and cr save, reduce stack frame.
34887 Correct cfi for possible PSEUDO_RET frame setup.
34888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34889 Branch to local label emitted by PSEUDO_RET rather than
34892 2010-08-12 Andreas Schwab <schwab@redhat.com>
34895 * locale/programs/locale.c (print_assignment): New function.
34896 (show_locale_vars): Use it.
34898 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34900 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34902 (struct statfs64): Likewise.
34903 (_STATFS_F_FLAGS): Define.
34904 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34906 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34907 (ST_VALID): Define locally.
34908 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34909 __statvfs_getflags, use the provided value.
34910 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34911 __ASSUME_STATFS_F_FLAGS.
34913 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34915 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34916 Add sys/fanotify.h.
34917 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34918 fanotify_mask for GLIBC_2.13.
34919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34920 fanotify_init and fanotify_mark.
34921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34922 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34924 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34926 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34927 prlimit64 for GLIBC_2.13.
34928 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34934 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34935 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34938 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34941 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34942 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34944 * nss/Makefile: Add rules to build and run tst-nss-test1.
34945 * shlib-versions: Add entry for libnss_test1.
34946 * nss/nss_test1.c: New file.
34947 * nss/tst-nss-test1.c: New file.
34949 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34950 (__nss_configure_lookup): Set appropriate entry in
34951 __nss_configure_lookup to true.
34952 * nss/nsswitch.h: Define enum with indeces of databases in
34953 databases and __nss_database_custom arrays. Declare
34954 __nss_database_custom.
34955 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34956 to avoid using nscd when custom rules are installed.
34957 * nss/getXXbyYY_r.c: Likewise.
34958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34960 * nss/nss_files/files-parse.c: Whitespace fixes.
34962 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34965 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34966 * posix/fnmatch_loop.c: Likewise.
34968 2010-07-17 Andi Kleen <ak@linux.intel.com>
34970 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34971 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34972 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34973 * Versions.def [GLIBC_2.13]: Add.
34975 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34977 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34978 Also fail if tpwd after pwuid call is NULL.
34980 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34982 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34983 when converting to ms.
34985 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34987 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34988 EOPNOTSUPP errors with ENOTTY.
34989 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34990 EOPNOTSUPP errors with ENOTTY.
34992 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34995 Add strcasecmp_l-ssse3.
34996 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34998 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34999 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35000 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35002 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35004 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35006 * string/Makefile (strop-tests): Add strcasecmp.
35007 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35008 strcasecmp_l-nonascii.
35009 (gen-as-const-headers): Add locale-defines.sym.
35010 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35011 * sysdeps/x86_64/strcasecmp.S: New file.
35012 * sysdeps/x86_64/strcasecmp_l.S: New file.
35013 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35014 * sysdeps/x86_64/locale-defines.sym: New file.
35015 * string/test-strcasecmp.c: New file.
35017 * string/test-strcasestr.c: Test both ends of the range of characters.
35018 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35020 2010-07-29 Roland McGrath <roland@redhat.com>
35023 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35025 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35027 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35030 2010-07-27 Andreas Schwab <schwab@redhat.com>
35032 * manual/memory.texi (Malloc Tunable Parameters): Document
35035 2010-07-26 Roland McGrath <roland@redhat.com>
35038 * configure.in (-fgnu89-inline check): Set and substitute
35039 gnu89_inline, not libc_cv_gnu89_inline.
35040 * configure: Regenerated.
35041 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35043 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35045 * string/test-strnlen.c: New file.
35046 * string/Makefile (strop-tests): Add strnlen.
35047 * string/tester.c (test_strnlen): Add a few more test cases.
35048 * string/tst-strlen.c: Better error reporting.
35050 * sysdeps/x86_64/strnlen.S: New file.
35052 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35054 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35055 lower-latency instructions.
35057 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35059 * string/test-strcasestr.c: New file.
35060 * string/test-strstr.c: New file.
35061 * string/Makefile (strop-tests): Add strstr and strcasestr.
35062 * string/str-two-way.h: Don't undefine MAX.
35063 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35065 2010-07-21 Andreas Schwab <schwab@redhat.com>
35067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35068 strcasestr-nonascii.
35069 (CFLAGS-strcasestr-nonascii.c): Define.
35070 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35071 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35072 Remove unused attribute.
35074 2010-07-20 Roland McGrath <roland@redhat.com>
35076 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35077 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35078 ld.so.cache was broken. With it, there is no way to disable dsocaps
35079 like LD_HWCAP_MASK can disable hwcaps.
35081 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35083 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35085 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35087 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35088 call in strcasestr.
35089 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35090 __strcasestr_sse42_nonascii.
35091 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35092 strcasestr-nonascii.c.
35093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35095 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35097 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35098 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35099 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35100 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35102 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35104 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35107 2010-07-06 Andreas Schwab <schwab@redhat.com>
35110 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35113 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35116 _PC_PIPE_BUF using F_GETPIPE_SZ.
35118 2010-07-05 Roland McGrath <roland@redhat.com>
35120 * manual/arith.texi (Rounding Functions): Fix rint description
35121 implicit in round description.
35123 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35125 * elf/Makefile: Fix linking for a few tests to make recent linker
35128 2010-06-30 Andreas Schwab <schwab@redhat.com>
35130 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35131 $(common-objpfx)libc_nonshared.a.
35133 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35135 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35136 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35137 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35138 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35139 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35140 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35141 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35142 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35157 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35158 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35159 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35160 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35161 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35162 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35163 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35164 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35165 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35166 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35167 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35168 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35184 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35186 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35187 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35188 * string/memmove.c (memmove): Renamed to ...
35189 (MEMMOVE): ...this. Default to memmove.
35190 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35191 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35194 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35195 mempcpy-ssse3-back memmove-ssse3-back.
35196 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35199 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35200 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35201 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35202 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35203 * sysdeps/x86_64/multiarch/memmove.c: New file.
35204 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35205 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35206 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35207 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35208 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35209 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35211 (index_Fast_Copy_Backward): Define.
35212 (HAS_ARCH_FEATURE): Define.
35213 (HAS_FAST_REP_STRING): Define.
35214 (HAS_FAST_COPY_BACKWARD): Define.
35216 2010-06-21 Andreas Schwab <schwab@redhat.com>
35218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35219 Restore proper fallback handling.
35221 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35224 * posix/group_member.c (__group_member): Correct checking loop.
35226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35227 OOM in getpwuid_r correctly. Return error number when the caller
35228 should return, otherwise -1.
35229 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35230 call returning > 0 value.
35231 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35233 2010-06-07 Andreas Schwab <schwab@redhat.com>
35235 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35236 libc_nonshared.a from targets in modules-names.
35238 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35240 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35243 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35245 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35247 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35250 2010-06-02 Andreas Schwab <schwab@redhat.com>
35252 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35254 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35256 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35258 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35262 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35265 2010-06-14 Roland McGrath <roland@redhat.com>
35267 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35269 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35271 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35272 __REDIRECT followed by __THROW.
35273 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35274 * posix/getopt.h (getopt): Likewise.
35276 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35278 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35279 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35280 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35282 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35283 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35285 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35287 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35289 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35293 Properly check family and model.
35295 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35297 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35299 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35301 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35303 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35305 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35308 2010-05-19 Andreas Schwab <schwab@redhat.com>
35310 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35313 2010-05-21 Andreas Schwab <schwab@redhat.com>
35315 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35316 and internal_recvmmsg.
35317 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35318 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35319 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35320 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35322 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35323 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35324 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35326 2010-05-20 Andreas Schwab <schwab@redhat.com>
35328 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35330 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35332 POWER7 optimizations.
35333 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35334 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35336 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35338 * version.h: Update for 2.13 development version.
35340 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35343 exceptions. Return 0.
35345 2010-05-07 Roland McGrath <roland@redhat.com>
35347 * elf/ldconfig.c (main): Add a const.
35349 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35351 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35352 (args_options): Add no-idn option.
35353 (ahosts_keys_int): Add idn_flags to ai_flags.
35354 (parse_option): Handle 'i' option to clear idn_flags.
35356 * malloc/malloc.c (_int_free): Possible race in the most recently
35357 added check. Only act on the data if no current modification
35360 See ChangeLog.17 for earlier changes.