1 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2 Paul Pluzhnikov <ppluzhnikov@google.com>
5 * grp/Makefile (otherlibs): Don't set it.
6 * inet/Makefile (otherlibs): Likewise.
7 * login/Makefile (otherlibs): Likewise.
8 * nscd/Makefile (otherlibs): Likewise.
9 * posix/Makefile (otherlibs): Likewise.
10 * pwd/Makefile (otherlibs): Likewise.
11 * rt/Makefile (otherlibs): Likewise.
12 * sunrpc/Makefile (otherlibs): Likewise.
13 * nss/Makefile (otherlibs): Likewise.
14 Add libnss_files to routines and static-only-routines.
15 ($(objpfx)getent): Remove rule.
16 * resolv/Makefile: Add libnss_dns and libresolv to routines and
19 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22 * math/s_cexp.c: Include <float.h>.
23 (__cexp): Handle exp result overflowing not necessarily
24 overflowing both real and imaginary parts of result.
25 * math/s_cexpf.c: Likewise.
26 * math/s_cexpl.c: Likewise.
27 * math/libm-test.inc (cexp_test): Add more tests.
28 * sysdeps/i386/fpu/libm-test-ulps: Update.
29 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
33 * include/link.h (ELFW): New macro.
34 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46 (struct La_x32_retval): Likewise.
48 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
50 * sysdeps/x86_64/preconfigure.in: New file.
51 * sysdeps/x86_64/preconfigure: New generated file.
53 2012-03-22 Joseph Myers <joseph@codesourcery.com>
56 * math/e_exp2l.c: Include <float.h>.
57 (__ieee754_exp2l): Handle overflow and underflow cases
58 separately. Only pass fractional part of argument to
60 * math/libm-test.inc (exp2_test): Add more tests.
62 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
63 negating x to take absolute value.
64 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
66 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70 computing low part if x was negated.
71 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
73 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77 (pltexit): Cast int_retval to ptrdiff_t.
78 * elf/tst-auditmod3b.c: Likewise.
79 * elf/tst-auditmod4b.c: Likewise.
80 * elf/tst-auditmod5b.c: Likewise.
81 * elf/tst-auditmod6b.c: Likewise.
82 * elf/tst-auditmod6c.c: Likewise.
83 * elf/tst-auditmod7b.c: Likewise.
85 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
88 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
90 (La_x32_regs): New macro.
91 (La_x32_retval): Likewise.
92 (la_x32_gnu_pltenter): New function prototype.
93 (la_x32_gnu_pltexit): Likewise.
95 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
97 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
102 * configure.in (libc_cv_cc_nofma): Check for option to disable
103 generation of FMA instructions.
104 * configure: Regenerate.
105 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
106 * sysdeps/ieee754/dbl-64/Makefile: New file.
107 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
108 Remove brandred-fma4.
109 (CFLAGS-brandred-fma4.c): Remove.
110 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
116 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
118 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
119 LLONG_MAX != LONG_MAX.
120 (_itoa_word): Use _ITOA_WORD_TYPE on value.
121 (_fitoa_word): Likewise.
122 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
123 LLONG_MAX != LONG_MAX.
124 * stdio-common/_itowa.h: Include <_itoa.h>.
125 (_itowa_word): Use _ITOA_WORD_TYPE on value.
126 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
127 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
129 (_ITOA_WORD_TYPE): Likewise.
130 (_itoa_word): Use _ITOA_WORD_TYPE on value.
131 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
133 2012-03-21 David S. Miller <davem@davemloft.net>
135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
137 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
139 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
140 of x86_64 when setting libc_cv_slibdir, libdir and
142 * sysdeps/unix/sysv/linux/configure: Regenerated.
144 2012-03-21 Joseph Myers <joseph@codesourcery.com>
146 * manual/lang.texi (Old Varargs): Remove section.
147 (How Variadic): Update menu.
148 (va_start): Do not mention varargs.h.
150 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
151 Joseph Myers <joseph@codesourcery.com>
153 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
155 * configure: Regenerated.
157 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
159 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
160 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
163 2012-03-21 Joseph Myers <joseph@codesourcery.com>
166 * Makefile (files-for-dist): Remove NOTES.
167 (NOTES): Remove rule.
168 * README: Don't refer to NOTES.
169 * manual/creature.texi: Don't include macros.texi.
170 * manual/intro.texi (creature.texi): Remove comment referring to
173 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
174 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
175 * configure: Regenerated.
176 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
178 (libc_cv_as_i686): Likewise.
179 (libc_cv_cc_avx): Likewise.
180 (libc_cv_cc_sse2avx): Likewise.
181 (libc_cv_cc_fma4): Likewise.
182 (libc_cv_cc_novzeroupper): Likewise.
183 * sysdeps/i386/configure: Regenerated.
186 * sysdeps/i386/fpu/s_cexp.S: Remove.
187 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
188 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
189 * math/libm-test.inc (cexp_test): Add more tests.
190 * sysdeps/i386/fpu/libm-test-ulps: Update.
191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
193 2012-03-21 Allan McRae <allan@archlinux.org>
195 * timezone/Makefile: Do not install iso3166.tab and zone.tab
197 2012-03-21 Joseph Myers <joseph@codesourcery.com>
200 * math/w_exp2.c: Do not include <float.h>.
201 (o_threshold, u_threshold): Remove.
202 (__exp2): Calculate result before checking finiteness and calling
204 * math/w_exp2f.c: Likewise.
205 * math/w_exp2l.c: Likewise.
206 * math/libm-test.inc (exp2_test): Require overflow exception for
210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
211 range of signed 64-bit integers before using fistpll. Remove
212 checks for whether integers fit in mantissa bits.
213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
214 the range of signed 32-bit integers before using fistpl. Remove
215 checks for whether integers fit in mantissa bits.
216 * sysdeps/i386/fpu/e_powl.S (p64): New object.
217 (__ieee754_powl): Test for y outside the range of signed 64-bit
218 integers before using fistpll. Reduce 64-bit values to 63-bit
220 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
221 divide-by-zero is raised for zero to large negative powers.
222 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
223 (__ieee754_powl): Test for y outside the range of signed 64-bit
224 integers before using fistpll. Reduce 64-bit values to 63-bit
226 * math/libm-test.inc (pow_test): Add more tests.
228 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
230 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
231 <stdio-common/_itoa.h>.
232 * debug/segfault.c: Likewise.
233 * elf/dl-cache.c: Likewise.
234 * elf/dl-minimal.c: Likewise.
235 * elf/dl-misc.c: Likewise.
236 * elf/dl-sysdep.c: Likewise.
237 * elf/dl-version.c: Likewise.
238 * elf/rtld.c: Likewise.
239 * hurd/hurdsock.c: Likewise.
240 * hurd/lookup-retry.c: Likewise.
241 * malloc/malloc.c: Likewise.
242 * malloc/mtrace.c: Likewise.
243 * nscd/nscd_getgr_r.c: Likewise.
244 * nscd/nscd_getpw_r.c: Likewise.
245 * nscd/nscd_getserv_r.c: Likewise.
246 * posix/getopt_init.c: Likewise.
247 * posix/wordexp.c: Likewise.
248 * stdio-common/_itoa.c: Likewise.
249 * stdio-common/printf_fphex.c: Likewise.
250 * stdio-common/vfprintf.c: Likewise.
251 * string/_strerror.c: Likewise.
252 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
253 * sysdeps/i386/i686/hp-timing.h: Likewise.
254 * sysdeps/mach/_strerror.c: Likewise.
255 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
256 * sysdeps/mach/hurd/sethostid.c: Likewise.
257 * sysdeps/mach/hurd/xmknodat.c: Likewise.
258 * sysdeps/mach/xpg-strerror.c: Likewise.
259 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
260 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
261 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
262 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
263 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
264 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
266 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
267 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
268 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
269 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
270 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
271 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
272 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
273 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
274 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
275 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
276 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
277 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
278 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
279 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
281 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
283 * stdio-common/_itoa.h: Moved to ...
284 * sysdeps/generic/_itoa.h: Here.
286 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
288 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
289 instead of "_itoa.h" and "_itowa.h".
290 * stdio-common/vfprintf.: Likewise.
292 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
294 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
296 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
297 (__signbit): Likwise.
301 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
303 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
306 2012-03-20 Joseph Myers <joseph@codesourcery.com>
308 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
309 OVERFLOW_EXCEPTION_OK.
310 * math/libm-test.inc ("Philosophy"): Update comment about
312 (OVERFLOW_EXCEPTION): Define.
313 (OVERFLOW_EXCEPTION_OK): Likewise.
314 (INVALID_EXCEPTION_OK): Renumber.
315 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
316 (IGNORE_ZERO_INF_SIGN): Likewise.
317 (test_exceptions): Handle FE_OVERFLOW.
318 (exp10_test): Expect overflow exceptions.
319 (exp2_test): Likewise.
320 (expm1_test): Likewise.
321 (nextafter_test): Likewise.
322 (pow_test): Likewise.
323 (scalbn_test): Likewise.
324 (scalbln_test): Likewise.
326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
328 * sysdeps/x86_64/bits/atomic.h
329 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
331 (atomic_exchange_acq): Likewise.
332 (__arch_exchange_and_add_body): Likewise.
333 (__arch_add_body): Likewise.
334 (atomic_add_negative): Likewise.
335 (atomic_add_zero): Likewise.
337 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
339 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
340 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
342 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
344 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
345 Check __x86_64__ instead of __WORDSIZE.
347 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
349 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
351 2012-03-19 David S. Miller <davem@davemloft.net>
353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
355 * sysdeps/sparc/fpu/fenv_private.h: New file.
356 * sysdeps/sparc/fpu/math_private.h: Use it.
357 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
359 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
360 (libc_feholdexcept_setroundl): Remove.
361 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
363 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
364 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
366 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
368 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
369 int64_t instead of long int.
370 (INSERT_WORDS64): Likwise.
372 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
374 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
375 _Unwind_GetCFA return to _Unwind_Ptr first.
377 2012-03-19 Joseph Myers <joseph@codesourcery.com>
380 * math/s_clog.c: Include <float.h>.
381 (__clog): Scale large or subnormal inputs.
382 * math/s_clogf.c: Likewise.
383 * math/s_clogl.c: Likewise.
384 * math/s_clog10.c: Include <float.h>.
386 (__clog10): Scale large or subnormal inputs.
387 * math/s_clog10f.c: Likewise.
388 * math/s_clog10l.c: Likewise.
389 * math/libm-test.inc (clog_test): Add more tests.
390 (clog10_test): Likewise.
391 * sysdeps/i386/fpu/libm-test-ulps: Update.
392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
395 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
397 * math/libm-test.inc (atan2_test): Add another test.
399 * Makerules (common-objdir-compile): Remove.
400 * sysdeps/unix/Makefile (config-generated): Do not add
401 $(unix-generated) to variable.
402 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
403 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
405 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
407 [generic bits/local_lim.h] (before-compile): Do not append to
409 [generic bits/local_lim.h] (common-generated): Likewise.
410 [generic sys/param.h] (before-compile): Do not append to variable.
411 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
412 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
413 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
414 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
416 [generic sys/param.h] (sys/param.h-includes): Remove variable.
417 [generic sys/param.h] (sys/param.h-includes): Remove rule.
418 [generic sys/param.h] ($(addprefix
419 $(common-objpfx),$(sys/param.h-includes))): Likewise.
420 [generic sys/param.h] (common-generated): Do not append to
422 [generic sys/param.h] (sysdep_headers): Likewise.
423 [generic bits/errno.h] (before-compile): Do not append to
425 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
427 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
428 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
429 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
430 [generic bits/errno.h] (common-generated): Do not append to
432 [generic bits/ioctls.h] (before-compile): Do not append to
434 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
436 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
437 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
440 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
441 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
442 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
443 [generic bits/ioctls.h] (common-generated): Do not append to
445 [generic sys/syscall.h] (syscall.h): Remove variable.
446 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
448 [generic sys/syscall.h] (before-compile): Do not append to
450 [generic sys/syscall.h] (common-generated): Likewise.
451 * sysdeps/unix/errnos-tmpl.c: Remove file.
452 * sysdeps/unix/errnos.awk: Likewise.
453 * sysdeps/unix/ioctls-tmpl.c: Likewise.
454 * sysdeps/unix/ioctls.awk: Likewise.
455 * sysdeps/unix/mk-local_lim.c: Likewise.
456 * sysdeps/unix/snarf-ioctls: Likewise.
458 2012-03-19 Richard Henderson <rth@twiddle.net>
460 * sysdeps/i386/fpu/fenv_private.h: New file.
461 * sysdeps/i386/fpu/math_private.h: Use it.
462 (math_opt_barrier, math_force_eval): Remove.
463 (libc_feholdexcept_setround_53bit): Remove.
464 (libc_feupdateenv_53bit): Remove.
465 * sysdeps/x86_64/fpu/math_private.h: Likewise.
466 (math_opt_barrier, math_force_eval): Remove.
467 (libc_feholdexcept): Remove.
468 (libc_feholdexcept_setround): Remove.
469 (libc_fetestexcept, libc_fesetenv): Remove.
470 (libc_feupdateenv_test): Remove.
471 (libc_feupdateenv, libc_feholdsetround): Remove.
472 (libc_feresetround): Remove.
474 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
475 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
477 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
478 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
479 (libc_feupdateenv_testl): New.
480 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
481 (libc_feupdateenv_testf): New.
482 (libc_feupdateenv): Use libc_feupdateenv_test.
483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
486 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
487 (libc_feholdsetroundf, libc_feholdsetroundl): New.
488 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
489 (libc_feresetround_noex): New.
490 (libc_feresetround_noexf): New.
491 (libc_feresetround_noexl): New.
492 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
493 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
494 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
495 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
498 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
500 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
501 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
502 SET_RESTORE_ROUND_NOEX.
503 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
504 SET_RESTORE_ROUND_NOEXF.
505 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
506 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
507 (libc_feholdsetroundf): New.
508 (libc_feresetround, libc_feresetroundf): New.
510 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
511 (libc_feholdexcept_setround_53bit): Convert from macro to function.
512 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
514 * sysdeps/generic/math_private.h: Include <fenv.h>.
515 (default_libc_feholdexcept): New.
516 (default_libc_feholdexcept_setround): New.
517 (default_libc_fesetenv, default_libc_feupdateenv): New.
518 (libc_feholdexcept): Only define if undefined.
519 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
521 (libc_feholdexcept_setroundl): Likewise.
522 (libc_feholdexcept_setround_53bit): Likewise.
523 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
526 (libc_feupdateenv_53bit): Likewise.
527 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
528 (libc_feholdexcept): Convert from macro to inline function.
529 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
530 (libc_fesetenv, libc_feupdateenv): Likewise.
532 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
533 not previously defined.
534 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
535 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
536 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
537 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
538 * sysdeps/ieee754/flt-32/math_private.h: New file.
539 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
540 math_private.h below SET_FLOAT_WORD.
541 (__isnan, __isinf_ns, __finite): Remove.
542 (__isnanf, __isinf_nsf, __finitef): Remove.
544 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
548 2012-03-17 David S. Miller <davem@davemloft.net>
551 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
554 2012-03-16 David S. Miller <davem@davemloft.net>
556 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
562 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
563 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
564 sysdep_routines when subdir is sysvipc.
565 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
568 * sysdeps/sparc/fpu/libm-test/ulps: Update.
570 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
572 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
577 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
578 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
579 (__lround): Renamed to ...
580 (__llround): This. Replace long int with long long int.
581 Define lround functions as aliases of llround functions.
582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
584 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
586 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
587 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
588 adresses to uintptr_t. Replace "long int" and "unsigned long
589 int" with "greg_t" on va_arg.
591 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
593 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
594 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
596 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
597 Move e_machine check before EI_CLASS check. Handle x32
598 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
599 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
600 SKIP_EM_IA_64 and include
601 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
603 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
604 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
605 (add_system_dir): New macro.
607 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
608 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
610 2012-03-16 Joseph Myers <joseph@codesourcery.com>
621 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
623 * math/w_j0f.c (j0f): Likewise.
625 * math/w_j0l.c (__j0l): Likewise.
627 * math/w_j1.c (j1): Likewise.
629 * math/w_j1f.c (j1f): Likewise.
631 * math/w_j1l.c (__j1l): Likewise.
633 * math/w_jn.c (jn): Likewise.
635 * math/w_jnf.c (jnf): Likewise.
637 * math/w_jnl.c (__jnl): Likewise.
639 * math/libm-test.inc (j0_test): Add more tests.
641 (jn_test): Likewise. Add trailing semicolon to existing test.
644 * sysdeps/i386/fpu/libm-test-ulps: Update.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
649 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
650 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
651 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
653 (__tanl): Set errno for infinite argument.
654 * sysdeps/i386/fpu/mptan.c: Remove.
655 * sysdeps/i386/fpu/s_tan.S: Likewise.
656 * sysdeps/i386/fpu/s_tanl.S: Likewise.
657 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
658 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
659 * math/libm-test.inc (tan_test): Add more tests and enable more
660 tests for double and long double.
661 * sysdeps/i386/fpu/libm-test-ulps: Update.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
666 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
667 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
669 2012-03-16 Roland McGrath <roland@hack.frob.com>
671 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
672 * configure.in: Use it for both main tree and add-ons.
673 * configure: Regenerated.
675 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
677 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
679 2012-03-16 Joseph Myers <joseph@codesourcery.com>
681 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
685 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
686 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
687 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
688 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
689 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
691 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
694 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
695 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
696 * sysdeps/i386/fpu/s_cosl.S: Likewise.
697 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
698 * sysdeps/i386/fpu/s_sinl.S: Likewise.
699 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
700 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
701 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
702 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
703 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
704 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
705 * math/libm-test.inc (cos_test): Add more tests and enable more
706 tests for long double.
707 (sin_test): Likewise.
708 (sincos_test): Likewise.
709 * sysdeps/i386/fpu/libm-test-ulps: Update.
710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
712 2012-03-16 David S. Miller <davem@davemloft.net>
714 * sysdeps/sparc/fpu/math_private.h: New file.
716 2012-03-15 David S. Miller <davem@davemloft.net>
718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
728 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
732 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
733 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
735 * sysdeps/sparc/sparc-ifunc.h: New file.
736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
779 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
781 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
783 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
787 2012-03-15 Andreas Jaeger <aj@suse.de>
790 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
791 ieee754/flt-32 implementation for sin, cos and sincos.
792 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
793 * sysdeps/i386/fpu/s_cosf.S: Likewise.
794 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
795 * sysdeps/i386/fpu/s_sinf.S: Likewise.
796 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
797 ieee754/flt-32 implementation for tan.
799 * math/libm-test.inc (cos_test): Enable some large input tests for
801 (sin_test): Likewise.
802 (sincos_test): Likewise.
803 (tan_test): Add tests for large input.
805 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 2012-03-15 Andreas Jaeger <aj@suse.de>
810 * math/libm-test.inc (cos_test): Add more test cases.
811 (sin_test): Likewise.
812 (sincos_test): Likewise.
814 2012-03-15 Andreas Jaeger <aj@suse.de>
817 * math/libm-test.inc (cos_test): Add a test case for large input
819 (sin_test): Likewise.
820 (sincos_test): Likewise.
822 2012-03-15 Andreas Jaeger <aj@suse.de>,
823 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
827 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
828 * sysdeps/i386/fpu/branred.c: Likewise.
829 * sysdeps/i386/fpu/dosincos.c: Likewise.
830 * sysdeps/i386/fpu/mpa.c: Likewise.
831 * sysdeps/i386/fpu/s_cos.S: Likewise.
832 * sysdeps/i386/fpu/s_sin.S: Likewise.
833 * sysdeps/i386/fpu/s_sincos.S: Likewise.
834 * sysdeps/i386/fpu/sincos32.c: Likewise.
836 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
838 (libc_feupdateenv_53bit): Define.
839 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
841 (libc_feupdateenv_53bit): Define.
843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
844 53 bit (without extend i386 double precision).
846 * math/libm-test.inc (sincos_test): Add tests for large input.
850 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
852 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
856 2012-03-15 David S. Miller <davem@davemloft.net>
858 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
859 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
860 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
861 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
886 fmin/fmax sysdep routines.
887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
889 2012-03-14 David S. Miller <davem@davemloft.net>
891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
963 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
968 * sysdeps/sparc/configure.in: New file.
969 * sysdeps/sparc/configure: Generate.
970 * configure.in (libc_cv_sparc_as_vis3): Substitute.
971 * configure: Regenerate.
972 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
973 * config.make.in (have-as-vis3): New.
974 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
975 available use -Av9d instead of -Av9a.
976 * sysdeps/sparc/sparc64/Makefile: Likewise.
977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
992 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
993 fzeros/fnegs to load 0x80000000 into a float register instead of
995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
997 2012-03-14 Joseph Myers <joseph@codesourcery.com>
999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1001 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1002 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1003 ($(inst_includedir)/bits/syscall.h): Remove rule.
1004 ($(objpfx)bits/syscall.d): Include instead of
1005 $(objpfx)syscall-list.d.
1006 (generated): Change syscall-list.h and syscall-list.d to
1007 bits/syscall.h and bits/syscall.d.
1009 2012-03-14 Roland McGrath <roland@hack.frob.com>
1012 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1014 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1017 * math/s_csqrt.c: Include <float.h>.
1018 (__csqrt): Scale large or subnormal inputs.
1019 * math/s_csqrtf.c: Likewise.
1020 * math/s_csqrtl.c: Likewise.
1021 * math/libm-test.inc (csqrt_test): Add more tests.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026 * math/libm-test.inc (hypot_test): Add more tests.
1028 2012-03-13 David S. Miller <davem@davemloft.net>
1031 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1032 double-precision for the calculation instead of scaling.
1034 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1036 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1037 manipulate bits before adding and subtracting TWO52[sx].
1038 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1039 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1041 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1043 2012-03-13 David S. Miller <davem@davemloft.net>
1045 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1046 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1047 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1048 rtld-global-offsets.h
1049 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1051 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1056 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1057 'err' in the ifdef scope in which it is actually used.
1059 * nss/nss_db/db-init.c: Include string.h
1061 2012-03-12 David S. Miller <davem@davemloft.net>
1063 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1064 masking out of the most significant byte of random value used.
1065 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1066 Fix coding style in previous change.
1068 * sysdeps/unix/sysv/linux/kernel-features.h
1069 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1070 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1072 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1075 2012-03-11 David S. Miller <davem@davemloft.net>
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1078 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1080 for 'resultvar' otherwise things get truncated on 64-bit.
1082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1083 Fix masking out of the most significant byte of random value used.
1085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1087 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1091 2012-03-09 David S. Miller <davem@davemloft.net>
1093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1094 variables with appropriate CPP guards.
1095 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1096 frame pointer, not the stack pointer. Correct layout comments. Fix test
1097 on resulting framesize and the management of the outregs buffer for pltexit.
1098 Preserve floating point return values across _dl_call_pltexit call.
1099 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1100 framesize and the management of the outregs buffer for pltexit.
1101 Preserve floating point return values across _dl_call_pltexit
1103 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1104 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1105 (print_exit): Fix format string for return register value.
1107 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1109 * sunrpc/Makefile (others): Add rpcgen.
1110 ($(objpfx)rpcgen): Remove special build rule and dependency on
1112 * sunrpc/rpcgen.c: New file.
1114 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1117 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1118 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1119 * sysdeps/i386/crti.S: Likewise.
1120 * sysdeps/i386/crtn.S: Likewise.
1121 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1122 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1123 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1124 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1125 * sysdeps/sh/crti.S: Likewise.
1126 * sysdeps/sh/crtn.S: Likewise.
1127 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1130 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1132 * locale/programs/locfile-kw.gperf: Likewise.
1133 * locale/programs/charmap-kw.h: Regenerated.
1134 * locale/programs/locfile-kw.h: Likewise.
1137 * intl/plural.y: Replace FSF snail mail address with URL.
1138 * intl/plural.c: Regenerated.
1140 2012-03-09 Richard Henderson <rth@twiddle.net>
1142 * include/math_private.h: Remove file.
1143 * math/math_private.h: Move file ...
1144 * sysdeps/generic/math_private.h: ... here.
1146 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1147 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1148 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1150 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1151 and <math_private.h>.
1152 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1153 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1154 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1155 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1156 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1157 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1158 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1163 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1164 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1165 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1166 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1167 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1171 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1174 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1176 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1177 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1178 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1182 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1184 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1185 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1186 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1187 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1188 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1189 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1190 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1191 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1192 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1195 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1197 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1198 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1199 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1201 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1202 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1203 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1204 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1205 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1206 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1207 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1208 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1213 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1214 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1226 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1231 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1234 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1235 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1240 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1241 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1242 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1243 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1245 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1246 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1247 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1248 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1249 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1250 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1251 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1252 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1253 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1254 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1255 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1256 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1257 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1258 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1259 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1260 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1261 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1262 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1263 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1264 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1265 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1266 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1268 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1269 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1270 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1275 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1276 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1278 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1279 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1280 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1281 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1282 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1283 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1284 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1285 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1286 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1287 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1288 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1289 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1290 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1293 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1294 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1295 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1296 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1300 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1301 * sysdeps/ieee754/k_standard.c: Likewise.
1302 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1303 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1333 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1379 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1420 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1421 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1422 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1424 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1425 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1428 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1429 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1432 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1434 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1435 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1439 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1441 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1448 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1451 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1452 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1457 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1459 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1462 * sysdeps/ieee754/s_lib_version.c: Likewise.
1463 * sysdeps/ieee754/s_matherr.c: Likewise.
1464 * sysdeps/ieee754/s_signgam.c: Likewise.
1465 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1466 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1467 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1468 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1470 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1471 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1472 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1473 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1474 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1475 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1476 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1477 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1478 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1479 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1480 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1481 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1482 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1487 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1489 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1490 * sunrpc/rpc_main.c: Likewise.
1491 * sunrpc/rpc_svcout.c: Likewise.
1493 2012-03-09 David S. Miller <davem@davemloft.net>
1495 * include/math_private.h: New file.
1497 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1499 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1500 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1501 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1502 from <bits/socket_type.h>.
1503 (enum __socket_type): Don't define here.
1504 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1505 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1509 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1512 * Makerules ($(inst_includedir)/%.h): New rule.
1513 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1514 (install-others): Remove variable setting.
1515 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1517 2012-03-08 Richard Henderson <rth@twiddle.net>
1519 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1520 from macro to inline function; merge with the
1521 !__LIBC_INTERNAL_MATH_INLINES version.
1522 (__ieee754_sqrtf): Likewise.
1524 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1526 (__rintf, __floor, __floorf): Likewise.
1528 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1529 macro to inline function.
1530 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1532 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1533 not <math/math_private.h>.
1535 2012-03-08 David S. Miller <davem@davemloft.net>
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1539 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1541 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1543 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1545 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1546 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1548 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1550 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1551 be defined individually, they must be defined as a block. Define
1552 S for printing a string instead of hidint the different by using a
1553 macro for adding the 'l'.
1554 * stdio-common/tst-fphex-wide.c: Adjust.
1556 2012-03-07 Marek Polacek <polacek@redhat.com>
1558 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1560 2012-03-08 Marek Polacek <polacek@redhat.com>
1563 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1564 * stdio-common/tst-fphex.c: Define a few macros to make the
1565 test reusable. Use them.
1566 * stdio-common/tst-fphex-wide.c: New file.
1568 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1571 * manual/macros.texi (gnusystems): New macro.
1572 (nongnusystems): Likewise.
1573 (gnulinuxhurdsystems): Likewise.
1574 (gnuhurdsystems): Likewise..
1575 (gnulinuxsystems): Likewise.
1576 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1577 variants of the GNU system, not "GNU system".
1578 * manual/conf.texi: Likewise.
1579 * manual/errno.texi: Likewise. Update example of errno macro
1581 * manual/filesys.texi: Likewise.
1582 (getumask): Document as specific to GNU/Hurd.
1583 * manual/install.texi: Likewise. Reword some references to
1585 * manual/intro.texi: Likewise.
1586 * manual/io.texi: Likewise.
1587 (File Name Portability): Detail which constraints are inapplicable
1588 to all GNU systems and which are only inapplicable to GNU/Hurd.
1589 * manual/job.texi: Likewise.
1590 * manual/llio.texi: Likewise.
1591 (O_NOCTTY): Document as present on GNU/Linux.
1592 * manual/maint.texi: Likewise.
1593 * manual/memory.texi: Likewise.
1594 * manual/pattern.texi: Likewise.
1595 * manual/pipe.texi: Likewise.
1596 * manual/process.texi: Likewise.
1597 * manual/resource.texi: Likewise.
1598 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1600 * manual/setjmp.texi: Likewise.
1601 * manual/signal.texi: Likewise.
1602 * manual/startup.texi: Likewise.
1603 * manual/stdio.texi: Likewise.
1604 * manual/terminal.texi: Likewise.
1605 (ONLCR): Document as POSIX.
1606 (OXTABS): Document availability on GNU/Linux as XTABS.
1607 (ONOEOT): Document availability separately from other bits.
1608 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1609 * manual/time.texi: Likewise.
1610 * manual/users.texi: Likewise.
1611 * INSTALL: Regenerated.
1612 * sysdeps/gnu/errlist.c: Regenerated.
1614 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1615 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1616 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1618 * configure: Regenerated.
1620 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1622 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1623 default includes instead of AC_HEADER_CHECK.
1624 * sysdeps/i386/configure: Regenerated.
1627 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1628 * math/s_cacoshf.c (__cacoshf): Likewise.
1629 * math/s_cacoshl.c (__cacoshl): Likewise.
1630 * math/s_casinh.c (__casinh): Set signs of result from argument.
1631 * math/s_casinhf.c (__casinhf): Likewise.
1632 * math/s_casinhl.c (__casinhl): Likewise.
1633 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1634 (casinh_test): Add more tests.
1635 * sysdeps/i386/fpu/libm-test-ulps: Update.
1636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1638 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1640 * po/zh_TW.po: Update from translation team.
1642 * login/Makefile (distribute): Remove variable.
1643 * catgets/Makefile: Likewise.
1644 * mach/Makefile: Likewise.
1645 * malloc/Makefile: Likewise.
1646 * misc/Makefile: Likewise.
1647 * iconv/Makefile: Likewise.
1648 * nscd/Makefile: Likewise.
1649 * hurd/Makefile: Likewise.
1650 * manual/Makefile: Likewise.
1651 * locale/Makefile: Likewise.
1652 * intl/Makefile: Likewise.
1653 * conform/Makefile: Likewise.
1654 * nss/Makefile: Likewise.
1655 * time/Makefile: Likewise.
1656 * soft-fp/Makefile: Likewise.
1657 * dirent/Makefile: Likewise.
1658 * gmon/Makefile: Likewise.
1659 * po/Makefile: Likewise.
1660 * rt/Makefile: Likewise.
1661 * socket/Makefile: Likewise.
1662 * math/Makefile: Likewise.
1663 * signal/Makefile: Likewise.
1664 * debug/Makefile: Likewise.
1665 * elf/Makefile: Likewise.
1666 * timezone/Makefile: Likewise.
1667 * stdlib/Makefile: Likewise.
1668 * iconvdata/Makefile: Likewise.
1669 * sunrpc/Makefile: Likewise.
1670 * io/Makefile: Likewise.
1671 * argp/Makefile: Likewise.
1672 * inet/Makefile: Likewise.
1673 * hesiod/Makefile: Likewise.
1674 * grp/Makefile: Likewise.
1675 * csu/Makefile: Likewise.
1676 * wctype/Makefile: Likewise.
1677 * crypt/Makefile: Likewise.
1678 * libio/Makefile: Likewise.
1679 * string/Makefile: Likewise.
1680 * nis/Makefile: Likewise.
1681 * resolv/Makefile: Likewise.
1682 * stdio-common/Makefile: Likewise.
1683 * wcsmbs/Makefile: Likewise.
1684 * dlfcn/Makefile: Likewise.
1685 * posix/Makefile: Likewise.
1687 * timezone/Makefile: Don't install timezone files, just the programs
1690 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1692 * nss/databases.def: Add missing gshadow entry.
1694 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1696 2012-03-06 Marek Polacek <polacek@redhat.com>
1699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1701 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1702 * stdio-common/tst-long-dbl-fphex.c: New file.
1704 2012-03-06 David S. Miller <davem@davemloft.net>
1706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1707 (set_obp_int): New function.
1708 (get_obp_int): New function.
1709 (__get_clockfreq_via_dev_openprom): Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1711 Avoid unused variable warnings on 'val' and use builtin_expect.
1712 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1714 (INLINE_CLONE_SYSCALL): Likewise.
1716 2012-03-05 David S. Miller <davem@davemloft.net>
1718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1720 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1728 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1731 Replace gettimeofday with __vdso_gettimeofday.
1733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1734 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1735 __vdso_clock_gettime and __vdso_getcpu.
1737 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1738 time with __vdso_time.
1740 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1742 * manual/lang.texi (size_t): Note types to which size_t may be
1743 equivalent with the GNU C Library, but do not describe when
1744 differences between them are significant.
1746 2012-03-05 Andreas Jaeger <aj@suse.de>
1748 * sysdeps/i386/fpu/libm-test-ulps: Update.
1750 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1753 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1754 (__ieee754_pow): Save and restore rounding mode and use
1755 round-to-nearest for main computations.
1756 * math/libm-test.inc (pow_test_tonearest): New function.
1757 (pow_test_towardzero): Likewise.
1758 (pow_test_downward): Likewise.
1759 (pow_test_upward): Likewise.
1760 (main): Call the new functions.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1765 * math/libm-test.inc (cosh_test_tonearest): New function.
1766 (cosh_test_towardzero): Likewise.
1767 (cosh_test_downward): Likewise.
1768 (cosh_test_upward): Likewise.
1769 (sinh_test_tonearest): Likewise.
1770 (sinh_test_towardzero): Likewise.
1771 (sinh_test_downward): Likewise.
1772 (sinh_test_upward): Likewise.
1773 (main): Call the new functions.
1774 * sysdeps/i386/fpu/libm-test-ulps: Update.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777 2012-03-05 Tom de Vries <tom@codesourcery.com>
1779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1780 default stack guard is set in last bytes.
1781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1783 2012-03-05 Kees Cook <keescook@chromium.org>
1785 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1788 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1789 possibly allocate from heap instead of stack.
1790 * stdio-common/bug-vfprintf-nargs.c: New file.
1791 * stdio-common/Makefile (tests): Add nargs overflow test.
1793 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1797 2012-03-03 Marek Polacek <polacek@redhat.com>
1799 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1800 * math/math_private.h: Likewise.
1801 * stdlib/tst-strtod.c: Likewise.
1802 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1803 * sysdeps/x86_64/bits/atomic.h: Likewise.
1805 2012-03-02 David S. Miller <davem@davemloft.net>
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1811 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1812 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1814 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1816 2012-03-02 Roland McGrath <roland@hack.frob.com>
1819 * manual/examples/README: New file, says the example source files
1820 can be used under GPL>=2.
1821 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1822 line containing just "*/".
1823 * manual/examples/add.c: Add copyright header (GPL>=2).
1824 * manual/examples/argp-ex1.c: Likewise.
1825 * manual/examples/argp-ex2.c: Likewise.
1826 * manual/examples/argp-ex3.c: Likewise.
1827 * manual/examples/argp-ex4.c: Likewise.
1828 * manual/examples/atexit.c: Likewise.
1829 * manual/examples/db.c: Likewise.
1830 * manual/examples/dir.c: Likewise.
1831 * manual/examples/dir2.c: Likewise.
1832 * manual/examples/execinfo.c: Likewise.
1833 * manual/examples/filecli.c: Likewise.
1834 * manual/examples/filesrv.c: Likewise.
1835 * manual/examples/fmtmsgexpl.c: Likewise.
1836 * manual/examples/genpass.c: Likewise.
1837 * manual/examples/inetcli.c: Likewise.
1838 * manual/examples/inetsrv.c: Likewise.
1839 * manual/examples/isockad.c: Likewise.
1840 * manual/examples/longopt.c: Likewise.
1841 * manual/examples/memopen.c: Likewise.
1842 * manual/examples/memstrm.c: Likewise.
1843 * manual/examples/mkfsock.c: Likewise.
1844 * manual/examples/mkisock.c: Likewise.
1845 * manual/examples/mygetpass.c: Likewise.
1846 * manual/examples/pipe.c: Likewise.
1847 * manual/examples/popen.c: Likewise.
1848 * manual/examples/rprintf.c: Likewise.
1849 * manual/examples/search.c: Likewise.
1850 * manual/examples/select.c: Likewise.
1851 * manual/examples/setjmp.c: Likewise.
1852 * manual/examples/sigh1.c: Likewise.
1853 * manual/examples/sigusr.c: Likewise.
1854 * manual/examples/stpcpy.c: Likewise.
1855 * manual/examples/strdupa.c: Likewise.
1856 * manual/examples/strftim.c: Likewise.
1857 * manual/examples/strncat.c: Likewise.
1858 * manual/examples/subopt.c: Likewise.
1859 * manual/examples/swapcontext.c: Likewise.
1860 * manual/examples/termios.c: Likewise.
1861 * manual/examples/testopt.c: Likewise.
1862 * manual/examples/testpass.c: Likewise.
1863 * manual/examples/timeval_subtract.c: Likewise.
1866 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1868 * manual/timeval_subtract.c.texi: ... here, new file.
1870 2012-03-02 David S. Miller <davem@davemloft.net>
1872 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1874 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1877 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1878 (__sin): Save and restore rounding mode and use round-to-nearest
1879 for all computations.
1880 (__cos): Save and restore rounding mode and use round-to-nearest
1881 for all computations.
1882 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1884 (tan): Save and restore rounding mode and use round-to-nearest for
1886 * math/libm-test.inc (cos_test_tonearest): New function.
1887 (cos_test_towardzero): Likewise.
1888 (cos_test_downward): Likewise.
1889 (cos_test_upward): Likewise.
1890 (sin_test_tonearest): Likewise.
1891 (sin_test_towardzero): Likewise.
1892 (sin_test_downward): Likewise.
1893 (sin_test_upward): Likewise.
1894 (tan_test_tonearest): Likewise.
1895 (tan_test_towardzero): Likewise.
1896 (tan_test_downward): Likewise.
1897 (tan_test_upward): Likewise.
1898 (main): Call the new functions.
1899 * sysdeps/i386/fpu/libm-test-ulps: Update.
1900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1903 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1904 small n, then large n, before computing and testing k+n.
1905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1910 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1911 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1918 * math/libm-test.inc (scalbn_test): Add more tests.
1919 (scalbln_test): Likewise.
1921 * manual/filesys.texi (mode_t): Describe constraints on size and
1922 signedness, not exact equivalence to a particular type.
1924 (ino64_t): Likewise.
1926 (nlink_t): Likewise.
1927 (blkcnt_t): Likewise.
1928 (blkcnt64_t): Likewise.
1929 * manual/llio.texi (off_t): Likewise.
1932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1933 (__ieee754_exp): Save and restore rounding mode and use
1934 round-to-nearest for all computations.
1935 * math/libm-test.inc (exp_test_tonearest): New function.
1936 (exp_test_towardzero): Likewise.
1937 (exp_test_downward): Likewise.
1938 (exp_test_upward): Likewise.
1939 (main): Call the new functions.
1940 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1943 2012-03-01 Chris Demetriou <cgd@google.com>
1945 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1946 have predictable order.
1948 2012-03-01 David S. Miller <davem@davemloft.net>
1950 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1952 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1953 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1954 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1955 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1957 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1958 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1959 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1961 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1962 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1970 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1973 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1976 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1977 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1981 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1989 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1990 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1991 * sysdeps/sparc/elf/configure: Regenerated.
1993 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1995 * configure.in (AS, LD): Require binutils 2.20 or later.
1996 * configure: Regenerated.
1997 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1998 as required minimum version.
1999 * INSTALL: Regenerated.
2003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2004 before squaring exponent.
2005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2006 bottom long double and 27 bits of top long double before squaring
2008 * math/libm-test.inc (erfc_test): Add more tests.
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013 2012-03-01 Kai Tietz <ktietz@redhat.com>
2015 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2016 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2017 containing bit-fields.
2018 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2019 * soft-fp/single.h (_FP_UNION_S): Likewise.
2020 * soft-fp/double.h (_FP_UNION_D): Likewise.
2022 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2025 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2026 not include ../strcmp.S.
2027 [USE_AS_STRNCASECMP_L]: Likewise.
2028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2029 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2030 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2031 (__strncasecmp_l_ia32): Define as alias to
2032 __strncasecmp_l_nonascii.
2035 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2039 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2042 2012-02-29 Jeff Law <law@redhat.com>
2044 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2047 2012-02-29 Marek Polacek <polacek@redhat.com>
2050 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2051 * elf/Makefile: Add rules to run tst-unused-dep.out.
2053 2012-02-28 David S. Miller <davem@davemloft.net>
2055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2059 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2060 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2062 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2064 * math/libm-test.inc (llround_test): Move one test from
2065 lround_test. Use TEST_f_L in moved test.
2066 (lround_test): Move misplaced test to llround_test. Add testcase
2069 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2071 * sysdeps/x86_64/fpu/e_expf.S: New file.
2072 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2074 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2077 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2078 of remain_len that may cause incomplete multi-byte character and
2080 * posix/bug-regex33.c: New file.
2081 * posix/Makefile (tests): Add bug-regex33.
2083 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2085 * manual/macros.texi: New file.
2086 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2087 * manual/libc.texinfo: Include macros.texi.
2088 * manual/creatute.texi: Likewise.
2089 * manual/install.texi: Likewise.
2090 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2091 @glibcadj{} in references to the GNU C Library.
2092 * manual/charset.texi: Likewise.
2093 * manual/conf.texi: Likewise.
2094 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2095 when not using those macros.
2096 * manual/creature.texi: Likewise.
2097 * manual/crypt.texi: Likewise.
2098 * manual/errno.texi: Likewise.
2099 * manual/filesys.texi: Likewise.
2100 * manual/header.texi: Likewise.
2101 * manual/install.texi: Likewise.
2102 * manual/intro.texi: Likewise.
2103 * manual/io.texi: Likewise.
2104 * manual/job.texi: Likewise.
2105 * manual/lang.texi: Likewise.
2106 * manual/libc.texiinfo: Likewise.
2107 * manual/llio.texi: Likewise.
2108 * manual/locale.texi: Likewise.
2109 * manual/maint.texi: Likewise.
2110 * manual/math.texi: Likewise.
2111 * manual/memory.texi: Likewise.
2112 * manual/message.texi: Likewise.
2113 * manual/nss.texi: Likewise.
2114 * manual/pattern.texi: Likewise.
2115 * manual/process.texi: Likewise.
2116 * manual/resource.texi: Likewise.
2117 * manual/search.texi: Likewise.
2118 * manual/setjmp.texi: Likewise.
2119 * manual/signal.texi: Likewise.
2120 * manual/socket.texi: Likewise.
2121 * manual/startup.texi: Likewise.
2122 * manual/stdio.texi: Likewise.
2123 * manual/string.texi: Likewise.
2124 * manual/sysinfo.texi: Likewise.
2125 * manual/syslog.texi: Likewise.
2126 * manual/terminal.texi: Likewise.
2127 * manual/time.texi: Likewise.
2128 * manual/users.texi: Likewise.
2129 * INSTALL: Regenerated.
2130 * NOTES: Regenerated.
2131 * sysdeps/gnu/errlist.c: Regenerated.
2133 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2135 * include/dirent.h: Include <dirstream.h> before
2138 2012-02-28 David S. Miller <davem@davemloft.net>
2140 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2141 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2142 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2143 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2145 2012-02-27 David S. Miller <davem@davemloft.net>
2147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2149 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2150 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2153 frame pointer instead of stack pointer relative arg slot.
2154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2158 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2161 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2163 2012-02-27 David S. Miller <davem@davemloft.net>
2165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2171 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2174 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2176 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2177 later. Allow versions 5-9.
2178 * configure: Regenerated.
2179 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2180 required minimum version and 4.6 as recommended version. Do not
2181 mention bugs in GCC 2.7 and 2.8.
2182 * INSTALL: Regenerated.
2184 2012-02-27 David S. Miller <davem@davemloft.net>
2186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2192 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2196 manipulate bits before adding and subtracting TWO112[sx].
2197 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2199 2012-02-27 Roland McGrath <roland@hack.frob.com>
2202 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2203 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2204 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2205 being in POSIX, because they are in 1003.1-2008.
2207 * rt/tst-aio.c: Include <fcntl.h>.
2208 * rt/tst-aio7.c: Likewise.
2209 * rt/tst-aio64.c: Likewise.
2211 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2213 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2215 * manual/install.texi (--with-headers): Describe headers as
2216 interface headers, not private headers.
2217 (Specific advice for GNU/Linux systems): Describe use of headers
2218 from "make headers_install", not private headers from older
2220 * INSTALL: Regenerated.
2221 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2223 * sysdeps/unix/sysv/linux/configure: Regenerated.
2225 * manual/llio.texi (fclean): Remove documentation.
2227 * manual/Makefile (libc-texi-generated): New variable. Include
2229 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2230 $(libc-texi-generated), not duplicated list of files.
2231 (version.texi, stamp-version): New rules.
2232 (realclean): Remove $(libc-texi-generated), not individual files
2233 from that list. Do not remove dir-add.texinfo.
2234 * manual/libc.texinfo: Comment out uses of edition numbers and
2235 references to printed manual. Remove last-updated dates.
2236 (EDITION): Comment out.
2238 (VERSION, UPDATED): Remove.
2239 (version.texi): Include.
2241 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2243 * sysdeps/posix/spawni.c: Include <signal.h>.
2244 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2245 * sysdeps/pthread/aio_fsync.c: Likewise.
2247 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2249 * conform/Makefile (tests): Run only when not cross-compiling and
2250 when fast-check is not defined.
2252 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2253 * conform/data/limits.h-data: Fixes for POSIX2008.
2254 * conform/run-conformtest.sh: Run all tests.
2255 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2257 * include/bits/dlfcn.h: Likewise.
2258 * include/langinfo.h: Likewise.
2259 * include/monetary.h: Likewise.
2260 * include/sys/poll.h: Likewise.
2262 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2264 * posix/spawn.h: Define __need_sigset_t.
2265 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2266 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2267 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2268 to get sigevent_t only.
2269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2273 process_vm_writev only for __USE_GNU.
2274 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2276 * conform/Makefile: For now ignore errors from run-conformtest.
2277 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2278 POSIX to avoid namespace pollution. Don't prepend headers.
2279 * conform/data/aio.h-data: Fixes for POSIX testing.
2280 * conform/data/fcntl.h-data: Likewise.
2281 * conform/data/glob.h-data: Likewise.
2282 * conform/data/grp.h-data: Likewise.
2283 * conform/data/pthread.h-data: Likewise.
2284 * conform/data/pwd.h-data: Likewise.
2285 * conform/data/signal.h-data: Likewise.
2286 * conform/data/spawn.h-data: Likewise.
2287 * conform/data/stdio.h-data: Likewise.
2288 * conform/data/stdlib.h-data: Likewise.
2289 * conform/data/stropts.h-data: Likewise.
2290 * conform/data/sys/mman.h-data: Likewise.
2291 * conform/data/sys/stat.h-data: Likewise.
2292 * conform/data/sys/types.h-data: Likewise.
2293 * conform/data/sys/wait.h-data: Likewise.
2294 * conform/data/time.h-data: Likewise.
2295 * conform/data/unistd.h-data: Likewise.
2296 * conform/data/utime.h-data: Likewise.
2298 * io/sys/stat.h: fchmod was always in POSIX.
2299 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2300 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2301 * rt/aio.h: Define __need_timespec before including <time.h>.
2302 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2303 struct. Add forward declaration of pthread_attr_t and use it in
2305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2307 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2308 always remove CLK_TCK definition.
2310 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2312 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2314 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2316 * conform/run-conformtest.sh: New file.
2317 * conform/Makefile: Run run-conformtest for tests.
2318 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2321 * conform/data/uchar.h-data: New file.
2322 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2323 * conform/data/arpa/inet.h-data: Likewise.
2324 * conform/data/assert.h-data: Likewise.
2325 * conform/data/complex.h-data: Likewise.
2326 * conform/data/cpio.h-data: Likewise.
2327 * conform/data/ctype.h-data: Likewise.
2328 * conform/data/dirent.h-data: Likewise.
2329 * conform/data/dlfcn.h-data: Likewise.
2330 * conform/data/errno.h-data: Likewise.
2331 * conform/data/fcntl.h-data: Likewise.
2332 * conform/data/float.h-data: Likewise.
2333 * conform/data/fmtmsg.h-data: Likewise.
2334 * conform/data/fnmatch.h-data: Likewise.
2335 * conform/data/ftw.h-data: Likewise.
2336 * conform/data/glob.h-data: Likewise.
2337 * conform/data/grp.h-data: Likewise.
2338 * conform/data/iconv.h-data: Likewise.
2339 * conform/data/inttypes.h-data: Likewise.
2340 * conform/data/langinfo.h-data: Likewise.
2341 * conform/data/libgen.h-data: Likewise.
2342 * conform/data/limits.h-data: Likewise.
2343 * conform/data/locale.h-data: Likewise.
2344 * conform/data/math.h-data: Likewise.
2345 * conform/data/monetary.h-data: Likewise.
2346 * conform/data/mqueue.h-data: Likewise.
2347 * conform/data/ndbm.h-data: Likewise.
2348 * conform/data/net/if.h-data: Likewise.
2349 * conform/data/netdb.h-data: Likewise.
2350 * conform/data/netinet/in.h-data: Likewise.
2351 * conform/data/nl_types.h-data: Likewise.
2352 * conform/data/poll.h-data: Likewise.
2353 * conform/data/pthread.h-data: Likewise.
2354 * conform/data/pwd.h-data: Likewise.
2355 * conform/data/regex.h-data: Likewise.
2356 * conform/data/sched.h-data: Likewise.
2357 * conform/data/search.h-data: Likewise.
2358 * conform/data/semaphore.h-data: Likewise.
2359 * conform/data/setjmp.h-data: Likewise.
2360 * conform/data/signal.h-data: Likewise.
2361 * conform/data/spawn.h-data: Likewise.
2362 * conform/data/stdarg.h-data: Likewise.
2363 * conform/data/stdio.h-data: Likewise.
2364 * conform/data/stdlib.h-data: Likewise.
2365 * conform/data/string.h-data: Likewise.
2366 * conform/data/strings.h-data: Likewise.
2367 * conform/data/stropts.h-data: Likewise.
2368 * conform/data/sys/ipc.h-data: Likewise.
2369 * conform/data/sys/mman.h-data: Likewise.
2370 * conform/data/sys/msg.h-data: Likewise.
2371 * conform/data/sys/resource.h-data: Likewise.
2372 * conform/data/sys/select.h-data: Likewise.
2373 * conform/data/sys/sem.h-data: Likewise.
2374 * conform/data/sys/shm.h-data: Likewise.
2375 * conform/data/sys/socket.h-data: Likewise.
2376 * conform/data/sys/stat.h-data: Likewise.
2377 * conform/data/sys/statvfs.h-data: Likewise.
2378 * conform/data/sys/time.h-data: Likewise.
2379 * conform/data/sys/timeb.h-data: Likewise.
2380 * conform/data/sys/times.h-data: Likewise.
2381 * conform/data/sys/types.h-data: Likewise.
2382 * conform/data/sys/uio.h-data: Likewise.
2383 * conform/data/sys/un.h-data: Likewise.
2384 * conform/data/sys/utsname.h-data: Likewise.
2385 * conform/data/sys/wait.h-data: Likewise.
2386 * conform/data/syslog.h-data: Likewise.
2387 * conform/data/tar.h-data: Likewise.
2388 * conform/data/termios.h-data: Likewise.
2389 * conform/data/utime.h-data: Likewise.
2390 * conform/data/utmpx.h-data: Likewise.
2391 * conform/data/varargs.h-data: Likewise.
2392 * conform/data/wchar.h-data: Likewise.
2393 * conform/data/wctype.h-data: Likewise.
2394 * conform/data/wordexp.h-data: Likewise.
2396 * include/stropts.h: New file.
2397 * include/uchar.h: New file.
2398 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2399 * include/assert.h: Likewise.
2400 * include/ctype.h: Likewise.
2401 * include/dirent.h: Likewise.
2402 * include/dlfcn.h: Likewise.
2403 * include/fcntl.h: Likewise.
2404 * include/fnmatch.h: Likewise.
2405 * include/glob.h: Likewise.
2406 * include/grp.h: Likewise.
2407 * include/libio.h: Likewise.
2408 * include/locale.h: Likewise.
2409 * include/math.h: Likewise.
2410 * include/net/if.h: Likewise.
2411 * include/netdb.h: Likewise.
2412 * include/netinet/in.h: Likewise.
2413 * include/pthread.h: Likewise.
2414 * include/pwd.h: Likewise.
2415 * include/regex.h: Likewise.
2416 * include/sched.h: Likewise.
2417 * include/search.h: Likewise.
2418 * include/setjmp.h: Likewise.
2419 * include/signal.h: Likewise.
2420 * include/stdio.h: Likewise.
2421 * include/stdlib.h: Likewise.
2422 * include/string.h: Likewise.
2423 * include/sys/cdefs.h: Likewise.
2424 * include/sys/mman.h: Likewise.
2425 * include/sys/msg.h: Likewise.
2426 * include/sys/resource.h: Likewise.
2427 * include/sys/select.h: Likewise.
2428 * include/sys/socket.h: Likewise.
2429 * include/sys/stat.h: Likewise.
2430 * include/sys/statvfs.h: Likewise.
2431 * include/sys/time.h: Likewise.
2432 * include/sys/times.h: Likewise.
2433 * include/sys/uio.h: Likewise.
2434 * include/sys/utsname.h: Likewise.
2435 * include/sys/wait.h: Likewise.
2436 * include/termios.h: Likewise.
2437 * include/time.h: Likewise.
2438 * include/ulimit.h: Likewise.
2439 * include/unistd.h: Likewise.
2440 * include/utime.h: Likewise.
2441 * include/wchar.h: Likewise.
2442 * include/wctype.h: Likewise.
2443 * include/wordexp.h: Likewise.
2445 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2447 * time/time.h: TIME_UTC must be a macro.
2448 Make timespec_get available for ISO C11 only as well.
2450 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2452 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2453 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2455 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2457 * configure.in: Use -o not -a in test for unsupported multi-arch.
2459 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2461 * manual/texinfo.tex: Update to version 2012-01-19.16.
2463 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2465 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2467 2012-02-24 Roland McGrath <roland@hack.frob.com>
2470 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2471 * manual/fdl-1.3.texi: New file.
2472 * manual/fdl-1.1.texi: File removed.
2475 * manual/libc.texinfo (FDL_VERSION): New @set.
2476 Use it for mention of FDL in cover text.
2477 (Documentation License): Use it in @include file name.
2479 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2480 Roland McGrath <roland@hack.frob.com>
2483 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2484 not LONG_LONG_MAX and LONG_LONG_MIN.
2485 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2486 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2488 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2490 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2495 manipulate bits before adding and subtracting TWO23[sx].
2496 * math/libm-test.inc (nearbyint_test): Add more tests.
2498 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2501 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2502 bits before adding and subtracting TWO23[sx].
2503 * math/libm-test.inc (rint_test): Add more tests.
2504 (rint_test_tonearest): Likewise.
2505 (rint_test_towardzero): Likewise.
2506 (rint_test_downward): Likewise.
2507 (rint_test_upward: Likewise.
2509 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2512 * include/stdc-predef.h: New file. Extracted from features.h.
2513 * include/features.h: Include stdc-predef.h.
2514 * Makefile (headers): Add stdc-predef.h.
2515 * CONFORMANCE (Compiler limitations): Update.
2517 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2519 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2521 2012-02-21 David S. Miller <davem@davemloft.net>
2523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2526 2012-02-20 David S. Miller <davem@davemloft.net>
2528 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2529 using a normal save/restore sequence, rather than allocating a
2530 dummy stack frame just to store a frame pointer and restore.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2533 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2535 * manual/install.texi: Fix stray word in line-wrapped comment.
2537 2012-02-20 David S. Miller <davem@davemloft.net>
2539 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2540 both binutils and gcc support GOTDATA.
2542 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2543 "rd %pc" in the PIC register setup sequences.
2545 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2546 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2547 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2548 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2549 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2554 (SYSCALL_ERROR_HANDLER): Likewise.
2555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2558 (SYSCALL_ERROR_HANDLER): Likewise.
2560 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2561 (HAVE_GCC_GOTDATA): New.
2562 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2563 relocation support in both binutils and gcc.
2564 * sysdeps/sparc/elf/configure: Regenerate.
2566 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2567 * sysdeps/sparc/sparc32/elf/configure: Delete.
2568 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2569 * sysdeps/sparc/sparc64/elf/configure: Delete.
2570 * sysdeps/sparc/elf/configure.in: New file.
2571 * sysdeps/sparc/elf/configure: Generate.
2573 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2574 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2576 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2577 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2579 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2581 * manual/install.texi: Do not mention specific glibc version
2583 * manual/libc.texinfo (VERSION, UPDATED): Update.
2584 (@copying): Use @copyright{} and range of years.
2586 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2589 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2590 [crti.S not in sysdirs] (generated): Do not append.
2591 [crti.S not in sysdirs] (omit-deps): Likewise.
2592 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2593 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2594 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2595 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2596 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2598 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2599 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2600 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2601 * csu/defs.awk: Remove file.
2602 * sysdeps/generic/initfini.c: Likewise.
2603 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2605 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2608 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2610 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2611 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2615 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2617 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2618 (__EPOLL_PACKED): Define to empty if not defined by
2620 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2624 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2626 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2627 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2631 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2635 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2644 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2649 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2651 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2652 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2654 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2656 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2659 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2661 * math/w_acos.c: Use non-signaling floating-point comparisons.
2662 * math/w_acosf.c: Likewise.
2663 * math/w_acosh.c: Likewise.
2664 * math/w_acoshf.c: Likewise.
2665 * math/w_acoshl.c: Likewise.
2666 * math/w_acosl.c: Likewise.
2667 * math/w_asin.c: Likewise.
2668 * math/w_asinf.c: Likewise.
2669 * math/w_asinl.c: Likewise.
2670 * math/w_atanh.c: Likewise.
2671 * math/w_atanhf.c: Likewise.
2672 * math/w_atanhl.c: Likewise.
2673 * math/w_exp2.c: Likewise.
2674 * math/w_exp2f.c: Likewise.
2675 * math/w_exp2l.c: Likewise.
2676 * math/w_j0.c: Likewise.
2677 * math/w_j0f.c: Likewise.
2678 * math/w_j0l.c: Likewise.
2679 * math/w_j1.c: Likewise.
2680 * math/w_j1f.c: Likewise.
2681 * math/w_j1l.c: Likewise.
2682 * math/w_jn.c: Likewise.
2683 * math/w_jnf.c: Likewise.
2684 * math/w_log.c: Likewise.
2685 * math/w_log10.c: Likewise.
2686 * math/w_log10f.c: Likewise.
2687 * math/w_log10l.c: Likewise.
2688 * math/w_log2.c: Likewise.
2689 * math/w_log2f.c: Likewise.
2690 * math/w_log2l.c: Likewise.
2691 * math/w_logf.c: Likewise.
2692 * math/w_logl.c: Likewise.
2693 * math/w_sqrt.c: Likewise.
2694 * math/w_sqrtf.c: Likewise.
2695 * math/w_sqrtl.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2697 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2702 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2705 * manual/string.texi (strnlen): Use correct parameter name in
2706 equivalent expression.
2708 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2711 * manual/users.texi (seteuid): Consistently use neweuid for
2714 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2717 * manual/nss.texi (Services in the NSS configuration): Correct
2718 list of services in example configuration file.
2720 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2723 * manual/arith.texi: Remove statements about negative zero
2724 behaving identically to zero.
2726 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2729 * manual/install.texi: Do not document upgrading from libc5.
2731 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2734 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2736 2012-02-18 David S. Miller <davem@davemloft.net>
2738 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2739 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2740 %o7 across the call.
2741 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2746 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2747 * sysdeps/sparc/crtn.S: Likewise.
2749 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2751 * aout/Makefile: Remove.
2753 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2756 * manual/examples/argp-ex1.c (main): Format definition in GNU
2758 * manual/examples/argp-ex2.c (main): Likewise.
2759 * manual/examples/argp-ex3.c (main): Likewise.
2760 * manual/examples/argp-ex4.c (main): Likewise.
2761 * manual/examples/longopt.c (main): Use new-style prototype
2763 * manual/examples/strncat.c (main): Specify return type and use
2764 (void) for arguments.
2765 * manual/examples/subopt.c (main): Use char **argv argument.
2767 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2770 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2773 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2776 * manual/string.texi (strchr): Change when strchrnul is
2779 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2782 * manual/locale.texi (setlocale): Document LOCPATH.
2784 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2787 * manual/process.texi (execle): Move @dots{} before last argument.
2789 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2792 * manual/charset.texi (Generic Charset Conversion): Fix typo
2793 (LC_TYPE -> LC_CTYPE).
2795 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2798 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2799 (scalbnf): Likewise.
2800 (scalbnl): Likewise.
2801 (scalbln): Likewise.
2802 (scalblnf): Likewise.
2803 (scalblnl): Likewise.
2804 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2808 * manual/filesys.texi (telldir): Use braces around return type.
2809 * manual/llio.texi (mmap): Add space after comma.
2811 * manual/math.texi (jn): Use @var{} on parameter names.
2817 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2819 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2821 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2822 (sched_get_priority_max): Likewise.
2823 * manual/signal.texi (sigvec): Add space after comma.
2824 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2826 (if_indextoname): Likewise.
2827 (if_freenameindex): Likewise.
2828 (sendto): Use ',' instead of '.' in prototype.
2829 * manual/startup.texi (syscall): Use @dots{} instead of literal
2831 * manual/stdio.texi (__fpending): Separate initial words of
2832 paragraph from @deftypefun line.
2833 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2835 (vsyslog): Use @var{} on parameter names.
2836 * manual/terminal.texi (stty): Use @var{} on parameter names.
2837 * manual/users.texi (getutmp): Use @var{} on parameter names.
2838 (getutmpx): Likewise.
2840 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2843 * manual/stdio.texi (fopen): Fix typos in description of
2846 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2849 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2850 get clock_id definition.
2852 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2855 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2856 (madvise): Cast every argument to void on its own.
2858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2861 * manual/startup.texi (Exit Status): Fix typo.
2863 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2866 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2867 * manual/examples/argp-ex2.c: Likewise.
2868 * manual/examples/argp-ex3.c: Likewise.
2870 2012-02-16 Richard Henderson <rth@redhat.com>
2872 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2873 * sysdeps/s390/s390-32/initfini.c: Remove.
2874 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2875 * sysdeps/s390/s390-64/initfini.c: Remove.
2877 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2879 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2880 compiler output for sysdeps/generic/initfini.c.
2881 * sysdeps/sh/elf/initfini.c: Remove file.
2883 2012-02-16 David S. Miller <davem@davemloft.net>
2886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2888 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2889 * sysdeps/sparc/crti.S: New file.
2890 * sysdeps/sparc/crtn.S: New file.
2891 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2892 * sysdeps/sparc/sparc64/Makefile: Likewise.
2894 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2897 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2899 2012-02-15 Roland McGrath <roland@hack.frob.com>
2902 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2904 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2905 (write, read, close): Likewise.
2906 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2908 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2910 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2911 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2913 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2915 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2919 2012-02-14 Marek Polacek <polacek@redhat.com>
2921 * sysdeps/x86_64/crti.S: New file.
2922 * sysdeps/x86_64/crtn.S: New file.
2923 * sysdeps/x86_64/elf/initfini.c: Remove file.
2925 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2928 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2929 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2930 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2932 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2936 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2938 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2939 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2940 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2943 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2947 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2950 __feraiseexcept instead of feraiseexcept.
2952 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2953 nanosleep invocations.
2954 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2955 strings, and add error checking for a nanosleep invocations.
2957 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2959 Replace FSF snail mail address with URLs, as per GNU coding standards.
2960 Most of the snail mail addresses were wrong anyway, and omitting
2961 them makes the source code easier to maintain. Almost all of the
2962 changes are to license notices and to locale LC_IDENTIFICATION
2963 addresses, except for this one:
2964 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2965 not its snail mail address.
2967 2012-02-09 Richard Henderson <rth@twiddle.net>
2969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2970 of kernel-features.h.
2972 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2974 2012-02-08 Marek Polacek <polacek@redhat.com>
2976 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2977 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2978 * sysdeps/gnu/_G_config.h: Likewise.
2979 * sysdeps/generic/_G_config.h: Likewise.
2981 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2983 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987 * sysdeps/powerpc/powerpc32/crti.S: New file.
2988 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2989 * sysdeps/powerpc/powerpc64/crti.S: New file.
2990 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2992 * Makeconfig (have-initfini): Don't set.
2993 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2994 * configure.in (nopic_initfini): Don't substitute.
2995 * config.h.in (HAVE_INITFINI): Don't #undef.
2996 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2997 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2999 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3001 Support crti.S and crtn.S provided directly by architectures.
3002 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3003 [crti.S in sysdirs] (omit-deps): Likewise.
3004 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3005 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3006 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3007 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3008 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3009 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3010 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3011 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3012 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3013 compiler output for sysdeps/generic/initfini.c.
3014 * sysdeps/i386/elf/Makefile: Remove file.
3015 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3017 2012-02-07 Marek Polacek <polacek@redhat.com>
3019 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3020 * sysdeps/gnu/_G_config.h: Likewise.
3021 * sysdeps/mach/hurd/_G_config.h: Likewise.
3023 2012-02-07 Marek Polacek <polacek@redhat.com>
3025 * math/Makefile (tests): Add tst-CMPLX2.
3026 * math/tst-CMPLX2.c: New file.
3028 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3032 * math/libm-test.inc (jn_test): Add missing L suffix.
3034 2012-02-06 Marek Polacek <polacek@redhat.com>
3036 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3037 * sysdeps/i386/fpu/e_powf.S: Likewise.
3038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3041 * sysdeps/i386/fpu/e_pow.S: Likewise.
3042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3046 * sysdeps/i386/fpu/e_log2.S: Likewise.
3047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3049 * sysdeps/i386/fpu/e_powl.S: Likewise.
3050 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3052 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3053 * sysdeps/i386/fpu/e_logl.S: Likewise.
3054 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3055 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3056 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3057 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3060 * sysdeps/i386/fpu/e_log.S: Likewise.
3061 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3063 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3064 * sysdeps/i386/fpu/e_logf.S: Likewise.
3065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3067 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3068 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3070 * sysdeps/i386/fpu/e_log10.S: Likewise.
3071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3076 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3077 * sysdeps/i386/asm-syntax.h: Likewise.
3078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3081 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3082 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3087 * sysdeps/powerpc/sysdep.h: Likewise.
3088 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3091 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3094 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3096 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3098 * sysdeps/i386/sysdep.h: Include <features.h>.
3099 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3102 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3104 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3106 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3109 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3111 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3112 (SETUP_PIC_REG): Use GET_PC_THUNK.
3113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3116 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3119 for non-PIC compilation.
3120 (SETUP_PIC_REG): Add .p2align directive.
3121 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3122 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3143 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3144 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3154 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3155 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3163 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3165 * math/tst-CMPLX.c: Include <stdio.h>.
3167 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3172 * sysdeps/sparc/bits/mathdef.h: Likewise.
3174 2012-01-31 Marek Polacek <polacek@redhat.com>
3176 * libio/libio.h: Don't define _PARAMS.
3177 * locale/programs/config.h: Don't define PARAMS.
3178 * stdlib/strtol_l.c: Likewise.
3179 (__strtol_l): Remove PARAMS from the prototype.
3181 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3183 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3184 names. Just use the correct names. Remove unnecessary wrapper
3186 * malloc/arena.c: Likewise.
3187 * malloc/hooks.c: Likewise.
3189 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3190 ARENA_TEST says not to. Simplify test for creation of a new arena.
3191 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3193 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3195 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3197 (update_get_addr): New function.
3198 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3199 GET_ADDR_MODULE parameter.
3201 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3203 * crypt/cert.c: Remove __STDC__ conditionals.
3204 * crypt/crypt-entry.c: Likewise.
3205 * crypt/crypt_util.c: Likewise.
3206 * libio/filedoalloc.c: Likewise.
3207 * libio/fileops.c: Likewise.
3208 * libio/genops.c: Likewise.
3209 * libio/iofclose.c: Likewise.
3210 * libio/iofdopen.c: Likewise.
3211 * libio/iofopen.c: Likewise.
3212 * libio/iofopen64.c: Likewise.
3213 * libio/iogetdelim.c: Likewise.
3214 * libio/iopopen.c: Likewise.
3215 * libio/obprintf.c: Likewise.
3216 * libio/oldfileops.c: Likewise.
3217 * libio/oldiofclose.c: Likewise.
3218 * libio/oldiofdopen.c: Likewise.
3219 * libio/oldiofopen.c: Likewise.
3220 * libio/oldiopopen.c: Likewise.
3221 * libio/wfiledoalloc.c: Likewise.
3222 * libio/wgenops.c: Likewise.
3223 * locale/programs/xmalloc.c: Likewise.
3224 * misc/syslog.c: Likewise.
3225 * stdio-common/xbug.c: Likewise.
3226 * string/memchr.c: Likewise.
3227 * string/memcmp.c: Likewise.
3228 * string/memrchr.c: Likewise.
3229 * string/rawmemchr.c: Likewise.
3230 * sysdeps/posix/getcwd.c: Likewise.
3231 * time/strftime_l.c: Likewise.
3233 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3235 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3236 * config.make.in (config-cflags-sse2avx): Define.
3237 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3240 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3242 * scripts/config.guess: Update from upstream config git repository.
3243 * scripts/config.sub: Likewise.
3245 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3247 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3249 (R_TILEPRO_*, R_TILEGX_*): New macros.
3251 * scripts/firstversions.awk: Fix bug in version range handling.
3253 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3255 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3257 * include/sys/epoll.h: New file.
3258 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3261 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3263 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3264 Avoid unnecessary __WORDSIZE == 64 test.
3265 (fmaxf): Use VEX format if possible.
3270 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3271 * math/math_private.h: Remove libc_fegetround* and
3273 * sysdeps/i386/configure.in: Check for -msse2avx.
3274 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3275 also if SSE2AVX is defined.
3276 Remove libc_fegetround* and libc_fesetround*.
3277 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3278 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3287 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3289 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3293 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3295 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3298 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3300 * Makeconfig (libm): Define.
3301 * elf/Makefile: Add rules to build and run tst-relsort1.
3302 * elf/tst-relsort1.c: New file.
3303 * elf/tst-relsort1mod1.c: New file.
3304 * elf/tst-relsort1mod2.c: New file.
3306 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3308 * math/s_ldexp.c: Remove __STDC__ conditionals.
3309 * math/s_ldexpf.c: Likewise.
3310 * math/s_ldexpl.c: Likewise.
3311 * math/s_nextafter.c: Likewise.
3312 * math/s_nexttowardf.c: Likewise.
3313 * math/s_significand.c: Likewise.
3314 * math/s_significandf.c: Likewise.
3315 * math/s_significandl.c: Likewise.
3316 * math/w_jnl.c: Likewise.
3317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3323 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3344 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3345 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3354 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3355 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3356 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3357 * sysdeps/ieee754/k_standard.c: Likewise.
3358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3383 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3388 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3391 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3418 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3419 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3423 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3424 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3428 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3437 * sysdeps/ieee754/s_matherr.c: Likewise.
3438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3443 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3445 * crypt/md5.h: Remove __STDC__ conditionals.
3446 * libio/libioP.h: Likewise.
3447 * locale/programs/config.h: Likewise.
3448 * sysdeps/generic/sysdep.h: Likewise.
3449 * sysdeps/i386/asm-syntax.h: Likewise.
3450 * sysdeps/s390/asm-syntax.h: Likewise.
3451 * sysdeps/unix/sysdep.h: Likewise.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3455 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3457 * libio/libio.h: Remove __STDC__ conditionals.
3458 * malloc/obstack.h: Likewise.
3459 * math/complex.h: Likewise.
3460 * math/math.h: Likewise.
3461 * sysdeps/generic/_G_config.h: Likewise.
3462 * sysdeps/gnu/_G_config.h: Likewise.
3463 * sysdeps/mach/hurd/_G_config.h: Likewise.
3464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3465 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3466 * sysdeps/sparc/bits/mathdef.h: Likewise.
3468 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3471 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3472 Clean up HAS_* macros.
3473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3474 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3484 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3486 * elf/tst-unique3.cc (gets): Remove declaration.
3487 * elf/tst-unique3lib.cc (gets): Likewise.
3488 * elf/tst-unique3lib2.cc (gets): Likewise.
3489 * elf/tst-unique4.cc (gets): Likewise.
3491 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3493 * include/stdio.h: Add C++ protection. Add gets declarations and
3495 * debug/tst-chk1.c: Don't declare gets here.
3496 * stdio-common/tst-gets.c: Likewise.
3498 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3500 * posix/glob: Remove directory.
3502 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3504 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3506 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3508 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3509 of the non-standard EPFNOSUPPORT.
3511 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3513 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3514 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3515 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3517 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3519 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3521 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3523 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3525 * nscd/grpcache.c (cache_addgr): Likewise.
3526 * nscd/hstcache.c (cache_addhst): Likewise.
3527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3528 * nscd/pwdcache.c (cache_addpw): Likewise.
3529 * nscd/servicescache.c (cache_addserv): Likewise.
3531 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3533 * malloc/malloc.c: Various cleanups.
3534 * malloc/hooks.c: Likewise.
3536 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3537 * stdlib/bug-fmtmsg1.c: New file.
3539 * stdlib/fmtmsg.c (init): Add missing unlock.
3540 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3542 2012-01-12 Marek Polacek <polacek@redhat.com>
3544 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3547 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3549 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3550 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3551 macro to ensure uniqueness of label name.
3552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3555 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3564 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3568 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3572 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3575 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3579 * math/bits/math-finite.h: Add ldexp support.
3581 2012-01-10 Marek Polacek <polacek@redhat.com>
3583 * locale/programs/localedef.h (show_archive_content): Add noreturn
3586 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3590 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3592 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3594 * io/Makefile (headers): Add bits/poll2.h.
3596 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3599 typo #include statement.
3601 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3603 * include/sys/cdefs.h: Define __attribute_alloc_size.
3604 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3605 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3606 * elf/pldd.c: Likewise.
3607 * iconv/iconv_charmap.c: Likewise.
3608 * iconv/iconvconfig.c: Likewise.
3609 * iconv/strtab.c: Likewise.
3610 * locale/programs/locale.c: Likewise.
3611 * locale/programs/localedef.h: Likewise.
3612 * locale/programs/simple-hash.c: Likewise.
3613 * nscd/nscd.h: Likewise.
3614 * nss/makedb.c: Likewise.
3615 * sysdeps/generic/ldconfig.h: Likewise.
3616 * locale/programs/localedef.c: Remove xmalloc prototype.
3617 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3619 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3624 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3626 * math/Makefile (tests): Add tst-CMPLX.
3627 * math/tst-CMPLX.c: New file.
3629 * math/complex.h (CMPLXL): Fix typo.
3631 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3632 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3634 * debug/tst-chk1.c: Add poll and ppoll tests.
3635 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3636 * include/sys/poll.h: Add hidden proto for ppoll.
3637 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3638 * sysdeps/mach/hurd/ppoll.c: Likewise.
3639 * io/ppoll.c: Likewise.
3640 * debug/poll_chk.c: New file.
3641 * debug/ppoll_chk.c: New file.
3642 * include/bits/poll2.h: New file.
3643 * io/bits/poll2.h: New file.
3646 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3648 * configure.in: static is always set to yes. Remove.
3649 * config.make.in: Don't set build-static.
3650 * Makeconfig: Remove use of build-static.
3651 * dlfcn/Makefile: Likewise.
3652 * elf/Makefile: Likewise.
3653 * math/Makefile: Likewise.
3654 * misc/Makefile: Likewise.
3655 * nptl/Makefile: Likewise.
3656 * sysdeps/mach/hurd/Makefile: Likewise.
3658 * configure.in: PWD_P is not used anymore.
3659 * config.make.in: Remove PWD_P entry.
3661 * configure.in: Remove last remnants of RANLIB.
3662 No need to check for signed size_t anymore.
3663 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3665 Remove __builtin_expect test because we require at least gcc 3.4.
3666 * aclocal.m4: Likewise.
3668 * wcsmbs/mbrtoc16.c: Implement using towc function.
3669 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3670 * wcsmbs/wcsmbsload.c: Likewise.
3671 * iconv/gconv_simple.c: Likewise.
3672 * iconv/gconv_int.h: Likewise.
3673 * iconv/gconv_builtin.h: Likewise.
3674 * iconv/iconv_prog.c: Remove CHAR16 handling.
3676 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3678 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3680 * configure.in: Remove --with-elf and --enable-bounded options.
3681 Dont set base_machine for ia64. More non-ELF conditions removed.
3682 Remove testing and setting of leading underscore information.
3683 * config.make.in (build-bounded): Set to no.
3684 * config.h.in: Remove NO_UNDERSCORES entry.
3685 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3687 * csu/start.c: Remove !NO_UNDERSCORE code.
3688 * locale/localeinfo.h: Likewise.
3689 * sysdeps/generic/machine-gmon.h: Likewise.
3690 * sysdeps/generic/sysdep.h: Likewise.
3691 * sysdeps/i386/sysdep.h: Likewise.
3692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3693 * sysdeps/mach/sysdep.h: Likewise.
3694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3696 * sysdeps/sh/sysdep.h: Likewise.
3697 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3698 * sysdeps/unix/i386/sysdep.S: Likewise.
3699 * sysdeps/unix/sparc/start.c: Likewise.
3700 * sysdeps/unix/sparc/sysdep.S: Likewise.
3701 * sysdeps/unix/sparc/sysdep.h: Likewise.
3702 * sysdeps/unix/start.c: Likewise.
3703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3704 * sysdeps/x86_64/sysdep.h: Likewise.
3706 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3709 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3711 * argp/argp-fmtstream.h: Use const instead __const.
3712 * argp/argp.h: Likewise.
3713 * assert/assert.h: Likewise.
3714 * bits/fenv.h: Likewise.
3715 * bits/sched.h: Likewise.
3716 * bits/sigset.h: Likewise.
3717 * bits/sigthread.h: Likewise.
3718 * catgets/nl_types.h: Likewise.
3719 * conform/data/pthread.h-data: Likewise.
3720 * crypt/crypt-private.h: Likewise.
3721 * crypt/crypt.h: Likewise.
3722 * crypt/crypt_util.c: Likewise.
3723 * ctype/ctype.h: Likewise.
3724 * debug/execinfo.h: Likewise.
3725 * debug/mbsnrtowcs_chk.c: Likewise.
3726 * debug/mbsrtowcs_chk.c: Likewise.
3727 * debug/wcsnrtombs_chk.c: Likewise.
3728 * debug/wcsrtombs_chk.c: Likewise.
3729 * debug/wcstombs_chk.c: Likewise.
3730 * dirent/dirent.h: Likewise.
3731 * dlfcn/dlfcn.h: Likewise.
3732 * elf/neededtest4.c: Likewise.
3733 * grp/grp.h: Likewise.
3734 * gshadow/gshadow.h: Likewise.
3735 * iconv/gconv.h: Likewise.
3736 * iconv/gconv_int.h: Likewise.
3737 * iconv/gconv_simple.c: Likewise.
3738 * iconv/iconv.h: Likewise.
3739 * iconv/loop.c: Likewise.
3740 * iconv/skeleton.c: Likewise.
3741 * include/aio.h: Likewise.
3742 * include/aliases.h: Likewise.
3743 * include/argz.h: Likewise.
3744 * include/arpa/inet.h: Likewise.
3745 * include/assert.h: Likewise.
3746 * include/dirent.h: Likewise.
3747 * include/dlfcn.h: Likewise.
3748 * include/execinfo.h: Likewise.
3749 * include/fcntl.h: Likewise.
3750 * include/fenv.h: Likewise.
3751 * include/glob.h: Likewise.
3752 * include/grp.h: Likewise.
3753 * include/libintl.h: Likewise.
3754 * include/mntent.h: Likewise.
3755 * include/netdb.h: Likewise.
3756 * include/pwd.h: Likewise.
3757 * include/rpc/netdb.h: Likewise.
3758 * include/sched.h: Likewise.
3759 * include/search.h: Likewise.
3760 * include/shadow.h: Likewise.
3761 * include/signal.h: Likewise.
3762 * include/stdio.h: Likewise.
3763 * include/stdlib.h: Likewise.
3764 * include/string.h: Likewise.
3765 * include/sys/socket.h: Likewise.
3766 * include/sys/stat.h: Likewise.
3767 * include/sys/statfs.h: Likewise.
3768 * include/sys/statvfs.h: Likewise.
3769 * include/sys/syslog.h: Likewise.
3770 * include/sys/time.h: Likewise.
3771 * include/sys/uio.h: Likewise.
3772 * include/time.h: Likewise.
3773 * include/unistd.h: Likewise.
3774 * include/utmp.h: Likewise.
3775 * include/wchar.h: Likewise.
3776 * include/wctype.h: Likewise.
3777 * inet/aliases.h: Likewise.
3778 * inet/arpa/inet.h: Likewise.
3779 * inet/netinet/ether.h: Likewise.
3780 * inet/netinet/in.h: Likewise.
3781 * intl/libintl.h: Likewise.
3782 * io/bits/fcntl2.h: Likewise.
3783 * io/fcntl.h: Likewise.
3784 * io/ftw.h: Likewise.
3785 * io/sys/poll.h: Likewise.
3786 * io/sys/stat.h: Likewise.
3787 * io/sys/statfs.h: Likewise.
3788 * io/sys/statvfs.h: Likewise.
3789 * io/utime.h: Likewise.
3790 * libio/bits/stdio.h: Likewise.
3791 * libio/bits/stdio2.h: Likewise.
3792 * libio/libio.h: Likewise.
3793 * libio/libioP.h: Likewise.
3794 * libio/stdio.h: Likewise.
3795 * locale/lc-ctype.c: Likewise.
3796 * locale/locale.h: Likewise.
3797 * login/utmp.h: Likewise.
3798 * malloc/arena.c: Likewise.
3799 * malloc/malloc.c: Likewise.
3800 * malloc/malloc.h: Likewise.
3801 * malloc/mcheck.c: Likewise.
3802 * malloc/mtrace.c: Likewise.
3803 * math/bits/mathcalls.h: Likewise.
3804 * math/fenv.h: Likewise.
3805 * math/math_private.h: Likewise.
3806 * misc/bits/error.h: Likewise.
3807 * misc/bits/syslog.h: Likewise.
3808 * misc/err.h: Likewise.
3809 * misc/error.h: Likewise.
3810 * misc/fstab.h: Likewise.
3811 * misc/mntent.h: Likewise.
3812 * misc/regexp.h: Likewise.
3813 * misc/search.h: Likewise.
3814 * misc/sgtty.h: Likewise.
3815 * misc/sys/mman.h: Likewise.
3816 * misc/sys/syslog.h: Likewise.
3817 * misc/sys/uio.h: Likewise.
3818 * misc/sys/xattr.h: Likewise.
3819 * misc/ttyent.h: Likewise.
3820 * nis/rpcsvc/ypclnt.h: Likewise.
3821 * nss/nss.h: Likewise.
3822 * posix/bits/unistd.h: Likewise.
3823 * posix/fnmatch.h: Likewise.
3824 * posix/glob.h: Likewise.
3825 * posix/sched.h: Likewise.
3826 * posix/spawn.h: Likewise.
3827 * posix/sys/wait.h: Likewise.
3828 * posix/unistd.h: Likewise.
3829 * posix/wordexp.h: Likewise.
3830 * pwd/pwd.h: Likewise.
3831 * resolv/netdb.h: Likewise.
3832 * resource/sys/resource.h: Likewise.
3833 * rt/aio.h: Likewise.
3834 * rt/bits/mqueue2.h: Likewise.
3835 * rt/mqueue.h: Likewise.
3836 * shadow/shadow.h: Likewise.
3837 * signal/signal.h: Likewise.
3838 * socket/send.c: Likewise.
3839 * socket/sendto.c: Likewise.
3840 * socket/sys/socket.h: Likewise.
3841 * stdio-common/printf.h: Likewise.
3842 * stdlib/bits/stdlib.h: Likewise.
3843 * stdlib/fmtmsg.h: Likewise.
3844 * stdlib/monetary.h: Likewise.
3845 * stdlib/stdlib.h: Likewise.
3846 * stdlib/ucontext.h: Likewise.
3847 * streams/stropts.h: Likewise.
3848 * string/argz.h: Likewise.
3849 * string/bits/string2.h: Likewise.
3850 * string/string.h: Likewise.
3851 * string/strings.h: Likewise.
3852 * sunrpc/rpc/auth.h: Likewise.
3853 * sunrpc/rpc/auth_des.h: Likewise.
3854 * sunrpc/rpc/clnt.h: Likewise.
3855 * sunrpc/rpc/netdb.h: Likewise.
3856 * sunrpc/rpc/pmap_clnt.h: Likewise.
3857 * sunrpc/rpc/xdr.h: Likewise.
3858 * sysdeps/generic/inttypes.h: Likewise.
3859 * sysdeps/generic/net/if.h: Likewise.
3860 * sysdeps/generic/sys/swap.h: Likewise.
3861 * sysdeps/gnu/net/if.h: Likewise.
3862 * sysdeps/gnu/utmpx.h: Likewise.
3863 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3864 * sysdeps/i386/i486/bits/string.h: Likewise.
3865 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3866 * sysdeps/s390/bits/string.h: Likewise.
3867 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3868 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3870 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3871 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3872 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3874 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3875 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3879 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3880 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3881 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3889 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3890 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3891 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3892 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3893 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3895 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3897 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3898 * sysvipc/sys/ipc.h: Likewise.
3899 * sysvipc/sys/msg.h: Likewise.
3900 * sysvipc/sys/sem.h: Likewise.
3901 * sysvipc/sys/shm.h: Likewise.
3902 * termios/termios.h: Likewise.
3903 * time/sys/time.h: Likewise.
3904 * time/time.h: Likewise.
3905 * wcsmbs/bits/wchar2.h: Likewise.
3906 * wcsmbs/uchar.h: Likewise.
3907 * wcsmbs/wchar.h: Likewise.
3908 * wctype/wctype.h: Likewise.
3911 * Makeconfig: Remove all but ELF support including AIX support.
3912 * Makerules: Likewise.
3913 * config.h.in: Likewise.
3914 * config.make.in: Likewise.
3915 * configure: Likewise.
3916 * configure.in: Likewise.
3917 * csu/Makefile: Likewise.
3918 * csu/version.c: Likewise.
3919 * debug/Makefile: Likewise.
3920 * dlfcn/Makefile: Likewise.
3921 * elf/Makefile: Likewise.
3922 * extra-lib.mk: Likewise.
3923 * iconv/Makefile: Likewise.
3924 * include/libc-symbols.h: Likewise.
3925 * include/shlib-compat.h: Likewise.
3926 * resolv/Makefile: Likewise.
3927 * resolv/res_libc.c: Likewise.
3928 * rt/Makefile: Likewise.
3929 * sysdeps/i386/asm-syntax.h: Likewise.
3930 * sysdeps/i386/sysdep.h: Likewise.
3931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3932 * sysdeps/mach/sysdep.h: Likewise.
3933 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3934 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3935 * sysdeps/s390/asm-syntax.h: Likewise.
3936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3938 * sysdeps/sh/sysdep.h: Likewise.
3939 * sysdeps/unix/sparc/sysdep.h: Likewise.
3940 * sysdeps/wordsize-32/divdi3.c: Likewise.
3941 * sysdeps/x86_64/sysdep.h: Likewise.
3943 * argp/Versions: Remove _argp_unlock_xxx.
3946 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3947 * abilist/libBrokenLocale.abilist: Likewise.
3948 * abilist/libanl.abilist: Likewise.
3949 * abilist/libc.abilist: Likewise.
3950 * abilist/libcrypt.abilist: Likewise.
3951 * abilist/libdl.abilist: Likewise.
3952 * abilist/libm.abilist: Likewise.
3953 * abilist/libnsl.abilist: Likewise.
3954 * abilist/libpthread.abilist: Likewise.
3955 * abilist/libresolv.abilist: Likewise.
3956 * abilist/librt.abilist: Likewise.
3957 * abilist/libthread_db.abilist: Likewise.
3958 * abilist/libutil.abilist: Likewise.
3959 * abilist/libnss_db.abilist: New file.
3961 * scripts/abilist.awk: Add support for indirect functions.
3963 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3965 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3967 * shlib-versions: Remove entries for ports architectures.
3969 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3971 * elf/stackguard-macros.h: Remove support for IA-64.
3972 * elf/tst-auditmod1.c: Likewise.
3973 * sysdeps/generic/ldsodefs.h: Likewise.
3975 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3976 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3980 * configure.in: Remove --enable-omitfp support.
3982 * config.make.in: Likewise.
3983 * Makeconfig: Likewise.
3984 * manual/install.texi: Likewise.
3986 In case anyone cares, the IA-64 architecture could move to ports.
3987 * sysdeps/ia64/*: Removed.
3988 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3989 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3992 * configure.in: Remove entries for unsupported architectures.
3995 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3996 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3998 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3999 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4000 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4001 fall back to using wcrtomb.
4002 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4003 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4005 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4006 * wcsmbs/tst-c16c32-1.c: New file.
4008 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4011 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4013 * elf/tst-unique3.cc: Add explicit declaration of gets.
4014 * elf/tst-unique3lib.cc: Likewise.
4015 * elf/tst-unique3lib2.cc: Likewise.
4016 * elf/tst-unique4.cc: Likewise.
4018 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4020 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4023 * assert/assert.h (static_assert): Don't define for C++.
4024 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4025 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4027 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4029 * iconv/loop.c (single loop): Fix assertion in storing of
4032 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4034 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4036 * posix/getconf.c: Update copyright year.
4037 * nss/getent.c: Likewise.
4038 * nss/makedb.c: Likewise.
4039 * iconv/iconvconfig.c: Likewise.
4040 * iconv/iconv_prog.c: Likewise.
4041 * elf/ldconfig.c: Likewise.
4042 * elf/pldd.c: Likewise.
4043 * elf/sotruss.ksh: Likewise.
4044 * catgets/gencat.c: Likewise.
4045 * csu/version.c: Likewise.
4046 * elf/ldd.bash.in: Likewise.
4047 * elf/sprof.c (print_version): Likewise.
4048 * locale/programs/locale.c: Likewise.
4049 * locale/programs/localedef.c: Likewise.
4050 * login/programs/pt_chown.c: Likewise.
4051 * nscd/nscd.c (print_version): Likewise.
4052 * debug/xtrace.sh: Likewise.
4053 * malloc/memusage.sh: Likewise.
4054 * malloc/mtrace.pl: Likewise.
4055 * debug/catchsegv.sh: Likewise.
4057 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4059 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4062 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4065 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4066 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4068 * iconv/gconv_int.h: Likewise.
4069 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4070 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4071 from libc for GLIBC_2.16.
4072 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4073 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4074 * wcsmbs/uchar.h: Really define mbstate_t.
4075 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4076 * wcsmbs/c16rtomb.c: New file.
4077 * wcsmbs/mbrtoc16.c: New file.
4078 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4080 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4081 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4083 * wcsmbs/wchar.h: Add missing __restrict.
4085 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4088 * time/Makefile (routines): Add timespec_get.
4089 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4090 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4091 timespec for ISO C11.
4092 * time/timespec_get.c: New file.
4093 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4094 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4097 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4098 * stdlib/stdlib.h: Declare aligned_alloc.
4099 * Versions.def: Add GLIBC_2.16 for libc.
4100 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4103 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4106 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4110 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4113 * assert/assert.h (static_assert): Define.
4115 * version.h: Update for 2.16 development version.
4118 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4121 * version.h (RELEASE): Bump for 2.15 release.
4122 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4124 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4125 Patch by Marek Polacek <mpolacek@redhat.com>.
4127 * bits/byteswap.h: Protect long long constants with __extension__.
4128 * sysdeps/i386/bits/byteswap.h: Likewise.
4129 * sysdeps/ia64/bits/byteswap.h: Likewise.
4130 * sysdeps/s390/bits/byteswap.h: Likewise.
4131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4133 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4140 2011-12-23 Marek Polacek <polacek@redhat.com>
4142 * elf/dl-addr.c (determine_info): Add inline keyword.
4143 * elf/tst-auditmod4b.c (check_avx): Likewise.
4144 * elf/tst-auditmod6b.c (check_avx): Likewise.
4145 * elf/tst-auditmod6c.c (check_avx): Likewise.
4146 * elf/tst-auditmod7b.c (check_avx): Likewise.
4148 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4150 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4153 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4157 processing for last bytes.
4159 2011-08-06 Bruno Haible <bruno@clisp.org>
4162 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4163 U+0385, not to U+1FEE.
4166 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4167 entry for U+00A5 U+0301.
4169 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4172 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4173 buffer for the output is too small.
4175 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4179 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4180 SSE flags if possible.
4182 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4186 processing for last bytes.
4188 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4191 (syscall-list-default-options, syscall-list-default-condition)
4192 (syscall-list-includes): Define.
4193 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4194 list of ABIs and options and #if conditions for each ABI. Do not
4195 handle common syscalls between ABIs specially.
4196 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4198 (syscall-list-variants, syscall-list-32bit-options)
4199 (syscall-list-32bit-condition, syscall-list-64bit-options)
4200 (syscall-list-64bit-condition): Define.
4201 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4202 (syscall-list-variants, syscall-list-32bit-options)
4203 (syscall-list-32bit-condition, syscall-list-64bit-options)
4204 (syscall-list-64bit-condition): Define.
4205 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4207 (syscall-list-variants, syscall-list-32bit-options)
4208 (syscall-list-32bit-condition, syscall-list-64bit-options)
4209 (syscall-list-64bit-condition): Define.
4210 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4212 (syscall-list-variants, syscall-list-32bit-options)
4213 (syscall-list-32bit-condition, syscall-list-64bit-options)
4214 (syscall-list-64bit-condition): Define.
4216 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4218 * locale/iso-639.def: Add brx entry.
4221 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4222 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4224 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4225 __feraiseexcept_renamed.
4227 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4230 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4231 EPOLLET with unsigned values.
4232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4235 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4236 to large cancellation.
4237 * math/s_cacoshf.c: Likewise.
4238 * math/s_cacoshl.c: Likewise.
4240 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4244 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4245 * math/s_cacoshf.c: Likewise.
4246 * math/s_cacoshl.c: Likewise.
4248 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4251 * iconv/gconv.h: Define __GCONV_SWAP.
4252 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4253 * iconvdata/utf-16.c: Likewise.
4254 * iconvdata/utf-32.c: Likewise.
4256 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4260 numerator after shifting it by one limb.
4262 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4265 under [__USE_EXTERN_INLINES].
4267 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4270 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4272 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4274 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4275 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4277 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4279 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4280 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4281 for strncasecmp/strncasecmp_l compilation.
4282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4283 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4285 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4288 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4291 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4294 * time/tzfile.c (__tzfile_read): Check values from file header.
4296 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4298 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4299 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4300 * powerpc/powerpc32/dl-start.S: Likewise.
4301 * powerpc/powerpc32/elf/start.S: Likewise.
4302 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4303 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4304 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4305 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4306 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4307 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4308 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4309 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4310 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4311 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4312 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4313 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4314 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4315 * powerpc/powerpc32/memset.S: Likewise.
4316 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4317 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4318 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4319 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4320 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4321 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4322 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4323 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4324 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4325 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4330 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4332 * math/libm-test.inc: Added more nearbyint tests.
4333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4338 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4340 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4343 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4345 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4346 Add wcscpy-ssse3 wcscpy-c.
4347 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4348 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4349 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4350 * sysdeps/x86_64/wcschr.S: New file.
4351 * sysdeps/x86_64/wcsrchr.S: New file.
4352 * string/test-strcmp.c: Remove checking of wcscmp function for
4354 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4355 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4356 wcsrchr-sse2 wcsrchr-c.
4357 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4358 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4360 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4363 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4364 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4365 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4366 * wcsmbc/wcschr.c (WCSCHR): New macro.
4368 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4370 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4371 * wcsmbs/test-wcsrchr.c: New file.
4372 * string/test-strrchr.c: Add wcsrchr support.
4374 * wcsmbs/test-wcscpy.c: New file.
4375 * string/test-strcpy.c: Add wcscpy support.
4378 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4383 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4386 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4388 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4391 Minor optimizations.
4393 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4394 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4395 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4397 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4399 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4400 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4401 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4402 for gcc to avoid warnings.
4403 * inet/Makefile (tests): Add tst-checks.
4404 * inet/tst-checks.c: New file.
4406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4409 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4412 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4413 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4415 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4417 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4419 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4422 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4424 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4427 conditional on GCC version.
4428 (__arch_compare_and_exchange_val_8_acq)
4429 (__arch_compare_and_exchange_val_16_acq)
4430 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4431 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4432 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4434 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4436 * sysdeps/sh/backtrace.c: New file.
4438 2011-12-02 Andreas Schwab <schwab@redhat.com>
4440 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4443 2011-12-01 Andreas Schwab <schwab@redhat.com>
4445 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4446 falling back to utime.
4448 2011-11-30 Andreas Schwab <schwab@redhat.com>
4450 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4451 expectations for float.
4453 2011-11-29 Andreas Schwab <schwab@redhat.com>
4455 * locale/weight.h (findidx): Add parameter len.
4456 * locale/weightwc.h (findidx): Likewise.
4457 * posix/fnmatch_loop.c (FCT): Adjust caller.
4458 * posix/regcomp.c (build_equiv_class): Likewise.
4459 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4460 * posix/regexec.c (check_node_accept_bytes): Likewise.
4461 * string/strcoll_l.c (STRCOLL): Likewise.
4462 * string/strxfrm_l.c (STRXFRM): Likewise.
4464 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4466 * Makefile.in: Remove CVSOPT handling.
4467 * configure.in: Remove use of AC_REVISION.
4468 * iconvdata/Makefile (distribute): No need to filter out CVS.
4469 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4472 2011-11-16 Andreas Schwab <schwab@redhat.com>
4474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4475 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4476 [USE_AS_STRNCASECMP_L]: Likewise.
4477 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4478 NO_TLS_DIRECT_SEG_REFS.
4479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4480 Fix argument offsets for non-PIC.
4481 [USE_AS_STRNCASECMP_L]: Likewise.
4482 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4483 NO_TLS_DIRECT_SEG_REFS.
4485 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4487 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4489 * locale/loadlocale.c (_nl_load_locale): Likewise.
4491 2011-11-15 Andreas Schwab <schwab@redhat.com>
4493 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4494 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4496 (SYSCALL_GETTIME): Set errno on error.
4498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4499 count references to noai6ai_cached.
4501 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4503 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4505 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4506 FD_CLOEXEC for /proc/self/maps.
4508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4509 FD_CLOEXEC for /proc/meminfo.
4511 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4514 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4515 FD_CLOEXEC for given file.
4517 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4519 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4520 FD_CLOEXEC for /etc/hosts.
4521 (_gethtent): Likewise.
4523 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4525 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4526 cancellation and set FD_CLOEXEC for /etc/netgroup.
4528 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4529 reading /etc/publickey.
4531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4532 allow cancellation when reading /etc/group.
4534 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4536 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4538 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4539 when using data file.
4541 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4543 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4544 (write_nis_obj): Use "c" and "e" in fopen.
4546 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4548 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4550 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4552 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4554 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4557 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4559 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4561 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4563 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4564 file parsing and set FD_CLOEXEC.
4566 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4568 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4570 2011-11-14 Andreas Schwab <schwab@redhat.com>
4572 * malloc/arena.c (arena_get2): Don't call reused_arena when
4573 _int_new_arena failed.
4575 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4577 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4578 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4583 to compile strcasecmp and strncasecmp.
4584 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4585 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4589 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4592 locale-defines.sym to gen-as-const-headers.
4593 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4594 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4596 to compile strcasecmp and strncasecmp.
4597 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4598 strcasecmp_l and strncasecmp_l.
4599 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4600 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4601 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4603 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4605 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4606 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4607 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4608 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4609 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4611 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4613 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4614 result of SYSDEP_GETTIME_CPU to retval.
4615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4616 parameter list to macro. Remove trailing semicolon. Adjust users.
4618 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4626 from unused variable.
4628 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4630 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4633 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4636 * sunrpc/rpc_prot.c (rejected): Fix case value.
4638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4639 unsigned long long int to avoid warnings in shift.
4641 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4643 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4647 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4650 * nis/nis_table.c (nis_list): Use variable of correct type for
4651 result of __follow_path call.
4653 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4655 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4656 of math functions ceil, trunc, floor, round, and sqrt, when
4657 avaliable on the platform.
4658 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4664 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4666 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4669 2011-11-11 Roland McGrath <roland@hack.frob.com>
4671 * include/unistd.h: Fix __readlink return type.
4672 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4674 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4676 * stdlib/ucontext.h: Undo last change for makecontext.
4678 2011-11-11 Andreas Schwab <schwab@redhat.com>
4680 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4682 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4683 * setjmp/setjmp.h: Mark functions as non-leaf.
4684 * setjmp/bits/setjmp2.h: Likewise.
4685 * stdlib/ucontext.h: Likewise.
4687 2011-11-10 Andreas Schwab <schwab@redhat.com>
4689 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4690 (reused_arena): Don't check arena limit.
4691 (arena_get2): Atomically check arena limit.
4693 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4695 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4696 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4701 2011-11-07 Andreas Schwab <schwab@redhat.com>
4703 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4704 handler when locking.
4706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4707 Fix size of allocated buffer.
4709 2011-11-04 Andreas Schwab <schwab@redhat.com>
4712 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4713 declarations for long double functions.
4714 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4716 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4718 2011-11-03 Andreas Schwab <schwab@redhat.com>
4720 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4723 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4726 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4728 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4730 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4732 * include/alloca.h (stackinfo_alloca_round): Define.
4733 (extend_alloca): Use it.
4734 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4735 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4738 * scripts/check-local-headers.sh: Ignore libaudit.h.
4740 * nscd/Makefile (extra-objs): Make recursively expanded.
4742 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4744 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4747 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4748 * posix/tst-rfc3484-2.c: Likewise.
4749 * posix/tst-rfc3484-3.c: Likewise.
4751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4753 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4755 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4756 process_vm_writev from libc using GLIBC_2.15 version.
4758 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4760 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4762 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4765 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4768 * nss/getent.c (initgroups_keys): Show error message in case no group
4771 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4772 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4773 __bump_nl_timestamp.
4774 * nscd/connections (nscd_init): When host database is served open
4775 netlink socket and request notification about configuration changes.
4776 (main_loop_poll): Track netlink file descriptor and bump timestamp
4777 in case data becomes available.
4778 (main_loop_epoll): Likewise.
4779 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4780 (database_pers_head): Add extra_data fileds.
4781 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4783 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4786 in6ai data, call __free_in6ai.
4787 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4789 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4790 interface information. Reuse previous data if netlink timestamp
4792 (__bump_nl_timestamp): New function.
4793 (__free_in6ai): New function.
4795 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4798 close_not_cancel_no_status here.
4799 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4801 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4804 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4807 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4808 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4809 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4811 2011-07-03 Andreas Jaeger <aj@suse.de>
4814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4815 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4816 * math/libm-test.inc (sin_test): Add test case.
4818 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4821 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4824 * elf/chroot_canon.c (chroot_canon): Cleanups.
4826 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4829 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4830 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4832 * string/test-strchr.c: Make usable for strchrnul testing.
4833 * string/test-strchrnul.c: New file.
4834 * string/Makefile (strop-tests): Add strchrnul.
4836 * po/it.po: Update from translation team.
4837 * po/es.po: Likewise.
4839 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4842 the three constants needed as parameters. Drop the others.
4843 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4844 __m128i_strloadu_tolower.
4845 Create and initialize variable zero and use it in all the places
4846 where _mm_setzero_si128 was used.
4848 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4849 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4850 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4856 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4858 __mpranred, __mptan.
4859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4866 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4869 2011-10-28 Andreas Schwab <schwab@redhat.com>
4871 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4873 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4876 wide char related routines to wcsmbs subdir.
4878 2011-10-27 Andreas Schwab <schwab@redhat.com>
4881 * misc/sys/cdefs.h (__THROWNL): Define.
4882 * posix/unistd.h: Use __THREADNL instead of __THREAD
4883 for memory synchronization functions.
4885 2011-10-26 Roland McGrath <roland@hack.frob.com>
4888 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4890 * manual/stdio.texi (Obstack Streams): Node removed.
4892 2011-10-26 Andreas Schwab <schwab@redhat.com>
4894 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4898 * math/math_private.h (math_force_eval): Allow non-addressable
4900 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4902 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4914 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4920 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4922 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4926 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4927 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4929 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4933 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4936 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4937 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4940 place. Use VEX encoding when compiling for AVX.
4942 2011-10-25 Andreas Schwab <schwab@redhat.com>
4944 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4945 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4947 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4949 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4951 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4952 useless if() expression.
4953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4958 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4965 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4973 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4975 2011-10-25 Andreas Schwab <schwab@redhat.com>
4977 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4981 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4983 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4984 .text section. Avoid duplicate constants.
4985 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4997 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5015 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5031 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5033 * sysdeps/x86_64/dla.h: Move to ...
5034 * sysdeps/x86_64/fpu/dla.h: ...here.
5035 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5036 situations. Use __builtin_fma only for gcc 4.6 and up.
5038 * config.make.in: Add have-mfma4 entry.
5039 * configure.in: Substitute libc_cv_cc_fma4.
5040 * math/Makefile (dbl-only-routines): Add sincostab.
5041 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5042 Use __sincostab not sincos.
5043 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5050 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5051 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5052 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5053 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5056 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5058 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5059 define aliases when function name is a macro.
5060 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5061 sysdeps/ieee754/dbl-64/sincos.tbl.
5062 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5063 fma4-enabled routines.
5064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5065 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5066 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5067 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5074 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5076 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5087 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5095 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5106 2011-10-24 Andreas Schwab <schwab@redhat.com>
5108 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5118 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5119 Remove unused variable magic_bits.
5120 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5122 * string/strnlen.c: Define and use STRNLEN macro.
5123 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5124 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5126 * wcsmbs/wcslen.c: Define and use WCSLEN.
5127 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5128 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5129 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5130 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5131 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5132 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5135 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5138 strnlen-sse2-no-bsf.
5139 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5142 Add strnlen support.
5143 (USE_AS_STRNLEN): New macro.
5144 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5146 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5147 * sysdeps/x86_64/wcslen.S: New file.
5149 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5152 XMM-moves are used for copying on small sizes.
5154 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5156 * wcsmbs/Makefile (strop-tests): Add wcschr.
5157 * wcsmbs/test-wcschr.c: New file.
5158 * string/test-strchr.c: Update.
5162 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5164 * wcsmbs/Makefile (strop-tests): Add wcslen.
5165 * wcsmbs/test-wcslen.c: New file.
5166 * string/test-strlen.c: Update.
5170 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5172 * po/it.po: Update from translation team.
5174 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5176 * sysdeps/x86_64/wcscmp.S: Update.
5177 Fix wrong comparison semantics.
5178 wcscmp shall use signed comparison not unsigned.
5179 Don't use substraction to avoid overflow bug.
5180 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5181 * wcsmbc/wcscmp.c: Likewise.
5182 * string/test-strcmp.c: Likewise.
5183 Add new tests to check cases with negative values.
5185 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5187 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5188 * sysdeps/x86_64/dla.h: ...here. New file.
5189 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5199 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5202 __ynl_finite aliases.
5204 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5208 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5210 [DLA_FMA] (EMULV): Use DLA_FMA.
5211 [DLA_FMA] (MUL12): Use EMULV.
5212 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5213 that are not needed.
5214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5222 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5224 * math/s_nan.c: Undef __nan.
5225 * math/s_nanf.c: Undef __nanf.
5226 * math/s_nanl.c: Undef __nanl.
5227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5230 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5232 * math/s_catan.c: Add branch predictions.
5233 * math/s_catanf.c: Likewise.
5234 * math/s_catanh.c: Likewise.
5235 * math/s_catanhf.c: Likewise.
5236 * math/s_catanhl.c: Likewise.
5237 * math/s_catanl.c: Likewise.
5238 * math/s_cexp.c: Likewise.
5239 * math/s_cexpf.c: Likewise.
5240 * math/s_cexpl.c: Likewise.
5241 * math/s_clog.c: Likewise.
5242 * math/s_clog10.c: Likewise.
5243 * math/s_clog10f.c: Likewise.
5244 * math/s_clog10l.c: Likewise.
5245 * math/s_clogf.c: Likewise.
5246 * math/s_clogl.c: Likewise.
5247 * math/s_csqrt.c: Likewise.
5248 * math/s_csqrtf.c: Likewise.
5249 * math/s_csqrtl.c: Likewise.
5250 * math/s_ctanf.c: Likewise.
5251 * math/s_ctanh.c: Likewise.
5252 * math/s_ctanhf.c: Likewise.
5253 * math/s_ctanhl.c: Likewise.
5254 * math/s_ctanl.c: Likewise.
5256 * math/math_private.h: Define __nan, __nanf, __nanl.
5257 * math/s_cacosh.c: Include <math_private.h>.
5258 * math/s_cacoshl.c: Likewise.
5259 * math/s_casinh.c: Likewise.
5260 * math/s_casinhf.c: Likewise.
5261 * math/s_casinhl.c: Likewise.
5262 * math/s_ccos.c: Rely entire on ccosh.
5263 * math/s_ccosf.c: Rely entire on ccoshf.
5264 * math/s_ccosl.c: Rely entirely on ccoshl.
5265 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5266 Remove tests for FE_INVALID.
5267 * math/s_ccoshf.c: Likewise.
5268 * math/s_ccoshl.c: Likewise.
5269 * math/s_csin.c: Likewise.
5270 * math/s_csinf.c: Likewise.
5271 * math/s_csinh.c Likewise.
5272 * math/s_csinhf.c: Likewise.
5273 * math/s_csinhl.c: Likewise.
5274 * math/s_csinl.c: Likewise.
5275 * math/s_ctan.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5277 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5280 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5283 compilation problems.
5285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5288 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5290 * sysdeps/i386/configure.in: Test for -mfma4 option.
5291 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5292 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5293 COMMON_CPUID_INDEX_80000001.
5294 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5295 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5296 use it if FMA3 is not supported.
5297 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5299 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5302 2011-10-20 Andreas Schwab <schwab@redhat.com>
5305 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5306 it would create a cycle with a link time dependency.
5308 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5310 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5312 * string/Makefile (strop-tests): Add rawmemchr.
5313 * string/test-rawmemchr.c: New file.
5315 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5317 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5318 when compiling str{,n}casecmp and when AVX is available. Hook up
5319 new optimized code in initializers.
5321 2011-10-19 Andreas Schwab <schwab@redhat.com>
5323 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5324 __feraiseexcept instead of feraiseexcept.
5326 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5328 * math/math_private.h: Define defaults for libc_fetestexcept and
5330 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5336 libc_fetestexcept and libc_feupdateenv.
5338 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5339 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5340 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5341 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5342 libc_feholdexcept_setround.
5344 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5345 Add s_nearbyint-c and s_nearbyintf-c.
5346 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5353 * math/math_private.h: Define defaults for libc_fegetround,
5354 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5355 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5356 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5358 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5361 Remove comments and hacks for old compiler versions.
5362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5363 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5366 2011-10-18 Andreas Schwab <schwab@redhat.com>
5368 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5369 (__feraiseexcept_renamed): Add __NTH.
5370 (feraiseexcept): Add __NTH. Rename local variables to fix
5371 namespace violations.
5373 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5379 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5380 recently added interfaces.
5381 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5383 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5384 about macro parameter expansion.
5386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5387 __NO_MATH_INLINES is defined. Cleanups.
5389 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5390 and __floorf is target has SSE4.1.
5391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5396 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5400 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5402 2011-10-17 Andreas Schwab <schwab@redhat.com>
5404 * misc/sys/cdefs.h: Fix last change.
5406 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5409 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5411 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5413 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5422 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5423 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5425 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5428 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5430 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5431 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5432 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5434 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5437 ceil, ceilf, floor, floorf.
5439 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5440 Perform IRELATIVE relocations last.
5442 * elf/do-rel.h: Add another parameter nrelative, replacing the
5443 local variable with the same name. Change name of the function
5444 to end in Rel or Rela (uppercase).
5445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5446 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5447 elf_dynamic_do_##reloc function.
5449 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5451 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5452 is sufficient, at least on modern CPUs.
5454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5456 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5459 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5461 * math/bits/math-finite.h: Add entries for exp.
5462 * math/e_expl.c: Add __*_finite alias.
5463 * sysdeps/i386/fpu/e_exp.S: Likewise.
5464 * sysdeps/i386/fpu/e_expf.S: Likewise.
5465 * sysdeps/i386/fpu/e_expl.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5467 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5474 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5475 is sufficient, at least on modern CPUs.
5477 * ctype/ctype-info.c (__ctype_init): Define.
5478 * include/ctype.h (__ctype_init): Declare.
5479 (__ctype_b_loc): The variable is always initialized.
5480 (__ctype_toupper_loc): Likewise.
5481 (__ctype_tolower_loc): Likewise.
5482 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5483 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5485 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5487 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5489 * configure.in: Also look in $cxxmachine/include for C++ system
5492 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5494 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5495 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5496 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5497 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5499 (USE_AS_WMEMCMP): New macro.
5501 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5502 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5503 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5504 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5506 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5507 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5509 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5510 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5512 (USE_AS_WMEMCMP): New macro.
5513 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5514 * sysdeps/string/test-memcmp.c: Update.
5517 * wcsmbs/wmemcmp.c: Update.
5518 (WMEMCMP): New macro.
5521 2011-10-12 Andreas Jaeger <aj@suse.de>
5524 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5526 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5528 * libio/iofwide.c (do_length): Avoid warning.
5530 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5532 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5534 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5536 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5537 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5538 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5539 * sysdeps/i386/i686/fpu/e_log.S: New file.
5540 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5541 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5543 * ctype/ctype.h: Add support for inlined isXXX functions when
5546 2011-10-14 Andreas Schwab <schwab@redhat.com>
5548 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5552 2011-10-13 Roland McGrath <roland@hack.frob.com>
5555 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5557 2011-10-13 Andreas Schwab <schwab@redhat.com>
5559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5560 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5563 * sysdeps/x86_64/memrchr.S: Check for zero size.
5565 * string/stratcliff.c: Add memrchr tests.
5567 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5570 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5571 rawmemchr-sse2 rawmemchr-sse2-bsf.
5572 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5573 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5575 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5576 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5578 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5579 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5582 * string/memrchr.c (MEMRCHR): New macro.
5584 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5586 Add integration with gcc's -ffinite-math-only and optimize wrapper
5588 * Versions.def: Define GLIBC_2.15 version for libm.
5589 * math/Makefile (headers): Add bits/math-finite.h.
5590 * math/bits/math-finite.h: New file.
5591 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5592 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5593 * math/e_acoshl.c: Add __*_finite alias.
5594 * math/e_acosl.c: Likewise.
5595 * math/e_asinl.c: Likewise.
5596 * math/e_atan2l.c: Likewise.
5597 * math/e_atanhl.c: Likewise.
5598 * math/e_coshl.c: Likewise.
5599 * math/e_exp10.c: Likewise.
5600 * math/e_exp10f.c: Likewise.
5601 * math/e_exp10l.c: Likewise.
5602 * math/e_exp2l.c: Likewise.
5603 * math/e_fmodl.c: Likewise.
5604 * math/e_gammal_r.c: Likewise.
5605 * math/e_hypotl.c: Likewise.
5606 * math/e_j0l.c: Likewise.
5607 * math/e_j1l.c: Likewise.
5608 * math/e_jnl.c: Likewise.
5609 * math/e_lgammal_r.c: Likewise.
5610 * math/e_log10l.c: Likewise.
5611 * math/e_log2l.c: Likewise.
5612 * math/e_logl.c: Likewise.
5613 * math/e_powl.c: Likewise.
5614 * math/e_sinhl.c: Likewise.
5615 * math/e_sqrtl.c: Likewise.
5616 * math/e_scalb.c: Completely rewritten and optimized.
5617 * math/e_scalbf.c: Likewise.
5618 * math/e_scalbl.c: Likewise.
5619 * math/w_acos.c: Likewise.
5620 * math/w_acosf.c: Likewise.
5621 * math/w_acosl.c: Likewise.
5622 * math/w_acosh.c: Likewise.
5623 * math/w_acoshf.c: Likewise.
5624 * math/w_acoshl.c: Likewise.
5625 * math/w_asin.c: Likewise.
5626 * math/w_asinf.c: Likewise.
5627 * math/w_asinl.c: Likewise.
5628 * math/w_atan2.c: Likewise.
5629 * math/w_atan2f.c: Likewise.
5630 * math/w_atan2l.c: Likewise.
5631 * math/w_atanh.c: Likewise.
5632 * math/w_atanhf.c: Likewise.
5633 * math/w_atanhl.c: Likewise.
5634 * math/w_exp10.c: Likewise.
5635 * math/w_exp10f.c: Likewise.
5636 * math/w_exp10l.c: Likewise.
5637 * math/w_fmod.c: Likewise.
5638 * math/w_fmodf.c: Likewise.
5639 * math/w_fmodl.c: Likewise.
5640 * math/w_j0.c: Likewise.
5641 * math/w_j0f.c: Likewise.
5642 * math/w_j0l.c: Likewise.
5643 * math/w_j1.c: Likewise.
5644 * math/w_j1f.c: Likewise.
5645 * math/w_j1l.c: Likewise.
5646 * math/w_jn.c: Likewise.
5647 * math/w_jnf.c: Likewise.
5648 * math/w_log.c: Likewise.
5649 * math/w_logf.c: Likewise.
5650 * math/w_logl.c: Likewise.
5651 * math/w_log10.c: Likewise.
5652 * math/w_log10f.c: Likewise.
5653 * math/w_log10l.c: Likewise.
5654 * math/w_log2.c: Likewise.
5655 * math/w_log2f.c: Likewise.
5656 * math/w_log2l.c: Likewise.
5657 * math/w_pow.c: Likewise.
5658 * math/w_powf.c: Likewise.
5659 * math/w_powl.c: Likewise.
5660 * math/w_remainder.c: Likewise.
5661 * math/w_remainderf.c: Likewise.
5662 * math/w_remainderl.c: Likewise.
5663 * math/w_scalb.c: Likewise.
5664 * math/w_scalbf.c: Likewise.
5665 * math/w_scalbl.c: Likewise.
5666 * math/w_sqrt.c: Likewise.
5667 * math/w_sqrtf.c: Likewise.
5668 * math/w_sqrtl.c: Likewise.
5669 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5670 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5672 * math/math_private.h: Declare __kernel_standard_f.
5673 * math/w_cosh.c: Remove cruft and optimize a bit.
5674 * math/w_coshf.c: Likewise.
5675 * math/w_coshl.c: Likewise.
5676 * math/w_exp2.c: Likewise.
5677 * math/w_exp2f.c: Likewise.
5678 * math/w_exp2l.c: Likewise.
5679 * math/w_hypot.c: Likewise.
5680 * math/w_hypotf.c: Likewise.
5681 * math/w_hypotl.c: Likewise.
5682 * math/w_lgamma.c: Likewise.
5683 * math/w_lgamma_r.c: Likewise.
5684 * math/w_lgammaf.c: Likewise.
5685 * math/w_lgammaf_r.c: Likewise.
5686 * math/w_lgammal.c: Likewise.
5687 * math/w_lgammal_r.c: Likewise.
5688 * math/w_sinh.c: Likewise.
5689 * math/w_sinhf.c: Likewise.
5690 * math/w_sinhl.c: Likewise.
5691 * math/w_tgamma.c: Likewise.
5692 * math/w_tgammaf.c: Likewise.
5693 * math/w_tgammal.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5696 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5697 Minor optimizations. Pretty printing. Remove cruft.
5698 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5702 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5703 * sysdeps/i386/fpu/e_asin.S: Likewise.
5704 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5705 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5706 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5707 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5711 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5712 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5713 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5714 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5715 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5716 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5717 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5718 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5719 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5720 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5721 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5722 * sysdeps/i386/fpu/e_log.S: Likewise.
5723 * sysdeps/i386/fpu/e_log10.S: Likewise.
5724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5726 * sysdeps/i386/fpu/e_log2.S: Likewise.
5727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5729 * sysdeps/i386/fpu/e_logf.S: Likewise.
5730 * sysdeps/i386/fpu/e_logl.S: Likewise.
5731 * sysdeps/i386/fpu/e_pow.S: Likewise.
5732 * sysdeps/i386/fpu/e_powf.S: Likewise.
5733 * sysdeps/i386/fpu/e_powl.S: Likewise.
5734 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5735 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5736 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5740 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5741 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5742 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5764 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5767 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5768 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5770 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5781 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5782 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5783 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5840 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5841 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5842 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5843 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5844 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5845 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5846 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5851 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5853 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5854 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5855 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5856 (__isnanf): Likewise.
5857 (__isinf_ns): Likewise.
5858 (__isinf_nsf): Likewise.
5859 (__finite): Likewise.
5860 (__finitef): Likewise.
5861 (__ieee754_sqrt): Define as macro.
5862 (__ieee754_sqrtf): Define as macro.
5863 (__ieee754_sqrtl): Define as macro.
5864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5866 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5867 __FINITE_MATH_ONLY__ consistent.
5868 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5870 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5872 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5877 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5879 * po/ja.po: Update from translation team.
5881 2011-10-08 Roland McGrath <roland@hack.frob.com>
5883 * locale/programs/locarchive.c (prepare_address_space): New function.
5884 (create_archive, enlarge_archive, open_archive): Use it.
5886 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5887 inside [SHARED], where it is used.
5889 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5891 * nss/getent.c (netgroup_keys): Remove unused variable.
5892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5894 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5896 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5902 * math/Makefile (libm-calls): Add s_isinf_ns.
5903 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5904 * math/multc3.c: Likewise.
5905 * math/s_casin.c: Likewise.
5906 * math/s_casinf.c: Likewise.
5907 * math/s_casinl.c: Likewise.
5908 * math/s_ccos.c: Likewise.
5909 * math/s_ccosf.c: Likewise.
5910 * math/s_ccosl.c: Likewise.
5911 * math/s_ctan.c: Likewise.
5912 * math/s_ctanf.c: Likewise.
5913 * math/s_ctanh.c: Likewise.
5914 * math/s_ctanhf.c: Likewise.
5915 * math/s_ctanhl.c: Likewise.
5916 * math/s_ctanl.c: Likewise.
5917 * math/w_fmod.c: Likewise.
5918 * math/w_fmodf.c: Likewise.
5919 * math/w_fmodl.c: Likewise.
5920 * math/w_remainder.c: Likewise.
5921 * math/w_remainderf.c: Likewise.
5922 * math/w_remainderl.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5924 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5927 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5928 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5929 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5930 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5932 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5934 * stdio-common/printf_fphex.c: Likewise.
5935 * stdio-common/printf_size.c: Likewise.
5937 * math/e_exp10.c: Include math_private.h using <...> not "...".
5938 * math/e_exp10f.c: Likewise.
5939 * math/e_exp10l.c: Likewise.
5940 * math/e_exp2l.c: Likewise.
5941 * math/e_j0l.c: Likewise.
5942 * math/e_j1l.c: Likewise.
5943 * math/e_jnl.c: Likewise.
5944 * math/e_lgammal_r.c: Likewise.
5945 * math/e_rem_pio2l.c: Likewise.
5946 * math/e_scalb.c: Likewise.
5947 * math/e_scalbf.c: Likewise.
5948 * math/e_scalbl.c: Likewise.
5949 * math/k_cosl.c: Likewise.
5950 * math/k_sinl.c: Likewise.
5951 * math/k_tanl.c: Likewise.
5952 * math/s_cacoshf.c: Likewise.
5953 * math/s_catan.c: Likewise.
5954 * math/s_catanf.c: Likewise.
5955 * math/s_catanh.c: Likewise.
5956 * math/s_catanhf.c: Likewise.
5957 * math/s_catanhl.c: Likewise.
5958 * math/s_catanl.c: Likewise.
5959 * math/s_ccosh.c: Likewise.
5960 * math/s_ccoshf.c: Likewise.
5961 * math/s_ccoshl.c: Likewise.
5962 * math/s_cexp.c: Likewise.
5963 * math/s_cexpf.c: Likewise.
5964 * math/s_cexpl.c: Likewise.
5965 * math/s_clog.c: Likewise.
5966 * math/s_clog10.c: Likewise.
5967 * math/s_clog10f.c: Likewise.
5968 * math/s_clog10l.c: Likewise.
5969 * math/s_clogf.c: Likewise.
5970 * math/s_clogl.c: Likewise.
5971 * math/s_csin.c: Likewise.
5972 * math/s_csinf.c: Likewise.
5973 * math/s_csinh.c: Likewise.
5974 * math/s_csinhf.c: Likewise.
5975 * math/s_csinhl.c: Likewise.
5976 * math/s_csinl.c: Likewise.
5977 * math/s_csqrt.c: Likewise.
5978 * math/s_csqrtf.c: Likewise.
5979 * math/s_csqrtl.c: Likewise.
5980 * math/s_ctan.c: Likewise.
5981 * math/s_ctanf.c: Likewise.
5982 * math/s_ctanh.c: Likewise.
5983 * math/s_ctanhf.c: Likewise.
5984 * math/s_ctanhl.c: Likewise.
5985 * math/s_ctanl.c: Likewise.
5986 * math/s_ldexp.c: Likewise.
5987 * math/s_ldexpf.c: Likewise.
5988 * math/s_ldexpl.c: Likewise.
5989 * math/s_significand.c: Likewise.
5990 * math/s_significandf.c: Likewise.
5991 * math/s_significandl.c: Likewise.
5992 * math/w_acos.c: Likewise.
5993 * math/w_acosf.c: Likewise.
5994 * math/w_acosh.c: Likewise.
5995 * math/w_acoshf.c: Likewise.
5996 * math/w_acoshl.c: Likewise.
5997 * math/w_acosl.c: Likewise.
5998 * math/w_asin.c: Likewise.
5999 * math/w_asinf.c: Likewise.
6000 * math/w_asinl.c: Likewise.
6001 * math/w_atan2.c: Likewise.
6002 * math/w_atan2f.c: Likewise.
6003 * math/w_atan2l.c: Likewise.
6004 * math/w_atanh.c: Likewise.
6005 * math/w_atanhf.c: Likewise.
6006 * math/w_atanhl.c: Likewise.
6007 * math/w_cosh.c: Likewise.
6008 * math/w_coshf.c: Likewise.
6009 * math/w_coshl.c: Likewise.
6010 * math/w_dremf.c: Likewise.
6011 * math/w_exp10.c: Likewise.
6012 * math/w_exp10f.c: Likewise.
6013 * math/w_exp10l.c: Likewise.
6014 * math/w_exp2.c: Likewise.
6015 * math/w_exp2f.c: Likewise.
6016 * math/w_fmod.c: Likewise.
6017 * math/w_fmodf.c: Likewise.
6018 * math/w_fmodl.c: Likewise.
6019 * math/w_hypot.c: Likewise.
6020 * math/w_hypotf.c: Likewise.
6021 * math/w_hypotl.c: Likewise.
6022 * math/w_j0.c: Likewise.
6023 * math/w_j0f.c: Likewise.
6024 * math/w_j0l.c: Likewise.
6025 * math/w_j1.c: Likewise.
6026 * math/w_j1f.c: Likewise.
6027 * math/w_j1l.c: Likewise.
6028 * math/w_jn.c: Likewise.
6029 * math/w_jnf.c: Likewise.
6030 * math/w_jnl.c: Likewise.
6031 * math/w_lgamma.c: Likewise.
6032 * math/w_lgamma_r.c: Likewise.
6033 * math/w_lgammaf.c: Likewise.
6034 * math/w_lgammaf_r.c: Likewise.
6035 * math/w_lgammal.c: Likewise.
6036 * math/w_lgammal_r.c: Likewise.
6037 * math/w_log.c: Likewise.
6038 * math/w_log10.c: Likewise.
6039 * math/w_log10f.c: Likewise.
6040 * math/w_log10l.c: Likewise.
6041 * math/w_log2.c: Likewise.
6042 * math/w_log2f.c: Likewise.
6043 * math/w_log2l.c: Likewise.
6044 * math/w_logf.c: Likewise.
6045 * math/w_logl.c: Likewise.
6046 * math/w_pow.c: Likewise.
6047 * math/w_powf.c: Likewise.
6048 * math/w_powl.c: Likewise.
6049 * math/w_remainder.c: Likewise.
6050 * math/w_remainderf.c: Likewise.
6051 * math/w_remainderl.c: Likewise.
6052 * math/w_scalb.c: Likewise.
6053 * math/w_scalbf.c: Likewise.
6054 * math/w_scalbl.c: Likewise.
6055 * math/w_sinh.c: Likewise.
6056 * math/w_sinhf.c: Likewise.
6057 * math/w_sinhl.c: Likewise.
6058 * math/w_sqrt.c: Likewise.
6059 * math/w_sqrtf.c: Likewise.
6060 * math/w_sqrtl.c: Likewise.
6061 * math/w_tgamma.c: Likewise.
6062 * math/w_tgammaf.c: Likewise.
6063 * math/w_tgammal.c: Likewise.
6065 * po/ja.po: Update from translation team.
6067 2011-09-29 Andreas Jaeger <aj@suse.de>
6070 * sunrpc/netname.c (netname2host): Fix logic.
6074 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6076 * math/w_remainder.c (__remainder): Likewise.
6077 * math/w_remainderf.c (__remainderf): Likewise.
6078 * math/libm-test.inc (remainder_test): Add test cases.
6080 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6082 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6085 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6087 * string/test-memcmp.c: Avoid unncessary #defines.
6088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6090 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6092 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6093 Use new sse2 version for core i3 - i7 as it's faster
6095 (bit_Prefer_PMINUB_for_stringop): New.
6096 * sysdeps/x86_64/rawmemchr.S: Update.
6097 Replace with faster SSE2 version.
6098 * sysdeps/x86_64/memrchr.S: New file.
6099 * sysdeps/x86_64/memchr.S: Update.
6100 Replace with faster SSE2 version.
6102 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6104 * elf/dl-load.c (lose): Add cast to avoid warning.
6106 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6108 * po/ca.po: Update from translation team.
6110 * inet/getnetgrent_r.c: Hook up nscd.
6111 * nscd/Makefile (routines): Add nscd_netgroup.
6112 (nscd-modules): Add netgroupcache.
6113 (CFLAGS-netgroupcache.c): Define.
6114 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6115 (cache_search): Add const to second parameter.
6116 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6118 (dbs): Add netgrdb entry.
6119 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6120 (verify_persistent_db): Handle netgrdb.
6121 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6122 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6124 (netgroup_response_header): Define.
6125 (innetgroup_response_header): Define.
6126 (datahead): Add netgroup_response_header and innetgroup_response_header
6128 * nscd/nscd.conf: Add entries for netgroup cache.
6129 * nscd/nscd.h (dbtype): Add netgrdb.
6130 (_PATH_NSCD_NETGROUP_DB): Define.
6131 (netgroup_iov_disabled): Declare.
6132 (xmalloc, xcalloc, xrealloc): Move declarations here.
6133 (cache_search): Adjust prototype.
6134 Add netgroup-related prototypes.
6135 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6136 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6137 (__nscd_innetgr): Declare.
6138 * nscd/selinux.c (perms): Use access_vector_t as element type and
6139 add netgroup-related initializers.
6140 * nscd/netgroupcache.c: New file.
6141 * nscd/nscd_netgroup.c: New file.
6142 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6143 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6144 For four parameters use innetgr.
6145 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6146 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6147 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6148 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6150 * nscd/connections.c (register_traced_file): Don't register file
6151 for disabled databases.
6153 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6155 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6157 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6158 from tree and freeing node.
6160 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6162 * nss/nsswitch.c (__nss_database_lookup): Handle
6163 nss_parse_service_list out of memory case.
6165 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6167 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6170 2011-10-04 Andreas Schwab <schwab@redhat.com>
6172 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6173 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6175 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6176 elf_machine_rela, elf_machine_lazy_rel.
6177 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6178 (ELF_DYNAMIC_DO_REL): Likewise.
6179 (ELF_DYNAMIC_DO_RELA): Likewise.
6180 (ELF_DYNAMIC_RELOCATE): Likewise.
6181 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6182 to ELF_DYNAMIC_DO_REL.
6183 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6184 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6185 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6188 skip_ifunc, don't call ifunc function if non-zero.
6189 (elf_machine_rela): Likewise.
6190 (elf_machine_lazy_rel): Likewise.
6191 (elf_machine_lazy_rela): Likewise.
6192 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6193 (elf_machine_lazy_rel): Likewise.
6194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6196 (elf_machine_lazy_rel): Likewise.
6197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6199 (elf_machine_lazy_rel): Likewise.
6200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6201 (elf_machine_lazy_rel): Likewise.
6202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6203 (elf_machine_lazy_rel): Likewise.
6204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6205 (elf_machine_lazy_rel): Likewise.
6206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6207 (elf_machine_lazy_rel): Likewise.
6208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6209 (elf_machine_lazy_rel): Likewise.
6210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6211 (elf_machine_lazy_rel): Likewise.
6213 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6215 * nss/nss_files/files-init.c (_nss_files_init): Use static
6216 initialization for all the *_traced_file variables.
6218 2011-09-28 Andreas Schwab <schwab@redhat.com>
6220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6222 2011-09-27 Roland McGrath <roland@hack.frob.com>
6225 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6227 2011-09-27 Andreas Schwab <schwab@redhat.com>
6229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6230 Reread the line before reparsing it.
6232 2011-09-26 Andreas Schwab <schwab@redhat.com>
6234 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6236 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6237 Maxim Kuvyrkov <maxim@codesourcery.com>
6238 Joseph Myers <joseph@codesourcery.com>
6240 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6241 if needed for __stack_chk_guard.
6243 2011-09-19 Roland McGrath <roland@hack.frob.com>
6245 * sysdeps/posix/spawni.c (script_execute): Always define it.
6246 It will be optimized away if unused.
6247 (maybe_script_execute): New function.
6248 (__spawni): Call it.
6250 * Makerules: Don't include tls.make.
6251 (config-tls): Always set to thread.
6252 * tls.make.c: File removed.
6254 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6256 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6257 * config.make.in (CPPFLAGS-config): New substituted variable.
6259 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6264 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6265 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6267 2011-09-15 Roland McGrath <roland@hack.frob.com>
6269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6270 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6272 (CALL_FAIL): Likewise.
6273 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6274 (CALL_FAIL): Macro removed.
6275 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6277 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6280 for __FINITE_MATH_ONLY__ == 1.
6282 2011-09-15 Andreas Schwab <schwab@redhat.com>
6284 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6285 __ieee754_sqrt instead of sqrt.
6286 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6287 __ieee754_sqrtf instead of sqrtf.
6288 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6289 __floorf instead of floorf.
6290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6291 __floorf, __truncf instead of floorf, truncf.
6293 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6295 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6297 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6298 __extern_always_inline.
6299 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6302 2011-09-14 Andreas Schwab <schwab@redhat.com>
6304 * elf/rtld.c (dl_main): Also relocate in dependency order when
6305 doing symbol dependency testing.
6307 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6310 Always define `refsym'.
6312 2011-09-13 Andreas Schwab <schwab@redhat.com>
6314 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6315 (__FD_ELT): Renamed from __FDELT.
6316 * misc/bits/select2.h (__FD_ELT): Likewise.
6317 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6318 __FD_MASK instead of __FDELT, __FDMASK.
6319 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6321 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6324 * elf/Makefile (gen-ldd): Fix pattern.
6326 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6327 (init_tls): Likewise.
6329 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6333 2011-09-12 Andreas Schwab <schwab@redhat.com>
6335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6336 `struct cmsghdr *' instead of `void *'.
6337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6340 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6342 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6344 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6347 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6349 * configure.in: Remove --with-tls option.
6350 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6351 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6352 out in case it is missing.
6353 * sysdeps/ia64/elf/configure.in: Likewise.
6354 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6355 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6356 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6357 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6358 * sysdeps/sh/elf/configure.in: Likewise.
6359 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6361 * sysdeps/x86_64/elf/configure.in: Likewise.
6362 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6363 * sysdeps/mach/hurd/tls.h: Likewise.
6366 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6369 * configure.in: Fix use of AC_INIT.
6371 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6373 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6375 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6377 * malloc/hooks.c: Likewise.
6380 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6381 variables statically.
6382 (narenas): Initialize.
6383 (list_lock): Initialize.
6384 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6385 initializtion of main_arena and list_lock. Small cleanups.
6386 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6387 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6388 Add initializers to main_arena and mp_.
6389 (malloc_state): Remove pagesize member. Change all users to use
6392 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6393 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6394 is always initialized.
6396 * malloc/malloc.c: Removed unused configurations and dead code.
6397 * malloc/arena.c: Likewise.
6398 * malloc/hooks.c: Likewise.
6399 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6401 * include/tls.h: Removed. USE___THREAD must always be defined.
6402 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6403 * elf/dl-libc.c: Likewise.
6404 * elf/dl-tsd.c: Likewise.
6405 * include/errno.h: Likewise.
6406 * include/netdb.h: Likewise.
6407 * include/resolv.h: Likewise.
6408 * inet/herrno-loc.c: Likewise.
6409 * inet/herrno.c: Likewise.
6410 * malloc/arena.c: Likewise.
6411 * malloc/hooks.c: Likewise.
6412 * malloc/malloc.c: Likewise.
6413 * resolv/res-state.c: Likewise.
6414 * resolv/res_libc.c: Likewise.
6415 * sysdeps/i386/dl-machine.h: Likewise.
6416 * sysdeps/ia64/dl-machine.h: Likewise.
6417 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6419 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6420 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6421 * sysdeps/sh/dl-machine.h: Likewise.
6422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6424 * sysdeps/unix/i386/sysdep.S: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6426 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6436 * sysdeps/x86_64/dl-machine.h: Likewise.
6437 * tls.make.c: Likewise.
6439 * configure.in: Remove --with-__thread option. Make tests for
6440 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6441 tls_model attribute fail if no support is available. Remove
6443 * Makeconfig: Adjust for dropped configure option. All features are
6445 * Makerules: Likewise.
6446 * Versions.def: Likewise.
6447 * argp/argp-fmtstream.c: Likewise.
6448 * argp/argp-fmtstream.h: Likewise.
6449 * argp/argp-help.c: Likewise.
6450 * assert/assert.c: Likewise.
6451 * config.h.in: Likewise.
6452 * config.make.in: Likewise.
6453 * configure: Likewise.
6454 * configure.in: Likewise.
6455 * csu/Versions: Likewise.
6456 * csu/init.c: Likewise.
6457 * elf/tst-audit2.c: Likewise.
6458 * elf/tst-tls10.c: Likewise.
6459 * elf/tst-tls10.h: Likewise.
6460 * elf/tst-tls11.c: Likewise.
6461 * elf/tst-tls12.c: Likewise.
6462 * elf/tst-tls14.c: Likewise.
6463 * elf/tst-tlsmod11.c: Likewise.
6464 * elf/tst-tlsmod12.c: Likewise.
6465 * elf/tst-tlsmod13.c: Likewise.
6466 * elf/tst-tlsmod13a.c: Likewise.
6467 * elf/tst-tlsmod14a.c: Likewise.
6468 * elf/tst-tlsmod15b.c: Likewise.
6469 * elf/tst-tlsmod16a.c: Likewise.
6470 * elf/tst-tlsmod16b.c: Likewise.
6471 * elf/tst-tlsmod7.c: Likewise.
6472 * elf/tst-tlsmod8.c: Likewise.
6473 * elf/tst-tlsmod9.c: Likewise.
6474 * gmon/gmon.c: Likewise.
6475 * grp/fgetgrent_r.c: Likewise.
6476 * grp/putgrent.c: Likewise.
6477 * hurd/fopenport.c: Likewise.
6478 * include/libc-symbols.h: Likewise.
6479 * include/tls.h: Likewise.
6480 * intl/gettextP.h: Likewise.
6481 * intl/loadinfo.h: Likewise.
6482 * locale/global-locale.c: Likewise.
6483 * locale/localeinfo.h: Likewise.
6484 * mach/devstream.c: Likewise.
6485 * malloc/arena.c: Likewise.
6486 * malloc/set-freeres.c: Likewise.
6487 * misc/err.c: Likewise.
6488 * misc/getttyent.c: Likewise.
6489 * misc/mntent_r.c: Likewise.
6490 * posix/getopt.c: Likewise.
6491 * posix/wordexp.c: Likewise.
6492 * pwd/fgetpwent_r.c: Likewise.
6493 * resolv/Versions: Likewise.
6494 * resolv/res_hconf.c: Likewise.
6495 * shadow/fgetspent_r.c: Likewise.
6496 * shadow/putspent.c: Likewise.
6497 * stdio-common/printf_fphex.c: Likewise.
6498 * stdio-common/tmpfile.c: Likewise.
6499 * stdlib/abort.c: Likewise.
6500 * stdlib/fmtmsg.c: Likewise.
6501 * sunrpc/auth_unix.c: Likewise.
6502 * sunrpc/clnt_perr.c: Likewise.
6503 * sunrpc/clnt_tcp.c: Likewise.
6504 * sunrpc/clnt_udp.c: Likewise.
6505 * sunrpc/clnt_unix.c: Likewise.
6506 * sunrpc/openchild.c: Likewise.
6507 * sunrpc/svc_simple.c: Likewise.
6508 * sunrpc/svc_tcp.c: Likewise.
6509 * sunrpc/svc_udp.c: Likewise.
6510 * sunrpc/svc_unix.c: Likewise.
6511 * sunrpc/xdr.c: Likewise.
6512 * sunrpc/xdr_array.c: Likewise.
6513 * sunrpc/xdr_rec.c: Likewise.
6514 * sunrpc/xdr_ref.c: Likewise.
6515 * sunrpc/xdr_stdio.c: Likewise.
6517 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6519 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6521 2011-07-03 Andreas Jaeger <aj@suse.de>
6523 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6525 regenerate with gen-libm-tests.pl.
6527 2010-05-12 Petr Baudis <pasky@suse.cz>
6530 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6531 around j0() zero points by switching to j1().
6532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6537 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6544 Patch in part by Pavel Roskin <proski@gnu.org>.
6547 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6549 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6550 Free memory block if necessary.
6553 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6554 be NULL. Don't lock in this case.
6556 2011-09-09 Roland McGrath <roland@hack.frob.com>
6558 * elf/elf.h (ELFOSABI_GNU): New macro.
6559 (ELFOSABI_LINUX): Define to that.
6561 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6563 * string/strncat.c (strncat): Undef the symbol in case it has been
6564 defined in bits/string.h.
6566 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6568 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6573 2011-08-17 Andreas Jaeger <aj@suse.de>
6575 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6577 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6578 Ian Lance Taylor <iant@google.com>
6580 * math/libm-test.inc (lround_test): New testcase.
6581 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6583 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6585 * Makefile: Remove support for automatic cvs check-ins.
6586 * Makerules: Likewise.
6587 * config.make.in: Likewise.
6588 * configure.in: Likewise.
6589 * intl/Makefile: Likewise.
6590 * locale/Makefile: Likewise.
6591 * po/Makefile: Likewise.
6592 * posix/Makefile: Likewise.
6593 * sysdeps/gnu/Makefile: Likewise.
6594 * sysdeps/mach/hurd/Makefile: Likewise.
6595 * sysdeps/sparc/sparc32/Makefile: Likewise.
6598 * posix/Makefile (bug-regex32-ENV): Define.
6599 Patch by John Stanley <jpsinthemix@verizon.net>.
6601 * misc/Makefile (headers): Add bits/select2.h.
6602 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6603 * misc/bits/select2.h: New file.
6604 * include/bits/select2.h: New file.
6605 * debug/Makefile (routines): Add fdelt_chk.
6606 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6607 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6609 * debug/fdelt_chk.c: New file.
6611 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6612 * wcsmbs/test-wmemcmp.c: Likewise.
6613 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6614 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6616 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6618 * string/Makefile (strop-tests): Add memcmp.
6619 * string/test-wmemcmp.c: New file.
6620 * string/test-memcmp.c: Add wmemcmp support.
6622 2011-09-08 Roland McGrath <roland@hack.frob.com>
6625 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6628 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6629 garbage value in a __mach_port_mod_refs call in the cases of the
6630 task-self and thread-self ports.
6632 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6634 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6636 2011-09-08 Andreas Schwab <schwab@redhat.com>
6638 * elf/dl-load.c (lose): Check for non-null L.
6640 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6642 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6644 * elf/dl-libc.c (dlerror_run): Pass back error code from
6648 * elf/dl-load.c (lose): Free l_origin if it is valid.
6650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6657 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6659 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6662 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6664 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6665 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6666 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6667 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6668 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6669 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6670 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6672 2011-08-15 Alan Modra <amodra@gmail.com>
6675 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6676 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6677 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6678 ppc_mcount to static-only-routines.
6679 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6681 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6682 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6684 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6687 for finite and infinity parameters.
6689 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6692 and add nop instructions for throughput optimization.
6693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6695 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6698 aligned copy for power7 with vector-scalar instructions.
6699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6701 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6706 2011-09-07 Andreas Schwab <schwab@redhat.com>
6709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6712 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6715 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6716 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6720 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6723 Forgot to demangle the pointer.
6725 * sysdeps/i386/sysdep.h: Define atom_text_section.
6726 * sysdeps/x86_64/sysdep.h: Likewise.
6727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6728 section with atom_text_section.
6729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6737 already be defined. Change to take two parameters and don't assign
6738 result to variable. Adjust all users.
6739 Define INTERNAL_GETTIME if not already defined.
6740 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6743 HAVE_CLOCK_GETTIME_VSYSCALL.
6744 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6747 gettimeofday vsyscall, just use time.
6749 2011-09-06 Andreas Schwab <schwab@redhat.com>
6751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6754 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6756 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6760 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6761 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6762 syscall if possible.
6764 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6766 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6767 e_ident. Don't pass to find_mapsXX.
6768 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6770 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6773 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6774 * sysdeps/x86_64/multiarch/strchr.S: Update.
6775 Check bit_slow_BSF bit.
6776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6780 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6783 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6786 (__spawni): Change last parameter to be flag. Test
6787 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6788 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6789 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6790 * posix/spawni.c: Likewise.
6791 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6792 * posix/spawnp.c: Likewise. Change normal version to use
6793 SPAWN_XFLAGS_USE_PATH.
6794 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6795 SPAWN_XFLAGS_TRY_SHELL.
6798 * posix/glob.h: Remove gcc 1.x support.
6801 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6803 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6806 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6808 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6809 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6812 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6815 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6817 * sysdeps/x86_64/wcscmp.S: New file.
6819 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6820 wcscmp-c wcscmp-sse2
6821 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6822 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6824 * wcsmbs/wcscmp.c: Allow renaming.
6826 2011-09-05 David S. Miller <davem@davemloft.net>
6828 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6829 stack slot, rather than the struct return pointer slot.
6830 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6831 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6835 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6837 * po/ja.po: Update from translation team.
6840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6841 kernel in 64-bit binaries.
6843 2011-09-01 David S. Miller <davem@davemloft.net>
6845 * elf/elf.h (HWCAP_SPARC_*): Move to..
6846 * sysdeps/sparc/sysdep.h: this new file and add new values.
6847 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6848 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6849 _DL_HWCAP_COUNT to 24.
6850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6852 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6853 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6854 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6856 instead of magic constants.
6857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6859 2011-08-31 David S. Miller <davem@davemloft.net>
6861 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6863 Reimplement to do errno handling inline.
6864 (SYSCALL_ERROR_HANDLER): New macro.
6865 (__SYSCALL_STRING): Do not do errno handling in asm.
6866 (__CLONE_SYSCALL_STRING): Delete.
6867 (__INTERNAL_SYSCALL_STRING): Delete.
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6869 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6870 (PSEUDO): Reimplement to do errno handling inline.
6871 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6872 (SYSCALL_ERROR_HANDLER): New macro.
6873 (__SYSCALL_STRING): Do not do errno handling in asm.
6874 (__CLONE_SYSCALL_STRING): Delete.
6875 (__INTERNAL_SYSCALL_STRING): Delete.
6876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6877 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6879 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6880 (inline_syscall*): Add 'err' argument.
6881 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6882 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6883 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6884 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6886 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6889 2011-08-30 Andreas Schwab <schwab@redhat.com>
6891 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6893 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6895 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6898 2011-08-24 David S. Miller <davem@davemloft.net>
6900 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6902 2011-08-24 Andreas Schwab <schwab@redhat.com>
6904 * elf/Makefile: Add rules to build and run unload8 test.
6905 * elf/unload8.c: New file.
6906 * elf/unload8mod1.c: New file.
6907 * elf/unload8mod1x.c: New file.
6908 * elf/unload8mod2.c: New file.
6909 * elf/unload8mod3.c: New file.
6911 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6914 2011-08-23 David S. Miller <davem@davemloft.net>
6916 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6917 subtract stack bias.
6918 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6919 %sp not %fp in calculations.
6920 (_JMPBUF_UNWINDS_ADJ): Likewise.
6922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6923 (aio_suspend): Call it to force an exception region around the
6924 AIO_MISC_WAIT() invocation.
6926 2011-08-23 Andreas Schwab <schwab@redhat.com>
6928 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6931 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6933 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6935 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6937 (Elf64_FuncDesc): Remove.
6939 2011-08-22 David S. Miller <davem@davemloft.net>
6941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6942 sigaltstack check, add missing cfi directives.
6943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6944 missing cfi directives, and sigaltstack handling.
6946 2011-08-16 Andreas Schwab <schwab@redhat.com>
6949 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6950 object is seen twice.
6951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6953 * elf/Makefile (distribute): Add tst-initorder2.c.
6954 (tests): Add tst-initorder2.
6955 (modules-names): Add tst-initorder2a tst-initorder2b
6956 tst-initorder2c tst-initorder2d. Add rules to build them.
6957 ($(objpfx)tst-initorder2.out): New rule.
6958 * elf/tst-initorder2.c: New file.
6959 * elf/tst-initorder2.exp: New file.
6961 2011-08-22 Andreas Schwab <schwab@redhat.com>
6963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6965 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6966 dependencies back to end of function.
6968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6971 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6974 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6976 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6978 of __vdso_gettimeofday.
6979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6980 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6982 (_libc_vdso_platform_setup): Remove initialization of
6983 __vdso_gettimeofday and __vdso_time.
6985 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6987 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6989 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6992 * elf/dl-open.c (add_to_global): Report additions to the global scope
6993 for LD_DEBUG=scopes.
6994 (dl_open_worker): Also print scope of newly loaded dependencies.
6995 (_dl_show_scope): Indicate if there is no scope.
6998 * stdio-common/Makefile (tests): Add bug24.
6999 * stdio-common/bug24.c: New file.
7001 2011-08-19 Andreas Jaeger <aj@suse.de>
7004 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7005 non-existant file when using close-on-exec mode.
7007 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7010 the very first instruction.
7012 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7013 the CFI state in the end.
7014 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7015 inclusion of dl-trampoline.h.
7016 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7018 2011-08-19 Andreas Schwab <schwab@redhat.com>
7020 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7021 expectations for long double.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7024 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7026 2011-08-14 David S. Miller <davem@davemloft.net>
7028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7029 artificual limit depends upon the system page size.
7031 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7033 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7034 * resolv/Makefile: Define CFLAGS-libresolv.
7036 2011-08-17 Andreas Schwab <schwab@redhat.com>
7038 * nss/makedb.c (compute_tables): Make variables used in nested
7041 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7043 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7044 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7045 if buffer was too small.
7047 * elf/pldd.c (main): Attach to all threads in the process.
7048 Rewrite /proc handling to use *at functions.
7050 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7052 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7053 specifies first scope to show.
7054 (dl_open_worker): Update callers. Move printing scope of new
7055 object to before the relocation.
7056 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7057 * sysdeps/generic/ldsodefs.h: Update declaration.
7059 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7060 string for the scope number.
7062 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7064 * nscd/servicescache.c (cache_addserv): Make sure written is always
7067 2011-08-14 Roland McGrath <roland@hack.frob.com>
7069 * sysdeps/i386/i486/bits/atomic.h
7070 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7071 statement expression, so as to suppress "set but not used" warning.
7072 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7074 * string/strncat.c (STRNCAT): Use prototype definition.
7076 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7077 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7079 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7080 (localedef-modules): Add localedef.
7081 (locale-modules): Add locale.
7083 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7084 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7087 2011-08-14 David S. Miller <davem@davemloft.net>
7089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7090 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7092 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7094 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7095 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7096 * elf/rtld.c (dl_main): Set l_name of vDSO.
7097 Call _dl_show_scope when DL_DEBUG_SCOPES.
7098 (process_dl_debug): Recognize scopes flag and also set it for all.
7099 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7100 Declare _dl_show_scope.
7102 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7103 (do_dlopen): Pass caller_dlopen to dl_open.
7104 (__libc_dlopen_mode): Initialize caller_dlopen.
7106 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7107 of libc. Make tolower call locale-independent. Optimize a bit by
7108 using isdigit instead of isalnum.
7109 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7111 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7113 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7114 was a dependency or dynamically loaded.
7116 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7118 * intl/l10nflist.c: Allow architecture-specific pop function.
7119 * sysdeps/x86_64/l10nflist.c: New file.
7121 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7124 2011-08-10 Andreas Schwab <schwab@redhat.com>
7126 * include/dirent.h: Add libc_hidden_proto for scandirat and
7127 scandirat64. Don't declare __scandirat64.
7128 * dirent/scandirat.c: Add libc_hidden_def.
7129 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7130 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7132 2011-08-10 David S. Miller <davem@davemloft.net>
7134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7140 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7142 * Versions.def [libc]: Add GLIBC_2.15.
7143 * dirent/Makefile (routines): Add scandirat and scandirat64.
7144 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7146 * dirent/dirent.h: Declare scandirat and scandirat64.
7147 * dirent/scandirat.c: New file.
7148 * dirent/scandirat64.c: New file.
7149 * sysdeps/wordsize-64/scandirat.c: New file.
7150 * sysdeps/wordsize-64/scandirat64.c: New file.
7151 * dirent/opendir.c: Define opendirat.
7152 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7154 * dirent/scandir64.c: Adjust for scandir.c change.
7155 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7156 __scandirat64, and __scandir_cancel_handler.
7157 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7158 additional parameter and use openat instead of open (outside of ld.so).
7159 Add new __opendir as wrapper around __opendirat.
7160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7161 here without requiring old scandirat implementation.
7163 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7165 * dirent/scandir.c (cancel_handler): Renamed to
7166 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7167 defined. Adjust users.
7168 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7171 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7173 * string/test-string.h (IMPL): Use __STRING to expand name and then
7176 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7179 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7181 * string/Makefile: Update.
7182 (strop-tests): Append strncat.
7183 * string/test-wcscmp.c: New file.
7184 New comprehensive test for wcscmp.
7185 * string/test-strcmp.c: Update.
7188 2011-07-22 Andreas Schwab <schwab@redhat.com>
7190 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7193 2011-07-26 Andreas Schwab <schwab@redhat.com>
7195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7196 encoding to ACE if AI_IDN.
7198 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7201 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7203 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7206 Fix overflow bug in strncat.
7207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7209 * string/test-strncat.c: Update.
7210 Add new tests for checking overflow bugs.
7212 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7215 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7216 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7217 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7220 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7221 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7222 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7225 (USE_AS_STRCAT): Define.
7226 Add strcat and strncat support.
7227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7229 2011-07-25 Andreas Schwab <schwab@redhat.com>
7231 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7232 __n bigger than INT_MAX+1.
7233 (__strncmp_g): Likewise.
7235 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7237 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7238 * libio/stido.h: Likewise.
7240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7245 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7248 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7252 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7257 (_dl_x86_64_save_sse): Likewise.
7259 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7263 (_dl_x86_64_save_sse): Likewise.
7265 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7267 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7269 2011-07-21 Andreas Schwab <schwab@redhat.com>
7271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7273 (_dl_x86_64_save_sse): Use correct AVX check.
7275 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7278 bug in strncpy/strncat.
7279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7281 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7283 * string/tester.c (test_strcat): Add tests for different alignments
7284 of source and destination.
7285 (test_strncat): Likewise.
7287 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7290 * posix/glob.c (glob): Check passed in values before using them in
7291 expressions to avoid some overflows.
7292 (glob_in_dir): Likewise.
7295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7296 check for AVX enablement so that we don't crash with old kernels and
7298 * elf/tst-audit4.c: Add same checks here.
7299 * elf/tst-audit6.c: Likewise.
7301 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7303 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7305 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7307 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7309 * po/cs.po: Update from translation team.
7310 * po/bg.po: Likewise.
7312 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7314 * misc/sys/cdefs.h: Add support for const attribute.
7315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7316 to gnu_dev_{major,minor,makedev} functions.
7318 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7320 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7322 2011-07-20 Andreas Schwab <schwab@redhat.com>
7324 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7327 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7330 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7331 register in order to avoid conflicts with the soft frame pointer
7332 being held in r11 when necessary.
7333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7334 (INTERNAL_VSYSCALL_NCS): Likewise.
7336 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7338 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7339 * elf/dl-fini.c (_dl_fini): Adjust caller.
7340 * elf/dl-close.c (_dl_close_worker): Likewise.
7341 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7343 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7345 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7346 "aux_cache->nlibs < 0".
7348 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7349 in the reload-count case.
7351 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7354 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7355 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7357 * sysdeps/x86_64/multiarch/strcat.S: New file.
7358 * sysdeps/x86_64/multiarch/strncat.S: New file.
7359 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7361 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7362 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7364 (USE_AS_STRCAT): Define.
7365 Add strcat and strncat support.
7366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7369 * string/strncat.c: Update.
7370 (USE_AS_STRNCAT): Define.
7371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7372 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7374 * sysdeps/x86_64/multiarch/init-arch.h
7375 (bit_Prefer_PMINUB_for_stringop): New.
7376 (index_Prefer_PMINUB_for_stringop): Likewise.
7377 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7378 bit_Prefer_PMINUB_for_stringop.
7380 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7382 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7384 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7385 of casting of buffer.
7386 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7387 buffer32 and buffer64.
7388 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7389 writes instead of casting of buffer.
7390 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7392 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7395 2011-07-19 Andreas Schwab <schwab@redhat.com>
7397 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7399 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7401 * nscd/nscd.c (termination_handler): Don't do anything for a database
7402 if it has not yet been initialized.
7404 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7408 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7410 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7412 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7414 * po/nl.po: Update from translation team.
7415 * po/sv.po: Likewise.
7417 2011-07-16 Roland McGrath <roland@hack.frob.com>
7419 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7420 now disallowed by GCC.
7422 * configure.in (use-default-link): Default to yes if a test -shared
7423 link meets our qualifications.
7424 * configure: Regenerated.
7426 * config.make.in (output-format): New variable.
7427 * configure.in: Check for ld --print-output-format support.
7428 * configure: Regenerated.
7429 * Makerules ($(common-objpfx)format.lds)
7430 [$(output-format) != unknown]: Just use $(output-format),
7431 instead of the linker-script munging.
7433 2011-07-14 Roland McGrath <roland@hack.frob.com>
7435 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7436 of $(common-objpfx)shlib.lds.
7437 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7439 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7440 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7442 * configure.in (-z relro check): Adjust test code to add a large
7443 writable data section after it.
7444 * configure: Regenerated.
7446 2011-07-11 Roland McGrath <roland@hack.frob.com>
7448 * configure.in (-z relro check): Fix test code to make the variable
7450 * configure: Regenerated.
7452 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7454 * nscd/nscd.h (struct traced_file): Define.
7455 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7456 elements. Add traced_files.
7457 (inotify_fd): Declare.
7458 (register_traced_file): Declare.
7459 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7460 (inotify_fd): Export.
7461 (resolv_conf_descr): Remove.
7462 (nscd_init): Move inotify descriptor creation to main.
7463 Don't register files for notification here.
7464 (register_traced_file): New function.
7465 (invalidate_cache): Don't use reset_res to determine whether to call
7466 res_init, go through the list of registered files.
7467 (main_loop_poll): The inotify descriptors are now stored in the
7468 structures for the traced files.
7469 (main_loop_epoll): Likewise
7470 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7471 to __nss_disable_nscd.
7472 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7473 for a database anymore. Check the records for all the registered
7475 * nss/Makefile (libnss_files-routines): Add files-init.
7476 (libnss_db-routines): Add db-init.
7477 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7478 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7479 * nss/nss_db/db-init.c: New file.
7480 * nss/nss_files/files-init.c: New file.
7481 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7482 __nss_lookup_function.
7483 (__nss_lookup_function): Call nss_load_library.
7484 (nss_load_all_libraries): New function.
7485 (__nss_disable_nscd): Take parameter with callback function for files
7486 to register. Set is_nscd. Load all the DSOs for the NSS modules
7487 used for the cached services.
7488 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7490 options for features to all the files in nscd.
7492 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7494 2011-07-10 Roland McGrath <roland@hack.frob.com>
7496 * csu/elf-init.c (__libc_csu_init): Comment typo.
7498 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7500 * po/pl.po: Update from translation team.
7501 * po/ja.po: Likewise.
7502 * po/ru.po: Likewise.
7503 * po/ko.po: Likewise.
7504 * po/fr.po: Likewise.
7506 2011-07-09 Roland McGrath <roland@hack.frob.com>
7508 * configure.in (.ctors/.dtors header and trailer check):
7509 Use an empirical test on a built program.
7510 * configure: Regenerated.
7512 * configure.in (-z relro check): Use an empirical test on a built DSO.
7513 Detect, but do not require, on ia64.
7514 * configure: Regenerated.
7516 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7517 Update tests that use readelf to use $READELF instead.
7518 * configure: Regenerated.
7520 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7522 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7523 if the result is not used.
7525 2011-07-05 Andreas Jaeger <aj@suse.de>
7528 * stdlib/tst-strtod.c: Add testcase.
7530 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7533 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7534 The latter has a higher limit. Take additional parameter to pass to
7536 (__pathconf): Pass file to __statfs_link_max.
7537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7539 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7543 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7547 (__statfs_filesize_max): Likewise.
7548 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7550 2011-07-05 Andreas Jaeger <aj@suse.de>
7552 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7554 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7556 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7558 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7561 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7563 * Makefile (strop-tests): Add strncat.
7564 * string/test-strncat.c: New file.
7566 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7568 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7570 2011-06-21 Andreas Jaeger <aj@suse.de>
7572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7573 Copy rule from iconvdata/Makefile.
7575 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7578 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7579 but no long options are defined, just return 'W'.
7581 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7584 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7586 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7588 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7590 (innetgr): Likewise.
7592 2011-07-05 Roland McGrath <roland@hack.frob.com>
7594 * config.make.in (install_root): Default to $(DESTDIR).
7596 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7600 2011-07-02 Roland McGrath <roland@hack.frob.com>
7602 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7604 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7605 containing directory rather than embedding absolute directory names.
7607 * scripts/check-local-headers.sh: Rewritten using awk.
7608 Match by word, not by line. Print error messages for matches.
7609 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7611 * Makerules [shlib-lds-flags empty]:
7612 ($(common-objpfx)libc_pic.opts): New target.
7613 ($(common-objpfx)libc_pic.os.clean): New target.
7614 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7616 * config.make.in (OBJCOPY): New variable.
7617 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7618 * configure: Regenerated.
7620 * config.make.in (use-default-link): New variable.
7621 * configure.in (use_default_link): Grok --with-default-link to set it.
7622 * configure: Regenerated.
7623 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7624 (shlib-lds, shlib-lds-flags): Define to empty.
7626 * Makerules (shlib-lds): New variable.
7627 (shlib-lds-flags): New variable.
7628 (build-shlib, build-moduile, build-module-asneeded): Use it.
7629 ($(common-objpfx)libc.so): Use $(shlib-lds).
7630 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7633 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7634 DT_FLAGS/DT_FLAGS_1 with zero flags.
7636 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7637 linker script munging.
7639 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7641 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7643 * crypt/sha512.c (sha512_process_block): Perform total addition using
7644 128-bit if possible.
7645 (__sha512_finish_ctx): Likewise.
7646 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7648 * crypt/sha256.c (SWAP64): Define.
7649 (sha256_process_block): Perform total addition using 64-bit if
7651 (__sha256_finish_ctx): Likewise.
7653 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7655 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7657 * nscd/hstcache.c (cache_addhst): Likewise.
7658 * nscd/grpcache.c (cache_addgr): Likewise.
7659 * nscd/aicache.c (addhstaiX): Likewise
7660 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7662 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7664 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7666 * nscd/hstcache.c (cache_addhst): Likewise.
7667 * nscd/grpcache.c (cache_addgr): Likewise.
7668 * nscd/aicache.c (addhstaiX): Likewise
7670 2011-07-01 Andreas Schwab <schwab@redhat.com>
7672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7673 domain only when needed.
7675 2011-06-30 Andreas Schwab <schwab@redhat.com>
7677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7680 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7682 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7683 are re-adding the entry.
7684 * nscd/servicescache.c (cache_addserv): Likewise.
7686 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7688 * sysdeps/generic/dl-irel.h: fix protection against multiple
7690 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7692 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7695 * malloc/memusage.sh: Fix quoting in message.
7696 * debug/xtrace.sh: Likewise.
7698 * configure.in: Remove support for --experimental-malloc option, make
7700 * config.make.in: Likewise.
7701 * malloc/Makefile: Likewise.
7703 2011-06-27 Andreas Schwab <schwab@redhat.com>
7705 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7706 two-byte characters.
7708 2011-06-27 Roland McGrath <roland@hack.frob.com>
7710 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7711 AC_CACHE_CHECK invocation.
7712 * configure: Regenerated.
7714 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7716 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7719 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7720 bit from old_res_options.
7722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7724 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7725 value type for setfct.
7727 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7730 __gettimeofday instead of gettimeofday.
7732 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7734 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7736 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7743 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7746 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7747 strcpy-sse2-unaligned strncpy-sse2-unaligned
7748 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7749 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7750 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7751 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7752 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7755 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7756 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7757 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7758 (STRCPY): Support SSE2 and SSSE3 versions.
7760 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7764 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7765 kernels which artificially limit size of requests.
7767 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7770 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7771 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7772 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7773 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7774 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7775 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7776 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7779 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7780 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7781 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7782 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7783 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7785 Enable unaligned load optimization for Intel Core i3, i5 and i7
7787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7789 (index_Fast_Unaligned_Load): Define.
7790 (HAS_FAST_UNALIGNED_LOAD): Define.
7792 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7794 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7796 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7800 until it is clear that the information is realy needed.
7801 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7803 2011-06-22 Andreas Schwab <schwab@redhat.com>
7805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7807 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7810 /sys/devices/system/cpu/online if it is usable.
7812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7813 reading the information from the /proc filesystem to once a second.
7815 2011-06-21 Andreas Jaeger <aj@suse.de>
7817 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7818 NULL after inclusion of kernel headers.
7820 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7822 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7823 calls to internal_setent.
7826 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7827 addresses using gethostbyname4_r ignore IPv4 addresses.
7829 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7830 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7832 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7834 2011-06-20 David S. Miller <davem@davemloft.net>
7836 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7838 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7840 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7842 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7843 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7844 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7845 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7846 * sysdeps/x86_64/dl-irel.h: Likewise.
7848 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7849 * elf/dl-sym.c: Likewise.
7851 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7853 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7854 need to dereference resplen2.
7856 2011-06-14 Andreas Schwab <schwab@redhat.com>
7858 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7860 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7862 * Makeconfig: Define vardbdir and inst_vardbdir.
7863 * nss/Makefile: Add rules to install db-Makefile.
7865 * nss/nss_db/db-XXX.c: Cleanup.
7867 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7868 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7870 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7871 * nss/makedb.c: Implement -g option to specify that value strings
7872 are generated and should not be added to table iterated over for
7874 * nss/nss_db/db-initgroups.c: New file.
7876 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7879 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7880 (internal_getgrouplist): Adjust to name change.
7881 Update use_initgroups_entry if this is not the first call.
7882 * nss/databases.def: Add initgroups entry.
7884 * nss/makedb.c (compute_tables): Check result of multiple hash table
7885 sizes to minimize maximum chain length.
7887 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7889 * Versions.def: Add entry for libnss_db.
7890 * shlib-versions: Likewise.
7891 * nss/Makefile: Add rules to build libnss_db.
7892 * nss/Versions: Add libnss_db information. Organize libnss_files
7894 * nss/db-Makefile: Add gshadow support. Change rules for the new
7895 makedb progra. Some minor improvements to generate smaller files.
7896 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7898 * nss/makedb.c: ...here.
7899 Improve database format to be smaller and require less memory at
7901 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7903 * nss/nss_db/db-netgrp.c: Likewise.
7904 * nss/nss_db/db-open.c: Likewise.
7905 * nss/nss_files/flies-XXX.x: Adjust comments.
7906 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7907 * nss/nss_files/files-grp.c: Likewise.
7908 * nss/nss_files/files-hosts.c: Likewise.
7909 * nss/nss_files/files-network.c: Likewise.
7910 * nss/nss_files/files-proto.c: Likewise.
7911 * nss/nss_files/files-pwd.c: Likewise.
7912 * nss/nss_files/files-rpc.c: Likewise.
7913 * nss/nss_files/files-service.c: Likewise.
7914 * nss/nss_files/files-sgrp.c: Likewise.
7915 * nss/nss_files/files-spwd.c: Likewise.
7916 * nss/nss_db/db-alias.c: Removed.
7917 * nss/nss_db/dummy-db.h: Removed.
7919 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7921 * nss/makedb.c: Rewritten to not use database library.
7922 * nss/Makefile: Update to build new makedb program.
7924 2011-06-14 Andreas Jaeger <aj@suse.de>
7926 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7929 2011-06-10 Andreas Schwab <schwab@redhat.com>
7931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7934 2011-06-10 Roland McGrath <roland@hack.frob.com>
7936 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7937 * elf/Makefile ($(objpfx)ld.so): Likewise.
7939 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7940 Don't list ld.so twice in dependencies.
7942 * posix/bug-regex31.c: Include <stdlib.h>.
7944 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7946 * nis/nss_compat/compat-spwd.c
7947 (getspent_next_nss_netgr): Remove unused variable.
7948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7950 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7951 nonmembers" output to use the right array.
7953 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7955 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7957 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7958 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7959 * catgets/gencat.c (read_input_file): Likewise.
7960 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7963 variable definition inside #if's controlling its use.
7965 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7969 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7971 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7974 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7976 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7977 * configure: Regenerated.
7979 * Makerules: Revert last change.
7980 * elf/Makefile: Likewise.
7982 2011-06-09 Roland McGrath <roland@hack.frob.com>
7984 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7985 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7986 (reloc-link): Likewise.
7988 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7990 * elf/Makefile: Add rules to build pldd.
7991 * elf/pldd.c: New file.
7992 * elf/pldd-xx.c: New file.
7994 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7996 * version.h: Update for 2.15 development version.
7998 2011-06-07 David S. Miller <davem@davemloft.net>
8000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8003 elf_machine_lazy_rel): Likewise.
8004 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8006 elf_machine_lazy_rel): Likewise.
8007 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8008 dl_hwcap via passed in argument.
8009 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8012 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8014 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8016 2011-06-06 Roland McGrath <roland@hack.frob.com>
8019 * manual/fdl-1.1.texi: New file, verbatim from:
8020 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8021 * manual/lgpl-2.1.texi: New file, verbatim from:
8022 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8023 * manual/Makefile (licenses): New variable, list those new file names.
8025 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8027 * manual/fdl.texi: File removed.
8028 * manual/lesser.texi: File removed.
8029 * manual/libc.texinfo (Copying, Documentation License):
8030 Use new @include file names, put @appendix directive before @include.
8032 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8035 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8036 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8037 (mq_open): Add __NTH.
8039 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8042 Assume Intel Core i3/i5/i7 processor if AVX is available.
8044 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8049 2011-05-31 Andreas Schwab <schwab@redhat.com>
8051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8052 memory. Use alloca_account. Fix memory leak when retrying.
8054 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8056 * version.h (RELEASE): Bump for 2.14 release.
8057 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8059 * config.make.in (RANLIB): Remove entry.
8061 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8063 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8064 (libc.pot): Work around missing support for .ksh extension in xgettext.
8067 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8068 if both request failed.
8069 (send_dg): In case of server errors clear resplen or *resplen2.
8072 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8073 when there are multiple maps.
8074 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8075 (_dl_fini): Remove test here.
8077 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8079 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8082 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8083 bit from old_res_options.
8084 (gaih_inet): Likewise.
8087 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8090 * resolv/res_init.c (res_setoptions): Make the code more compact.
8093 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8097 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8099 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8102 * malloc/malloc.h: Declare malloc hook variables as volatile.
8104 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8108 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8109 raise in the comment.
8110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8112 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8114 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8117 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8118 grow the buffers more if it already has to be sufficient.
8119 (build_wcs_upper_buffer): Likewise.
8120 * posix/regexec.c (check_matching): Likewise.
8121 (clean_state_log_if_needed): Likewise.
8122 (extend_buffers): Don't enlarge buffers beyond size of the input
8124 Patches mostly by Emil Wojak <emil@wojak.eu>.
8125 * posix/bug-regex32.c: New file.
8126 * posix/Makefile (tests): Add bug-regex32.
8128 * locale/findlocale.c (_nl_find_locale): Return right away if
8129 _nl_explode_name failed.
8130 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8134 * debug/xtrace.sh: Unify messages.
8135 * malloc/memusage.sh: Likewise.
8138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8139 time symbol from vDSO. Substitute with vsyscall if not available.
8140 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8144 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8146 Add sendmmsg and internal_sendmmsg.
8147 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8151 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8152 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8155 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8158 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8159 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8165 * iconvdata/Makefile (tests): Add bug-iconv9.
8166 * iconvdata/bug-iconv9.c: New file.
8168 2011-05-27 Andreas Schwab <schwab@redhat.com>
8171 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8173 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8176 (struct user_regs_struct): Change intcs field back to cs.
8178 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8180 * po/ja.po: Update from translation team.
8182 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8188 2011-05-20 Andreas Schwab <schwab@redhat.com>
8190 * stdlib/longlong.h: Update from GCC.
8192 2011-05-23 Andreas Schwab <schwab@redhat.com>
8194 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8196 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8198 (__sysconf): Pass it down.
8200 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8203 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8206 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8207 add in in __libc_use_alloca calls. Adjust callers.
8208 (glob): Use malloc in some situations.
8210 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8211 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8214 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8216 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8217 and CLOCK_BOOTTIME_ALARM.
8220 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8223 * string/_strerror.c (__strerror_r): Print negative errors as signed
8227 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8228 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8229 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8231 * configure.in: Fix typo in redirection and correct removal of test
8235 * locale/setlocale.c (new_composite_name): Fix test to check for
8236 identical name of all categories.
8239 * libio/filedoalloc.c (local_isatty): New function.
8240 (_IO_file_doallocate): Use local_isatty.
8241 * stdio-common/perror.c (perror): In case a new stream is used
8242 forward the stream error.
8243 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8246 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8251 * include/alloca.h (extend_alloca_account): Define.
8254 * posix/regex.h: Fix comments with documentation of user-accessible
8255 fields after compilation and describe correct free'ing of pattern
8256 after re_compile_pattern.
8257 Patch by Reuben Thomas <rrt@sc3d.org>.
8259 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8261 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8262 and -mno-altivec to prevent the compiler from using Altivec and/or
8263 VSX instructions when the corresponding registers are not available.
8265 2011-05-19 Andreas Schwab <schwab@redhat.com>
8267 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8269 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8271 * libio/freopen.c (freopen): Use __dup2, not dup2.
8272 * libio/freopen64.c (freopen64): Likewise.
8274 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8277 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8278 * math/Makefile (tests): Add test-powl.
8279 (CFLAGS-test-powl.c): Define.
8280 * math/test-powl.c: New file.
8282 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8284 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8286 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8289 * iconvdata/gb18030.c: Update to GB18020-2005.
8291 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8293 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8294 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8295 Patch by Aharon Robbins <arnold@skeeve.com>.
8298 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8302 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8306 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8307 point to strings before performing equality test for error_one_per_line
8311 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8315 (struct user_fpregs_struct): Avoid __uint*_t types.
8318 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8319 symbol info. Use it instead of calling _dl_addr locally.
8320 (lock_and_info): New function.
8321 (tr_freehook): Call lock_and_info and pass symbol info as additional
8322 parameter to tr_where.
8323 (tr_mallochook): Likewise.
8324 (tr_reallochook): Likewise.
8325 (tr_memalignhook): Likewise.
8327 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8328 used and couldn't be at all thread-safe.
8330 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8332 * libio/freopen.c (freopen): Don't close old file descriptor
8333 before the new one is opened. Instead dup the new file descriptor
8334 to the old one after the new stream is created.
8335 * libio/freopen64.c (freopen64): Likewise.
8336 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8337 * libio/fileops.c (_IO_new_file_close_it): Handle new
8338 _IO_FLAGS2_NOCLOSE flag.
8339 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8340 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8341 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8342 _IO_FLAGS2_NOCLOSE flag.
8343 * include/unistd.h: Add hidden_proto for dup3.
8345 * io/dup3.c: Define hidden symbol.
8346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8349 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8350 when an incomplete long option is used.
8351 * posix/tst-getopt_long1.c: New file.
8352 * posix/Makefile (tests): Add tst-getopt_long1.
8355 * scripts/config.guess: Update from autoconf-2.68.
8356 * scripts/config.sub: Likewise.
8359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8361 (has_cpuclock): ...this. New function.
8362 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8363 macro here based on has_cpuclock code.
8366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8367 First byte (not low byte) is now always NUL.
8368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8371 Use non-cancelable interfaces.
8374 * locale/iso-639.def: Add entry for Sorani.
8377 * include/stdlib.h: Move include protection to the right place.
8378 Define abort_msg_s. Declare __abort_msg with it.
8379 * stdlib/abort.c (__abort_msg): Adjust type.
8380 * assert/assert.c (__assert_fail_base): New function. Majority
8381 of code from __assert_fail. Allocate memory for __abort_msg with
8383 (__assert_fail): Now call __assert_fail_base.
8384 * assert/assert-perr.c: Remove bulk of implementation. Use
8386 * include/assert.hL Declare __assert_fail_base.
8387 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8389 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8391 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8395 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8396 until all modules are registered in the DTV.
8397 * elf/Makefile: Add rules to build and run tst-tls19.
8398 * elf/tst-tls19.c: New file.
8399 * elf/tst-tls19mod1.c: New file.
8400 * elf/tst-tls19mod2.c: New file.
8401 * elf/tst-tls19mod3.c: New file.
8402 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8405 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8409 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8410 two-byte sequence errors.
8411 * iconvdata/Makefile (tests): Add bug-iconv8.
8412 * iconvdata/bug-iconv8.c: New file.
8415 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8418 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8421 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8422 (dummy_getcfa): New function.
8423 (init): Get _Unwind_GetCFA address, use dummy if not found.
8424 (backtrace_helper): In recursion check, also check whether CFA changes.
8425 (__backtrace): Completely initialize arg.
8427 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8428 storing incomplete byte sequence in state object. Avoid testing for
8429 guaranteed too small input if we know there is enough data available.
8431 2011-05-11 Andreas Schwab <schwab@redhat.com>
8433 * Makeconfig (+link-pie): Indent.
8434 * Rules (binaries-pie): Define if $(have-fpie) and
8436 (binaries-shared): Also filter out $(binaries-pie).
8437 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8438 * nscd/Makefile (others-pie): Add nscd.
8439 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8440 ($(objpfx)nscd): Remove command override.
8441 * login/Makefile (others-pie): Add pt_chown.
8442 ($(objpfx)pt_chown): Remove command override.
8443 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8444 remove command overrides.
8446 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8448 * libio/tst_putwc.c: Fix error messages.
8451 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8452 currently writing and seek to current position when not.
8453 * libio/Makefile (tests): Add bug-fclose1.
8454 * libio/bug-fclose1.c: New file.
8456 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8459 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8460 don't set DF_1_NODELETE here.
8461 (do_lookup_x): When entering new entry test for copy relocation
8462 and if necessary set DF_1_NODELETE flag.
8463 * elf/tst-unique4.cc: New file.
8464 * elf/tst-unique4.h: New file.
8465 * elf/tst-unique4lib.cc: New file.
8466 * elf/Makefile: Add rules to build and run tst-unique4.
8467 Patch by Piotr Bury <pbury@goahead.com>.
8469 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8472 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8475 * misc/mntent_r.c (addmntent): Flush the stream after the output
8478 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8479 (is_trusted_path_normalize): Skip initial colon. Append slash
8480 to empty buffer. Duplicate is_trusted_path code but allow
8481 constructed patch to be prefix.
8482 (is_dst): Allow $ORIGIN followed by /.
8483 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8484 Correct testing of result of is_trusted_path_normalize
8485 (decompose_rpath): Fix warning.
8487 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8490 * grp/initgroups.c (internal_getgrouplist): When we found the service
8491 list through the initgroups entry in nsswitch.conf do not always
8492 continue on a successful lookup. Don't always use the
8493 __nss_group_database value if it is set.
8494 * nss/nsswitch.conf (initgroups): Change action for successful db
8495 lookup to continue for compatibility.
8497 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8500 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8502 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8504 * iconvdata/tst-tables.sh: Likewise.
8505 * iconvdata/cp770.c: New file.
8506 * iconvdata/cp771.c: New file.
8507 * iconvdata/cp772.c: New file.
8508 * iconvdata/cp773.c: New file.
8509 * iconvdata/cp774.c: New file.
8510 * iconvdata/testdata/CP770: New file.
8511 * iconvdata/testdata/CP770..UTF8: New file.
8512 * iconvdata/testdata/CP771: New file.
8513 * iconvdata/testdata/CP771..UTF8: New file.
8514 * iconvdata/testdata/CP772: New file.
8515 * iconvdata/testdata/CP772..UTF8: New file.
8516 * iconvdata/testdata/CP773: New file.
8517 * iconvdata/testdata/CP773..UTF8: New file.
8518 * iconvdata/testdata/CP774: New file.
8519 * iconvdata/testdata/CP774..UTF8: New file.
8521 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8523 * iconvdata/gen-8bit-gap.sh: Likewise.
8524 * iconvdata/gen-8bit.sh: Likewise.
8526 * locale/iso-639.def: Add ary entry.
8529 * locale/C-translit.h.in: Add U20A1 transliteration.
8532 * locale/iso-639.def: Add wae entry.
8533 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8536 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8540 * locale/C-translit.h.in: Add entry for U20B9.
8541 Patch by pravin.d.s@gmail.com.
8543 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8546 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8547 ENAMETOOLONG use generic getcwd.
8548 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8549 in rtld. Use *stat64.
8550 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8551 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8552 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8553 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8554 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8555 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8556 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8558 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8559 * dirent/rewinddir.c: Add libc_hidden_def.
8560 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8561 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8563 * include/dirent.h (__alloc_dir): Add flags parameter.
8564 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8565 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8567 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8568 from fdopendir if O_CLOEXEC is already set.
8570 2011-03-15 Alan Modra <amodra@gmail.com>
8572 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8573 l_tls_firstbyte_offset non-zero. Save padding offset in
8574 l_tls_firstbyte_offset for later use.
8575 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8576 freeing static tls block.
8578 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8580 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8581 where #ifdef was intended. The intent is to prevent ARG_MAX from
8582 being defined by the kernel headers.
8584 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8587 * resolv/resolv.h: Define RES_NOTLDQUERY.
8588 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8589 no-tld-query and set RES_NOTLDQUERY.
8590 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8591 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8592 modern BIND to search name as TLD unless forbidden.
8594 2011-05-07 Petr Baudis <pasky@suse.cz>
8595 Ulrich Drepper <drepper@gmail.com>
8598 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8599 (is_trusted_path): ...to here.
8600 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8601 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8602 using is_trusted_path_normalize() in setuid scripts.
8604 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8606 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8607 __BEGIN/__END_DECLS.
8609 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8612 NSS_STATUS_NOTFOUND if no record was found.
8614 2011-05-05 Andreas Schwab <schwab@redhat.com>
8616 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8617 (headers-not-in-tirpc): Remove rpc/netdb.h
8618 * resolv/netdb.h: Revert last change.
8620 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8622 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8623 circular dependency between libgcc.a and libc.a.
8625 2011-05-05 Andreas Schwab <schwab@redhat.com>
8627 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8628 * nis/Makefile: Don't install rpcsvc/*.
8629 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8630 instead of <rpc/types.h>.
8631 (MAXHOSTNAMELEN): Define.
8633 2011-05-03 Andreas Schwab <schwab@redhat.com>
8635 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8637 2011-04-28 Maciej Babinski <mbabinski@google.com>
8640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8641 gethostbyname4_r when IPv6 results are possible.
8643 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8647 _PC_PIPE_BUF handling.
8649 2011-04-30 Bruno Haible <bruno@clisp.org>
8652 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8653 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8655 * inet/getnameinfo.c (getnameinfo): Likewise.
8657 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8659 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8660 to groups setting in database lookup.
8661 * nss/nsswitch.conf: Add initgroups entry.
8663 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8666 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8668 Patch by Eric Blake <eblake@redhat.com>.
8670 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8672 * sunrpc/Makefile (need-export-routines): Add svc_run.
8673 (routines): Remove svc_run.
8674 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8675 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8676 * sunrpc/svc_run.c (svc_run): Likewise.
8677 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8679 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8682 problem in reallocation in last patch.
8684 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8686 * sunrpc/Makefile: Move inclusion of Rules.
8688 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8690 * nss/nss_files/files-initgroups.c: New file.
8691 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8692 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8693 _nss_files_initgroups_dyn.
8695 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8697 * elf/elf.h (R_ARM_IRELATIVE): Define.
8699 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8701 * po/ru.po: Update from translation team.
8703 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8705 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8708 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8712 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8717 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8725 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8730 * stdlib/bug-getcontext.c: New file.
8731 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8733 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8735 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8736 instructions into .machine "z9-109".
8737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8740 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8742 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8743 between environment variables and auxiliary vector.
8745 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8747 * Makefile: Add rules to build linkobj/libc.so.
8748 * include/libc-symbols.h: Define libc_hidden_nolink.
8749 * include/rpc/auth.h: Mark functions which are to be hidden.
8750 * include/rpc/auth_des.h: Likewise.
8751 * include/rpc/auth_unix.h: Likewise.
8752 * include/rpc/clnt.h: Likewise.
8753 * include/rpc/des_crypt.h: Likewise.
8754 * include/rpc/key_prot.h: Likewise.
8755 * include/rpc/pmap_clnt.h: Likewise.
8756 * include/rpc/pmap_prot.h: Likewise.
8757 * include/rpc/pmap_rmt.h: Likewise.
8758 * include/rpc/rpc_msg.h: Likewise.
8759 * include/rpc/svc.h: Likewise.
8760 * include/rpc/svc_auth.h: Likewise.
8761 * include/rpc/xdr.h: Likewise.
8762 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8763 * nss/Makefile: Likewise.
8764 * sunrpc/Makefile: Don't install headers. Build library with normal
8765 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8766 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8767 for the compat linking library. Remove use of INTDEF/INTUSE.
8768 * sunrpc/auth_none.c: Likewise.
8769 * sunrpc/auth_unix.c: Likewise.
8770 * sunrpc/authdes_prot.c: Likewise.
8771 * sunrpc/authuxprot.c: Likewise.
8772 * sunrpc/clnt_gen.c: Likewise.
8773 * sunrpc/clnt_perr.c: Likewise.
8774 * sunrpc/clnt_raw.c: Likewise.
8775 * sunrpc/clnt_simp.c: Likewise.
8776 * sunrpc/clnt_tcp.c: Likewise.
8777 * sunrpc/clnt_udp.c: Likewise.
8778 * sunrpc/clnt_unix.c: Likewise.
8779 * sunrpc/des_crypt.c: Likewise.
8780 * sunrpc/des_soft.c: Likewise.
8781 * sunrpc/get_myaddr.c: Likewise.
8782 * sunrpc/key_call.c: Likewise.
8783 * sunrpc/key_prot.c: Likewise.
8784 * sunrpc/netname.c: Likewise.
8785 * sunrpc/pm_getmaps.c: Likewise.
8786 * sunrpc/pm_getport.c: Likewise.
8787 * sunrpc/pmap_clnt.c: Likewise.
8788 * sunrpc/pmap_prot.c: Likewise.
8789 * sunrpc/pmap_prot2.c: Likewise.
8790 * sunrpc/pmap_rmt.c: Likewise.
8791 * sunrpc/publickey.c: Likewise.
8792 * sunrpc/rpc_cmsg.c: Likewise.
8793 * sunrpc/rpc_common.c: Likewise.
8794 * sunrpc/rpc_dtable.c: Likewise.
8795 * sunrpc/rpc_prot.c: Likewise.
8796 * sunrpc/rpc_thread.c: Likewise.
8797 * sunrpc/rtime.c: Likewise.
8798 * sunrpc/svc.c: Likewise.
8799 * sunrpc/svc_auth.c: Likewise.
8800 * sunrpc/svc_authux.c: Likewise.
8801 * sunrpc/svc_raw.c: Likewise.
8802 * sunrpc/svc_run.c: Likewise.
8803 * sunrpc/svc_simple.c: Likewise.
8804 * sunrpc/svc_tcp.c: Likewise.
8805 * sunrpc/svc_udp.c: Likewise.
8806 * sunrpc/svc_unix.c: Likewise.
8807 * sunrpc/svcauth_des.c: Likewise.
8808 * sunrpc/xcrypt.c: Likewise.
8809 * sunrpc/xdr.c: Likewise.
8810 * sunrpc/xdr_array.c: Likewise.
8811 * sunrpc/xdr_float.c: Likewise.
8812 * sunrpc/xdr_intXX_t.c: Likewise.
8813 * sunrpc/xdr_mem.c: Likewise.
8814 * sunrpc/xdr_rec.c: Likewise.
8815 * sunrpc/xdr_ref.c: Likewise.
8816 * sunrpc/xdr_sizeof.c: Likewise.
8817 * sunrpc/xdr_stdio.c: Likewise.
8819 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8822 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8823 * sysdeps/ia64/dl-tls.h: Likewise.
8824 * sysdeps/powerpc/dl-tls.h: Likewise.
8825 * sysdeps/s390/dl-tls.h: Likewise.
8826 * sysdeps/sh/dl-tls.h: Likewise.
8827 * sysdeps/sparc/dl-tls.h: Likewise.
8828 * sysdeps/x86_64/dl-tls.h: Likewise.
8829 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8831 2011-03-14 Andreas Schwab <schwab@redhat.com>
8833 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8834 rpath element also skip the following colon.
8835 (expand_dynamic_string_token): Add is_path parameter and pass
8836 down to DL_DST_REQUIRED and _dl_dst_substitute.
8837 (decompose_rpath): Call expand_dynamic_string_token with
8838 non-zero is_path. Ignore empty rpaths.
8839 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8842 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8847 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8850 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8851 Patch by Filipe David Manana <fdmanana@apache.org>.
8853 2011-04-07 Andreas Schwab <schwab@redhat.com>
8855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8856 Maintain aligned stack.
8857 (CHECK_RSP): Remove unused macro.
8859 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8861 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8864 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8866 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8868 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8870 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8873 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8874 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8875 * sysdeps/x86_64/memmove.c: New file.
8876 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8877 (memcpy): Renamed to ...
8878 (__new_memcpy): This.
8879 (memcpy): Provide GLIBC_2_14 memcpy.
8880 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8881 (memcpy): Provide GLIBC_2_2_5 memcpy.
8883 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8886 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8888 2011-03-30 Andreas Schwab <schwab@redhat.com>
8890 * misc/syncfs.c: New file.
8891 * misc/Makefile (routines): Add syncfs.
8892 * posix/unistd.h: Declare syncfs.
8893 * sysdeps/unix/syscalls.list: Add syncfs.
8895 2011-04-01 Andreas Schwab <schwab@redhat.com>
8897 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8907 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8911 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8917 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8918 sync_file_range.c with -fexceptions.
8919 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8920 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8921 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8922 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8923 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8924 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8926 sync_file_range as cancellation point
8927 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8928 now a wrapper around __call_sync_file_range with cancellation handling.
8929 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8931 function name to __call_sync_file_range.
8932 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8933 Add call_sync_file_range.
8935 2011-04-01 Andreas Schwab <schwab@redhat.com>
8937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8940 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8942 * iconv/iconv.h: Fix typo in comment.
8943 * io/fcntl.h: Likewise.
8944 * libio/stdio.h: Likewise.
8945 * posix/spawn.h: Likewise.
8946 * posix/unistd.h: Likewise.
8947 * stdlib/stdlib.h: Likewise.
8948 * time/time.h: Likewise.
8949 * wcsmbs/wchar.h: Likewise.
8951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8952 open_by_handle): Add.
8953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8954 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8955 Augment a few comments.
8956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8961 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8964 * io/fcntl.h (AT_EMPTY_PATH): Define.
8966 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8968 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8969 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8970 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8972 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8973 * Versions.def: Add GLIBC_2.14.
8974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8977 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8983 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8986 * string/test-strncmp.c (do_page_test): New function.
8988 (test_main): Call check2.
8989 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8991 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8995 Handle cache information in CPU leaf 4.
8996 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8998 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9001 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9002 character representation.
9003 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9005 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9008 END(__isnan) to END(__isnanf) to match function entry point/label
9009 EALIGN(__isnanf,...).
9011 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9013 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9015 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9018 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9019 copy from the symbol referenced in the relocation to initialize the
9021 Patch by Piotr Bury <pbury@goahead.com>.
9022 * elf/Makefile: Add rules to build and tst-unique3.
9023 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9024 * elf/tst-unique3.cc: New file.
9025 * elf/tst-unique3.h: New file.
9026 * elf/tst-unique3lib.cc: New file.
9027 * elf/tst-unique3lib2.cc: New file.
9029 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9031 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9033 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9034 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9037 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9039 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9040 to-be-loaded object along a path to loader is ld.so.
9042 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9043 Ulrich Drepper <drepper@gmail.com>
9045 * sysdeps/x86_64/memset.S: After aligning destination, code
9046 branches to different locations depending on the value of
9047 misalignment, when multiarch is enabled. Fix this.
9049 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9051 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9052 Set _x86_64_preferred_memory_instruction for AMD processsors.
9053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9054 Set bit_Prefer_SSE_for_memop for AMD processors.
9056 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9058 * libio/fmemopen.c (fmemopen): Optimize a bit.
9060 2011-03-03 Andreas Schwab <schwab@redhat.com>
9062 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9064 2011-03-03 Roland McGrath <roland@redhat.com>
9066 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9068 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9070 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9071 __bzero_ultra1 instead of __memset_ultra1.
9073 2011-02-23 Andreas Schwab <schwab@redhat.com>
9074 Ulrich Drepper <drepper@gmail.com>
9077 * include/link.h (struct link_map): Add l_orig_initfini.
9078 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9079 returning unsuccessfully.
9080 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9081 close of a file loaded at startup, restore the original l_initfini
9083 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9084 list, store the pointer.
9085 * elf/Makefile ($(objpfx)noload-mem): New rule.
9086 (noload-ENV): Define.
9087 (tests): Add $(objpfx)noload-mem.
9088 * elf/noload.c: Include <memcheck.h>.
9089 (main): Call mtrace. Close all opened handles.
9091 2011-02-17 Andreas Schwab <schwab@redhat.com>
9094 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9095 dependencies are missing.
9097 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9099 Fix __if_freereq crash: Unlike the generic version which uses free,
9101 * sysdeps/mach/hurd/ifreq.h: New file.
9103 2011-01-27 Petr Baudis <pasky@suse.cz>
9104 Ulrich Drepper <drepper@gmail.com>
9107 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9109 * stdio-common/bug23.c: New file.
9110 * stdio-common/Makefile (tests): Add bug23.
9112 2010-09-28 Andreas Schwab <schwab@redhat.com>
9113 Ulrich Drepper <drepper@gmail.com>
9116 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9117 before performing relro protection. At old place add assertion
9118 to make sure nothing changed.
9120 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9121 Glauber de Oliveira Costa <glommer@gmail.com>
9123 * elf/elf.h: Add new ARM TLS relocs.
9125 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9128 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9130 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9132 * sysdeps/wordsize-64/tst-writev.c: New file.
9134 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9136 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9137 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9138 insns in _dl_start to prevent a TOC reference before relocs are
9141 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9144 * Makeconfig: Remove RANLIB definition.
9145 * Makerules: Don't use RANLIB.
9146 * aclocal.m4: Remove ranlib test.
9147 * configure.in: No need to check for ranlib.
9148 * elf/rtld-Rules: Don't use RANLIB.
9150 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9152 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9154 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9155 inclusion protection macro.
9157 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9158 SIGRTMIN and SIGRTMAX and print information in that case only when
9159 SIGRTMIN is defined.
9161 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9163 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9164 arginfo fn returning -1.
9166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9167 and thousands string is zero terminated.
9169 2011-02-03 Andreas Schwab <schwab@redhat.com>
9171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9172 sysdeps/unix/sysv/linux/bits/socket.h.
9174 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9176 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9177 (__CPU_COUNT): Remove old macros.
9178 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9179 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9180 (__CPU_ALLOC, __CPU_FREE): Add macros.
9181 (__sched_cpualloc, __sched_cpufree): Add declarations.
9183 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9185 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9186 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9187 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9188 (readdhstai): Return value of addhstaiX call.
9189 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9190 (addgrbyX): Return value returned by cache_addgr.
9191 (readdgrbyname): Return value returned by addgrbyX.
9192 (readdgrbygid): Likewise.
9193 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9194 (addpwbyX): Return value returned by cache_addpw.
9195 (readdpwbyname): Return value returned by addhstbyX.
9196 (readdpwbyuid): Likewise.
9197 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9198 (addservbyX): Return value returned by cache_addserv.
9199 (readdservbyname): Return value returned by addservbyX:
9200 (readdservbyport): Likewise.
9201 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9202 (addhstbyX): Return value returned by cache_addhst.
9203 (readdhstbyname): Return value returned by addhstbyX.
9204 (readdhstbyaddr): Likewise.
9205 (readdhstbynamev6): Likewise.
9206 (readdhstbyaddrv6): Likewise.
9207 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9208 (readdinitgroups): Return value returned by addinitgroupsX.
9209 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9210 (prune_cache): Keep track of timeout value of re-added entries.
9211 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9212 * nscd/nscd.h: Adjust prototypes of readd* functions.
9214 2011-02-04 Roland McGrath <roland@redhat.com>
9216 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9217 (nis_stats): Likewise.
9218 * nis/nis_modify.c (nis_modify): Likewise.
9219 * nis/nis_remove.c (nis_remove): Likewise.
9220 * nis/nis_add.c (nis_add): Likewise.
9222 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9224 * posix/fnmatch_loop.c: Add some consts.
9226 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9228 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9231 * config.make.in (config-cflags-novzeroupper): Define.
9232 * configure.in: Substitute libc_cv_cc_novzeroupper.
9233 * elf/Makefile (AVX-CFLAGS): Define.
9234 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9235 (CFLAGS-tst-auditmod4a.c): Likewise.
9236 (CFLAGS-tst-auditmod4b.c): Likewise.
9237 (CFLAGS-tst-auditmod6b.c): Likewise.
9238 (CFLAGS-tst-auditmod6c.c): Likewise.
9239 (CFLAGS-tst-auditmod7b.c): Likewise.
9240 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9242 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9244 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9245 function to the callback.
9246 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9248 2011-02-02 Andreas Schwab <schwab@redhat.com>
9250 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9253 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9256 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9258 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9260 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9263 * elf/Makefile: Add rules to build and run new test.
9264 * elf/tst-initorder.c: New file.
9265 * elf/tst-initorder.exp: New file.
9266 * elf/tst-initordera1.c: New file.
9267 * elf/tst-initordera2.c: New file.
9268 * elf/tst-initordera3.c: New file.
9269 * elf/tst-initordera4.c: New file.
9270 * elf/tst-initorderb1.c: New file.
9271 * elf/tst-initorderb2.c: New file.
9272 * elf/tst-order-a1.c: New file.
9273 * elf/tst-order-a2.c: New file.
9274 * elf/tst-order-a3.c: New file.
9275 * elf/tst-order-a4.c: New file.
9276 * elf/tst-order-b1.c: New file.
9277 * elf/tst-order-b2.c: New file.
9278 * elf/tst-order-main.c: New file.
9279 New test case by George Gensure <werkt0@gmail.com>.
9281 2010-10-01 Andreas Schwab <schwab@redhat.com>
9283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9284 decoding ACE if AI_CANONIDN.
9286 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9288 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9290 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9292 * version.h (RELEASE): Bump for 2.13 release.
9293 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9295 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9306 * posix/getconf.c: Update copyright year.
9307 * catgets/gencat.c: Likewise.
9308 * csu/version.c: Likewise.
9309 * debug/catchsegv.sh: Likewise.
9310 * debug/xtrace.sh: Likewise.
9311 * elf/ldconfig.c: Likewise.
9312 * elf/ldd.bash.in: Likewise.
9313 * elf/sprof.c (print_version): Likewise.
9314 * iconv/iconv_prog.c: Likewise.
9315 * iconv/iconvconfig.c: Likewise.
9316 * locale/programs/locale.c: Likewise.
9317 * locale/programs/localedef.c: Likewise.
9318 * malloc/memusage.sh: Likewise.
9319 * malloc/mtrace.pl: Likewise.
9320 * nscd/nscd.c (print_version): Likewise.
9321 * nss/getent.c: Likewise.
9323 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9324 PF_CAIF, and PF_ALG.
9325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9327 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9329 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9330 (modules-names): Use them.
9331 (ifunc-test-modules, ifunc-pie-tests): Define.
9332 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9333 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9334 (test-extras): Likewise.
9335 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9336 $(compile-command.c).
9337 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9338 (all-built-dso): Define.
9339 (check-textrel.out, check-execstack.out): Depend on it.
9341 * configure.in: Don't override --enable-multi-arch.
9343 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9346 * nscd/hstcache.c (tryagain): Define.
9347 (cache_addhst): Return tryagain not notfound for temporary errors.
9348 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9351 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9355 to make the syscall.
9356 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9359 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9360 and fall back to matching as normal character if the string ends before
9361 the matching ']' is found. This is what POSIX requires.
9362 * posix/testfnm.c: Adjust test result.
9363 * posix/globtest.sh: Adjust test result. Add new test.
9364 * posix/tst-fnmatch.input: Likewise.
9365 * posix/tst-fnmatch2.c: Add new test.
9367 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9369 * elf/Makefile (check-execstack): Revert last change. Depend on
9371 (check-execstack.h): New target.
9372 (generated): Add check-execstack.h.
9373 * elf/check-execstack.c: Include "check-execstack.h".
9374 (main): Revert last change.
9375 (handle_file): Return zero if GNU_STACK is absent and
9376 DEFAULT_STACK_PERMS doesn't include PF_X.
9378 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9380 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9381 in child fails because the descriptor is already closed.
9382 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9383 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9384 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9391 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9392 temporary buffer used to handle multi lookups locally.
9393 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9395 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9397 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9400 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9402 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9405 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9408 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9409 characters. When rounding increased number of integer digits recompute
9411 * stdio-common/tst-grouping.c: New file.
9412 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9414 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9416 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9417 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9419 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9421 * bits/select.h: Likewise.
9423 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9425 * po/ja.po: Update from translation team.
9427 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9430 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9431 implementation just like for lxstat, fxstatat, et al.
9433 2010-12-27 Jim Meyering <meyering@redhat.com>
9436 * posix/regexec.c (build_trtable): Return failure indication upon
9437 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9439 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9442 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9443 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9448 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9451 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9452 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9454 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9456 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9457 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9458 script has SORT_BY_INIT_PRIORITY.
9459 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9460 NO_CTORS_DTORS_SECTIONS is defined.
9461 * elf/soinit.c: Likewise.
9462 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9463 NO_CTORS_DTORS_SECTIONS is defined.
9464 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9465 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9466 * sysdeps/sh/init-first.c: Likewise.
9467 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9469 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9471 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9472 always use the slow path.
9474 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9476 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9477 similar rule which adds the sysdep directories to the header search in
9478 order to pick up the correct platform stackinfo.h.
9479 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9480 perform test if it is, otherwise return successfully without testing.
9481 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9482 DEFAULT_STACK_PERMS define in stackinfo.h.
9483 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9484 defined in stackinfo.h.
9485 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9486 DEFAULT_STACK_PERMS defined in stackinfo.h.
9487 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9488 * sysdeps/ia64/stackinfo.h: Likewise.
9489 * sysdeps/s390/stackinfo.h: Likewise.
9490 * sysdeps/sh/stackinfo.h: Likewise.
9491 * sysdeps/sparc/stackinfo.h: Likewise.
9492 * sysdeps/x86_64/stackinfo.h: Likewise.
9493 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9494 PF_X for powerpc64. Retain PF_X for powerpc32.
9496 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9498 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9501 GETDENTS_64BIT_ALIGNED.
9503 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9505 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9507 2010-12-10 Andreas Schwab <schwab@redhat.com>
9509 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9513 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9515 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9516 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9518 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9521 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9524 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9526 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9528 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9530 * po/it.po: Update from translation team.
9532 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9537 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9539 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9541 2010-11-24 Andreas Schwab <schwab@redhat.com>
9543 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9545 (gaih_getanswer_slice): Likewise.
9547 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9551 2010-05-31 Petr Baudis <pasky@suse.cz>
9554 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9555 silently even in the chroot mode.
9557 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9559 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9560 last patch a bit. Pretty printing
9562 2010-05-31 Petr Baudis <pasky@suse.cz>
9565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9566 initialization of skip_initgroups_dyn.
9568 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9573 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9575 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9577 2010-11-11 Andreas Schwab <schwab@redhat.com>
9579 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9580 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9581 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9582 ($(objpfx)tst-fnmatch-mem): New rule.
9583 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9584 * posix/tst-fnmatch.c (main): Call mtrace.
9586 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9589 Support Intel processor model 6 and model 0x2c.
9591 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9596 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9599 * string/test-strncasecmp.c (check_result): New function.
9600 (do_one_test): Use it.
9601 (check1): New function.
9602 (test_main): Use it.
9603 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9604 Support strcasecmp and strncasecmp.
9606 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9609 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9612 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9614 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9618 * sysdeps/x86_64/multiarch/bzero.S: New file.
9619 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9620 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9621 * sysdeps/x86_64/multiarch/memset.S: New file.
9622 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9624 Set bit_Prefer_SSE_for_memop for Intel processors.
9625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9627 (index_Prefer_SSE_for_memop): Define.
9628 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9630 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9635 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9639 (__x86_64_raw_data_cache_size_half): Likewise.
9640 (__x86_64_raw_shared_cache_size): Likewise.
9641 (__x86_64_raw_shared_cache_size_half): Likewise.
9643 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9644 (__x86_64_raw_data_cache_size_half): Likewise.
9645 (__x86_64_raw_shared_cache_size): Likewise.
9646 (__x86_64_raw_shared_cache_size_half): Likewise.
9647 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9648 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9649 and __x86_64_raw_shared_cache_size_half. Round
9650 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9651 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9652 to multiple of 256 bytes.
9654 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9658 of inacessible symlinks. Verify result of symlink before returning it.
9659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9660 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9662 2010-10-28 Erich Ritz <erichritz@gmail.com>
9664 * math/math.h (isinf): Fix typo in comment.
9666 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9668 * po/da.po: Update from translation team.
9670 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9672 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9673 is added to the list.
9675 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9676 Ulrich Drepper <drepper@gmail.com>
9678 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9679 the global list here. Move code to...
9680 (_dl_add_to_namespace_list): ...here. New function.
9681 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9682 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9683 * elf/dl-load.c (lose): Don't remove the element from the list.
9684 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9685 (_dl_map_object): Likewise.
9687 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9690 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9691 into all bytes of SSE register.
9692 Patch by Richard Li <richardpku@gmail.com>.
9694 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9697 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9700 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9702 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9703 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9710 2010-10-22 Andreas Schwab <schwab@redhat.com>
9712 * include/dlfcn.h (__RTLD_SECURE): Define.
9713 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9714 mode & __RTLD_SECURE instead.
9715 (open_path): Rename preloaded parameter to secure.
9716 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9717 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9718 * elf/dl-deps.c (openaux): Likewise.
9719 * elf/rtld.c (struct map_args): Remove is_preloaded.
9720 (map_doit): Don't use it.
9721 (dl_main): Likewise.
9722 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9723 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9725 2010-09-09 Andreas Schwab <schwab@redhat.com>
9727 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9728 (sysd-rules-targets): Remove duplicates.
9729 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9730 rtld-%.$o dependency.
9732 2010-10-18 Andreas Schwab <schwab@redhat.com>
9734 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9735 _dl_map_object do it.
9737 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9739 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9740 fast fma builtins, define the macros in the C99 standard.
9741 (FP_FAST_FMAF): Likewise.
9742 (FP_FAST_FMAL): Likewise.
9743 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9745 * bits/mathdef.h: Update copyright year.
9746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9748 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9750 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9751 builtins, define the macros in the C99 standard.
9752 (FP_FAST_FMAF): Likewise.
9753 (FP_FAST_FMAL): Likewise.
9754 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9756 (FP_FAST_FMAF): Likewise.
9758 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9761 * math/libm-test.inc (fma_test): Some new testcases.
9762 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9764 y and infinite z. Do multiplication by C already in long double.
9765 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9767 y and infinite z. Do bitwise or of inexact bit into u.d.
9768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9769 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9770 * sysdeps/i386/fpu/s_fma.S: Removed.
9771 * sysdeps/i386/fpu/s_fmal.S: Removed.
9773 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9776 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9778 computation is not scheduled after fetestexcept. Fix value
9779 of minimum denormal long double.
9781 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9784 * math/libm-test.inc (fma_test): Add some more tests.
9785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9788 2010-10-15 Andreas Schwab <schwab@redhat.com>
9790 * scripts/data/localplt-s390-linux-gnu.data: New file.
9791 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9793 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9796 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9797 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9799 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9801 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9803 if one of x and y is very large and the other is subnormal.
9804 * sysdeps/s390/fpu/s_fmaf.c: New file.
9805 * sysdeps/s390/fpu/s_fma.c: New file.
9806 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9807 * sysdeps/powerpc/fpu/s_fma.S: New file.
9808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9809 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9812 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9815 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9818 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9819 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9820 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9821 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9825 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9828 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9829 * posix/bug-regex31.input: Add test case.
9831 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9833 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9834 * posix/bug-regex31.input: New file.
9837 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9838 (parse_sub_exp): Fix last change, use postorder.
9840 * posix/bug-regex31.c: New file.
9841 * posix/Makefile: Add rules to build and run bug-regex31.
9843 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9846 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9849 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9850 to have entries in sys_siglist.
9853 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9856 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9859 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9860 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9861 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9862 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9864 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9865 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9866 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9867 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9868 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9869 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9872 * math/ftestexcept.c (fetestexcept): Likewise.
9873 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9874 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9875 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9876 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9877 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9878 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9881 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9884 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9887 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9889 * string/bug-strstr1.c: New file.
9890 * string/Makefile: Add rules to build and run bug-strstr1.
9892 2010-10-05 Eric Blake <eblake@redhat.com>
9895 * string/str-two-way.h (two_way_long_needle): Always clear memory
9896 when skipping input due to the shift table.
9898 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9901 * malloc/mcheck.c: Handle large requests.
9904 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9905 for strncmp and strncasecmp.
9906 * string/stratcliff.c: Add tests for strcmp and strncmp.
9907 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9909 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9911 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9914 2010-09-30 Andreas Jaeger <aj@suse.de>
9916 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9917 (CGROUP_SUPER_MAGIC): Define.
9918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9919 Handle btrfs and cgroup file systems.
9920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9923 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9925 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9926 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9928 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9931 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9932 trying to locate the ELF header.
9934 2010-09-27 Andreas Schwab <schwab@redhat.com>
9937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9938 Mask out sign-bit copies when constructing f_fsid.
9940 2010-09-24 Petr Baudis <pasky@suse.cz>
9942 * debug/stack_chk_fail_local.c: Add missing licence exception.
9943 * debug/warning-nop.c: Likewise.
9945 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9948 implementing getdents64 using getdents syscall, set d_type if
9949 __ASSUME_GETDENTS32_D_TYPE.
9951 2010-09-16 Andreas Schwab <schwab@redhat.com>
9953 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9954 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9956 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9959 * posix/unistd.h: Undo change of feature selection for ftruncate from
9962 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9964 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9967 2010-09-20 Andreas Schwab <schwab@redhat.com>
9969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9973 2010-09-14 Andreas Schwab <schwab@redhat.com>
9975 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9976 variables after CHECK_SP call.
9977 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9979 2010-09-13 Andreas Schwab <schwab@redhat.com>
9980 Ulrich Drepper <drepper@redhat.com>
9982 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9983 re-relocationg ld.so.
9984 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9985 _dl_init_paths call.
9986 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9989 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9991 * resolv/res_init.c (__res_vinit): Count the default server we added.
9993 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9994 Ulrich Drepper <drepper@redhat.com>
9997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9998 (____longjmp_chk): Use %ebx for saving value across system call.
10001 2010-09-06 Andreas Schwab <schwab@redhat.com>
10003 * manual/Makefile: Don't mix pattern rules with normal rules.
10005 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10007 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10009 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10010 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10011 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10012 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10016 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10019 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10020 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10022 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10024 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10025 * sysdeps/x86_64/addmul_1.S: Likewise.
10026 * sysdeps/x86_64/lshift.S: Likewise.
10027 * sysdeps/x86_64/mul_1.S: Likewise.
10028 * sysdeps/x86_64/rshift.S: Likewise.
10029 * sysdeps/x86_64/sub_n.S: Likewise.
10030 * sysdeps/x86_64/submul_1.S: Likewise.
10032 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10034 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10035 Define __sched_param instead of SCHED_* and sched_param when
10036 <bits/sched.h> is included with __need_schedparam defined.
10037 * bits/sched.h [__need_schedparam]
10038 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10039 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10040 (__defined_schedparam): Define to 1.
10041 (__sched_param): New structure, identical to sched_param.
10042 (__need_schedparam): Undefine.
10044 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10047 (epoll_create1): Declare.
10049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10051 2010-08-31 Andreas Schwab <schwab@redhat.com>
10054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10055 shifting retval into place.
10057 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10059 * nis/rpcsvc/nis.h: Update copyright notice.
10060 * nis/rpcsvc/nis.x: Likewise.
10061 * nis/rpcsvc/nis_callback.h: Likewise.
10062 * nis/rpcsvc/nis_callback.x: Likewise.
10063 * nis/rpcsvc/nis_object.x: Likewise.
10064 * nis/rpcsvc/nis_tags.h: Likewise.
10065 * nis/rpcsvc/yp.h: Likewise.
10066 * nis/rpcsvc/yp.x: Likewise.
10067 * nis/rpcsvc/ypupd.h: Likewise.
10068 * nis/yp_xdr.c: Likewise.
10069 * nis/ypupdate_xdr.c: Likewise.
10071 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10072 mainly the body of pmap_getport. Add parameters to specify timeouts.
10073 (pmap_getport): Use __libc_rpc_getport.
10074 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10075 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10076 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10078 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10083 2010-08-27 Roland McGrath <roland@redhat.com>
10085 * sysdeps/i386/i686/multiarch/Makefile
10086 (CFLAGS-varshift.c): New variable.
10088 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10090 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10091 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10095 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10097 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10099 * sysdeps/x86_64/strlen.S: Unroll the loop.
10100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10101 strlen-sse2 strlen-sse2-bsf.
10102 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10103 __strlen_no_bsf if bit_Slow_BSF is set.
10104 (__strlen_sse42): Removed.
10105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10106 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10108 2010-08-25 Roland McGrath <roland@redhat.com>
10110 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10111 * sysdeps/x86_64/multiarch/varshift.c: New file.
10112 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10113 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10114 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10115 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10117 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10120 strlen-sse2 strlen-sse2-bsf.
10121 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10122 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10123 (__strlen_sse2): Removed.
10124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10127 bit_Slow_BSF for Atom.
10128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10129 (index_Slow_BSF): Define.
10130 (HAS_SLOW_BSF): Define.
10132 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10135 * resolv/res_init.c (__res_vinit): When no server address at all
10136 is given default to loopback.
10138 2010-08-24 Roland McGrath <roland@redhat.com>
10140 * configure.in: Remove config-name.h generation.
10141 * configure: Regenerated.
10142 * config-name.in: File removed.
10143 * scripts/config-uname.sh: New file.
10144 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10145 ($(objdir)config-name.h): New target.
10147 * sunrpc/rpc_parse.h: Avoid nested comment.
10149 2010-08-24 Richard Henderson <rth@redhat.com>
10150 Ulrich Drepper <drepper@redhat.com>
10151 H.J. Lu <hongjiu.lu@intel.com>
10153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10155 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10156 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10157 _mm_alignr_epi8 with _mm_loadu_si128.
10158 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10159 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10160 (__m128i_shift_right): Removed.
10161 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10162 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10163 * sysdeps/x86_64/multiarch/varshift.h: New file.
10164 * sysdeps/x86_64/multiarch/varshift.S: New file.
10166 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10168 * configure.in: Move assembler checks to before sysdep dir checking.
10170 2010-08-20 Petr Baudis <pasky@suse.cz>
10172 * LICENSES: Sync the sunrpc license.
10174 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10176 * sunrpc/auth_des.c: Update copyright notice once again.
10177 * sunrpc/auth_none.c: Likewise.
10178 * sunrpc/auth_unix.c: Likewise.
10179 * sunrpc/authdes_prot.c: Likewise.
10180 * sunrpc/authuxprot.c: Likewise.
10181 * sunrpc/bindrsvprt.c: Likewise.
10182 * sunrpc/clnt_gen.c: Likewise.
10183 * sunrpc/clnt_perr.c: Likewise.
10184 * sunrpc/clnt_raw.c: Likewise.
10185 * sunrpc/clnt_simp.c: Likewise.
10186 * sunrpc/clnt_tcp.c: Likewise.
10187 * sunrpc/clnt_udp.c: Likewise.
10188 * sunrpc/clnt_unix.c: Likewise.
10189 * sunrpc/des_crypt.c: Likewise.
10190 * sunrpc/des_soft.c: Likewise.
10191 * sunrpc/get_myaddr.c: Likewise.
10192 * sunrpc/getrpcport.c: Likewise.
10193 * sunrpc/key_call.c: Likewise.
10194 * sunrpc/key_prot.c: Likewise.
10195 * sunrpc/openchild.c: Likewise.
10196 * sunrpc/pm_getmaps.c: Likewise.
10197 * sunrpc/pm_getport.c: Likewise.
10198 * sunrpc/pmap_clnt.c: Likewise.
10199 * sunrpc/pmap_prot.c: Likewise.
10200 * sunrpc/pmap_prot2.c: Likewise.
10201 * sunrpc/pmap_rmt.c: Likewise.
10202 * sunrpc/rpc/auth.h: Likewise.
10203 * sunrpc/rpc/auth_unix.h: Likewise.
10204 * sunrpc/rpc/clnt.h: Likewise.
10205 * sunrpc/rpc/des_crypt.h: Likewise.
10206 * sunrpc/rpc/key_prot.h: Likewise.
10207 * sunrpc/rpc/netdb.h: Likewise.
10208 * sunrpc/rpc/pmap_clnt.h: Likewise.
10209 * sunrpc/rpc/pmap_prot.h: Likewise.
10210 * sunrpc/rpc/pmap_rmt.h: Likewise.
10211 * sunrpc/rpc/rpc.h: Likewise.
10212 * sunrpc/rpc/rpc_des.h: Likewise.
10213 * sunrpc/rpc/rpc_msg.h: Likewise.
10214 * sunrpc/rpc/svc.h: Likewise.
10215 * sunrpc/rpc/svc_auth.h: Likewise.
10216 * sunrpc/rpc/types.h: Likewise.
10217 * sunrpc/rpc/xdr.h: Likewise.
10218 * sunrpc/rpc_clntout.c: Likewise.
10219 * sunrpc/rpc_cmsg.c: Likewise.
10220 * sunrpc/rpc_common.c: Likewise.
10221 * sunrpc/rpc_cout.c: Likewise.
10222 * sunrpc/rpc_dtable.c: Likewise.
10223 * sunrpc/rpc_hout.c: Likewise.
10224 * sunrpc/rpc_main.c: Likewise.
10225 * sunrpc/rpc_parse.c: Likewise.
10226 * sunrpc/rpc_parse.h: Likewise.
10227 * sunrpc/rpc_prot.c: Likewise.
10228 * sunrpc/rpc_sample.c: Likewise.
10229 * sunrpc/rpc_scan.c: Likewise.
10230 * sunrpc/rpc_scan.h: Likewise.
10231 * sunrpc/rpc_svcout.c: Likewise.
10232 * sunrpc/rpc_tblout.c: Likewise.
10233 * sunrpc/rpc_util.c: Likewise.
10234 * sunrpc/rpc_util.h: Likewise.
10235 * sunrpc/rpcinfo.c: Likewise.
10236 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10237 * sunrpc/rpcsvc/key_prot.x: Likewise.
10238 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10239 * sunrpc/rpcsvc/mount.x: Likewise.
10240 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10241 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10242 * sunrpc/rpcsvc/rex.x: Likewise.
10243 * sunrpc/rpcsvc/rstat.x: Likewise.
10244 * sunrpc/rpcsvc/rusers.x: Likewise.
10245 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10246 * sunrpc/rpcsvc/spray.x: Likewise.
10247 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10248 * sunrpc/rtime.c: Likewise.
10249 * sunrpc/svc.c: Likewise.
10250 * sunrpc/svc_auth.c: Likewise.
10251 * sunrpc/svc_authux.c: Likewise.
10252 * sunrpc/svc_raw.c: Likewise.
10253 * sunrpc/svc_run.c: Likewise.
10254 * sunrpc/svc_simple.c: Likewise.
10255 * sunrpc/svc_tcp.c: Likewise.
10256 * sunrpc/svc_udp.c: Likewise.
10257 * sunrpc/svc_unix.c: Likewise.
10258 * sunrpc/svcauth_des.c: Likewise.
10259 * sunrpc/xcrypt.c: Likewise.
10260 * sunrpc/xdr.c: Likewise.
10261 * sunrpc/xdr_array.c: Likewise.
10262 * sunrpc/xdr_float.c: Likewise.
10263 * sunrpc/xdr_mem.c: Likewise.
10264 * sunrpc/xdr_rec.c: Likewise.
10265 * sunrpc/xdr_ref.c: Likewise.
10266 * sunrpc/xdr_sizeof.c: Likewise.
10267 * sunrpc/xdr_stdio.c: Likewise.
10269 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10272 2010-08-19 Andreas Schwab <schwab@redhat.com>
10274 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10276 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10278 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10281 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10283 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10284 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10285 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10288 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10289 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10290 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10291 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10293 2010-07-26 Anton Blanchard <anton@samba.org>
10295 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10296 * malloc/arena.c (heap_trim): Likewise.
10298 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10300 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10303 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10305 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10307 * sysdeps/i386/elf/Makefile: New file.
10309 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10311 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10312 from fanotify_init.
10313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10316 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10318 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10320 * sysdeps/multiarch/strcmp.S: Likewise.
10322 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10324 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10325 strncase_l-nonascii.
10326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10327 Add strncase_l-ssse3.
10328 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10329 * sysdeps/x86_64/strcmp.S: Likewise.
10330 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10331 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10332 * sysdeps/x86_64/strncase.S: New file.
10333 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10334 * sysdeps/x86_64/strncase_l.S: New file.
10335 * string/Makefile (strop-tests): Add strncasecmp.
10336 * string/test-strncasecmp.c: New file.
10338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10341 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10344 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10346 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10348 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10350 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10354 2010-05-01 Alan Modra <amodra@gmail.com>
10356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10357 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10358 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10359 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10360 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10361 tidying. Don't tail-call __sigjmp_save for static lib.
10362 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10364 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10365 (CALL_MCOUNT): Add eh info, and nop after bl.
10366 (TAIL_CALL_SYSCALL_ERROR): New macro.
10367 (PSEUDO_RET): Use it.
10368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10369 Correct save location of integer regs and cr.
10370 (_dl_profile_resolve): Correct cr save location. Delete nops
10371 after bl when SHARED. Reduce cfi size a little by better
10372 placement of cfi directives.
10373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10374 make a stack frame. Instead use parm save area as a temp.
10375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10376 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10378 Don't make a stack frame for parent, use parm save area.
10379 Increase child stack frame to 112 bytes. Don't save unused reg,
10380 and adjust reg usage. Set up cfi on error recovery and
10381 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10383 (__makecontext): Add dummy nop after jump to exit.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10385 Use correct parm save area and cr save, reduce stack frame.
10386 Correct cfi for possible PSEUDO_RET frame setup.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10388 Branch to local label emitted by PSEUDO_RET rather than
10391 2010-08-12 Andreas Schwab <schwab@redhat.com>
10394 * locale/programs/locale.c (print_assignment): New function.
10395 (show_locale_vars): Use it.
10397 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10399 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10401 (struct statfs64): Likewise.
10402 (_STATFS_F_FLAGS): Define.
10403 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10405 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10406 (ST_VALID): Define locally.
10407 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10408 __statvfs_getflags, use the provided value.
10409 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10410 __ASSUME_STATFS_F_FLAGS.
10412 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10414 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10415 Add sys/fanotify.h.
10416 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10417 fanotify_mask for GLIBC_2.13.
10418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10419 fanotify_init and fanotify_mark.
10420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10421 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10425 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10426 prlimit64 for GLIBC_2.13.
10427 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10437 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10440 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10441 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10443 * nss/Makefile: Add rules to build and run tst-nss-test1.
10444 * shlib-versions: Add entry for libnss_test1.
10445 * nss/nss_test1.c: New file.
10446 * nss/tst-nss-test1.c: New file.
10448 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10449 (__nss_configure_lookup): Set appropriate entry in
10450 __nss_configure_lookup to true.
10451 * nss/nsswitch.h: Define enum with indeces of databases in
10452 databases and __nss_database_custom arrays. Declare
10453 __nss_database_custom.
10454 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10455 to avoid using nscd when custom rules are installed.
10456 * nss/getXXbyYY_r.c: Likewise.
10457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10459 * nss/nss_files/files-parse.c: Whitespace fixes.
10461 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10464 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10465 * posix/fnmatch_loop.c: Likewise.
10467 2010-07-17 Andi Kleen <ak@linux.intel.com>
10469 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10470 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10471 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10472 * Versions.def [GLIBC_2.13]: Add.
10474 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10477 Also fail if tpwd after pwuid call is NULL.
10479 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10481 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10482 when converting to ms.
10484 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10486 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10487 EOPNOTSUPP errors with ENOTTY.
10488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10489 EOPNOTSUPP errors with ENOTTY.
10491 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10494 Add strcasecmp_l-ssse3.
10495 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10497 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10501 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10503 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10505 * string/Makefile (strop-tests): Add strcasecmp.
10506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10507 strcasecmp_l-nonascii.
10508 (gen-as-const-headers): Add locale-defines.sym.
10509 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10510 * sysdeps/x86_64/strcasecmp.S: New file.
10511 * sysdeps/x86_64/strcasecmp_l.S: New file.
10512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10513 * sysdeps/x86_64/locale-defines.sym: New file.
10514 * string/test-strcasecmp.c: New file.
10516 * string/test-strcasestr.c: Test both ends of the range of characters.
10517 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10519 2010-07-29 Roland McGrath <roland@redhat.com>
10522 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10524 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10526 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10529 2010-07-27 Andreas Schwab <schwab@redhat.com>
10531 * manual/memory.texi (Malloc Tunable Parameters): Document
10534 2010-07-26 Roland McGrath <roland@redhat.com>
10537 * configure.in (-fgnu89-inline check): Set and substitute
10538 gnu89_inline, not libc_cv_gnu89_inline.
10539 * configure: Regenerated.
10540 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10542 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10544 * string/test-strnlen.c: New file.
10545 * string/Makefile (strop-tests): Add strnlen.
10546 * string/tester.c (test_strnlen): Add a few more test cases.
10547 * string/tst-strlen.c: Better error reporting.
10549 * sysdeps/x86_64/strnlen.S: New file.
10551 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10554 lower-latency instructions.
10556 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10558 * string/test-strcasestr.c: New file.
10559 * string/test-strstr.c: New file.
10560 * string/Makefile (strop-tests): Add strstr and strcasestr.
10561 * string/str-two-way.h: Don't undefine MAX.
10562 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10564 2010-07-21 Andreas Schwab <schwab@redhat.com>
10566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10567 strcasestr-nonascii.
10568 (CFLAGS-strcasestr-nonascii.c): Define.
10569 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10571 Remove unused attribute.
10573 2010-07-20 Roland McGrath <roland@redhat.com>
10575 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10576 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10577 ld.so.cache was broken. With it, there is no way to disable dsocaps
10578 like LD_HWCAP_MASK can disable hwcaps.
10580 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10582 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10584 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10586 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10587 call in strcasestr.
10588 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10589 __strcasestr_sse42_nonascii.
10590 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10591 strcasestr-nonascii.c.
10592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10594 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10601 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10606 2010-07-06 Andreas Schwab <schwab@redhat.com>
10609 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10612 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10615 _PC_PIPE_BUF using F_GETPIPE_SZ.
10617 2010-07-05 Roland McGrath <roland@redhat.com>
10619 * manual/arith.texi (Rounding Functions): Fix rint description
10620 implicit in round description.
10622 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10624 * elf/Makefile: Fix linking for a few tests to make recent linker
10627 2010-06-30 Andreas Schwab <schwab@redhat.com>
10629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10630 $(common-objpfx)libc_nonshared.a.
10632 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10634 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10635 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10636 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10638 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10641 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10656 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10657 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10658 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10659 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10660 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10661 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10662 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10663 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10664 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10665 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10666 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10667 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10683 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10685 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10686 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10687 * string/memmove.c (memmove): Renamed to ...
10688 (MEMMOVE): ...this. Default to memmove.
10689 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10690 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10693 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10694 mempcpy-ssse3-back memmove-ssse3-back.
10695 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10699 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10700 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10701 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10702 * sysdeps/x86_64/multiarch/memmove.c: New file.
10703 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10704 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10705 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10706 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10710 (index_Fast_Copy_Backward): Define.
10711 (HAS_ARCH_FEATURE): Define.
10712 (HAS_FAST_REP_STRING): Define.
10713 (HAS_FAST_COPY_BACKWARD): Define.
10715 2010-06-21 Andreas Schwab <schwab@redhat.com>
10717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10718 Restore proper fallback handling.
10720 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10723 * posix/group_member.c (__group_member): Correct checking loop.
10725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10726 OOM in getpwuid_r correctly. Return error number when the caller
10727 should return, otherwise -1.
10728 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10729 call returning > 0 value.
10730 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10732 2010-06-07 Andreas Schwab <schwab@redhat.com>
10734 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10735 libc_nonshared.a from targets in modules-names.
10737 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10739 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10742 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10749 2010-06-02 Andreas Schwab <schwab@redhat.com>
10751 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10753 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10764 2010-06-14 Roland McGrath <roland@redhat.com>
10766 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10768 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10770 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10771 __REDIRECT followed by __THROW.
10772 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10773 * posix/getopt.h (getopt): Likewise.
10775 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10777 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10778 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10779 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10781 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10782 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10784 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10788 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10792 Properly check family and model.
10794 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10798 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10800 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10802 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10804 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10807 2010-05-19 Andreas Schwab <schwab@redhat.com>
10809 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10812 2010-05-21 Andreas Schwab <schwab@redhat.com>
10814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10815 and internal_recvmmsg.
10816 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10819 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10821 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10825 2010-05-20 Andreas Schwab <schwab@redhat.com>
10827 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10829 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10831 POWER7 optimizations.
10832 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10833 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10835 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10837 * version.h: Update for 2.13 development version.
10839 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10842 exceptions. Return 0.
10844 2010-05-07 Roland McGrath <roland@redhat.com>
10846 * elf/ldconfig.c (main): Add a const.
10848 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10850 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10851 (args_options): Add no-idn option.
10852 (ahosts_keys_int): Add idn_flags to ai_flags.
10853 (parse_option): Handle 'i' option to clear idn_flags.
10855 * malloc/malloc.c (_int_free): Possible race in the most recently
10856 added check. Only act on the data if no current modification
10859 See ChangeLog.17 for earlier changes.