1 2012-03-28 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17 (__kernel_standard_l): New function.
18 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20 * math/w_acosl.c (__acosl): Likewise.
21 * math/w_asinl.c (__asinl): Likewise.
22 * math/w_atan2l.c (__atan2l): Likewise.
23 * math/w_atanhl.c (__atanhl): Likewise.
24 * math/w_coshl.c (__coshl): Likewise.
25 * math/w_exp10l.c (__exp10l): Likewise.
26 * math/w_exp2l.c (__exp2l): Likewise.
27 * math/w_fmodl.c (__fmodl): Likewise.
28 * math/w_hypotl.c (__hypotl): Likewise.
29 * math/w_j0l.c (__j0l, __y0l): Likewise.
30 * math/w_j1l.c (__j1l, __y1l): Likewise.
31 * math/w_jnl.c (__jnl, __ynl): Likewise.
32 * math/w_lgammal.c (__lgammal): Likewise.
33 * math/w_log10l.c (__log10l): Likewise.
34 * math/w_log2l.c (__log2l): Likewise.
35 * math/w_logl.c (__logl): Likewise.
36 * math/w_powl.c (__powl): Likewise.
37 * math/w_remainderl.c (__remainderl): Likewise.
38 * math/w_scalbl.c (sysv_scalbl): Likewise.
39 * math/w_sinhl.c (__sinhl): Likewise.
40 * math/w_sqrtl.c (__sqrtl): Likewise.
41 * math/w_tgammal.c (__tgammal): Likewise.
42 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44 * math/libm-test.inc (acos_test): Add more tests.
45 (acosh_test): Likewise.
46 (asin_test): Likewise.
47 (atanh_test): Likewise.
49 (exp10_test): Likewise.
50 (exp2_test): Likewise.
51 (expm1_test): Likewise.
52 (lgamma_test): Likewise.
54 (log10_test): Likewise.
55 (log1p_test): Likewise.
56 (log2_test): Likewise.
57 (pow_test): Do not allow some spurious overflow exceptions.
58 (sqrt_test): Add more tests.
59 (tgamma_test): Likewise.
64 2012-03-27 Anton Blanchard <anton@samba.org>
66 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72 2012-03-27 David S. Miller <davem@davemloft.net>
74 * conform/Makefile: Run run-conformtest.sh using $(BASH).
76 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79 2012-03-27 Andreas Jaeger <aj@suse.de>
81 * sysdeps/x86_64/elf/configure.in: Moved to ...
82 * sysdeps/x86_64/configure.in: ... here.
83 * sysdeps/x86_64/elf/start.S: Moved to ...
84 * sysdeps/x86_64/start.S: ... here.
85 * sysdeps/x86_64/elf/configure: Delete.
87 * sysdeps/x86_64/configure.in: Merge contents from
88 sysdeps/i386/configure.in (without i686 check).
90 * sysdeps/i386/elf/Versions: Merge into ...
91 * sysdeps/i386/Versions: ... this.
92 * sysdeps/i386/elf/Versions: Delete file.
93 * sysdeps/i386/elf/start.S: Moved to ...
94 * sysdeps/i386/start.S: ...here.
95 * sysdeps/i386/elf/configure.in: Merge into...
96 * sysdeps/i386/configure.in: ...here.
97 * sysdeps/i386/elf/configure.in: Delete file.
98 * sysdeps/i386/elf/configure: Delete file.
100 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
101 * debug/backtracesyms.c: ... here.
102 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
103 * debug/backtracesymsfd.c: ... here.
104 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
105 * sysdeps/generic/ifunc-sel.h: ... here.
107 * sysdeps/unix/i386/start.c: Delete file.
108 * sysdeps/unix/sparc/start.c: Delete file.
109 * sysdeps/unix/start.c: Delete file.
111 * sysdeps/sh/elf/configure.in: Moved to ...
112 * sysdeps/sh/configure.in: ... here.
113 * sysdeps/sh/elf/start.S: Moved to ...
114 * sysdeps/sh/start.S: ... here.
115 * sysdeps/sh/elf/configure: Delete file.
117 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
118 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
119 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
120 * sysdeps/powerpc/powerpc64/entry.h: ... here.
121 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
122 * sysdeps/powerpc/powerpc64/start.S: here.
123 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
124 * sysdeps/powerpc/powerpc64/Makefile: ... this.
125 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
126 * sysdeps/powerpc/powerpc64/configure.in: ... this.
127 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
129 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
130 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
131 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
132 * sysdeps/powerpc/powerpc32/start.S: ... here.
133 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
134 * sysdeps/powerpc/powerpc32/configure.in: ... this.
135 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
137 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
138 * sysdeps/powerpc/ifunc-sel.h: ... here.
139 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
140 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
142 * sysdeps/sparc/elf/configure.in: Moved to ...
143 * sysdeps/sparc/configure.in: ... here.
144 * sysdeps/sparc/elf/configure: Delete file.
145 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
146 * sysdeps/sparc/sparc32/start.S: ... here.
147 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
148 * sysdeps/sparc/sparc64/start.S: ... here.
149 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
150 * sysdeps/sparc/sparc32/Makefile: ... this.
151 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
152 * sysdeps/sparc/sparc64/Makefile: ... this.
154 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
155 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
156 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
157 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
158 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
159 * sysdeps/s390/s390-32/setjmp.S: ... here.
160 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
161 * sysdeps/s390/s390-32/configure.in: ... here.
162 * sysdeps/s390/s390-32/elf/configure: Delete file.
163 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
164 * sysdeps/s390/s390-32/start.S: ... here.
166 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
167 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
168 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
169 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
170 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
171 * sysdeps/s390/s390-64/setjmp.S: ... here.
172 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
173 * sysdeps/s390/s390-64/configure.in: ... here
174 * sysdeps/s390/s390-64/elf/configure: Delete file.
175 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
176 * sysdeps/s390/s390-64/start.S: ... here.
177 * sysdeps/s390/s390-64/elf/configure: Delete.
179 * configure.in: Remove support for elf directories in sysdeps.
181 * configure: Regenerated.
182 * sysdeps/i386/configure: Regenerated.
183 * sysdeps/powerpc/powerpc32/configure: Regenerated.
184 * sysdeps/powerpc/powerpc64/configure: Regenerated.
185 * sysdeps/s390/s390-32/configure: Regenerated.
186 * sysdeps/s390/s390-64/configure: Regenerated.
187 * sysdeps/sh/configure: Regenerated.
188 * sysdeps/sparc/configure: Regenerated.
189 * sysdeps/x86_64/configure: Regenerated.
191 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
196 denormal result into account.
198 2012-03-25 Roland McGrath <roland@hack.frob.com>
200 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
201 Reported by Allan McRae <allan@archlinux.org>.
203 2012-03-23 Jeff Law <law@redhat.com>
205 * nss/getnssent.c (__nss_getent): Fix typo.
207 2012-03-23 David S. Miller <davem@davemloft.net>
209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
211 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
213 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
214 to pad to uint64_t for each field.
215 (dl_tls_index): Replace unsigned long with uint64_t.
217 2012-03-23 Daniel Jacobowitz <dmj@google.com>
218 Paul Pluzhnikov <ppluzhnikov@google.com>
221 * grp/Makefile (otherlibs): Don't set it.
222 * inet/Makefile (otherlibs): Likewise.
223 * login/Makefile (otherlibs): Likewise.
224 * nscd/Makefile (otherlibs): Likewise.
225 * posix/Makefile (otherlibs): Likewise.
226 * pwd/Makefile (otherlibs): Likewise.
227 * rt/Makefile (otherlibs): Likewise.
228 * sunrpc/Makefile (otherlibs): Likewise.
229 * nss/Makefile (otherlibs): Likewise.
230 Add libnss_files to routines and static-only-routines.
231 ($(objpfx)getent): Remove rule.
232 * resolv/Makefile: Add libnss_dns and libresolv to routines and
233 static-only-routines.
235 2012-03-22 Joseph Myers <joseph@codesourcery.com>
238 * math/s_cexp.c: Include <float.h>.
239 (__cexp): Handle exp result overflowing not necessarily
240 overflowing both real and imaginary parts of result.
241 * math/s_cexpf.c: Likewise.
242 * math/s_cexpl.c: Likewise.
243 * math/libm-test.inc (cexp_test): Add more tests.
244 * sysdeps/i386/fpu/libm-test-ulps: Update.
245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
247 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
249 * include/link.h (ELFW): New macro.
250 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
251 Replace ELF64_R_TYPE with ELFW(R_TYPE).
253 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
255 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
258 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
260 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
262 (struct La_x32_retval): Likewise.
264 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
266 * sysdeps/x86_64/preconfigure.in: New file.
267 * sysdeps/x86_64/preconfigure: New generated file.
269 2012-03-22 Joseph Myers <joseph@codesourcery.com>
272 * math/e_exp2l.c: Include <float.h>.
273 (__ieee754_exp2l): Handle overflow and underflow cases
274 separately. Only pass fractional part of argument to
276 * math/libm-test.inc (exp2_test): Add more tests.
278 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
279 negating x to take absolute value.
280 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
285 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
286 computing low part if x was negated.
287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
289 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
291 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
293 (pltexit): Cast int_retval to ptrdiff_t.
294 * elf/tst-auditmod3b.c: Likewise.
295 * elf/tst-auditmod4b.c: Likewise.
296 * elf/tst-auditmod5b.c: Likewise.
297 * elf/tst-auditmod6b.c: Likewise.
298 * elf/tst-auditmod6c.c: Likewise.
299 * elf/tst-auditmod7b.c: Likewise.
301 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
304 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
306 (La_x32_regs): New macro.
307 (La_x32_retval): Likewise.
308 (la_x32_gnu_pltenter): New function prototype.
309 (la_x32_gnu_pltexit): Likewise.
311 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
318 * configure.in (libc_cv_cc_nofma): Check for option to disable
319 generation of FMA instructions.
320 * configure: Regenerate.
321 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
322 * sysdeps/ieee754/dbl-64/Makefile: New file.
323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
324 Remove brandred-fma4.
325 (CFLAGS-brandred-fma4.c): Remove.
326 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
332 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
334 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
335 LLONG_MAX != LONG_MAX.
336 (_itoa_word): Use _ITOA_WORD_TYPE on value.
337 (_fitoa_word): Likewise.
338 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
339 LLONG_MAX != LONG_MAX.
340 * stdio-common/_itowa.h: Include <_itoa.h>.
341 (_itowa_word): Use _ITOA_WORD_TYPE on value.
342 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
343 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
345 (_ITOA_WORD_TYPE): Likewise.
346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
347 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
349 2012-03-21 David S. Miller <davem@davemloft.net>
351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
353 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
355 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
356 of x86_64 when setting libc_cv_slibdir, libdir and
358 * sysdeps/unix/sysv/linux/configure: Regenerated.
360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
362 * manual/lang.texi (Old Varargs): Remove section.
363 (How Variadic): Update menu.
364 (va_start): Do not mention varargs.h.
366 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
367 Joseph Myers <joseph@codesourcery.com>
369 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
371 * configure: Regenerated.
373 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
375 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
376 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
379 2012-03-21 Joseph Myers <joseph@codesourcery.com>
382 * Makefile (files-for-dist): Remove NOTES.
383 (NOTES): Remove rule.
384 * README: Don't refer to NOTES.
385 * manual/creature.texi: Don't include macros.texi.
386 * manual/intro.texi (creature.texi): Remove comment referring to
389 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
390 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
391 * configure: Regenerated.
392 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
394 (libc_cv_as_i686): Likewise.
395 (libc_cv_cc_avx): Likewise.
396 (libc_cv_cc_sse2avx): Likewise.
397 (libc_cv_cc_fma4): Likewise.
398 (libc_cv_cc_novzeroupper): Likewise.
399 * sysdeps/i386/configure: Regenerated.
402 * sysdeps/i386/fpu/s_cexp.S: Remove.
403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
404 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
405 * math/libm-test.inc (cexp_test): Add more tests.
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
409 2012-03-21 Allan McRae <allan@archlinux.org>
411 * timezone/Makefile: Do not install iso3166.tab and zone.tab
413 2012-03-21 Joseph Myers <joseph@codesourcery.com>
416 * math/w_exp2.c: Do not include <float.h>.
417 (o_threshold, u_threshold): Remove.
418 (__exp2): Calculate result before checking finiteness and calling
420 * math/w_exp2f.c: Likewise.
421 * math/w_exp2l.c: Likewise.
422 * math/libm-test.inc (exp2_test): Require overflow exception for
426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
427 range of signed 64-bit integers before using fistpll. Remove
428 checks for whether integers fit in mantissa bits.
429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
430 the range of signed 32-bit integers before using fistpl. Remove
431 checks for whether integers fit in mantissa bits.
432 * sysdeps/i386/fpu/e_powl.S (p64): New object.
433 (__ieee754_powl): Test for y outside the range of signed 64-bit
434 integers before using fistpll. Reduce 64-bit values to 63-bit
436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
437 divide-by-zero is raised for zero to large negative powers.
438 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
439 (__ieee754_powl): Test for y outside the range of signed 64-bit
440 integers before using fistpll. Reduce 64-bit values to 63-bit
442 * math/libm-test.inc (pow_test): Add more tests.
444 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
446 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
447 <stdio-common/_itoa.h>.
448 * debug/segfault.c: Likewise.
449 * elf/dl-cache.c: Likewise.
450 * elf/dl-minimal.c: Likewise.
451 * elf/dl-misc.c: Likewise.
452 * elf/dl-sysdep.c: Likewise.
453 * elf/dl-version.c: Likewise.
454 * elf/rtld.c: Likewise.
455 * hurd/hurdsock.c: Likewise.
456 * hurd/lookup-retry.c: Likewise.
457 * malloc/malloc.c: Likewise.
458 * malloc/mtrace.c: Likewise.
459 * nscd/nscd_getgr_r.c: Likewise.
460 * nscd/nscd_getpw_r.c: Likewise.
461 * nscd/nscd_getserv_r.c: Likewise.
462 * posix/getopt_init.c: Likewise.
463 * posix/wordexp.c: Likewise.
464 * stdio-common/_itoa.c: Likewise.
465 * stdio-common/printf_fphex.c: Likewise.
466 * stdio-common/vfprintf.c: Likewise.
467 * string/_strerror.c: Likewise.
468 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
469 * sysdeps/i386/i686/hp-timing.h: Likewise.
470 * sysdeps/mach/_strerror.c: Likewise.
471 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
472 * sysdeps/mach/hurd/sethostid.c: Likewise.
473 * sysdeps/mach/hurd/xmknodat.c: Likewise.
474 * sysdeps/mach/xpg-strerror.c: Likewise.
475 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
477 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
478 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
479 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
480 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
481 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
482 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
483 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
484 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
485 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
486 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
487 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
488 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
489 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
490 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
491 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
492 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
493 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
494 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
495 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
497 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
499 * stdio-common/_itoa.h: Moved to ...
500 * sysdeps/generic/_itoa.h: Here.
502 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
504 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
505 instead of "_itoa.h" and "_itowa.h".
506 * stdio-common/vfprintf.: Likewise.
508 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
512 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
513 (__signbit): Likwise.
517 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
519 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
522 2012-03-20 Joseph Myers <joseph@codesourcery.com>
524 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
525 OVERFLOW_EXCEPTION_OK.
526 * math/libm-test.inc ("Philosophy"): Update comment about
528 (OVERFLOW_EXCEPTION): Define.
529 (OVERFLOW_EXCEPTION_OK): Likewise.
530 (INVALID_EXCEPTION_OK): Renumber.
531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
532 (IGNORE_ZERO_INF_SIGN): Likewise.
533 (test_exceptions): Handle FE_OVERFLOW.
534 (exp10_test): Expect overflow exceptions.
535 (exp2_test): Likewise.
536 (expm1_test): Likewise.
537 (nextafter_test): Likewise.
538 (pow_test): Likewise.
539 (scalbn_test): Likewise.
540 (scalbln_test): Likewise.
542 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
544 * sysdeps/x86_64/bits/atomic.h
545 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
547 (atomic_exchange_acq): Likewise.
548 (__arch_exchange_and_add_body): Likewise.
549 (__arch_add_body): Likewise.
550 (atomic_add_negative): Likewise.
551 (atomic_add_zero): Likewise.
553 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
555 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
556 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
558 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
560 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
561 Check __x86_64__ instead of __WORDSIZE.
563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
565 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
567 2012-03-19 David S. Miller <davem@davemloft.net>
569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
571 * sysdeps/sparc/fpu/fenv_private.h: New file.
572 * sysdeps/sparc/fpu/math_private.h: Use it.
573 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
575 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
576 (libc_feholdexcept_setroundl): Remove.
577 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
579 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
580 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
584 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
585 int64_t instead of long int.
586 (INSERT_WORDS64): Likwise.
588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
590 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
591 _Unwind_GetCFA return to _Unwind_Ptr first.
593 2012-03-19 Joseph Myers <joseph@codesourcery.com>
596 * math/s_clog.c: Include <float.h>.
597 (__clog): Scale large or subnormal inputs.
598 * math/s_clogf.c: Likewise.
599 * math/s_clogl.c: Likewise.
600 * math/s_clog10.c: Include <float.h>.
602 (__clog10): Scale large or subnormal inputs.
603 * math/s_clog10f.c: Likewise.
604 * math/s_clog10l.c: Likewise.
605 * math/libm-test.inc (clog_test): Add more tests.
606 (clog10_test): Likewise.
607 * sysdeps/i386/fpu/libm-test-ulps: Update.
608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
613 * math/libm-test.inc (atan2_test): Add another test.
615 * Makerules (common-objdir-compile): Remove.
616 * sysdeps/unix/Makefile (config-generated): Do not add
617 $(unix-generated) to variable.
618 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
619 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
621 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
623 [generic bits/local_lim.h] (before-compile): Do not append to
625 [generic bits/local_lim.h] (common-generated): Likewise.
626 [generic sys/param.h] (before-compile): Do not append to variable.
627 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
628 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
629 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
632 [generic sys/param.h] (sys/param.h-includes): Remove variable.
633 [generic sys/param.h] (sys/param.h-includes): Remove rule.
634 [generic sys/param.h] ($(addprefix
635 $(common-objpfx),$(sys/param.h-includes))): Likewise.
636 [generic sys/param.h] (common-generated): Do not append to
638 [generic sys/param.h] (sysdep_headers): Likewise.
639 [generic bits/errno.h] (before-compile): Do not append to
641 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
643 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
644 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
645 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
646 [generic bits/errno.h] (common-generated): Do not append to
648 [generic bits/ioctls.h] (before-compile): Do not append to
650 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
652 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
653 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
654 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
656 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
657 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
658 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
659 [generic bits/ioctls.h] (common-generated): Do not append to
661 [generic sys/syscall.h] (syscall.h): Remove variable.
662 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
664 [generic sys/syscall.h] (before-compile): Do not append to
666 [generic sys/syscall.h] (common-generated): Likewise.
667 * sysdeps/unix/errnos-tmpl.c: Remove file.
668 * sysdeps/unix/errnos.awk: Likewise.
669 * sysdeps/unix/ioctls-tmpl.c: Likewise.
670 * sysdeps/unix/ioctls.awk: Likewise.
671 * sysdeps/unix/mk-local_lim.c: Likewise.
672 * sysdeps/unix/snarf-ioctls: Likewise.
674 2012-03-19 Richard Henderson <rth@twiddle.net>
676 * sysdeps/i386/fpu/fenv_private.h: New file.
677 * sysdeps/i386/fpu/math_private.h: Use it.
678 (math_opt_barrier, math_force_eval): Remove.
679 (libc_feholdexcept_setround_53bit): Remove.
680 (libc_feupdateenv_53bit): Remove.
681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
682 (math_opt_barrier, math_force_eval): Remove.
683 (libc_feholdexcept): Remove.
684 (libc_feholdexcept_setround): Remove.
685 (libc_fetestexcept, libc_fesetenv): Remove.
686 (libc_feupdateenv_test): Remove.
687 (libc_feupdateenv, libc_feholdsetround): Remove.
688 (libc_feresetround): Remove.
690 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
691 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
693 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
694 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
695 (libc_feupdateenv_testl): New.
696 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
697 (libc_feupdateenv_testf): New.
698 (libc_feupdateenv): Use libc_feupdateenv_test.
699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
702 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
703 (libc_feholdsetroundf, libc_feholdsetroundl): New.
704 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
705 (libc_feresetround_noex): New.
706 (libc_feresetround_noexf): New.
707 (libc_feresetround_noexl): New.
708 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
709 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
710 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
716 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
718 SET_RESTORE_ROUND_NOEX.
719 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
720 SET_RESTORE_ROUND_NOEXF.
721 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
722 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
723 (libc_feholdsetroundf): New.
724 (libc_feresetround, libc_feresetroundf): New.
726 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
727 (libc_feholdexcept_setround_53bit): Convert from macro to function.
728 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
730 * sysdeps/generic/math_private.h: Include <fenv.h>.
731 (default_libc_feholdexcept): New.
732 (default_libc_feholdexcept_setround): New.
733 (default_libc_fesetenv, default_libc_feupdateenv): New.
734 (libc_feholdexcept): Only define if undefined.
735 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
736 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
737 (libc_feholdexcept_setroundl): Likewise.
738 (libc_feholdexcept_setround_53bit): Likewise.
739 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
740 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
741 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
742 (libc_feupdateenv_53bit): Likewise.
743 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
744 (libc_feholdexcept): Convert from macro to inline function.
745 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
746 (libc_fesetenv, libc_feupdateenv): Likewise.
748 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
749 not previously defined.
750 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
751 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
752 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
753 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
754 * sysdeps/ieee754/flt-32/math_private.h: New file.
755 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
756 math_private.h below SET_FLOAT_WORD.
757 (__isnan, __isinf_ns, __finite): Remove.
758 (__isnanf, __isinf_nsf, __finitef): Remove.
760 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
764 2012-03-17 David S. Miller <davem@davemloft.net>
767 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
770 2012-03-16 David S. Miller <davem@davemloft.net>
772 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
778 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
779 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
780 sysdep_routines when subdir is sysvipc.
781 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
784 * sysdeps/sparc/fpu/libm-test/ulps: Update.
786 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
788 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
791 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
794 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
795 (__lround): Renamed to ...
796 (__llround): This. Replace long int with long long int.
797 Define lround functions as aliases of llround functions.
798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
802 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
803 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
804 adresses to uintptr_t. Replace "long int" and "unsigned long
805 int" with "greg_t" on va_arg.
807 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
809 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
810 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
812 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
813 Move e_machine check before EI_CLASS check. Handle x32
814 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
815 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
816 SKIP_EM_IA_64 and include
817 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
819 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
820 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
821 (add_system_dir): New macro.
823 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
824 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
826 2012-03-16 Joseph Myers <joseph@codesourcery.com>
837 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
839 * math/w_j0f.c (j0f): Likewise.
841 * math/w_j0l.c (__j0l): Likewise.
843 * math/w_j1.c (j1): Likewise.
845 * math/w_j1f.c (j1f): Likewise.
847 * math/w_j1l.c (__j1l): Likewise.
849 * math/w_jn.c (jn): Likewise.
851 * math/w_jnf.c (jnf): Likewise.
853 * math/w_jnl.c (__jnl): Likewise.
855 * math/libm-test.inc (j0_test): Add more tests.
857 (jn_test): Likewise. Add trailing semicolon to existing test.
860 * sysdeps/i386/fpu/libm-test-ulps: Update.
861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
866 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
867 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
868 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
869 (__tanl): Set errno for infinite argument.
870 * sysdeps/i386/fpu/mptan.c: Remove.
871 * sysdeps/i386/fpu/s_tan.S: Likewise.
872 * sysdeps/i386/fpu/s_tanl.S: Likewise.
873 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
874 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
875 * math/libm-test.inc (tan_test): Add more tests and enable more
876 tests for double and long double.
877 * sysdeps/i386/fpu/libm-test-ulps: Update.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
882 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
883 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
885 2012-03-16 Roland McGrath <roland@hack.frob.com>
887 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
888 * configure.in: Use it for both main tree and add-ons.
889 * configure: Regenerated.
891 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
893 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
895 2012-03-16 Joseph Myers <joseph@codesourcery.com>
897 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
901 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
902 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
903 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
904 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
905 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
907 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
910 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
911 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
912 * sysdeps/i386/fpu/s_cosl.S: Likewise.
913 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
914 * sysdeps/i386/fpu/s_sinl.S: Likewise.
915 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
916 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
917 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
918 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
919 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
920 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
921 * math/libm-test.inc (cos_test): Add more tests and enable more
922 tests for long double.
923 (sin_test): Likewise.
924 (sincos_test): Likewise.
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
928 2012-03-16 David S. Miller <davem@davemloft.net>
930 * sysdeps/sparc/fpu/math_private.h: New file.
932 2012-03-15 David S. Miller <davem@davemloft.net>
934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
948 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
949 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
951 * sysdeps/sparc/sparc-ifunc.h: New file.
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
997 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
999 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1003 2012-03-15 Andreas Jaeger <aj@suse.de>
1006 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1007 ieee754/flt-32 implementation for sin, cos and sincos.
1008 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1009 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1010 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1011 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1012 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1013 ieee754/flt-32 implementation for tan.
1015 * math/libm-test.inc (cos_test): Enable some large input tests for
1017 (sin_test): Likewise.
1018 (sincos_test): Likewise.
1019 (tan_test): Add tests for large input.
1021 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 2012-03-15 Andreas Jaeger <aj@suse.de>
1026 * math/libm-test.inc (cos_test): Add more test cases.
1027 (sin_test): Likewise.
1028 (sincos_test): Likewise.
1030 2012-03-15 Andreas Jaeger <aj@suse.de>
1033 * math/libm-test.inc (cos_test): Add a test case for large input
1035 (sin_test): Likewise.
1036 (sincos_test): Likewise.
1038 2012-03-15 Andreas Jaeger <aj@suse.de>,
1039 Joseph Myers <joseph@codesourcery.com>
1042 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1043 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1044 * sysdeps/i386/fpu/branred.c: Likewise.
1045 * sysdeps/i386/fpu/dosincos.c: Likewise.
1046 * sysdeps/i386/fpu/mpa.c: Likewise.
1047 * sysdeps/i386/fpu/s_cos.S: Likewise.
1048 * sysdeps/i386/fpu/s_sin.S: Likewise.
1049 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1050 * sysdeps/i386/fpu/sincos32.c: Likewise.
1052 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1054 (libc_feupdateenv_53bit): Define.
1055 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1057 (libc_feupdateenv_53bit): Define.
1059 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1060 53 bit (without extend i386 double precision).
1062 * math/libm-test.inc (sincos_test): Add tests for large input.
1066 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1068 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1072 2012-03-15 David S. Miller <davem@davemloft.net>
1074 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1075 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1076 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1077 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1102 fmin/fmax sysdep routines.
1103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1105 2012-03-14 David S. Miller <davem@davemloft.net>
1107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1184 * sysdeps/sparc/configure.in: New file.
1185 * sysdeps/sparc/configure: Generate.
1186 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1187 * configure: Regenerate.
1188 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1189 * config.make.in (have-as-vis3): New.
1190 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1191 available use -Av9d instead of -Av9a.
1192 * sysdeps/sparc/sparc64/Makefile: Likewise.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1209 fzeros/fnegs to load 0x80000000 into a float register instead of
1211 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1213 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1217 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1218 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1219 ($(inst_includedir)/bits/syscall.h): Remove rule.
1220 ($(objpfx)bits/syscall.d): Include instead of
1221 $(objpfx)syscall-list.d.
1222 (generated): Change syscall-list.h and syscall-list.d to
1223 bits/syscall.h and bits/syscall.d.
1225 2012-03-14 Roland McGrath <roland@hack.frob.com>
1228 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1230 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1233 * math/s_csqrt.c: Include <float.h>.
1234 (__csqrt): Scale large or subnormal inputs.
1235 * math/s_csqrtf.c: Likewise.
1236 * math/s_csqrtl.c: Likewise.
1237 * math/libm-test.inc (csqrt_test): Add more tests.
1238 * sysdeps/i386/fpu/libm-test-ulps: Update.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1242 * math/libm-test.inc (hypot_test): Add more tests.
1244 2012-03-13 David S. Miller <davem@davemloft.net>
1247 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1248 double-precision for the calculation instead of scaling.
1250 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1253 manipulate bits before adding and subtracting TWO52[sx].
1254 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1259 2012-03-13 David S. Miller <davem@davemloft.net>
1261 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1262 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1264 rtld-global-offsets.h
1265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1267 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1270 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1272 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1273 'err' in the ifdef scope in which it is actually used.
1275 * nss/nss_db/db-init.c: Include string.h
1277 2012-03-12 David S. Miller <davem@davemloft.net>
1279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1280 masking out of the most significant byte of random value used.
1281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1282 Fix coding style in previous change.
1284 * sysdeps/unix/sysv/linux/kernel-features.h
1285 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1286 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1288 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1291 2012-03-11 David S. Miller <davem@davemloft.net>
1293 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1294 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1296 for 'resultvar' otherwise things get truncated on 64-bit.
1298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1299 Fix masking out of the most significant byte of random value used.
1301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1303 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1307 2012-03-09 David S. Miller <davem@davemloft.net>
1309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1310 variables with appropriate CPP guards.
1311 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1312 frame pointer, not the stack pointer. Correct layout comments. Fix test
1313 on resulting framesize and the management of the outregs buffer for pltexit.
1314 Preserve floating point return values across _dl_call_pltexit call.
1315 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1316 framesize and the management of the outregs buffer for pltexit.
1317 Preserve floating point return values across _dl_call_pltexit
1319 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1320 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1321 (print_exit): Fix format string for return register value.
1323 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1325 * sunrpc/Makefile (others): Add rpcgen.
1326 ($(objpfx)rpcgen): Remove special build rule and dependency on
1328 * sunrpc/rpcgen.c: New file.
1330 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1333 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1334 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1335 * sysdeps/i386/crti.S: Likewise.
1336 * sysdeps/i386/crtn.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1339 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1340 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1341 * sysdeps/sh/crti.S: Likewise.
1342 * sysdeps/sh/crtn.S: Likewise.
1343 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1346 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1348 * locale/programs/locfile-kw.gperf: Likewise.
1349 * locale/programs/charmap-kw.h: Regenerated.
1350 * locale/programs/locfile-kw.h: Likewise.
1353 * intl/plural.y: Replace FSF snail mail address with URL.
1354 * intl/plural.c: Regenerated.
1356 2012-03-09 Richard Henderson <rth@twiddle.net>
1358 * include/math_private.h: Remove file.
1359 * math/math_private.h: Move file ...
1360 * sysdeps/generic/math_private.h: ... here.
1362 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1363 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1364 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1366 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1367 and <math_private.h>.
1368 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1369 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1370 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1371 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1372 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1373 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1374 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1394 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1398 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1400 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1401 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1402 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1405 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1406 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1408 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1411 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1412 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1414 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1415 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1417 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1418 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1419 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1420 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1422 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1423 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1432 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1440 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1456 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1457 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1458 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1459 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1461 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1462 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1463 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1465 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1468 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1469 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1470 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1471 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1472 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1473 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1474 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1475 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1476 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1478 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1479 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1482 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1485 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1486 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1487 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1490 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1491 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1492 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1493 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1494 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1495 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1497 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1498 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1499 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1501 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1502 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1503 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1504 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1505 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1506 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1507 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1510 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1511 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1512 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1513 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1514 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1515 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1516 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1517 * sysdeps/ieee754/k_standard.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1545 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1546 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1550 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1551 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1556 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1557 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1558 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1568 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1569 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1570 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1571 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1572 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1573 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1645 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1650 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1678 * sysdeps/ieee754/s_lib_version.c: Likewise.
1679 * sysdeps/ieee754/s_matherr.c: Likewise.
1680 * sysdeps/ieee754/s_signgam.c: Likewise.
1681 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1683 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1684 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1685 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1686 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1687 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1688 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1689 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1690 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1691 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1692 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1693 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1694 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1695 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1696 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1698 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1703 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1705 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1706 * sunrpc/rpc_main.c: Likewise.
1707 * sunrpc/rpc_svcout.c: Likewise.
1709 2012-03-09 David S. Miller <davem@davemloft.net>
1711 * include/math_private.h: New file.
1713 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1715 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1716 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1717 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1718 from <bits/socket_type.h>.
1719 (enum __socket_type): Don't define here.
1720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1725 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1728 * Makerules ($(inst_includedir)/%.h): New rule.
1729 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1730 (install-others): Remove variable setting.
1731 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1733 2012-03-08 Richard Henderson <rth@twiddle.net>
1735 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1736 from macro to inline function; merge with the
1737 !__LIBC_INTERNAL_MATH_INLINES version.
1738 (__ieee754_sqrtf): Likewise.
1740 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1742 (__rintf, __floor, __floorf): Likewise.
1744 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1745 macro to inline function.
1746 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1748 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1749 not <math/math_private.h>.
1751 2012-03-08 David S. Miller <davem@davemloft.net>
1753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1755 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1757 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1759 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1761 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1762 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1764 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1766 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1767 be defined individually, they must be defined as a block. Define
1768 S for printing a string instead of hidint the different by using a
1769 macro for adding the 'l'.
1770 * stdio-common/tst-fphex-wide.c: Adjust.
1772 2012-03-07 Marek Polacek <polacek@redhat.com>
1774 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1776 2012-03-08 Marek Polacek <polacek@redhat.com>
1779 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1780 * stdio-common/tst-fphex.c: Define a few macros to make the
1781 test reusable. Use them.
1782 * stdio-common/tst-fphex-wide.c: New file.
1784 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1787 * manual/macros.texi (gnusystems): New macro.
1788 (nongnusystems): Likewise.
1789 (gnulinuxhurdsystems): Likewise.
1790 (gnuhurdsystems): Likewise..
1791 (gnulinuxsystems): Likewise.
1792 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1793 variants of the GNU system, not "GNU system".
1794 * manual/conf.texi: Likewise.
1795 * manual/errno.texi: Likewise. Update example of errno macro
1797 * manual/filesys.texi: Likewise.
1798 (getumask): Document as specific to GNU/Hurd.
1799 * manual/install.texi: Likewise. Reword some references to
1801 * manual/intro.texi: Likewise.
1802 * manual/io.texi: Likewise.
1803 (File Name Portability): Detail which constraints are inapplicable
1804 to all GNU systems and which are only inapplicable to GNU/Hurd.
1805 * manual/job.texi: Likewise.
1806 * manual/llio.texi: Likewise.
1807 (O_NOCTTY): Document as present on GNU/Linux.
1808 * manual/maint.texi: Likewise.
1809 * manual/memory.texi: Likewise.
1810 * manual/pattern.texi: Likewise.
1811 * manual/pipe.texi: Likewise.
1812 * manual/process.texi: Likewise.
1813 * manual/resource.texi: Likewise.
1814 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1816 * manual/setjmp.texi: Likewise.
1817 * manual/signal.texi: Likewise.
1818 * manual/startup.texi: Likewise.
1819 * manual/stdio.texi: Likewise.
1820 * manual/terminal.texi: Likewise.
1821 (ONLCR): Document as POSIX.
1822 (OXTABS): Document availability on GNU/Linux as XTABS.
1823 (ONOEOT): Document availability separately from other bits.
1824 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1825 * manual/time.texi: Likewise.
1826 * manual/users.texi: Likewise.
1827 * INSTALL: Regenerated.
1828 * sysdeps/gnu/errlist.c: Regenerated.
1830 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1831 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1832 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1834 * configure: Regenerated.
1836 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1838 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1839 default includes instead of AC_HEADER_CHECK.
1840 * sysdeps/i386/configure: Regenerated.
1843 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1844 * math/s_cacoshf.c (__cacoshf): Likewise.
1845 * math/s_cacoshl.c (__cacoshl): Likewise.
1846 * math/s_casinh.c (__casinh): Set signs of result from argument.
1847 * math/s_casinhf.c (__casinhf): Likewise.
1848 * math/s_casinhl.c (__casinhl): Likewise.
1849 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1850 (casinh_test): Add more tests.
1851 * sysdeps/i386/fpu/libm-test-ulps: Update.
1852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1854 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1856 * po/zh_TW.po: Update from translation team.
1858 * login/Makefile (distribute): Remove variable.
1859 * catgets/Makefile: Likewise.
1860 * mach/Makefile: Likewise.
1861 * malloc/Makefile: Likewise.
1862 * misc/Makefile: Likewise.
1863 * iconv/Makefile: Likewise.
1864 * nscd/Makefile: Likewise.
1865 * hurd/Makefile: Likewise.
1866 * manual/Makefile: Likewise.
1867 * locale/Makefile: Likewise.
1868 * intl/Makefile: Likewise.
1869 * conform/Makefile: Likewise.
1870 * nss/Makefile: Likewise.
1871 * time/Makefile: Likewise.
1872 * soft-fp/Makefile: Likewise.
1873 * dirent/Makefile: Likewise.
1874 * gmon/Makefile: Likewise.
1875 * po/Makefile: Likewise.
1876 * rt/Makefile: Likewise.
1877 * socket/Makefile: Likewise.
1878 * math/Makefile: Likewise.
1879 * signal/Makefile: Likewise.
1880 * debug/Makefile: Likewise.
1881 * elf/Makefile: Likewise.
1882 * timezone/Makefile: Likewise.
1883 * stdlib/Makefile: Likewise.
1884 * iconvdata/Makefile: Likewise.
1885 * sunrpc/Makefile: Likewise.
1886 * io/Makefile: Likewise.
1887 * argp/Makefile: Likewise.
1888 * inet/Makefile: Likewise.
1889 * hesiod/Makefile: Likewise.
1890 * grp/Makefile: Likewise.
1891 * csu/Makefile: Likewise.
1892 * wctype/Makefile: Likewise.
1893 * crypt/Makefile: Likewise.
1894 * libio/Makefile: Likewise.
1895 * string/Makefile: Likewise.
1896 * nis/Makefile: Likewise.
1897 * resolv/Makefile: Likewise.
1898 * stdio-common/Makefile: Likewise.
1899 * wcsmbs/Makefile: Likewise.
1900 * dlfcn/Makefile: Likewise.
1901 * posix/Makefile: Likewise.
1903 * timezone/Makefile: Don't install timezone files, just the programs
1906 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1908 * nss/databases.def: Add missing gshadow entry.
1910 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1912 2012-03-06 Marek Polacek <polacek@redhat.com>
1915 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1916 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1917 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1918 * stdio-common/tst-long-dbl-fphex.c: New file.
1920 2012-03-06 David S. Miller <davem@davemloft.net>
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1923 (set_obp_int): New function.
1924 (get_obp_int): New function.
1925 (__get_clockfreq_via_dev_openprom): Likewise.
1926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1927 Avoid unused variable warnings on 'val' and use builtin_expect.
1928 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1930 (INLINE_CLONE_SYSCALL): Likewise.
1932 2012-03-05 David S. Miller <davem@davemloft.net>
1934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1936 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1940 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1942 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1944 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1947 Replace gettimeofday with __vdso_gettimeofday.
1949 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1950 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1951 __vdso_clock_gettime and __vdso_getcpu.
1953 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1954 time with __vdso_time.
1956 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1958 * manual/lang.texi (size_t): Note types to which size_t may be
1959 equivalent with the GNU C Library, but do not describe when
1960 differences between them are significant.
1962 2012-03-05 Andreas Jaeger <aj@suse.de>
1964 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1969 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1970 (__ieee754_pow): Save and restore rounding mode and use
1971 round-to-nearest for main computations.
1972 * math/libm-test.inc (pow_test_tonearest): New function.
1973 (pow_test_towardzero): Likewise.
1974 (pow_test_downward): Likewise.
1975 (pow_test_upward): Likewise.
1976 (main): Call the new functions.
1977 * sysdeps/i386/fpu/libm-test-ulps: Update.
1978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1981 * math/libm-test.inc (cosh_test_tonearest): New function.
1982 (cosh_test_towardzero): Likewise.
1983 (cosh_test_downward): Likewise.
1984 (cosh_test_upward): Likewise.
1985 (sinh_test_tonearest): Likewise.
1986 (sinh_test_towardzero): Likewise.
1987 (sinh_test_downward): Likewise.
1988 (sinh_test_upward): Likewise.
1989 (main): Call the new functions.
1990 * sysdeps/i386/fpu/libm-test-ulps: Update.
1991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1993 2012-03-05 Tom de Vries <tom@codesourcery.com>
1995 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1996 default stack guard is set in last bytes.
1997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1999 2012-03-05 Kees Cook <keescook@chromium.org>
2001 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2004 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2005 possibly allocate from heap instead of stack.
2006 * stdio-common/bug-vfprintf-nargs.c: New file.
2007 * stdio-common/Makefile (tests): Add nargs overflow test.
2009 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2013 2012-03-03 Marek Polacek <polacek@redhat.com>
2015 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2016 * math/math_private.h: Likewise.
2017 * stdlib/tst-strtod.c: Likewise.
2018 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2019 * sysdeps/x86_64/bits/atomic.h: Likewise.
2021 2012-03-02 David S. Miller <davem@davemloft.net>
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2027 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2028 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2032 2012-03-02 Roland McGrath <roland@hack.frob.com>
2035 * manual/examples/README: New file, says the example source files
2036 can be used under GPL>=2.
2037 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2038 line containing just "*/".
2039 * manual/examples/add.c: Add copyright header (GPL>=2).
2040 * manual/examples/argp-ex1.c: Likewise.
2041 * manual/examples/argp-ex2.c: Likewise.
2042 * manual/examples/argp-ex3.c: Likewise.
2043 * manual/examples/argp-ex4.c: Likewise.
2044 * manual/examples/atexit.c: Likewise.
2045 * manual/examples/db.c: Likewise.
2046 * manual/examples/dir.c: Likewise.
2047 * manual/examples/dir2.c: Likewise.
2048 * manual/examples/execinfo.c: Likewise.
2049 * manual/examples/filecli.c: Likewise.
2050 * manual/examples/filesrv.c: Likewise.
2051 * manual/examples/fmtmsgexpl.c: Likewise.
2052 * manual/examples/genpass.c: Likewise.
2053 * manual/examples/inetcli.c: Likewise.
2054 * manual/examples/inetsrv.c: Likewise.
2055 * manual/examples/isockad.c: Likewise.
2056 * manual/examples/longopt.c: Likewise.
2057 * manual/examples/memopen.c: Likewise.
2058 * manual/examples/memstrm.c: Likewise.
2059 * manual/examples/mkfsock.c: Likewise.
2060 * manual/examples/mkisock.c: Likewise.
2061 * manual/examples/mygetpass.c: Likewise.
2062 * manual/examples/pipe.c: Likewise.
2063 * manual/examples/popen.c: Likewise.
2064 * manual/examples/rprintf.c: Likewise.
2065 * manual/examples/search.c: Likewise.
2066 * manual/examples/select.c: Likewise.
2067 * manual/examples/setjmp.c: Likewise.
2068 * manual/examples/sigh1.c: Likewise.
2069 * manual/examples/sigusr.c: Likewise.
2070 * manual/examples/stpcpy.c: Likewise.
2071 * manual/examples/strdupa.c: Likewise.
2072 * manual/examples/strftim.c: Likewise.
2073 * manual/examples/strncat.c: Likewise.
2074 * manual/examples/subopt.c: Likewise.
2075 * manual/examples/swapcontext.c: Likewise.
2076 * manual/examples/termios.c: Likewise.
2077 * manual/examples/testopt.c: Likewise.
2078 * manual/examples/testpass.c: Likewise.
2079 * manual/examples/timeval_subtract.c: Likewise.
2082 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2084 * manual/timeval_subtract.c.texi: ... here, new file.
2086 2012-03-02 David S. Miller <davem@davemloft.net>
2088 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2090 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2093 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2094 (__sin): Save and restore rounding mode and use round-to-nearest
2095 for all computations.
2096 (__cos): Save and restore rounding mode and use round-to-nearest
2097 for all computations.
2098 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2100 (tan): Save and restore rounding mode and use round-to-nearest for
2102 * math/libm-test.inc (cos_test_tonearest): New function.
2103 (cos_test_towardzero): Likewise.
2104 (cos_test_downward): Likewise.
2105 (cos_test_upward): Likewise.
2106 (sin_test_tonearest): Likewise.
2107 (sin_test_towardzero): Likewise.
2108 (sin_test_downward): Likewise.
2109 (sin_test_upward): Likewise.
2110 (tan_test_tonearest): Likewise.
2111 (tan_test_towardzero): Likewise.
2112 (tan_test_downward): Likewise.
2113 (tan_test_upward): Likewise.
2114 (main): Call the new functions.
2115 * sysdeps/i386/fpu/libm-test-ulps: Update.
2116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2119 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2120 small n, then large n, before computing and testing k+n.
2121 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2126 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2127 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2134 * math/libm-test.inc (scalbn_test): Add more tests.
2135 (scalbln_test): Likewise.
2137 * manual/filesys.texi (mode_t): Describe constraints on size and
2138 signedness, not exact equivalence to a particular type.
2140 (ino64_t): Likewise.
2142 (nlink_t): Likewise.
2143 (blkcnt_t): Likewise.
2144 (blkcnt64_t): Likewise.
2145 * manual/llio.texi (off_t): Likewise.
2148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2149 (__ieee754_exp): Save and restore rounding mode and use
2150 round-to-nearest for all computations.
2151 * math/libm-test.inc (exp_test_tonearest): New function.
2152 (exp_test_towardzero): Likewise.
2153 (exp_test_downward): Likewise.
2154 (exp_test_upward): Likewise.
2155 (main): Call the new functions.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2159 2012-03-01 Chris Demetriou <cgd@google.com>
2161 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2162 have predictable order.
2164 2012-03-01 David S. Miller <davem@davemloft.net>
2166 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2168 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2169 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2170 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2171 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2173 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2174 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2175 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2177 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2178 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2179 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2180 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2181 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2185 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2186 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2187 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2189 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2190 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2191 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2192 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2193 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2196 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2198 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2199 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2205 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2206 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2207 * sysdeps/sparc/elf/configure: Regenerated.
2209 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2211 * configure.in (AS, LD): Require binutils 2.20 or later.
2212 * configure: Regenerated.
2213 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2214 as required minimum version.
2215 * INSTALL: Regenerated.
2219 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2220 before squaring exponent.
2221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2222 bottom long double and 27 bits of top long double before squaring
2224 * math/libm-test.inc (erfc_test): Add more tests.
2225 * sysdeps/i386/fpu/libm-test-ulps: Update.
2226 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229 2012-03-01 Kai Tietz <ktietz@redhat.com>
2231 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2232 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2233 containing bit-fields.
2234 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2235 * soft-fp/single.h (_FP_UNION_S): Likewise.
2236 * soft-fp/double.h (_FP_UNION_D): Likewise.
2238 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2241 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2242 not include ../strcmp.S.
2243 [USE_AS_STRNCASECMP_L]: Likewise.
2244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2245 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2246 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2247 (__strncasecmp_l_ia32): Define as alias to
2248 __strncasecmp_l_nonascii.
2251 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2258 2012-02-29 Jeff Law <law@redhat.com>
2260 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2263 2012-02-29 Marek Polacek <polacek@redhat.com>
2266 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2267 * elf/Makefile: Add rules to run tst-unused-dep.out.
2269 2012-02-28 David S. Miller <davem@davemloft.net>
2271 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2272 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2275 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2276 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2278 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2280 * math/libm-test.inc (llround_test): Move one test from
2281 lround_test. Use TEST_f_L in moved test.
2282 (lround_test): Move misplaced test to llround_test. Add testcase
2285 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2287 * sysdeps/x86_64/fpu/e_expf.S: New file.
2288 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2290 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2293 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2294 of remain_len that may cause incomplete multi-byte character and
2296 * posix/bug-regex33.c: New file.
2297 * posix/Makefile (tests): Add bug-regex33.
2299 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2301 * manual/macros.texi: New file.
2302 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2303 * manual/libc.texinfo: Include macros.texi.
2304 * manual/creatute.texi: Likewise.
2305 * manual/install.texi: Likewise.
2306 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2307 @glibcadj{} in references to the GNU C Library.
2308 * manual/charset.texi: Likewise.
2309 * manual/conf.texi: Likewise.
2310 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2311 when not using those macros.
2312 * manual/creature.texi: Likewise.
2313 * manual/crypt.texi: Likewise.
2314 * manual/errno.texi: Likewise.
2315 * manual/filesys.texi: Likewise.
2316 * manual/header.texi: Likewise.
2317 * manual/install.texi: Likewise.
2318 * manual/intro.texi: Likewise.
2319 * manual/io.texi: Likewise.
2320 * manual/job.texi: Likewise.
2321 * manual/lang.texi: Likewise.
2322 * manual/libc.texiinfo: Likewise.
2323 * manual/llio.texi: Likewise.
2324 * manual/locale.texi: Likewise.
2325 * manual/maint.texi: Likewise.
2326 * manual/math.texi: Likewise.
2327 * manual/memory.texi: Likewise.
2328 * manual/message.texi: Likewise.
2329 * manual/nss.texi: Likewise.
2330 * manual/pattern.texi: Likewise.
2331 * manual/process.texi: Likewise.
2332 * manual/resource.texi: Likewise.
2333 * manual/search.texi: Likewise.
2334 * manual/setjmp.texi: Likewise.
2335 * manual/signal.texi: Likewise.
2336 * manual/socket.texi: Likewise.
2337 * manual/startup.texi: Likewise.
2338 * manual/stdio.texi: Likewise.
2339 * manual/string.texi: Likewise.
2340 * manual/sysinfo.texi: Likewise.
2341 * manual/syslog.texi: Likewise.
2342 * manual/terminal.texi: Likewise.
2343 * manual/time.texi: Likewise.
2344 * manual/users.texi: Likewise.
2345 * INSTALL: Regenerated.
2346 * NOTES: Regenerated.
2347 * sysdeps/gnu/errlist.c: Regenerated.
2349 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2351 * include/dirent.h: Include <dirstream.h> before
2354 2012-02-28 David S. Miller <davem@davemloft.net>
2356 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2357 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2358 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2359 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2361 2012-02-27 David S. Miller <davem@davemloft.net>
2363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2365 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2366 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2369 frame pointer instead of stack pointer relative arg slot.
2370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2374 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2377 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2379 2012-02-27 David S. Miller <davem@davemloft.net>
2381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2385 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2386 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2387 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2388 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2390 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2392 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2393 later. Allow versions 5-9.
2394 * configure: Regenerated.
2395 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2396 required minimum version and 4.6 as recommended version. Do not
2397 mention bugs in GCC 2.7 and 2.8.
2398 * INSTALL: Regenerated.
2400 2012-02-27 David S. Miller <davem@davemloft.net>
2402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2406 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2407 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2408 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2409 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2412 manipulate bits before adding and subtracting TWO112[sx].
2413 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2415 2012-02-27 Roland McGrath <roland@hack.frob.com>
2418 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2419 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2420 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2421 being in POSIX, because they are in 1003.1-2008.
2423 * rt/tst-aio.c: Include <fcntl.h>.
2424 * rt/tst-aio7.c: Likewise.
2425 * rt/tst-aio64.c: Likewise.
2427 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2429 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2431 * manual/install.texi (--with-headers): Describe headers as
2432 interface headers, not private headers.
2433 (Specific advice for GNU/Linux systems): Describe use of headers
2434 from "make headers_install", not private headers from older
2436 * INSTALL: Regenerated.
2437 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2439 * sysdeps/unix/sysv/linux/configure: Regenerated.
2441 * manual/llio.texi (fclean): Remove documentation.
2443 * manual/Makefile (libc-texi-generated): New variable. Include
2445 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2446 $(libc-texi-generated), not duplicated list of files.
2447 (version.texi, stamp-version): New rules.
2448 (realclean): Remove $(libc-texi-generated), not individual files
2449 from that list. Do not remove dir-add.texinfo.
2450 * manual/libc.texinfo: Comment out uses of edition numbers and
2451 references to printed manual. Remove last-updated dates.
2452 (EDITION): Comment out.
2454 (VERSION, UPDATED): Remove.
2455 (version.texi): Include.
2457 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2459 * sysdeps/posix/spawni.c: Include <signal.h>.
2460 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2461 * sysdeps/pthread/aio_fsync.c: Likewise.
2463 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2465 * conform/Makefile (tests): Run only when not cross-compiling and
2466 when fast-check is not defined.
2468 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2469 * conform/data/limits.h-data: Fixes for POSIX2008.
2470 * conform/run-conformtest.sh: Run all tests.
2471 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2473 * include/bits/dlfcn.h: Likewise.
2474 * include/langinfo.h: Likewise.
2475 * include/monetary.h: Likewise.
2476 * include/sys/poll.h: Likewise.
2478 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2480 * posix/spawn.h: Define __need_sigset_t.
2481 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2482 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2483 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2484 to get sigevent_t only.
2485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2488 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2489 process_vm_writev only for __USE_GNU.
2490 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2492 * conform/Makefile: For now ignore errors from run-conformtest.
2493 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2494 POSIX to avoid namespace pollution. Don't prepend headers.
2495 * conform/data/aio.h-data: Fixes for POSIX testing.
2496 * conform/data/fcntl.h-data: Likewise.
2497 * conform/data/glob.h-data: Likewise.
2498 * conform/data/grp.h-data: Likewise.
2499 * conform/data/pthread.h-data: Likewise.
2500 * conform/data/pwd.h-data: Likewise.
2501 * conform/data/signal.h-data: Likewise.
2502 * conform/data/spawn.h-data: Likewise.
2503 * conform/data/stdio.h-data: Likewise.
2504 * conform/data/stdlib.h-data: Likewise.
2505 * conform/data/stropts.h-data: Likewise.
2506 * conform/data/sys/mman.h-data: Likewise.
2507 * conform/data/sys/stat.h-data: Likewise.
2508 * conform/data/sys/types.h-data: Likewise.
2509 * conform/data/sys/wait.h-data: Likewise.
2510 * conform/data/time.h-data: Likewise.
2511 * conform/data/unistd.h-data: Likewise.
2512 * conform/data/utime.h-data: Likewise.
2514 * io/sys/stat.h: fchmod was always in POSIX.
2515 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2516 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2517 * rt/aio.h: Define __need_timespec before including <time.h>.
2518 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2519 struct. Add forward declaration of pthread_attr_t and use it in
2521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2523 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2524 always remove CLK_TCK definition.
2526 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2528 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2530 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2532 * conform/run-conformtest.sh: New file.
2533 * conform/Makefile: Run run-conformtest for tests.
2534 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2537 * conform/data/uchar.h-data: New file.
2538 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2539 * conform/data/arpa/inet.h-data: Likewise.
2540 * conform/data/assert.h-data: Likewise.
2541 * conform/data/complex.h-data: Likewise.
2542 * conform/data/cpio.h-data: Likewise.
2543 * conform/data/ctype.h-data: Likewise.
2544 * conform/data/dirent.h-data: Likewise.
2545 * conform/data/dlfcn.h-data: Likewise.
2546 * conform/data/errno.h-data: Likewise.
2547 * conform/data/fcntl.h-data: Likewise.
2548 * conform/data/float.h-data: Likewise.
2549 * conform/data/fmtmsg.h-data: Likewise.
2550 * conform/data/fnmatch.h-data: Likewise.
2551 * conform/data/ftw.h-data: Likewise.
2552 * conform/data/glob.h-data: Likewise.
2553 * conform/data/grp.h-data: Likewise.
2554 * conform/data/iconv.h-data: Likewise.
2555 * conform/data/inttypes.h-data: Likewise.
2556 * conform/data/langinfo.h-data: Likewise.
2557 * conform/data/libgen.h-data: Likewise.
2558 * conform/data/limits.h-data: Likewise.
2559 * conform/data/locale.h-data: Likewise.
2560 * conform/data/math.h-data: Likewise.
2561 * conform/data/monetary.h-data: Likewise.
2562 * conform/data/mqueue.h-data: Likewise.
2563 * conform/data/ndbm.h-data: Likewise.
2564 * conform/data/net/if.h-data: Likewise.
2565 * conform/data/netdb.h-data: Likewise.
2566 * conform/data/netinet/in.h-data: Likewise.
2567 * conform/data/nl_types.h-data: Likewise.
2568 * conform/data/poll.h-data: Likewise.
2569 * conform/data/pthread.h-data: Likewise.
2570 * conform/data/pwd.h-data: Likewise.
2571 * conform/data/regex.h-data: Likewise.
2572 * conform/data/sched.h-data: Likewise.
2573 * conform/data/search.h-data: Likewise.
2574 * conform/data/semaphore.h-data: Likewise.
2575 * conform/data/setjmp.h-data: Likewise.
2576 * conform/data/signal.h-data: Likewise.
2577 * conform/data/spawn.h-data: Likewise.
2578 * conform/data/stdarg.h-data: Likewise.
2579 * conform/data/stdio.h-data: Likewise.
2580 * conform/data/stdlib.h-data: Likewise.
2581 * conform/data/string.h-data: Likewise.
2582 * conform/data/strings.h-data: Likewise.
2583 * conform/data/stropts.h-data: Likewise.
2584 * conform/data/sys/ipc.h-data: Likewise.
2585 * conform/data/sys/mman.h-data: Likewise.
2586 * conform/data/sys/msg.h-data: Likewise.
2587 * conform/data/sys/resource.h-data: Likewise.
2588 * conform/data/sys/select.h-data: Likewise.
2589 * conform/data/sys/sem.h-data: Likewise.
2590 * conform/data/sys/shm.h-data: Likewise.
2591 * conform/data/sys/socket.h-data: Likewise.
2592 * conform/data/sys/stat.h-data: Likewise.
2593 * conform/data/sys/statvfs.h-data: Likewise.
2594 * conform/data/sys/time.h-data: Likewise.
2595 * conform/data/sys/timeb.h-data: Likewise.
2596 * conform/data/sys/times.h-data: Likewise.
2597 * conform/data/sys/types.h-data: Likewise.
2598 * conform/data/sys/uio.h-data: Likewise.
2599 * conform/data/sys/un.h-data: Likewise.
2600 * conform/data/sys/utsname.h-data: Likewise.
2601 * conform/data/sys/wait.h-data: Likewise.
2602 * conform/data/syslog.h-data: Likewise.
2603 * conform/data/tar.h-data: Likewise.
2604 * conform/data/termios.h-data: Likewise.
2605 * conform/data/utime.h-data: Likewise.
2606 * conform/data/utmpx.h-data: Likewise.
2607 * conform/data/varargs.h-data: Likewise.
2608 * conform/data/wchar.h-data: Likewise.
2609 * conform/data/wctype.h-data: Likewise.
2610 * conform/data/wordexp.h-data: Likewise.
2612 * include/stropts.h: New file.
2613 * include/uchar.h: New file.
2614 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2615 * include/assert.h: Likewise.
2616 * include/ctype.h: Likewise.
2617 * include/dirent.h: Likewise.
2618 * include/dlfcn.h: Likewise.
2619 * include/fcntl.h: Likewise.
2620 * include/fnmatch.h: Likewise.
2621 * include/glob.h: Likewise.
2622 * include/grp.h: Likewise.
2623 * include/libio.h: Likewise.
2624 * include/locale.h: Likewise.
2625 * include/math.h: Likewise.
2626 * include/net/if.h: Likewise.
2627 * include/netdb.h: Likewise.
2628 * include/netinet/in.h: Likewise.
2629 * include/pthread.h: Likewise.
2630 * include/pwd.h: Likewise.
2631 * include/regex.h: Likewise.
2632 * include/sched.h: Likewise.
2633 * include/search.h: Likewise.
2634 * include/setjmp.h: Likewise.
2635 * include/signal.h: Likewise.
2636 * include/stdio.h: Likewise.
2637 * include/stdlib.h: Likewise.
2638 * include/string.h: Likewise.
2639 * include/sys/cdefs.h: Likewise.
2640 * include/sys/mman.h: Likewise.
2641 * include/sys/msg.h: Likewise.
2642 * include/sys/resource.h: Likewise.
2643 * include/sys/select.h: Likewise.
2644 * include/sys/socket.h: Likewise.
2645 * include/sys/stat.h: Likewise.
2646 * include/sys/statvfs.h: Likewise.
2647 * include/sys/time.h: Likewise.
2648 * include/sys/times.h: Likewise.
2649 * include/sys/uio.h: Likewise.
2650 * include/sys/utsname.h: Likewise.
2651 * include/sys/wait.h: Likewise.
2652 * include/termios.h: Likewise.
2653 * include/time.h: Likewise.
2654 * include/ulimit.h: Likewise.
2655 * include/unistd.h: Likewise.
2656 * include/utime.h: Likewise.
2657 * include/wchar.h: Likewise.
2658 * include/wctype.h: Likewise.
2659 * include/wordexp.h: Likewise.
2661 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2663 * time/time.h: TIME_UTC must be a macro.
2664 Make timespec_get available for ISO C11 only as well.
2666 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2668 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2669 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2671 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2673 * configure.in: Use -o not -a in test for unsupported multi-arch.
2675 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2677 * manual/texinfo.tex: Update to version 2012-01-19.16.
2679 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2681 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2683 2012-02-24 Roland McGrath <roland@hack.frob.com>
2686 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2687 * manual/fdl-1.3.texi: New file.
2688 * manual/fdl-1.1.texi: File removed.
2691 * manual/libc.texinfo (FDL_VERSION): New @set.
2692 Use it for mention of FDL in cover text.
2693 (Documentation License): Use it in @include file name.
2695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2696 Roland McGrath <roland@hack.frob.com>
2699 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2700 not LONG_LONG_MAX and LONG_LONG_MIN.
2701 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2702 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2704 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2706 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2710 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2711 manipulate bits before adding and subtracting TWO23[sx].
2712 * math/libm-test.inc (nearbyint_test): Add more tests.
2714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2717 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2718 bits before adding and subtracting TWO23[sx].
2719 * math/libm-test.inc (rint_test): Add more tests.
2720 (rint_test_tonearest): Likewise.
2721 (rint_test_towardzero): Likewise.
2722 (rint_test_downward): Likewise.
2723 (rint_test_upward: Likewise.
2725 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2728 * include/stdc-predef.h: New file. Extracted from features.h.
2729 * include/features.h: Include stdc-predef.h.
2730 * Makefile (headers): Add stdc-predef.h.
2731 * CONFORMANCE (Compiler limitations): Update.
2733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2735 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2737 2012-02-21 David S. Miller <davem@davemloft.net>
2739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2742 2012-02-20 David S. Miller <davem@davemloft.net>
2744 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2745 using a normal save/restore sequence, rather than allocating a
2746 dummy stack frame just to store a frame pointer and restore.
2747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2749 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2751 * manual/install.texi: Fix stray word in line-wrapped comment.
2753 2012-02-20 David S. Miller <davem@davemloft.net>
2755 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2756 both binutils and gcc support GOTDATA.
2758 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2759 "rd %pc" in the PIC register setup sequences.
2761 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2762 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2763 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2764 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2765 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2770 (SYSCALL_ERROR_HANDLER): Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2772 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2774 (SYSCALL_ERROR_HANDLER): Likewise.
2776 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2777 (HAVE_GCC_GOTDATA): New.
2778 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2779 relocation support in both binutils and gcc.
2780 * sysdeps/sparc/elf/configure: Regenerate.
2782 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2783 * sysdeps/sparc/sparc32/elf/configure: Delete.
2784 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2785 * sysdeps/sparc/sparc64/elf/configure: Delete.
2786 * sysdeps/sparc/elf/configure.in: New file.
2787 * sysdeps/sparc/elf/configure: Generate.
2789 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2790 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2792 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2793 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2795 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2797 * manual/install.texi: Do not mention specific glibc version
2799 * manual/libc.texinfo (VERSION, UPDATED): Update.
2800 (@copying): Use @copyright{} and range of years.
2802 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2805 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2806 [crti.S not in sysdirs] (generated): Do not append.
2807 [crti.S not in sysdirs] (omit-deps): Likewise.
2808 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2809 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2810 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2811 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2812 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2814 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2815 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2816 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2817 * csu/defs.awk: Remove file.
2818 * sysdeps/generic/initfini.c: Likewise.
2819 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2821 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2824 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2826 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2827 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2828 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2831 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2833 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2834 (__EPOLL_PACKED): Define to empty if not defined by
2836 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2840 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2842 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2843 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2847 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2853 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2865 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2867 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2868 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2870 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2872 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2875 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2877 * math/w_acos.c: Use non-signaling floating-point comparisons.
2878 * math/w_acosf.c: Likewise.
2879 * math/w_acosh.c: Likewise.
2880 * math/w_acoshf.c: Likewise.
2881 * math/w_acoshl.c: Likewise.
2882 * math/w_acosl.c: Likewise.
2883 * math/w_asin.c: Likewise.
2884 * math/w_asinf.c: Likewise.
2885 * math/w_asinl.c: Likewise.
2886 * math/w_atanh.c: Likewise.
2887 * math/w_atanhf.c: Likewise.
2888 * math/w_atanhl.c: Likewise.
2889 * math/w_exp2.c: Likewise.
2890 * math/w_exp2f.c: Likewise.
2891 * math/w_exp2l.c: Likewise.
2892 * math/w_j0.c: Likewise.
2893 * math/w_j0f.c: Likewise.
2894 * math/w_j0l.c: Likewise.
2895 * math/w_j1.c: Likewise.
2896 * math/w_j1f.c: Likewise.
2897 * math/w_j1l.c: Likewise.
2898 * math/w_jn.c: Likewise.
2899 * math/w_jnf.c: Likewise.
2900 * math/w_log.c: Likewise.
2901 * math/w_log10.c: Likewise.
2902 * math/w_log10f.c: Likewise.
2903 * math/w_log10l.c: Likewise.
2904 * math/w_log2.c: Likewise.
2905 * math/w_log2f.c: Likewise.
2906 * math/w_log2l.c: Likewise.
2907 * math/w_logf.c: Likewise.
2908 * math/w_logl.c: Likewise.
2909 * math/w_sqrt.c: Likewise.
2910 * math/w_sqrtf.c: Likewise.
2911 * math/w_sqrtl.c: Likewise.
2912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2913 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2918 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2921 * manual/string.texi (strnlen): Use correct parameter name in
2922 equivalent expression.
2924 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2927 * manual/users.texi (seteuid): Consistently use neweuid for
2930 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2933 * manual/nss.texi (Services in the NSS configuration): Correct
2934 list of services in example configuration file.
2936 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2939 * manual/arith.texi: Remove statements about negative zero
2940 behaving identically to zero.
2942 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2945 * manual/install.texi: Do not document upgrading from libc5.
2947 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2950 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2952 2012-02-18 David S. Miller <davem@davemloft.net>
2954 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2955 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2956 %o7 across the call.
2957 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2962 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2963 * sysdeps/sparc/crtn.S: Likewise.
2965 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2967 * aout/Makefile: Remove.
2969 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2972 * manual/examples/argp-ex1.c (main): Format definition in GNU
2974 * manual/examples/argp-ex2.c (main): Likewise.
2975 * manual/examples/argp-ex3.c (main): Likewise.
2976 * manual/examples/argp-ex4.c (main): Likewise.
2977 * manual/examples/longopt.c (main): Use new-style prototype
2979 * manual/examples/strncat.c (main): Specify return type and use
2980 (void) for arguments.
2981 * manual/examples/subopt.c (main): Use char **argv argument.
2983 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2986 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2989 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2992 * manual/string.texi (strchr): Change when strchrnul is
2995 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2998 * manual/locale.texi (setlocale): Document LOCPATH.
3000 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3003 * manual/process.texi (execle): Move @dots{} before last argument.
3005 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3008 * manual/charset.texi (Generic Charset Conversion): Fix typo
3009 (LC_TYPE -> LC_CTYPE).
3011 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3014 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3015 (scalbnf): Likewise.
3016 (scalbnl): Likewise.
3017 (scalbln): Likewise.
3018 (scalblnf): Likewise.
3019 (scalblnl): Likewise.
3020 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3024 * manual/filesys.texi (telldir): Use braces around return type.
3025 * manual/llio.texi (mmap): Add space after comma.
3027 * manual/math.texi (jn): Use @var{} on parameter names.
3033 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3035 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3037 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3038 (sched_get_priority_max): Likewise.
3039 * manual/signal.texi (sigvec): Add space after comma.
3040 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3042 (if_indextoname): Likewise.
3043 (if_freenameindex): Likewise.
3044 (sendto): Use ',' instead of '.' in prototype.
3045 * manual/startup.texi (syscall): Use @dots{} instead of literal
3047 * manual/stdio.texi (__fpending): Separate initial words of
3048 paragraph from @deftypefun line.
3049 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3051 (vsyslog): Use @var{} on parameter names.
3052 * manual/terminal.texi (stty): Use @var{} on parameter names.
3053 * manual/users.texi (getutmp): Use @var{} on parameter names.
3054 (getutmpx): Likewise.
3056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3059 * manual/stdio.texi (fopen): Fix typos in description of
3062 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3065 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3066 get clock_id definition.
3068 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3071 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3072 (madvise): Cast every argument to void on its own.
3074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3077 * manual/startup.texi (Exit Status): Fix typo.
3079 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3082 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3083 * manual/examples/argp-ex2.c: Likewise.
3084 * manual/examples/argp-ex3.c: Likewise.
3086 2012-02-16 Richard Henderson <rth@redhat.com>
3088 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3089 * sysdeps/s390/s390-32/initfini.c: Remove.
3090 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3091 * sysdeps/s390/s390-64/initfini.c: Remove.
3093 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3095 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3096 compiler output for sysdeps/generic/initfini.c.
3097 * sysdeps/sh/elf/initfini.c: Remove file.
3099 2012-02-16 David S. Miller <davem@davemloft.net>
3102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3104 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3105 * sysdeps/sparc/crti.S: New file.
3106 * sysdeps/sparc/crtn.S: New file.
3107 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3108 * sysdeps/sparc/sparc64/Makefile: Likewise.
3110 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3113 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3115 2012-02-15 Roland McGrath <roland@hack.frob.com>
3118 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3120 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3121 (write, read, close): Likewise.
3122 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3124 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3126 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3127 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3128 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3129 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3131 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3135 2012-02-14 Marek Polacek <polacek@redhat.com>
3137 * sysdeps/x86_64/crti.S: New file.
3138 * sysdeps/x86_64/crtn.S: New file.
3139 * sysdeps/x86_64/elf/initfini.c: Remove file.
3141 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3143 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3144 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3145 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3146 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3148 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3152 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3154 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3155 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3157 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3159 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3163 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3165 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3166 __feraiseexcept instead of feraiseexcept.
3168 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3169 nanosleep invocations.
3170 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3171 strings, and add error checking for a nanosleep invocations.
3173 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3175 Replace FSF snail mail address with URLs, as per GNU coding standards.
3176 Most of the snail mail addresses were wrong anyway, and omitting
3177 them makes the source code easier to maintain. Almost all of the
3178 changes are to license notices and to locale LC_IDENTIFICATION
3179 addresses, except for this one:
3180 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3181 not its snail mail address.
3183 2012-02-09 Richard Henderson <rth@twiddle.net>
3185 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3186 of kernel-features.h.
3188 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3190 2012-02-08 Marek Polacek <polacek@redhat.com>
3192 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3193 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3194 * sysdeps/gnu/_G_config.h: Likewise.
3195 * sysdeps/generic/_G_config.h: Likewise.
3197 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3199 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203 * sysdeps/powerpc/powerpc32/crti.S: New file.
3204 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3205 * sysdeps/powerpc/powerpc64/crti.S: New file.
3206 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3208 * Makeconfig (have-initfini): Don't set.
3209 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3210 * configure.in (nopic_initfini): Don't substitute.
3211 * config.h.in (HAVE_INITFINI): Don't #undef.
3212 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3213 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3215 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3217 Support crti.S and crtn.S provided directly by architectures.
3218 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3219 [crti.S in sysdirs] (omit-deps): Likewise.
3220 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3221 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3222 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3223 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3224 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3225 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3226 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3227 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3228 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3229 compiler output for sysdeps/generic/initfini.c.
3230 * sysdeps/i386/elf/Makefile: Remove file.
3231 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3233 2012-02-07 Marek Polacek <polacek@redhat.com>
3235 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3236 * sysdeps/gnu/_G_config.h: Likewise.
3237 * sysdeps/mach/hurd/_G_config.h: Likewise.
3239 2012-02-07 Marek Polacek <polacek@redhat.com>
3241 * math/Makefile (tests): Add tst-CMPLX2.
3242 * math/tst-CMPLX2.c: New file.
3244 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3248 * math/libm-test.inc (jn_test): Add missing L suffix.
3250 2012-02-06 Marek Polacek <polacek@redhat.com>
3252 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3253 * sysdeps/i386/fpu/e_powf.S: Likewise.
3254 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3255 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3257 * sysdeps/i386/fpu/e_pow.S: Likewise.
3258 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3260 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3261 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3262 * sysdeps/i386/fpu/e_log2.S: Likewise.
3263 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3265 * sysdeps/i386/fpu/e_powl.S: Likewise.
3266 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3268 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3269 * sysdeps/i386/fpu/e_logl.S: Likewise.
3270 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3271 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3272 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3273 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3274 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3275 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3276 * sysdeps/i386/fpu/e_log.S: Likewise.
3277 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3278 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3279 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3280 * sysdeps/i386/fpu/e_logf.S: Likewise.
3281 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3282 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3283 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3284 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3285 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3286 * sysdeps/i386/fpu/e_log10.S: Likewise.
3287 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3289 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3290 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3292 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3293 * sysdeps/i386/asm-syntax.h: Likewise.
3294 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3296 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3297 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3298 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3299 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3300 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3301 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3302 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3303 * sysdeps/powerpc/sysdep.h: Likewise.
3304 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3307 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3312 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3314 * sysdeps/i386/sysdep.h: Include <features.h>.
3315 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3318 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3320 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3322 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3325 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3327 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3328 (SETUP_PIC_REG): Use GET_PC_THUNK.
3329 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3332 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3334 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3335 for non-PIC compilation.
3336 (SETUP_PIC_REG): Add .p2align directive.
3337 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3338 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3339 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3340 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3342 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3343 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3345 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3346 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3347 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3348 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3349 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3350 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3351 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3352 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3353 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3357 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3359 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3360 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3364 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3365 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3366 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3367 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3369 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3370 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3371 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3372 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3373 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3379 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3381 * math/tst-CMPLX.c: Include <stdio.h>.
3383 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3385 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3387 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3388 * sysdeps/sparc/bits/mathdef.h: Likewise.
3390 2012-01-31 Marek Polacek <polacek@redhat.com>
3392 * libio/libio.h: Don't define _PARAMS.
3393 * locale/programs/config.h: Don't define PARAMS.
3394 * stdlib/strtol_l.c: Likewise.
3395 (__strtol_l): Remove PARAMS from the prototype.
3397 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3399 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3400 names. Just use the correct names. Remove unnecessary wrapper
3402 * malloc/arena.c: Likewise.
3403 * malloc/hooks.c: Likewise.
3405 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3406 ARENA_TEST says not to. Simplify test for creation of a new arena.
3407 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3409 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3411 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3413 (update_get_addr): New function.
3414 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3415 GET_ADDR_MODULE parameter.
3417 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3419 * crypt/cert.c: Remove __STDC__ conditionals.
3420 * crypt/crypt-entry.c: Likewise.
3421 * crypt/crypt_util.c: Likewise.
3422 * libio/filedoalloc.c: Likewise.
3423 * libio/fileops.c: Likewise.
3424 * libio/genops.c: Likewise.
3425 * libio/iofclose.c: Likewise.
3426 * libio/iofdopen.c: Likewise.
3427 * libio/iofopen.c: Likewise.
3428 * libio/iofopen64.c: Likewise.
3429 * libio/iogetdelim.c: Likewise.
3430 * libio/iopopen.c: Likewise.
3431 * libio/obprintf.c: Likewise.
3432 * libio/oldfileops.c: Likewise.
3433 * libio/oldiofclose.c: Likewise.
3434 * libio/oldiofdopen.c: Likewise.
3435 * libio/oldiofopen.c: Likewise.
3436 * libio/oldiopopen.c: Likewise.
3437 * libio/wfiledoalloc.c: Likewise.
3438 * libio/wgenops.c: Likewise.
3439 * locale/programs/xmalloc.c: Likewise.
3440 * misc/syslog.c: Likewise.
3441 * stdio-common/xbug.c: Likewise.
3442 * string/memchr.c: Likewise.
3443 * string/memcmp.c: Likewise.
3444 * string/memrchr.c: Likewise.
3445 * string/rawmemchr.c: Likewise.
3446 * sysdeps/posix/getcwd.c: Likewise.
3447 * time/strftime_l.c: Likewise.
3449 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3451 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3452 * config.make.in (config-cflags-sse2avx): Define.
3453 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3456 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3458 * scripts/config.guess: Update from upstream config git repository.
3459 * scripts/config.sub: Likewise.
3461 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3463 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3465 (R_TILEPRO_*, R_TILEGX_*): New macros.
3467 * scripts/firstversions.awk: Fix bug in version range handling.
3469 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3471 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3473 * include/sys/epoll.h: New file.
3474 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3477 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3479 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3480 Avoid unnecessary __WORDSIZE == 64 test.
3481 (fmaxf): Use VEX format if possible.
3486 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3487 * math/math_private.h: Remove libc_fegetround* and
3489 * sysdeps/i386/configure.in: Check for -msse2avx.
3490 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3491 also if SSE2AVX is defined.
3492 Remove libc_fegetround* and libc_fesetround*.
3493 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3494 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3498 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3503 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3505 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3511 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3514 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3516 * Makeconfig (libm): Define.
3517 * elf/Makefile: Add rules to build and run tst-relsort1.
3518 * elf/tst-relsort1.c: New file.
3519 * elf/tst-relsort1mod1.c: New file.
3520 * elf/tst-relsort1mod2.c: New file.
3522 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3524 * math/s_ldexp.c: Remove __STDC__ conditionals.
3525 * math/s_ldexpf.c: Likewise.
3526 * math/s_ldexpl.c: Likewise.
3527 * math/s_nextafter.c: Likewise.
3528 * math/s_nexttowardf.c: Likewise.
3529 * math/s_significand.c: Likewise.
3530 * math/s_significandf.c: Likewise.
3531 * math/s_significandl.c: Likewise.
3532 * math/w_jnl.c: Likewise.
3533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3539 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3540 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3541 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3550 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3552 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3553 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3558 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3559 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3560 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3561 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3562 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3563 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3564 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3567 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3569 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3570 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3571 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3572 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3573 * sysdeps/ieee754/k_standard.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3593 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3594 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3596 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3599 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3605 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3606 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3610 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3633 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3634 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3635 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3636 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3638 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3639 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3640 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3641 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3642 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3649 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3651 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3653 * sysdeps/ieee754/s_matherr.c: Likewise.
3654 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3655 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3659 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3661 * crypt/md5.h: Remove __STDC__ conditionals.
3662 * libio/libioP.h: Likewise.
3663 * locale/programs/config.h: Likewise.
3664 * sysdeps/generic/sysdep.h: Likewise.
3665 * sysdeps/i386/asm-syntax.h: Likewise.
3666 * sysdeps/s390/asm-syntax.h: Likewise.
3667 * sysdeps/unix/sysdep.h: Likewise.
3668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3671 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3673 * libio/libio.h: Remove __STDC__ conditionals.
3674 * malloc/obstack.h: Likewise.
3675 * math/complex.h: Likewise.
3676 * math/math.h: Likewise.
3677 * sysdeps/generic/_G_config.h: Likewise.
3678 * sysdeps/gnu/_G_config.h: Likewise.
3679 * sysdeps/mach/hurd/_G_config.h: Likewise.
3680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3681 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3682 * sysdeps/sparc/bits/mathdef.h: Likewise.
3684 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3687 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3688 Clean up HAS_* macros.
3689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3690 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3700 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3702 * elf/tst-unique3.cc (gets): Remove declaration.
3703 * elf/tst-unique3lib.cc (gets): Likewise.
3704 * elf/tst-unique3lib2.cc (gets): Likewise.
3705 * elf/tst-unique4.cc (gets): Likewise.
3707 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3709 * include/stdio.h: Add C++ protection. Add gets declarations and
3711 * debug/tst-chk1.c: Don't declare gets here.
3712 * stdio-common/tst-gets.c: Likewise.
3714 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3716 * posix/glob: Remove directory.
3718 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3720 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3722 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3724 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3725 of the non-standard EPFNOSUPPORT.
3727 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3729 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3730 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3731 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3733 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3735 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3737 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3739 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3741 * nscd/grpcache.c (cache_addgr): Likewise.
3742 * nscd/hstcache.c (cache_addhst): Likewise.
3743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3744 * nscd/pwdcache.c (cache_addpw): Likewise.
3745 * nscd/servicescache.c (cache_addserv): Likewise.
3747 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3749 * malloc/malloc.c: Various cleanups.
3750 * malloc/hooks.c: Likewise.
3752 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3753 * stdlib/bug-fmtmsg1.c: New file.
3755 * stdlib/fmtmsg.c (init): Add missing unlock.
3756 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3758 2012-01-12 Marek Polacek <polacek@redhat.com>
3760 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3763 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3765 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3766 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3767 macro to ensure uniqueness of label name.
3768 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3769 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3771 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3776 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3780 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3782 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3784 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3785 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3788 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3790 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3791 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3795 * math/bits/math-finite.h: Add ldexp support.
3797 2012-01-10 Marek Polacek <polacek@redhat.com>
3799 * locale/programs/localedef.h (show_archive_content): Add noreturn
3802 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3804 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3806 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3808 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3810 * io/Makefile (headers): Add bits/poll2.h.
3812 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3815 typo #include statement.
3817 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3819 * include/sys/cdefs.h: Define __attribute_alloc_size.
3820 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3821 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3822 * elf/pldd.c: Likewise.
3823 * iconv/iconv_charmap.c: Likewise.
3824 * iconv/iconvconfig.c: Likewise.
3825 * iconv/strtab.c: Likewise.
3826 * locale/programs/locale.c: Likewise.
3827 * locale/programs/localedef.h: Likewise.
3828 * locale/programs/simple-hash.c: Likewise.
3829 * nscd/nscd.h: Likewise.
3830 * nss/makedb.c: Likewise.
3831 * sysdeps/generic/ldconfig.h: Likewise.
3832 * locale/programs/localedef.c: Remove xmalloc prototype.
3833 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3835 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3840 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3842 * math/Makefile (tests): Add tst-CMPLX.
3843 * math/tst-CMPLX.c: New file.
3845 * math/complex.h (CMPLXL): Fix typo.
3847 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3848 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3850 * debug/tst-chk1.c: Add poll and ppoll tests.
3851 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3852 * include/sys/poll.h: Add hidden proto for ppoll.
3853 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3854 * sysdeps/mach/hurd/ppoll.c: Likewise.
3855 * io/ppoll.c: Likewise.
3856 * debug/poll_chk.c: New file.
3857 * debug/ppoll_chk.c: New file.
3858 * include/bits/poll2.h: New file.
3859 * io/bits/poll2.h: New file.
3862 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3864 * configure.in: static is always set to yes. Remove.
3865 * config.make.in: Don't set build-static.
3866 * Makeconfig: Remove use of build-static.
3867 * dlfcn/Makefile: Likewise.
3868 * elf/Makefile: Likewise.
3869 * math/Makefile: Likewise.
3870 * misc/Makefile: Likewise.
3871 * nptl/Makefile: Likewise.
3872 * sysdeps/mach/hurd/Makefile: Likewise.
3874 * configure.in: PWD_P is not used anymore.
3875 * config.make.in: Remove PWD_P entry.
3877 * configure.in: Remove last remnants of RANLIB.
3878 No need to check for signed size_t anymore.
3879 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3881 Remove __builtin_expect test because we require at least gcc 3.4.
3882 * aclocal.m4: Likewise.
3884 * wcsmbs/mbrtoc16.c: Implement using towc function.
3885 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3886 * wcsmbs/wcsmbsload.c: Likewise.
3887 * iconv/gconv_simple.c: Likewise.
3888 * iconv/gconv_int.h: Likewise.
3889 * iconv/gconv_builtin.h: Likewise.
3890 * iconv/iconv_prog.c: Remove CHAR16 handling.
3892 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3894 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3896 * configure.in: Remove --with-elf and --enable-bounded options.
3897 Dont set base_machine for ia64. More non-ELF conditions removed.
3898 Remove testing and setting of leading underscore information.
3899 * config.make.in (build-bounded): Set to no.
3900 * config.h.in: Remove NO_UNDERSCORES entry.
3901 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3903 * csu/start.c: Remove !NO_UNDERSCORE code.
3904 * locale/localeinfo.h: Likewise.
3905 * sysdeps/generic/machine-gmon.h: Likewise.
3906 * sysdeps/generic/sysdep.h: Likewise.
3907 * sysdeps/i386/sysdep.h: Likewise.
3908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3909 * sysdeps/mach/sysdep.h: Likewise.
3910 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3912 * sysdeps/sh/sysdep.h: Likewise.
3913 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3914 * sysdeps/unix/i386/sysdep.S: Likewise.
3915 * sysdeps/unix/sparc/start.c: Likewise.
3916 * sysdeps/unix/sparc/sysdep.S: Likewise.
3917 * sysdeps/unix/sparc/sysdep.h: Likewise.
3918 * sysdeps/unix/start.c: Likewise.
3919 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3920 * sysdeps/x86_64/sysdep.h: Likewise.
3922 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3925 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3927 * argp/argp-fmtstream.h: Use const instead __const.
3928 * argp/argp.h: Likewise.
3929 * assert/assert.h: Likewise.
3930 * bits/fenv.h: Likewise.
3931 * bits/sched.h: Likewise.
3932 * bits/sigset.h: Likewise.
3933 * bits/sigthread.h: Likewise.
3934 * catgets/nl_types.h: Likewise.
3935 * conform/data/pthread.h-data: Likewise.
3936 * crypt/crypt-private.h: Likewise.
3937 * crypt/crypt.h: Likewise.
3938 * crypt/crypt_util.c: Likewise.
3939 * ctype/ctype.h: Likewise.
3940 * debug/execinfo.h: Likewise.
3941 * debug/mbsnrtowcs_chk.c: Likewise.
3942 * debug/mbsrtowcs_chk.c: Likewise.
3943 * debug/wcsnrtombs_chk.c: Likewise.
3944 * debug/wcsrtombs_chk.c: Likewise.
3945 * debug/wcstombs_chk.c: Likewise.
3946 * dirent/dirent.h: Likewise.
3947 * dlfcn/dlfcn.h: Likewise.
3948 * elf/neededtest4.c: Likewise.
3949 * grp/grp.h: Likewise.
3950 * gshadow/gshadow.h: Likewise.
3951 * iconv/gconv.h: Likewise.
3952 * iconv/gconv_int.h: Likewise.
3953 * iconv/gconv_simple.c: Likewise.
3954 * iconv/iconv.h: Likewise.
3955 * iconv/loop.c: Likewise.
3956 * iconv/skeleton.c: Likewise.
3957 * include/aio.h: Likewise.
3958 * include/aliases.h: Likewise.
3959 * include/argz.h: Likewise.
3960 * include/arpa/inet.h: Likewise.
3961 * include/assert.h: Likewise.
3962 * include/dirent.h: Likewise.
3963 * include/dlfcn.h: Likewise.
3964 * include/execinfo.h: Likewise.
3965 * include/fcntl.h: Likewise.
3966 * include/fenv.h: Likewise.
3967 * include/glob.h: Likewise.
3968 * include/grp.h: Likewise.
3969 * include/libintl.h: Likewise.
3970 * include/mntent.h: Likewise.
3971 * include/netdb.h: Likewise.
3972 * include/pwd.h: Likewise.
3973 * include/rpc/netdb.h: Likewise.
3974 * include/sched.h: Likewise.
3975 * include/search.h: Likewise.
3976 * include/shadow.h: Likewise.
3977 * include/signal.h: Likewise.
3978 * include/stdio.h: Likewise.
3979 * include/stdlib.h: Likewise.
3980 * include/string.h: Likewise.
3981 * include/sys/socket.h: Likewise.
3982 * include/sys/stat.h: Likewise.
3983 * include/sys/statfs.h: Likewise.
3984 * include/sys/statvfs.h: Likewise.
3985 * include/sys/syslog.h: Likewise.
3986 * include/sys/time.h: Likewise.
3987 * include/sys/uio.h: Likewise.
3988 * include/time.h: Likewise.
3989 * include/unistd.h: Likewise.
3990 * include/utmp.h: Likewise.
3991 * include/wchar.h: Likewise.
3992 * include/wctype.h: Likewise.
3993 * inet/aliases.h: Likewise.
3994 * inet/arpa/inet.h: Likewise.
3995 * inet/netinet/ether.h: Likewise.
3996 * inet/netinet/in.h: Likewise.
3997 * intl/libintl.h: Likewise.
3998 * io/bits/fcntl2.h: Likewise.
3999 * io/fcntl.h: Likewise.
4000 * io/ftw.h: Likewise.
4001 * io/sys/poll.h: Likewise.
4002 * io/sys/stat.h: Likewise.
4003 * io/sys/statfs.h: Likewise.
4004 * io/sys/statvfs.h: Likewise.
4005 * io/utime.h: Likewise.
4006 * libio/bits/stdio.h: Likewise.
4007 * libio/bits/stdio2.h: Likewise.
4008 * libio/libio.h: Likewise.
4009 * libio/libioP.h: Likewise.
4010 * libio/stdio.h: Likewise.
4011 * locale/lc-ctype.c: Likewise.
4012 * locale/locale.h: Likewise.
4013 * login/utmp.h: Likewise.
4014 * malloc/arena.c: Likewise.
4015 * malloc/malloc.c: Likewise.
4016 * malloc/malloc.h: Likewise.
4017 * malloc/mcheck.c: Likewise.
4018 * malloc/mtrace.c: Likewise.
4019 * math/bits/mathcalls.h: Likewise.
4020 * math/fenv.h: Likewise.
4021 * math/math_private.h: Likewise.
4022 * misc/bits/error.h: Likewise.
4023 * misc/bits/syslog.h: Likewise.
4024 * misc/err.h: Likewise.
4025 * misc/error.h: Likewise.
4026 * misc/fstab.h: Likewise.
4027 * misc/mntent.h: Likewise.
4028 * misc/regexp.h: Likewise.
4029 * misc/search.h: Likewise.
4030 * misc/sgtty.h: Likewise.
4031 * misc/sys/mman.h: Likewise.
4032 * misc/sys/syslog.h: Likewise.
4033 * misc/sys/uio.h: Likewise.
4034 * misc/sys/xattr.h: Likewise.
4035 * misc/ttyent.h: Likewise.
4036 * nis/rpcsvc/ypclnt.h: Likewise.
4037 * nss/nss.h: Likewise.
4038 * posix/bits/unistd.h: Likewise.
4039 * posix/fnmatch.h: Likewise.
4040 * posix/glob.h: Likewise.
4041 * posix/sched.h: Likewise.
4042 * posix/spawn.h: Likewise.
4043 * posix/sys/wait.h: Likewise.
4044 * posix/unistd.h: Likewise.
4045 * posix/wordexp.h: Likewise.
4046 * pwd/pwd.h: Likewise.
4047 * resolv/netdb.h: Likewise.
4048 * resource/sys/resource.h: Likewise.
4049 * rt/aio.h: Likewise.
4050 * rt/bits/mqueue2.h: Likewise.
4051 * rt/mqueue.h: Likewise.
4052 * shadow/shadow.h: Likewise.
4053 * signal/signal.h: Likewise.
4054 * socket/send.c: Likewise.
4055 * socket/sendto.c: Likewise.
4056 * socket/sys/socket.h: Likewise.
4057 * stdio-common/printf.h: Likewise.
4058 * stdlib/bits/stdlib.h: Likewise.
4059 * stdlib/fmtmsg.h: Likewise.
4060 * stdlib/monetary.h: Likewise.
4061 * stdlib/stdlib.h: Likewise.
4062 * stdlib/ucontext.h: Likewise.
4063 * streams/stropts.h: Likewise.
4064 * string/argz.h: Likewise.
4065 * string/bits/string2.h: Likewise.
4066 * string/string.h: Likewise.
4067 * string/strings.h: Likewise.
4068 * sunrpc/rpc/auth.h: Likewise.
4069 * sunrpc/rpc/auth_des.h: Likewise.
4070 * sunrpc/rpc/clnt.h: Likewise.
4071 * sunrpc/rpc/netdb.h: Likewise.
4072 * sunrpc/rpc/pmap_clnt.h: Likewise.
4073 * sunrpc/rpc/xdr.h: Likewise.
4074 * sysdeps/generic/inttypes.h: Likewise.
4075 * sysdeps/generic/net/if.h: Likewise.
4076 * sysdeps/generic/sys/swap.h: Likewise.
4077 * sysdeps/gnu/net/if.h: Likewise.
4078 * sysdeps/gnu/utmpx.h: Likewise.
4079 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4080 * sysdeps/i386/i486/bits/string.h: Likewise.
4081 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4082 * sysdeps/s390/bits/string.h: Likewise.
4083 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4084 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4085 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4086 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4087 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4088 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4089 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4090 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4091 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4092 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4093 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4094 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4095 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4096 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4097 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4098 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4099 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4105 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4106 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4107 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4108 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4109 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4111 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4112 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4113 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4114 * sysvipc/sys/ipc.h: Likewise.
4115 * sysvipc/sys/msg.h: Likewise.
4116 * sysvipc/sys/sem.h: Likewise.
4117 * sysvipc/sys/shm.h: Likewise.
4118 * termios/termios.h: Likewise.
4119 * time/sys/time.h: Likewise.
4120 * time/time.h: Likewise.
4121 * wcsmbs/bits/wchar2.h: Likewise.
4122 * wcsmbs/uchar.h: Likewise.
4123 * wcsmbs/wchar.h: Likewise.
4124 * wctype/wctype.h: Likewise.
4127 * Makeconfig: Remove all but ELF support including AIX support.
4128 * Makerules: Likewise.
4129 * config.h.in: Likewise.
4130 * config.make.in: Likewise.
4131 * configure: Likewise.
4132 * configure.in: Likewise.
4133 * csu/Makefile: Likewise.
4134 * csu/version.c: Likewise.
4135 * debug/Makefile: Likewise.
4136 * dlfcn/Makefile: Likewise.
4137 * elf/Makefile: Likewise.
4138 * extra-lib.mk: Likewise.
4139 * iconv/Makefile: Likewise.
4140 * include/libc-symbols.h: Likewise.
4141 * include/shlib-compat.h: Likewise.
4142 * resolv/Makefile: Likewise.
4143 * resolv/res_libc.c: Likewise.
4144 * rt/Makefile: Likewise.
4145 * sysdeps/i386/asm-syntax.h: Likewise.
4146 * sysdeps/i386/sysdep.h: Likewise.
4147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4148 * sysdeps/mach/sysdep.h: Likewise.
4149 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4150 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4151 * sysdeps/s390/asm-syntax.h: Likewise.
4152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4154 * sysdeps/sh/sysdep.h: Likewise.
4155 * sysdeps/unix/sparc/sysdep.h: Likewise.
4156 * sysdeps/wordsize-32/divdi3.c: Likewise.
4157 * sysdeps/x86_64/sysdep.h: Likewise.
4159 * argp/Versions: Remove _argp_unlock_xxx.
4162 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4163 * abilist/libBrokenLocale.abilist: Likewise.
4164 * abilist/libanl.abilist: Likewise.
4165 * abilist/libc.abilist: Likewise.
4166 * abilist/libcrypt.abilist: Likewise.
4167 * abilist/libdl.abilist: Likewise.
4168 * abilist/libm.abilist: Likewise.
4169 * abilist/libnsl.abilist: Likewise.
4170 * abilist/libpthread.abilist: Likewise.
4171 * abilist/libresolv.abilist: Likewise.
4172 * abilist/librt.abilist: Likewise.
4173 * abilist/libthread_db.abilist: Likewise.
4174 * abilist/libutil.abilist: Likewise.
4175 * abilist/libnss_db.abilist: New file.
4177 * scripts/abilist.awk: Add support for indirect functions.
4179 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4181 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4183 * shlib-versions: Remove entries for ports architectures.
4185 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4187 * elf/stackguard-macros.h: Remove support for IA-64.
4188 * elf/tst-auditmod1.c: Likewise.
4189 * sysdeps/generic/ldsodefs.h: Likewise.
4191 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4192 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4196 * configure.in: Remove --enable-omitfp support.
4198 * config.make.in: Likewise.
4199 * Makeconfig: Likewise.
4200 * manual/install.texi: Likewise.
4202 In case anyone cares, the IA-64 architecture could move to ports.
4203 * sysdeps/ia64/*: Removed.
4204 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4205 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4208 * configure.in: Remove entries for unsupported architectures.
4211 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4212 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4214 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4215 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4216 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4217 fall back to using wcrtomb.
4218 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4219 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4221 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4222 * wcsmbs/tst-c16c32-1.c: New file.
4224 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4227 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4229 * elf/tst-unique3.cc: Add explicit declaration of gets.
4230 * elf/tst-unique3lib.cc: Likewise.
4231 * elf/tst-unique3lib2.cc: Likewise.
4232 * elf/tst-unique4.cc: Likewise.
4234 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4236 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4239 * assert/assert.h (static_assert): Don't define for C++.
4240 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4241 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4243 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4245 * iconv/loop.c (single loop): Fix assertion in storing of
4248 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4250 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4252 * posix/getconf.c: Update copyright year.
4253 * nss/getent.c: Likewise.
4254 * nss/makedb.c: Likewise.
4255 * iconv/iconvconfig.c: Likewise.
4256 * iconv/iconv_prog.c: Likewise.
4257 * elf/ldconfig.c: Likewise.
4258 * elf/pldd.c: Likewise.
4259 * elf/sotruss.ksh: Likewise.
4260 * catgets/gencat.c: Likewise.
4261 * csu/version.c: Likewise.
4262 * elf/ldd.bash.in: Likewise.
4263 * elf/sprof.c (print_version): Likewise.
4264 * locale/programs/locale.c: Likewise.
4265 * locale/programs/localedef.c: Likewise.
4266 * login/programs/pt_chown.c: Likewise.
4267 * nscd/nscd.c (print_version): Likewise.
4268 * debug/xtrace.sh: Likewise.
4269 * malloc/memusage.sh: Likewise.
4270 * malloc/mtrace.pl: Likewise.
4271 * debug/catchsegv.sh: Likewise.
4273 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4275 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4278 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4281 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4282 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4284 * iconv/gconv_int.h: Likewise.
4285 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4286 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4287 from libc for GLIBC_2.16.
4288 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4289 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4290 * wcsmbs/uchar.h: Really define mbstate_t.
4291 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4292 * wcsmbs/c16rtomb.c: New file.
4293 * wcsmbs/mbrtoc16.c: New file.
4294 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4296 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4297 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4299 * wcsmbs/wchar.h: Add missing __restrict.
4301 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4304 * time/Makefile (routines): Add timespec_get.
4305 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4306 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4307 timespec for ISO C11.
4308 * time/timespec_get.c: New file.
4309 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4310 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4313 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4314 * stdlib/stdlib.h: Declare aligned_alloc.
4315 * Versions.def: Add GLIBC_2.16 for libc.
4316 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4319 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4322 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4326 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4329 * assert/assert.h (static_assert): Define.
4331 * version.h: Update for 2.16 development version.
4334 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4337 * version.h (RELEASE): Bump for 2.15 release.
4338 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4340 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4341 Patch by Marek Polacek <mpolacek@redhat.com>.
4343 * bits/byteswap.h: Protect long long constants with __extension__.
4344 * sysdeps/i386/bits/byteswap.h: Likewise.
4345 * sysdeps/ia64/bits/byteswap.h: Likewise.
4346 * sysdeps/s390/bits/byteswap.h: Likewise.
4347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4349 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4352 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4354 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4356 2011-12-23 Marek Polacek <polacek@redhat.com>
4358 * elf/dl-addr.c (determine_info): Add inline keyword.
4359 * elf/tst-auditmod4b.c (check_avx): Likewise.
4360 * elf/tst-auditmod6b.c (check_avx): Likewise.
4361 * elf/tst-auditmod6c.c (check_avx): Likewise.
4362 * elf/tst-auditmod7b.c (check_avx): Likewise.
4364 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4366 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4369 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4372 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4373 processing for last bytes.
4375 2011-08-06 Bruno Haible <bruno@clisp.org>
4378 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4379 U+0385, not to U+1FEE.
4382 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4383 entry for U+00A5 U+0301.
4385 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4388 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4389 buffer for the output is too small.
4391 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4395 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4396 SSE flags if possible.
4398 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4402 processing for last bytes.
4404 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4406 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4407 (syscall-list-default-options, syscall-list-default-condition)
4408 (syscall-list-includes): Define.
4409 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4410 list of ABIs and options and #if conditions for each ABI. Do not
4411 handle common syscalls between ABIs specially.
4412 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4414 (syscall-list-variants, syscall-list-32bit-options)
4415 (syscall-list-32bit-condition, syscall-list-64bit-options)
4416 (syscall-list-64bit-condition): Define.
4417 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4418 (syscall-list-variants, syscall-list-32bit-options)
4419 (syscall-list-32bit-condition, syscall-list-64bit-options)
4420 (syscall-list-64bit-condition): Define.
4421 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4423 (syscall-list-variants, syscall-list-32bit-options)
4424 (syscall-list-32bit-condition, syscall-list-64bit-options)
4425 (syscall-list-64bit-condition): Define.
4426 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4428 (syscall-list-variants, syscall-list-32bit-options)
4429 (syscall-list-32bit-condition, syscall-list-64bit-options)
4430 (syscall-list-64bit-condition): Define.
4432 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4434 * locale/iso-639.def: Add brx entry.
4437 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4438 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4440 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4441 __feraiseexcept_renamed.
4443 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4446 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4447 EPOLLET with unsigned values.
4448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4451 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4452 to large cancellation.
4453 * math/s_cacoshf.c: Likewise.
4454 * math/s_cacoshl.c: Likewise.
4456 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4460 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4461 * math/s_cacoshf.c: Likewise.
4462 * math/s_cacoshl.c: Likewise.
4464 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4467 * iconv/gconv.h: Define __GCONV_SWAP.
4468 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4469 * iconvdata/utf-16.c: Likewise.
4470 * iconvdata/utf-32.c: Likewise.
4472 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4476 numerator after shifting it by one limb.
4478 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4480 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4481 under [__USE_EXTERN_INLINES].
4483 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4486 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4488 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4490 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4491 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4493 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4495 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4496 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4497 for strncasecmp/strncasecmp_l compilation.
4498 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4499 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4501 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4504 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4507 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4510 * time/tzfile.c (__tzfile_read): Check values from file header.
4512 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4514 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4515 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4516 * powerpc/powerpc32/dl-start.S: Likewise.
4517 * powerpc/powerpc32/elf/start.S: Likewise.
4518 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4519 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4520 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4521 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4522 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4523 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4524 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4525 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4526 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4527 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4528 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4529 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4530 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4531 * powerpc/powerpc32/memset.S: Likewise.
4532 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4533 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4534 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4535 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4536 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4537 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4538 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4539 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4540 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4541 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4542 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4543 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4544 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4546 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4548 * math/libm-test.inc: Added more nearbyint tests.
4549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4554 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4556 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4559 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4561 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4562 Add wcscpy-ssse3 wcscpy-c.
4563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4564 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4565 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4566 * sysdeps/x86_64/wcschr.S: New file.
4567 * sysdeps/x86_64/wcsrchr.S: New file.
4568 * string/test-strcmp.c: Remove checking of wcscmp function for
4570 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4571 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4572 wcsrchr-sse2 wcsrchr-c.
4573 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4574 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4575 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4576 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4577 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4578 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4579 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4580 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4582 * wcsmbc/wcschr.c (WCSCHR): New macro.
4584 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4586 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4587 * wcsmbs/test-wcsrchr.c: New file.
4588 * string/test-strrchr.c: Add wcsrchr support.
4590 * wcsmbs/test-wcscpy.c: New file.
4591 * string/test-strcpy.c: Add wcscpy support.
4594 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4599 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4602 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4604 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4607 Minor optimizations.
4609 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4610 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4611 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4613 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4615 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4616 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4617 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4618 for gcc to avoid warnings.
4619 * inet/Makefile (tests): Add tst-checks.
4620 * inet/tst-checks.c: New file.
4622 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4625 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4628 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4629 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4631 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4633 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4635 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4638 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4640 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4643 conditional on GCC version.
4644 (__arch_compare_and_exchange_val_8_acq)
4645 (__arch_compare_and_exchange_val_16_acq)
4646 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4647 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4648 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4650 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4652 * sysdeps/sh/backtrace.c: New file.
4654 2011-12-02 Andreas Schwab <schwab@redhat.com>
4656 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4659 2011-12-01 Andreas Schwab <schwab@redhat.com>
4661 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4662 falling back to utime.
4664 2011-11-30 Andreas Schwab <schwab@redhat.com>
4666 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4667 expectations for float.
4669 2011-11-29 Andreas Schwab <schwab@redhat.com>
4671 * locale/weight.h (findidx): Add parameter len.
4672 * locale/weightwc.h (findidx): Likewise.
4673 * posix/fnmatch_loop.c (FCT): Adjust caller.
4674 * posix/regcomp.c (build_equiv_class): Likewise.
4675 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4676 * posix/regexec.c (check_node_accept_bytes): Likewise.
4677 * string/strcoll_l.c (STRCOLL): Likewise.
4678 * string/strxfrm_l.c (STRXFRM): Likewise.
4680 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4682 * Makefile.in: Remove CVSOPT handling.
4683 * configure.in: Remove use of AC_REVISION.
4684 * iconvdata/Makefile (distribute): No need to filter out CVS.
4685 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4688 2011-11-16 Andreas Schwab <schwab@redhat.com>
4690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4691 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4692 [USE_AS_STRNCASECMP_L]: Likewise.
4693 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4694 NO_TLS_DIRECT_SEG_REFS.
4695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4696 Fix argument offsets for non-PIC.
4697 [USE_AS_STRNCASECMP_L]: Likewise.
4698 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4699 NO_TLS_DIRECT_SEG_REFS.
4701 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4703 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4705 * locale/loadlocale.c (_nl_load_locale): Likewise.
4707 2011-11-15 Andreas Schwab <schwab@redhat.com>
4709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4710 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4711 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4712 (SYSCALL_GETTIME): Set errno on error.
4714 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4715 count references to noai6ai_cached.
4717 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4719 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4721 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4722 FD_CLOEXEC for /proc/self/maps.
4724 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4725 FD_CLOEXEC for /proc/meminfo.
4727 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4730 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4731 FD_CLOEXEC for given file.
4733 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4735 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4736 FD_CLOEXEC for /etc/hosts.
4737 (_gethtent): Likewise.
4739 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4742 cancellation and set FD_CLOEXEC for /etc/netgroup.
4744 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4745 reading /etc/publickey.
4747 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4748 allow cancellation when reading /etc/group.
4750 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4752 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4754 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4755 when using data file.
4757 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4759 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4760 (write_nis_obj): Use "c" and "e" in fopen.
4762 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4764 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4766 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4768 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4770 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4773 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4775 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4777 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4779 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4780 file parsing and set FD_CLOEXEC.
4782 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4784 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4786 2011-11-14 Andreas Schwab <schwab@redhat.com>
4788 * malloc/arena.c (arena_get2): Don't call reused_arena when
4789 _int_new_arena failed.
4791 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4793 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4794 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4795 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4796 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4799 to compile strcasecmp and strncasecmp.
4800 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4801 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4805 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4807 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4808 locale-defines.sym to gen-as-const-headers.
4809 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4810 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4812 to compile strcasecmp and strncasecmp.
4813 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4814 strcasecmp_l and strncasecmp_l.
4815 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4816 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4817 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4818 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4819 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4820 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4821 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4822 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4823 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4824 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4825 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4827 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4829 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4830 result of SYSDEP_GETTIME_CPU to retval.
4831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4832 parameter list to macro. Remove trailing semicolon. Adjust users.
4834 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4837 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4839 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4841 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4842 from unused variable.
4844 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4846 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4849 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4852 * sunrpc/rpc_prot.c (rejected): Fix case value.
4854 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4855 unsigned long long int to avoid warnings in shift.
4857 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4859 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4862 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4863 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4864 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4866 * nis/nis_table.c (nis_list): Use variable of correct type for
4867 result of __follow_path call.
4869 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4871 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4872 of math functions ceil, trunc, floor, round, and sqrt, when
4873 avaliable on the platform.
4874 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4876 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4877 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4878 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4880 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4882 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4885 2011-11-11 Roland McGrath <roland@hack.frob.com>
4887 * include/unistd.h: Fix __readlink return type.
4888 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4890 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4892 * stdlib/ucontext.h: Undo last change for makecontext.
4894 2011-11-11 Andreas Schwab <schwab@redhat.com>
4896 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4898 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4899 * setjmp/setjmp.h: Mark functions as non-leaf.
4900 * setjmp/bits/setjmp2.h: Likewise.
4901 * stdlib/ucontext.h: Likewise.
4903 2011-11-10 Andreas Schwab <schwab@redhat.com>
4905 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4906 (reused_arena): Don't check arena limit.
4907 (arena_get2): Atomically check arena limit.
4909 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4911 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4912 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4917 2011-11-07 Andreas Schwab <schwab@redhat.com>
4919 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4920 handler when locking.
4922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4923 Fix size of allocated buffer.
4925 2011-11-04 Andreas Schwab <schwab@redhat.com>
4928 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4929 declarations for long double functions.
4930 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4932 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4934 2011-11-03 Andreas Schwab <schwab@redhat.com>
4936 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4939 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4942 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4944 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4946 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4948 * include/alloca.h (stackinfo_alloca_round): Define.
4949 (extend_alloca): Use it.
4950 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4951 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4954 * scripts/check-local-headers.sh: Ignore libaudit.h.
4956 * nscd/Makefile (extra-objs): Make recursively expanded.
4958 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4960 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4963 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4964 * posix/tst-rfc3484-2.c: Likewise.
4965 * posix/tst-rfc3484-3.c: Likewise.
4967 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4969 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4971 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4972 process_vm_writev from libc using GLIBC_2.15 version.
4974 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4976 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4978 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4981 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4984 * nss/getent.c (initgroups_keys): Show error message in case no group
4987 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4988 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4989 __bump_nl_timestamp.
4990 * nscd/connections (nscd_init): When host database is served open
4991 netlink socket and request notification about configuration changes.
4992 (main_loop_poll): Track netlink file descriptor and bump timestamp
4993 in case data becomes available.
4994 (main_loop_epoll): Likewise.
4995 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4996 (database_pers_head): Add extra_data fileds.
4997 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4998 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4999 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5002 in6ai data, call __free_in6ai.
5003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5005 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5006 interface information. Reuse previous data if netlink timestamp
5008 (__bump_nl_timestamp): New function.
5009 (__free_in6ai): New function.
5011 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5013 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5014 close_not_cancel_no_status here.
5015 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5017 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5020 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5023 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5024 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5025 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5027 2011-07-03 Andreas Jaeger <aj@suse.de>
5030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5031 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5032 * math/libm-test.inc (sin_test): Add test case.
5034 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5037 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5038 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5040 * elf/chroot_canon.c (chroot_canon): Cleanups.
5042 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5045 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5046 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5048 * string/test-strchr.c: Make usable for strchrnul testing.
5049 * string/test-strchrnul.c: New file.
5050 * string/Makefile (strop-tests): Add strchrnul.
5052 * po/it.po: Update from translation team.
5053 * po/es.po: Likewise.
5055 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5057 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5058 the three constants needed as parameters. Drop the others.
5059 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5060 __m128i_strloadu_tolower.
5061 Create and initialize variable zero and use it in all the places
5062 where _mm_setzero_si128 was used.
5064 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5065 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5066 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5069 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5070 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5071 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5072 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5074 __mpranred, __mptan.
5075 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5076 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5077 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5078 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5079 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5080 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5082 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5083 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5085 2011-10-28 Andreas Schwab <schwab@redhat.com>
5087 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5089 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5092 wide char related routines to wcsmbs subdir.
5094 2011-10-27 Andreas Schwab <schwab@redhat.com>
5097 * misc/sys/cdefs.h (__THROWNL): Define.
5098 * posix/unistd.h: Use __THREADNL instead of __THREAD
5099 for memory synchronization functions.
5101 2011-10-26 Roland McGrath <roland@hack.frob.com>
5104 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5106 * manual/stdio.texi (Obstack Streams): Node removed.
5108 2011-10-26 Andreas Schwab <schwab@redhat.com>
5110 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5111 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5114 * math/math_private.h (math_force_eval): Allow non-addressable
5116 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5118 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5123 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5126 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5127 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5130 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5137 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5138 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5139 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5142 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5143 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5145 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5146 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5147 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5148 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5149 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5150 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5152 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5153 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5156 place. Use VEX encoding when compiling for AVX.
5158 2011-10-25 Andreas Schwab <schwab@redhat.com>
5160 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5161 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5163 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5165 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5167 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5168 useless if() expression.
5169 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5179 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5181 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5182 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5187 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5189 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5191 2011-10-25 Andreas Schwab <schwab@redhat.com>
5193 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5197 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5199 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5200 .text section. Avoid duplicate constants.
5201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5210 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5215 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5224 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5225 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5226 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5227 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5228 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5231 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5232 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5233 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5234 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5235 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5236 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5237 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5239 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5240 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5242 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5243 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5244 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5245 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5247 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5249 * sysdeps/x86_64/dla.h: Move to ...
5250 * sysdeps/x86_64/fpu/dla.h: ...here.
5251 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5252 situations. Use __builtin_fma only for gcc 4.6 and up.
5254 * config.make.in: Add have-mfma4 entry.
5255 * configure.in: Substitute libc_cv_cc_fma4.
5256 * math/Makefile (dbl-only-routines): Add sincostab.
5257 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5258 Use __sincostab not sincos.
5259 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5266 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5267 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5268 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5269 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5272 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5274 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5275 define aliases when function name is a macro.
5276 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5277 sysdeps/ieee754/dbl-64/sincos.tbl.
5278 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5279 fma4-enabled routines.
5280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5281 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5282 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5283 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5284 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5286 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5288 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5289 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5290 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5292 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5303 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5305 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5311 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5322 2011-10-24 Andreas Schwab <schwab@redhat.com>
5324 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5326 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5328 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5330 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5334 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5335 Remove unused variable magic_bits.
5336 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5338 * string/strnlen.c: Define and use STRNLEN macro.
5339 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5340 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5342 * wcsmbs/wcslen.c: Define and use WCSLEN.
5343 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5344 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5345 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5346 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5347 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5348 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5351 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5354 strnlen-sse2-no-bsf.
5355 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5357 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5358 Add strnlen support.
5359 (USE_AS_STRNLEN): New macro.
5360 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5362 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5363 * sysdeps/x86_64/wcslen.S: New file.
5365 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5368 XMM-moves are used for copying on small sizes.
5370 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5372 * wcsmbs/Makefile (strop-tests): Add wcschr.
5373 * wcsmbs/test-wcschr.c: New file.
5374 * string/test-strchr.c: Update.
5378 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5380 * wcsmbs/Makefile (strop-tests): Add wcslen.
5381 * wcsmbs/test-wcslen.c: New file.
5382 * string/test-strlen.c: Update.
5386 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5388 * po/it.po: Update from translation team.
5390 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5392 * sysdeps/x86_64/wcscmp.S: Update.
5393 Fix wrong comparison semantics.
5394 wcscmp shall use signed comparison not unsigned.
5395 Don't use substraction to avoid overflow bug.
5396 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5397 * wcsmbc/wcscmp.c: Likewise.
5398 * string/test-strcmp.c: Likewise.
5399 Add new tests to check cases with negative values.
5401 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5403 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5404 * sysdeps/x86_64/dla.h: ...here. New file.
5405 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5415 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5418 __ynl_finite aliases.
5420 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5424 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5426 [DLA_FMA] (EMULV): Use DLA_FMA.
5427 [DLA_FMA] (MUL12): Use EMULV.
5428 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5429 that are not needed.
5430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5438 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5440 * math/s_nan.c: Undef __nan.
5441 * math/s_nanf.c: Undef __nanf.
5442 * math/s_nanl.c: Undef __nanl.
5443 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5446 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5448 * math/s_catan.c: Add branch predictions.
5449 * math/s_catanf.c: Likewise.
5450 * math/s_catanh.c: Likewise.
5451 * math/s_catanhf.c: Likewise.
5452 * math/s_catanhl.c: Likewise.
5453 * math/s_catanl.c: Likewise.
5454 * math/s_cexp.c: Likewise.
5455 * math/s_cexpf.c: Likewise.
5456 * math/s_cexpl.c: Likewise.
5457 * math/s_clog.c: Likewise.
5458 * math/s_clog10.c: Likewise.
5459 * math/s_clog10f.c: Likewise.
5460 * math/s_clog10l.c: Likewise.
5461 * math/s_clogf.c: Likewise.
5462 * math/s_clogl.c: Likewise.
5463 * math/s_csqrt.c: Likewise.
5464 * math/s_csqrtf.c: Likewise.
5465 * math/s_csqrtl.c: Likewise.
5466 * math/s_ctanf.c: Likewise.
5467 * math/s_ctanh.c: Likewise.
5468 * math/s_ctanhf.c: Likewise.
5469 * math/s_ctanhl.c: Likewise.
5470 * math/s_ctanl.c: Likewise.
5472 * math/math_private.h: Define __nan, __nanf, __nanl.
5473 * math/s_cacosh.c: Include <math_private.h>.
5474 * math/s_cacoshl.c: Likewise.
5475 * math/s_casinh.c: Likewise.
5476 * math/s_casinhf.c: Likewise.
5477 * math/s_casinhl.c: Likewise.
5478 * math/s_ccos.c: Rely entire on ccosh.
5479 * math/s_ccosf.c: Rely entire on ccoshf.
5480 * math/s_ccosl.c: Rely entirely on ccoshl.
5481 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5482 Remove tests for FE_INVALID.
5483 * math/s_ccoshf.c: Likewise.
5484 * math/s_ccoshl.c: Likewise.
5485 * math/s_csin.c: Likewise.
5486 * math/s_csinf.c: Likewise.
5487 * math/s_csinh.c Likewise.
5488 * math/s_csinhf.c: Likewise.
5489 * math/s_csinhl.c: Likewise.
5490 * math/s_csinl.c: Likewise.
5491 * math/s_ctan.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5493 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5496 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5499 compilation problems.
5501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5504 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5506 * sysdeps/i386/configure.in: Test for -mfma4 option.
5507 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5508 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5509 COMMON_CPUID_INDEX_80000001.
5510 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5511 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5512 use it if FMA3 is not supported.
5513 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5515 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5516 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5518 2011-10-20 Andreas Schwab <schwab@redhat.com>
5521 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5522 it would create a cycle with a link time dependency.
5524 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5526 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5528 * string/Makefile (strop-tests): Add rawmemchr.
5529 * string/test-rawmemchr.c: New file.
5531 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5533 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5534 when compiling str{,n}casecmp and when AVX is available. Hook up
5535 new optimized code in initializers.
5537 2011-10-19 Andreas Schwab <schwab@redhat.com>
5539 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5540 __feraiseexcept instead of feraiseexcept.
5542 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5544 * math/math_private.h: Define defaults for libc_fetestexcept and
5546 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5547 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5548 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5549 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5550 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5551 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5552 libc_fetestexcept and libc_feupdateenv.
5554 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5555 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5556 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5557 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5558 libc_feholdexcept_setround.
5560 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5561 Add s_nearbyint-c and s_nearbyintf-c.
5562 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5564 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5566 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5569 * math/math_private.h: Define defaults for libc_fegetround,
5570 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5571 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5572 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5574 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5576 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5577 Remove comments and hacks for old compiler versions.
5578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5579 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5582 2011-10-18 Andreas Schwab <schwab@redhat.com>
5584 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5585 (__feraiseexcept_renamed): Add __NTH.
5586 (feraiseexcept): Add __NTH. Rename local variables to fix
5587 namespace violations.
5589 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5595 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5596 recently added interfaces.
5597 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5599 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5600 about macro parameter expansion.
5602 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5603 __NO_MATH_INLINES is defined. Cleanups.
5605 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5606 and __floorf is target has SSE4.1.
5607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5608 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5609 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5610 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5612 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5616 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5618 2011-10-17 Andreas Schwab <schwab@redhat.com>
5620 * misc/sys/cdefs.h: Fix last change.
5622 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5625 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5627 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5629 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5637 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5638 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5639 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5640 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5641 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5642 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5643 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5644 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5645 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5646 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5647 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5648 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5649 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5650 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5652 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5653 ceil, ceilf, floor, floorf.
5655 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5656 Perform IRELATIVE relocations last.
5658 * elf/do-rel.h: Add another parameter nrelative, replacing the
5659 local variable with the same name. Change name of the function
5660 to end in Rel or Rela (uppercase).
5661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5662 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5663 elf_dynamic_do_##reloc function.
5665 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5667 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5668 is sufficient, at least on modern CPUs.
5670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5672 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5675 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5677 * math/bits/math-finite.h: Add entries for exp.
5678 * math/e_expl.c: Add __*_finite alias.
5679 * sysdeps/i386/fpu/e_exp.S: Likewise.
5680 * sysdeps/i386/fpu/e_expf.S: Likewise.
5681 * sysdeps/i386/fpu/e_expl.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5690 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5691 is sufficient, at least on modern CPUs.
5693 * ctype/ctype-info.c (__ctype_init): Define.
5694 * include/ctype.h (__ctype_init): Declare.
5695 (__ctype_b_loc): The variable is always initialized.
5696 (__ctype_toupper_loc): Likewise.
5697 (__ctype_tolower_loc): Likewise.
5698 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5699 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5701 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5703 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5705 * configure.in: Also look in $cxxmachine/include for C++ system
5708 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5710 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5711 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5712 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5713 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5715 (USE_AS_WMEMCMP): New macro.
5717 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5718 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5719 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5720 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5722 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5723 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5724 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5725 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5726 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5727 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5728 (USE_AS_WMEMCMP): New macro.
5729 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5730 * sysdeps/string/test-memcmp.c: Update.
5733 * wcsmbs/wmemcmp.c: Update.
5734 (WMEMCMP): New macro.
5737 2011-10-12 Andreas Jaeger <aj@suse.de>
5740 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5742 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5744 * libio/iofwide.c (do_length): Avoid warning.
5746 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5748 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5750 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5752 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5753 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5754 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5755 * sysdeps/i386/i686/fpu/e_log.S: New file.
5756 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5757 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5759 * ctype/ctype.h: Add support for inlined isXXX functions when
5762 2011-10-14 Andreas Schwab <schwab@redhat.com>
5764 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5768 2011-10-13 Roland McGrath <roland@hack.frob.com>
5771 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5773 2011-10-13 Andreas Schwab <schwab@redhat.com>
5775 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5776 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5779 * sysdeps/x86_64/memrchr.S: Check for zero size.
5781 * string/stratcliff.c: Add memrchr tests.
5783 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5786 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5787 rawmemchr-sse2 rawmemchr-sse2-bsf.
5788 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5789 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5790 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5791 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5792 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5793 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5794 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5795 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5796 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5798 * string/memrchr.c (MEMRCHR): New macro.
5800 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5802 Add integration with gcc's -ffinite-math-only and optimize wrapper
5804 * Versions.def: Define GLIBC_2.15 version for libm.
5805 * math/Makefile (headers): Add bits/math-finite.h.
5806 * math/bits/math-finite.h: New file.
5807 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5808 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5809 * math/e_acoshl.c: Add __*_finite alias.
5810 * math/e_acosl.c: Likewise.
5811 * math/e_asinl.c: Likewise.
5812 * math/e_atan2l.c: Likewise.
5813 * math/e_atanhl.c: Likewise.
5814 * math/e_coshl.c: Likewise.
5815 * math/e_exp10.c: Likewise.
5816 * math/e_exp10f.c: Likewise.
5817 * math/e_exp10l.c: Likewise.
5818 * math/e_exp2l.c: Likewise.
5819 * math/e_fmodl.c: Likewise.
5820 * math/e_gammal_r.c: Likewise.
5821 * math/e_hypotl.c: Likewise.
5822 * math/e_j0l.c: Likewise.
5823 * math/e_j1l.c: Likewise.
5824 * math/e_jnl.c: Likewise.
5825 * math/e_lgammal_r.c: Likewise.
5826 * math/e_log10l.c: Likewise.
5827 * math/e_log2l.c: Likewise.
5828 * math/e_logl.c: Likewise.
5829 * math/e_powl.c: Likewise.
5830 * math/e_sinhl.c: Likewise.
5831 * math/e_sqrtl.c: Likewise.
5832 * math/e_scalb.c: Completely rewritten and optimized.
5833 * math/e_scalbf.c: Likewise.
5834 * math/e_scalbl.c: Likewise.
5835 * math/w_acos.c: Likewise.
5836 * math/w_acosf.c: Likewise.
5837 * math/w_acosl.c: Likewise.
5838 * math/w_acosh.c: Likewise.
5839 * math/w_acoshf.c: Likewise.
5840 * math/w_acoshl.c: Likewise.
5841 * math/w_asin.c: Likewise.
5842 * math/w_asinf.c: Likewise.
5843 * math/w_asinl.c: Likewise.
5844 * math/w_atan2.c: Likewise.
5845 * math/w_atan2f.c: Likewise.
5846 * math/w_atan2l.c: Likewise.
5847 * math/w_atanh.c: Likewise.
5848 * math/w_atanhf.c: Likewise.
5849 * math/w_atanhl.c: Likewise.
5850 * math/w_exp10.c: Likewise.
5851 * math/w_exp10f.c: Likewise.
5852 * math/w_exp10l.c: Likewise.
5853 * math/w_fmod.c: Likewise.
5854 * math/w_fmodf.c: Likewise.
5855 * math/w_fmodl.c: Likewise.
5856 * math/w_j0.c: Likewise.
5857 * math/w_j0f.c: Likewise.
5858 * math/w_j0l.c: Likewise.
5859 * math/w_j1.c: Likewise.
5860 * math/w_j1f.c: Likewise.
5861 * math/w_j1l.c: Likewise.
5862 * math/w_jn.c: Likewise.
5863 * math/w_jnf.c: Likewise.
5864 * math/w_log.c: Likewise.
5865 * math/w_logf.c: Likewise.
5866 * math/w_logl.c: Likewise.
5867 * math/w_log10.c: Likewise.
5868 * math/w_log10f.c: Likewise.
5869 * math/w_log10l.c: Likewise.
5870 * math/w_log2.c: Likewise.
5871 * math/w_log2f.c: Likewise.
5872 * math/w_log2l.c: Likewise.
5873 * math/w_pow.c: Likewise.
5874 * math/w_powf.c: Likewise.
5875 * math/w_powl.c: Likewise.
5876 * math/w_remainder.c: Likewise.
5877 * math/w_remainderf.c: Likewise.
5878 * math/w_remainderl.c: Likewise.
5879 * math/w_scalb.c: Likewise.
5880 * math/w_scalbf.c: Likewise.
5881 * math/w_scalbl.c: Likewise.
5882 * math/w_sqrt.c: Likewise.
5883 * math/w_sqrtf.c: Likewise.
5884 * math/w_sqrtl.c: Likewise.
5885 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5886 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5888 * math/math_private.h: Declare __kernel_standard_f.
5889 * math/w_cosh.c: Remove cruft and optimize a bit.
5890 * math/w_coshf.c: Likewise.
5891 * math/w_coshl.c: Likewise.
5892 * math/w_exp2.c: Likewise.
5893 * math/w_exp2f.c: Likewise.
5894 * math/w_exp2l.c: Likewise.
5895 * math/w_hypot.c: Likewise.
5896 * math/w_hypotf.c: Likewise.
5897 * math/w_hypotl.c: Likewise.
5898 * math/w_lgamma.c: Likewise.
5899 * math/w_lgamma_r.c: Likewise.
5900 * math/w_lgammaf.c: Likewise.
5901 * math/w_lgammaf_r.c: Likewise.
5902 * math/w_lgammal.c: Likewise.
5903 * math/w_lgammal_r.c: Likewise.
5904 * math/w_sinh.c: Likewise.
5905 * math/w_sinhf.c: Likewise.
5906 * math/w_sinhl.c: Likewise.
5907 * math/w_tgamma.c: Likewise.
5908 * math/w_tgammaf.c: Likewise.
5909 * math/w_tgammal.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5912 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5913 Minor optimizations. Pretty printing. Remove cruft.
5914 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5918 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5919 * sysdeps/i386/fpu/e_asin.S: Likewise.
5920 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5921 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5922 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5923 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5927 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5928 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5929 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5930 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5931 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5932 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5933 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5934 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5935 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5936 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5937 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5938 * sysdeps/i386/fpu/e_log.S: Likewise.
5939 * sysdeps/i386/fpu/e_log10.S: Likewise.
5940 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5942 * sysdeps/i386/fpu/e_log2.S: Likewise.
5943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5944 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5945 * sysdeps/i386/fpu/e_logf.S: Likewise.
5946 * sysdeps/i386/fpu/e_logl.S: Likewise.
5947 * sysdeps/i386/fpu/e_pow.S: Likewise.
5948 * sysdeps/i386/fpu/e_powf.S: Likewise.
5949 * sysdeps/i386/fpu/e_powl.S: Likewise.
5950 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5951 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5952 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5956 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5957 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5958 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5969 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5980 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5984 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5986 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5987 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5988 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5990 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5993 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5994 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5995 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5996 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6044 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6045 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6047 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6050 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6051 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6052 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6054 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6055 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6056 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6057 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6058 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6059 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6060 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6061 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6062 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6063 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6064 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6065 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6066 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6067 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6068 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6069 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6070 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6071 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6072 (__isnanf): Likewise.
6073 (__isinf_ns): Likewise.
6074 (__isinf_nsf): Likewise.
6075 (__finite): Likewise.
6076 (__finitef): Likewise.
6077 (__ieee754_sqrt): Define as macro.
6078 (__ieee754_sqrtf): Define as macro.
6079 (__ieee754_sqrtl): Define as macro.
6080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6082 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6083 __FINITE_MATH_ONLY__ consistent.
6084 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6086 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6088 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6091 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6093 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6095 * po/ja.po: Update from translation team.
6097 2011-10-08 Roland McGrath <roland@hack.frob.com>
6099 * locale/programs/locarchive.c (prepare_address_space): New function.
6100 (create_archive, enlarge_archive, open_archive): Use it.
6102 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6103 inside [SHARED], where it is used.
6105 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6107 * nss/getent.c (netgroup_keys): Remove unused variable.
6108 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6110 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6112 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6115 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6116 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6118 * math/Makefile (libm-calls): Add s_isinf_ns.
6119 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6120 * math/multc3.c: Likewise.
6121 * math/s_casin.c: Likewise.
6122 * math/s_casinf.c: Likewise.
6123 * math/s_casinl.c: Likewise.
6124 * math/s_ccos.c: Likewise.
6125 * math/s_ccosf.c: Likewise.
6126 * math/s_ccosl.c: Likewise.
6127 * math/s_ctan.c: Likewise.
6128 * math/s_ctanf.c: Likewise.
6129 * math/s_ctanh.c: Likewise.
6130 * math/s_ctanhf.c: Likewise.
6131 * math/s_ctanhl.c: Likewise.
6132 * math/s_ctanl.c: Likewise.
6133 * math/w_fmod.c: Likewise.
6134 * math/w_fmodf.c: Likewise.
6135 * math/w_fmodl.c: Likewise.
6136 * math/w_remainder.c: Likewise.
6137 * math/w_remainderf.c: Likewise.
6138 * math/w_remainderl.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6140 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6143 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6144 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6145 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6146 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6148 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6150 * stdio-common/printf_fphex.c: Likewise.
6151 * stdio-common/printf_size.c: Likewise.
6153 * math/e_exp10.c: Include math_private.h using <...> not "...".
6154 * math/e_exp10f.c: Likewise.
6155 * math/e_exp10l.c: Likewise.
6156 * math/e_exp2l.c: Likewise.
6157 * math/e_j0l.c: Likewise.
6158 * math/e_j1l.c: Likewise.
6159 * math/e_jnl.c: Likewise.
6160 * math/e_lgammal_r.c: Likewise.
6161 * math/e_rem_pio2l.c: Likewise.
6162 * math/e_scalb.c: Likewise.
6163 * math/e_scalbf.c: Likewise.
6164 * math/e_scalbl.c: Likewise.
6165 * math/k_cosl.c: Likewise.
6166 * math/k_sinl.c: Likewise.
6167 * math/k_tanl.c: Likewise.
6168 * math/s_cacoshf.c: Likewise.
6169 * math/s_catan.c: Likewise.
6170 * math/s_catanf.c: Likewise.
6171 * math/s_catanh.c: Likewise.
6172 * math/s_catanhf.c: Likewise.
6173 * math/s_catanhl.c: Likewise.
6174 * math/s_catanl.c: Likewise.
6175 * math/s_ccosh.c: Likewise.
6176 * math/s_ccoshf.c: Likewise.
6177 * math/s_ccoshl.c: Likewise.
6178 * math/s_cexp.c: Likewise.
6179 * math/s_cexpf.c: Likewise.
6180 * math/s_cexpl.c: Likewise.
6181 * math/s_clog.c: Likewise.
6182 * math/s_clog10.c: Likewise.
6183 * math/s_clog10f.c: Likewise.
6184 * math/s_clog10l.c: Likewise.
6185 * math/s_clogf.c: Likewise.
6186 * math/s_clogl.c: Likewise.
6187 * math/s_csin.c: Likewise.
6188 * math/s_csinf.c: Likewise.
6189 * math/s_csinh.c: Likewise.
6190 * math/s_csinhf.c: Likewise.
6191 * math/s_csinhl.c: Likewise.
6192 * math/s_csinl.c: Likewise.
6193 * math/s_csqrt.c: Likewise.
6194 * math/s_csqrtf.c: Likewise.
6195 * math/s_csqrtl.c: Likewise.
6196 * math/s_ctan.c: Likewise.
6197 * math/s_ctanf.c: Likewise.
6198 * math/s_ctanh.c: Likewise.
6199 * math/s_ctanhf.c: Likewise.
6200 * math/s_ctanhl.c: Likewise.
6201 * math/s_ctanl.c: Likewise.
6202 * math/s_ldexp.c: Likewise.
6203 * math/s_ldexpf.c: Likewise.
6204 * math/s_ldexpl.c: Likewise.
6205 * math/s_significand.c: Likewise.
6206 * math/s_significandf.c: Likewise.
6207 * math/s_significandl.c: Likewise.
6208 * math/w_acos.c: Likewise.
6209 * math/w_acosf.c: Likewise.
6210 * math/w_acosh.c: Likewise.
6211 * math/w_acoshf.c: Likewise.
6212 * math/w_acoshl.c: Likewise.
6213 * math/w_acosl.c: Likewise.
6214 * math/w_asin.c: Likewise.
6215 * math/w_asinf.c: Likewise.
6216 * math/w_asinl.c: Likewise.
6217 * math/w_atan2.c: Likewise.
6218 * math/w_atan2f.c: Likewise.
6219 * math/w_atan2l.c: Likewise.
6220 * math/w_atanh.c: Likewise.
6221 * math/w_atanhf.c: Likewise.
6222 * math/w_atanhl.c: Likewise.
6223 * math/w_cosh.c: Likewise.
6224 * math/w_coshf.c: Likewise.
6225 * math/w_coshl.c: Likewise.
6226 * math/w_dremf.c: Likewise.
6227 * math/w_exp10.c: Likewise.
6228 * math/w_exp10f.c: Likewise.
6229 * math/w_exp10l.c: Likewise.
6230 * math/w_exp2.c: Likewise.
6231 * math/w_exp2f.c: Likewise.
6232 * math/w_fmod.c: Likewise.
6233 * math/w_fmodf.c: Likewise.
6234 * math/w_fmodl.c: Likewise.
6235 * math/w_hypot.c: Likewise.
6236 * math/w_hypotf.c: Likewise.
6237 * math/w_hypotl.c: Likewise.
6238 * math/w_j0.c: Likewise.
6239 * math/w_j0f.c: Likewise.
6240 * math/w_j0l.c: Likewise.
6241 * math/w_j1.c: Likewise.
6242 * math/w_j1f.c: Likewise.
6243 * math/w_j1l.c: Likewise.
6244 * math/w_jn.c: Likewise.
6245 * math/w_jnf.c: Likewise.
6246 * math/w_jnl.c: Likewise.
6247 * math/w_lgamma.c: Likewise.
6248 * math/w_lgamma_r.c: Likewise.
6249 * math/w_lgammaf.c: Likewise.
6250 * math/w_lgammaf_r.c: Likewise.
6251 * math/w_lgammal.c: Likewise.
6252 * math/w_lgammal_r.c: Likewise.
6253 * math/w_log.c: Likewise.
6254 * math/w_log10.c: Likewise.
6255 * math/w_log10f.c: Likewise.
6256 * math/w_log10l.c: Likewise.
6257 * math/w_log2.c: Likewise.
6258 * math/w_log2f.c: Likewise.
6259 * math/w_log2l.c: Likewise.
6260 * math/w_logf.c: Likewise.
6261 * math/w_logl.c: Likewise.
6262 * math/w_pow.c: Likewise.
6263 * math/w_powf.c: Likewise.
6264 * math/w_powl.c: Likewise.
6265 * math/w_remainder.c: Likewise.
6266 * math/w_remainderf.c: Likewise.
6267 * math/w_remainderl.c: Likewise.
6268 * math/w_scalb.c: Likewise.
6269 * math/w_scalbf.c: Likewise.
6270 * math/w_scalbl.c: Likewise.
6271 * math/w_sinh.c: Likewise.
6272 * math/w_sinhf.c: Likewise.
6273 * math/w_sinhl.c: Likewise.
6274 * math/w_sqrt.c: Likewise.
6275 * math/w_sqrtf.c: Likewise.
6276 * math/w_sqrtl.c: Likewise.
6277 * math/w_tgamma.c: Likewise.
6278 * math/w_tgammaf.c: Likewise.
6279 * math/w_tgammal.c: Likewise.
6281 * po/ja.po: Update from translation team.
6283 2011-09-29 Andreas Jaeger <aj@suse.de>
6286 * sunrpc/netname.c (netname2host): Fix logic.
6290 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6292 * math/w_remainder.c (__remainder): Likewise.
6293 * math/w_remainderf.c (__remainderf): Likewise.
6294 * math/libm-test.inc (remainder_test): Add test cases.
6296 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6298 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6301 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6303 * string/test-memcmp.c: Avoid unncessary #defines.
6304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6306 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6308 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6309 Use new sse2 version for core i3 - i7 as it's faster
6311 (bit_Prefer_PMINUB_for_stringop): New.
6312 * sysdeps/x86_64/rawmemchr.S: Update.
6313 Replace with faster SSE2 version.
6314 * sysdeps/x86_64/memrchr.S: New file.
6315 * sysdeps/x86_64/memchr.S: Update.
6316 Replace with faster SSE2 version.
6318 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6320 * elf/dl-load.c (lose): Add cast to avoid warning.
6322 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6324 * po/ca.po: Update from translation team.
6326 * inet/getnetgrent_r.c: Hook up nscd.
6327 * nscd/Makefile (routines): Add nscd_netgroup.
6328 (nscd-modules): Add netgroupcache.
6329 (CFLAGS-netgroupcache.c): Define.
6330 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6331 (cache_search): Add const to second parameter.
6332 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6334 (dbs): Add netgrdb entry.
6335 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6336 (verify_persistent_db): Handle netgrdb.
6337 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6338 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6340 (netgroup_response_header): Define.
6341 (innetgroup_response_header): Define.
6342 (datahead): Add netgroup_response_header and innetgroup_response_header
6344 * nscd/nscd.conf: Add entries for netgroup cache.
6345 * nscd/nscd.h (dbtype): Add netgrdb.
6346 (_PATH_NSCD_NETGROUP_DB): Define.
6347 (netgroup_iov_disabled): Declare.
6348 (xmalloc, xcalloc, xrealloc): Move declarations here.
6349 (cache_search): Adjust prototype.
6350 Add netgroup-related prototypes.
6351 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6352 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6353 (__nscd_innetgr): Declare.
6354 * nscd/selinux.c (perms): Use access_vector_t as element type and
6355 add netgroup-related initializers.
6356 * nscd/netgroupcache.c: New file.
6357 * nscd/nscd_netgroup.c: New file.
6358 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6359 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6360 For four parameters use innetgr.
6361 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6362 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6363 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6364 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6366 * nscd/connections.c (register_traced_file): Don't register file
6367 for disabled databases.
6369 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6371 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6373 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6374 from tree and freeing node.
6376 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6378 * nss/nsswitch.c (__nss_database_lookup): Handle
6379 nss_parse_service_list out of memory case.
6381 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6383 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6386 2011-10-04 Andreas Schwab <schwab@redhat.com>
6388 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6389 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6391 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6392 elf_machine_rela, elf_machine_lazy_rel.
6393 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6394 (ELF_DYNAMIC_DO_REL): Likewise.
6395 (ELF_DYNAMIC_DO_RELA): Likewise.
6396 (ELF_DYNAMIC_RELOCATE): Likewise.
6397 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6398 to ELF_DYNAMIC_DO_REL.
6399 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6400 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6401 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6403 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6404 skip_ifunc, don't call ifunc function if non-zero.
6405 (elf_machine_rela): Likewise.
6406 (elf_machine_lazy_rel): Likewise.
6407 (elf_machine_lazy_rela): Likewise.
6408 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6409 (elf_machine_lazy_rel): Likewise.
6410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6412 (elf_machine_lazy_rel): Likewise.
6413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6415 (elf_machine_lazy_rel): Likewise.
6416 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6417 (elf_machine_lazy_rel): Likewise.
6418 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6419 (elf_machine_lazy_rel): Likewise.
6420 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6421 (elf_machine_lazy_rel): Likewise.
6422 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6423 (elf_machine_lazy_rel): Likewise.
6424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6425 (elf_machine_lazy_rel): Likewise.
6426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6427 (elf_machine_lazy_rel): Likewise.
6429 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6431 * nss/nss_files/files-init.c (_nss_files_init): Use static
6432 initialization for all the *_traced_file variables.
6434 2011-09-28 Andreas Schwab <schwab@redhat.com>
6436 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6438 2011-09-27 Roland McGrath <roland@hack.frob.com>
6441 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6443 2011-09-27 Andreas Schwab <schwab@redhat.com>
6445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6446 Reread the line before reparsing it.
6448 2011-09-26 Andreas Schwab <schwab@redhat.com>
6450 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6452 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6453 Maxim Kuvyrkov <maxim@codesourcery.com>
6454 Joseph Myers <joseph@codesourcery.com>
6456 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6457 if needed for __stack_chk_guard.
6459 2011-09-19 Roland McGrath <roland@hack.frob.com>
6461 * sysdeps/posix/spawni.c (script_execute): Always define it.
6462 It will be optimized away if unused.
6463 (maybe_script_execute): New function.
6464 (__spawni): Call it.
6466 * Makerules: Don't include tls.make.
6467 (config-tls): Always set to thread.
6468 * tls.make.c: File removed.
6470 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6472 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6473 * config.make.in (CPPFLAGS-config): New substituted variable.
6475 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6480 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6481 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6483 2011-09-15 Roland McGrath <roland@hack.frob.com>
6485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6486 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6488 (CALL_FAIL): Likewise.
6489 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6490 (CALL_FAIL): Macro removed.
6491 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6493 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6495 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6496 for __FINITE_MATH_ONLY__ == 1.
6498 2011-09-15 Andreas Schwab <schwab@redhat.com>
6500 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6501 __ieee754_sqrt instead of sqrt.
6502 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6503 __ieee754_sqrtf instead of sqrtf.
6504 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6505 __floorf instead of floorf.
6506 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6507 __floorf, __truncf instead of floorf, truncf.
6509 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6511 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6513 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6514 __extern_always_inline.
6515 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6518 2011-09-14 Andreas Schwab <schwab@redhat.com>
6520 * elf/rtld.c (dl_main): Also relocate in dependency order when
6521 doing symbol dependency testing.
6523 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6526 Always define `refsym'.
6528 2011-09-13 Andreas Schwab <schwab@redhat.com>
6530 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6531 (__FD_ELT): Renamed from __FDELT.
6532 * misc/bits/select2.h (__FD_ELT): Likewise.
6533 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6534 __FD_MASK instead of __FDELT, __FDMASK.
6535 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6537 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6540 * elf/Makefile (gen-ldd): Fix pattern.
6542 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6543 (init_tls): Likewise.
6545 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6549 2011-09-12 Andreas Schwab <schwab@redhat.com>
6551 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6552 `struct cmsghdr *' instead of `void *'.
6553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6556 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6558 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6560 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6563 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6565 * configure.in: Remove --with-tls option.
6566 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6567 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6568 out in case it is missing.
6569 * sysdeps/ia64/elf/configure.in: Likewise.
6570 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6571 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6572 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6573 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6574 * sysdeps/sh/elf/configure.in: Likewise.
6575 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6576 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6577 * sysdeps/x86_64/elf/configure.in: Likewise.
6578 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6579 * sysdeps/mach/hurd/tls.h: Likewise.
6582 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6585 * configure.in: Fix use of AC_INIT.
6587 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6589 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6591 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6593 * malloc/hooks.c: Likewise.
6596 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6597 variables statically.
6598 (narenas): Initialize.
6599 (list_lock): Initialize.
6600 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6601 initializtion of main_arena and list_lock. Small cleanups.
6602 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6603 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6604 Add initializers to main_arena and mp_.
6605 (malloc_state): Remove pagesize member. Change all users to use
6608 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6609 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6610 is always initialized.
6612 * malloc/malloc.c: Removed unused configurations and dead code.
6613 * malloc/arena.c: Likewise.
6614 * malloc/hooks.c: Likewise.
6615 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6617 * include/tls.h: Removed. USE___THREAD must always be defined.
6618 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6619 * elf/dl-libc.c: Likewise.
6620 * elf/dl-tsd.c: Likewise.
6621 * include/errno.h: Likewise.
6622 * include/netdb.h: Likewise.
6623 * include/resolv.h: Likewise.
6624 * inet/herrno-loc.c: Likewise.
6625 * inet/herrno.c: Likewise.
6626 * malloc/arena.c: Likewise.
6627 * malloc/hooks.c: Likewise.
6628 * malloc/malloc.c: Likewise.
6629 * resolv/res-state.c: Likewise.
6630 * resolv/res_libc.c: Likewise.
6631 * sysdeps/i386/dl-machine.h: Likewise.
6632 * sysdeps/ia64/dl-machine.h: Likewise.
6633 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6634 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6635 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6636 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6637 * sysdeps/sh/dl-machine.h: Likewise.
6638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6639 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6640 * sysdeps/unix/i386/sysdep.S: Likewise.
6641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6642 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6647 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6652 * sysdeps/x86_64/dl-machine.h: Likewise.
6653 * tls.make.c: Likewise.
6655 * configure.in: Remove --with-__thread option. Make tests for
6656 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6657 tls_model attribute fail if no support is available. Remove
6659 * Makeconfig: Adjust for dropped configure option. All features are
6661 * Makerules: Likewise.
6662 * Versions.def: Likewise.
6663 * argp/argp-fmtstream.c: Likewise.
6664 * argp/argp-fmtstream.h: Likewise.
6665 * argp/argp-help.c: Likewise.
6666 * assert/assert.c: Likewise.
6667 * config.h.in: Likewise.
6668 * config.make.in: Likewise.
6669 * configure: Likewise.
6670 * configure.in: Likewise.
6671 * csu/Versions: Likewise.
6672 * csu/init.c: Likewise.
6673 * elf/tst-audit2.c: Likewise.
6674 * elf/tst-tls10.c: Likewise.
6675 * elf/tst-tls10.h: Likewise.
6676 * elf/tst-tls11.c: Likewise.
6677 * elf/tst-tls12.c: Likewise.
6678 * elf/tst-tls14.c: Likewise.
6679 * elf/tst-tlsmod11.c: Likewise.
6680 * elf/tst-tlsmod12.c: Likewise.
6681 * elf/tst-tlsmod13.c: Likewise.
6682 * elf/tst-tlsmod13a.c: Likewise.
6683 * elf/tst-tlsmod14a.c: Likewise.
6684 * elf/tst-tlsmod15b.c: Likewise.
6685 * elf/tst-tlsmod16a.c: Likewise.
6686 * elf/tst-tlsmod16b.c: Likewise.
6687 * elf/tst-tlsmod7.c: Likewise.
6688 * elf/tst-tlsmod8.c: Likewise.
6689 * elf/tst-tlsmod9.c: Likewise.
6690 * gmon/gmon.c: Likewise.
6691 * grp/fgetgrent_r.c: Likewise.
6692 * grp/putgrent.c: Likewise.
6693 * hurd/fopenport.c: Likewise.
6694 * include/libc-symbols.h: Likewise.
6695 * include/tls.h: Likewise.
6696 * intl/gettextP.h: Likewise.
6697 * intl/loadinfo.h: Likewise.
6698 * locale/global-locale.c: Likewise.
6699 * locale/localeinfo.h: Likewise.
6700 * mach/devstream.c: Likewise.
6701 * malloc/arena.c: Likewise.
6702 * malloc/set-freeres.c: Likewise.
6703 * misc/err.c: Likewise.
6704 * misc/getttyent.c: Likewise.
6705 * misc/mntent_r.c: Likewise.
6706 * posix/getopt.c: Likewise.
6707 * posix/wordexp.c: Likewise.
6708 * pwd/fgetpwent_r.c: Likewise.
6709 * resolv/Versions: Likewise.
6710 * resolv/res_hconf.c: Likewise.
6711 * shadow/fgetspent_r.c: Likewise.
6712 * shadow/putspent.c: Likewise.
6713 * stdio-common/printf_fphex.c: Likewise.
6714 * stdio-common/tmpfile.c: Likewise.
6715 * stdlib/abort.c: Likewise.
6716 * stdlib/fmtmsg.c: Likewise.
6717 * sunrpc/auth_unix.c: Likewise.
6718 * sunrpc/clnt_perr.c: Likewise.
6719 * sunrpc/clnt_tcp.c: Likewise.
6720 * sunrpc/clnt_udp.c: Likewise.
6721 * sunrpc/clnt_unix.c: Likewise.
6722 * sunrpc/openchild.c: Likewise.
6723 * sunrpc/svc_simple.c: Likewise.
6724 * sunrpc/svc_tcp.c: Likewise.
6725 * sunrpc/svc_udp.c: Likewise.
6726 * sunrpc/svc_unix.c: Likewise.
6727 * sunrpc/xdr.c: Likewise.
6728 * sunrpc/xdr_array.c: Likewise.
6729 * sunrpc/xdr_rec.c: Likewise.
6730 * sunrpc/xdr_ref.c: Likewise.
6731 * sunrpc/xdr_stdio.c: Likewise.
6733 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6735 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6737 2011-07-03 Andreas Jaeger <aj@suse.de>
6739 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6741 regenerate with gen-libm-tests.pl.
6743 2010-05-12 Petr Baudis <pasky@suse.cz>
6746 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6747 around j0() zero points by switching to j1().
6748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6753 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6755 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6757 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6760 Patch in part by Pavel Roskin <proski@gnu.org>.
6763 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6765 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6766 Free memory block if necessary.
6769 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6770 be NULL. Don't lock in this case.
6772 2011-09-09 Roland McGrath <roland@hack.frob.com>
6774 * elf/elf.h (ELFOSABI_GNU): New macro.
6775 (ELFOSABI_LINUX): Define to that.
6777 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6779 * string/strncat.c (strncat): Undef the symbol in case it has been
6780 defined in bits/string.h.
6782 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6784 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6786 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6789 2011-08-17 Andreas Jaeger <aj@suse.de>
6791 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6793 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6794 Ian Lance Taylor <iant@google.com>
6796 * math/libm-test.inc (lround_test): New testcase.
6797 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6799 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6801 * Makefile: Remove support for automatic cvs check-ins.
6802 * Makerules: Likewise.
6803 * config.make.in: Likewise.
6804 * configure.in: Likewise.
6805 * intl/Makefile: Likewise.
6806 * locale/Makefile: Likewise.
6807 * po/Makefile: Likewise.
6808 * posix/Makefile: Likewise.
6809 * sysdeps/gnu/Makefile: Likewise.
6810 * sysdeps/mach/hurd/Makefile: Likewise.
6811 * sysdeps/sparc/sparc32/Makefile: Likewise.
6814 * posix/Makefile (bug-regex32-ENV): Define.
6815 Patch by John Stanley <jpsinthemix@verizon.net>.
6817 * misc/Makefile (headers): Add bits/select2.h.
6818 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6819 * misc/bits/select2.h: New file.
6820 * include/bits/select2.h: New file.
6821 * debug/Makefile (routines): Add fdelt_chk.
6822 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6823 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6825 * debug/fdelt_chk.c: New file.
6827 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6828 * wcsmbs/test-wmemcmp.c: Likewise.
6829 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6830 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6832 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6834 * string/Makefile (strop-tests): Add memcmp.
6835 * string/test-wmemcmp.c: New file.
6836 * string/test-memcmp.c: Add wmemcmp support.
6838 2011-09-08 Roland McGrath <roland@hack.frob.com>
6841 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6844 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6845 garbage value in a __mach_port_mod_refs call in the cases of the
6846 task-self and thread-self ports.
6848 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6850 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6852 2011-09-08 Andreas Schwab <schwab@redhat.com>
6854 * elf/dl-load.c (lose): Check for non-null L.
6856 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6858 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6860 * elf/dl-libc.c (dlerror_run): Pass back error code from
6864 * elf/dl-load.c (lose): Free l_origin if it is valid.
6866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6868 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6873 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6875 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6878 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6881 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6882 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6883 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6884 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6885 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6886 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6888 2011-08-15 Alan Modra <amodra@gmail.com>
6891 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6892 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6893 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6894 ppc_mcount to static-only-routines.
6895 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6897 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6898 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6900 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6902 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6903 for finite and infinity parameters.
6905 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6908 and add nop instructions for throughput optimization.
6909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6911 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6914 aligned copy for power7 with vector-scalar instructions.
6915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6917 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6922 2011-09-07 Andreas Schwab <schwab@redhat.com>
6925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6928 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6930 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6931 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6932 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6933 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6936 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6939 Forgot to demangle the pointer.
6941 * sysdeps/i386/sysdep.h: Define atom_text_section.
6942 * sysdeps/x86_64/sysdep.h: Likewise.
6943 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6944 section with atom_text_section.
6945 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6946 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6947 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6953 already be defined. Change to take two parameters and don't assign
6954 result to variable. Adjust all users.
6955 Define INTERNAL_GETTIME if not already defined.
6956 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6959 HAVE_CLOCK_GETTIME_VSYSCALL.
6960 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6963 gettimeofday vsyscall, just use time.
6965 2011-09-06 Andreas Schwab <schwab@redhat.com>
6967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6970 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6972 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6976 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6978 syscall if possible.
6980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6982 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6983 e_ident. Don't pass to find_mapsXX.
6984 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6986 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6989 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6990 * sysdeps/x86_64/multiarch/strchr.S: Update.
6991 Check bit_slow_BSF bit.
6992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6993 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6996 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6999 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7002 (__spawni): Change last parameter to be flag. Test
7003 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7004 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7005 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7006 * posix/spawni.c: Likewise.
7007 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7008 * posix/spawnp.c: Likewise. Change normal version to use
7009 SPAWN_XFLAGS_USE_PATH.
7010 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7011 SPAWN_XFLAGS_TRY_SHELL.
7014 * posix/glob.h: Remove gcc 1.x support.
7017 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7019 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7022 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7024 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7025 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7026 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7028 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7031 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7033 * sysdeps/x86_64/wcscmp.S: New file.
7035 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7036 wcscmp-c wcscmp-sse2
7037 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7038 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7040 * wcsmbs/wcscmp.c: Allow renaming.
7042 2011-09-05 David S. Miller <davem@davemloft.net>
7044 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7045 stack slot, rather than the struct return pointer slot.
7046 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7047 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7049 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7051 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7053 * po/ja.po: Update from translation team.
7056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7057 kernel in 64-bit binaries.
7059 2011-09-01 David S. Miller <davem@davemloft.net>
7061 * elf/elf.h (HWCAP_SPARC_*): Move to..
7062 * sysdeps/sparc/sysdep.h: this new file and add new values.
7063 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7064 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7065 _DL_HWCAP_COUNT to 24.
7066 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7068 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7069 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7070 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7072 instead of magic constants.
7073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7075 2011-08-31 David S. Miller <davem@davemloft.net>
7077 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7079 Reimplement to do errno handling inline.
7080 (SYSCALL_ERROR_HANDLER): New macro.
7081 (__SYSCALL_STRING): Do not do errno handling in asm.
7082 (__CLONE_SYSCALL_STRING): Delete.
7083 (__INTERNAL_SYSCALL_STRING): Delete.
7084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7085 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7086 (PSEUDO): Reimplement to do errno handling inline.
7087 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7088 (SYSCALL_ERROR_HANDLER): New macro.
7089 (__SYSCALL_STRING): Do not do errno handling in asm.
7090 (__CLONE_SYSCALL_STRING): Delete.
7091 (__INTERNAL_SYSCALL_STRING): Delete.
7092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7093 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7095 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7096 (inline_syscall*): Add 'err' argument.
7097 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7098 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7099 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7100 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7102 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7103 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7105 2011-08-30 Andreas Schwab <schwab@redhat.com>
7107 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7109 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7111 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7114 2011-08-24 David S. Miller <davem@davemloft.net>
7116 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7118 2011-08-24 Andreas Schwab <schwab@redhat.com>
7120 * elf/Makefile: Add rules to build and run unload8 test.
7121 * elf/unload8.c: New file.
7122 * elf/unload8mod1.c: New file.
7123 * elf/unload8mod1x.c: New file.
7124 * elf/unload8mod2.c: New file.
7125 * elf/unload8mod3.c: New file.
7127 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7130 2011-08-23 David S. Miller <davem@davemloft.net>
7132 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7133 subtract stack bias.
7134 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7135 %sp not %fp in calculations.
7136 (_JMPBUF_UNWINDS_ADJ): Likewise.
7138 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7139 (aio_suspend): Call it to force an exception region around the
7140 AIO_MISC_WAIT() invocation.
7142 2011-08-23 Andreas Schwab <schwab@redhat.com>
7144 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7147 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7149 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7151 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7153 (Elf64_FuncDesc): Remove.
7155 2011-08-22 David S. Miller <davem@davemloft.net>
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7158 sigaltstack check, add missing cfi directives.
7159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7160 missing cfi directives, and sigaltstack handling.
7162 2011-08-16 Andreas Schwab <schwab@redhat.com>
7165 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7166 object is seen twice.
7167 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7169 * elf/Makefile (distribute): Add tst-initorder2.c.
7170 (tests): Add tst-initorder2.
7171 (modules-names): Add tst-initorder2a tst-initorder2b
7172 tst-initorder2c tst-initorder2d. Add rules to build them.
7173 ($(objpfx)tst-initorder2.out): New rule.
7174 * elf/tst-initorder2.c: New file.
7175 * elf/tst-initorder2.exp: New file.
7177 2011-08-22 Andreas Schwab <schwab@redhat.com>
7179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7181 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7182 dependencies back to end of function.
7184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7187 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7190 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7192 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7193 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7194 of __vdso_gettimeofday.
7195 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7196 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7198 (_libc_vdso_platform_setup): Remove initialization of
7199 __vdso_gettimeofday and __vdso_time.
7201 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7203 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7205 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7208 * elf/dl-open.c (add_to_global): Report additions to the global scope
7209 for LD_DEBUG=scopes.
7210 (dl_open_worker): Also print scope of newly loaded dependencies.
7211 (_dl_show_scope): Indicate if there is no scope.
7214 * stdio-common/Makefile (tests): Add bug24.
7215 * stdio-common/bug24.c: New file.
7217 2011-08-19 Andreas Jaeger <aj@suse.de>
7220 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7221 non-existant file when using close-on-exec mode.
7223 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7226 the very first instruction.
7228 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7229 the CFI state in the end.
7230 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7231 inclusion of dl-trampoline.h.
7232 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7234 2011-08-19 Andreas Schwab <schwab@redhat.com>
7236 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7237 expectations for long double.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7240 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7242 2011-08-14 David S. Miller <davem@davemloft.net>
7244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7245 artificual limit depends upon the system page size.
7247 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7249 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7250 * resolv/Makefile: Define CFLAGS-libresolv.
7252 2011-08-17 Andreas Schwab <schwab@redhat.com>
7254 * nss/makedb.c (compute_tables): Make variables used in nested
7257 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7259 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7260 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7261 if buffer was too small.
7263 * elf/pldd.c (main): Attach to all threads in the process.
7264 Rewrite /proc handling to use *at functions.
7266 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7268 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7269 specifies first scope to show.
7270 (dl_open_worker): Update callers. Move printing scope of new
7271 object to before the relocation.
7272 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7273 * sysdeps/generic/ldsodefs.h: Update declaration.
7275 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7276 string for the scope number.
7278 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7280 * nscd/servicescache.c (cache_addserv): Make sure written is always
7283 2011-08-14 Roland McGrath <roland@hack.frob.com>
7285 * sysdeps/i386/i486/bits/atomic.h
7286 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7287 statement expression, so as to suppress "set but not used" warning.
7288 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7290 * string/strncat.c (STRNCAT): Use prototype definition.
7292 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7293 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7295 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7296 (localedef-modules): Add localedef.
7297 (locale-modules): Add locale.
7299 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7300 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7303 2011-08-14 David S. Miller <davem@davemloft.net>
7305 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7306 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7308 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7310 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7311 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7312 * elf/rtld.c (dl_main): Set l_name of vDSO.
7313 Call _dl_show_scope when DL_DEBUG_SCOPES.
7314 (process_dl_debug): Recognize scopes flag and also set it for all.
7315 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7316 Declare _dl_show_scope.
7318 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7319 (do_dlopen): Pass caller_dlopen to dl_open.
7320 (__libc_dlopen_mode): Initialize caller_dlopen.
7322 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7323 of libc. Make tolower call locale-independent. Optimize a bit by
7324 using isdigit instead of isalnum.
7325 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7327 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7329 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7330 was a dependency or dynamically loaded.
7332 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7334 * intl/l10nflist.c: Allow architecture-specific pop function.
7335 * sysdeps/x86_64/l10nflist.c: New file.
7337 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7340 2011-08-10 Andreas Schwab <schwab@redhat.com>
7342 * include/dirent.h: Add libc_hidden_proto for scandirat and
7343 scandirat64. Don't declare __scandirat64.
7344 * dirent/scandirat.c: Add libc_hidden_def.
7345 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7346 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7348 2011-08-10 David S. Miller <davem@davemloft.net>
7350 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7352 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7356 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7358 * Versions.def [libc]: Add GLIBC_2.15.
7359 * dirent/Makefile (routines): Add scandirat and scandirat64.
7360 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7362 * dirent/dirent.h: Declare scandirat and scandirat64.
7363 * dirent/scandirat.c: New file.
7364 * dirent/scandirat64.c: New file.
7365 * sysdeps/wordsize-64/scandirat.c: New file.
7366 * sysdeps/wordsize-64/scandirat64.c: New file.
7367 * dirent/opendir.c: Define opendirat.
7368 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7370 * dirent/scandir64.c: Adjust for scandir.c change.
7371 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7372 __scandirat64, and __scandir_cancel_handler.
7373 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7374 additional parameter and use openat instead of open (outside of ld.so).
7375 Add new __opendir as wrapper around __opendirat.
7376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7377 here without requiring old scandirat implementation.
7379 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7381 * dirent/scandir.c (cancel_handler): Renamed to
7382 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7383 defined. Adjust users.
7384 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7387 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7389 * string/test-string.h (IMPL): Use __STRING to expand name and then
7392 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7395 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7397 * string/Makefile: Update.
7398 (strop-tests): Append strncat.
7399 * string/test-wcscmp.c: New file.
7400 New comprehensive test for wcscmp.
7401 * string/test-strcmp.c: Update.
7404 2011-07-22 Andreas Schwab <schwab@redhat.com>
7406 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7409 2011-07-26 Andreas Schwab <schwab@redhat.com>
7411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7412 encoding to ACE if AI_IDN.
7414 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7417 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7419 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7422 Fix overflow bug in strncat.
7423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7425 * string/test-strncat.c: Update.
7426 Add new tests for checking overflow bugs.
7428 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7431 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7432 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7433 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7435 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7436 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7437 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7438 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7441 (USE_AS_STRCAT): Define.
7442 Add strcat and strncat support.
7443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7445 2011-07-25 Andreas Schwab <schwab@redhat.com>
7447 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7448 __n bigger than INT_MAX+1.
7449 (__strncmp_g): Likewise.
7451 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7453 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7454 * libio/stido.h: Likewise.
7456 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7461 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7464 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7465 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7468 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7473 (_dl_x86_64_save_sse): Likewise.
7475 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7479 (_dl_x86_64_save_sse): Likewise.
7481 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7483 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7485 2011-07-21 Andreas Schwab <schwab@redhat.com>
7487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7489 (_dl_x86_64_save_sse): Use correct AVX check.
7491 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7494 bug in strncpy/strncat.
7495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7497 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7499 * string/tester.c (test_strcat): Add tests for different alignments
7500 of source and destination.
7501 (test_strncat): Likewise.
7503 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7506 * posix/glob.c (glob): Check passed in values before using them in
7507 expressions to avoid some overflows.
7508 (glob_in_dir): Likewise.
7511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7512 check for AVX enablement so that we don't crash with old kernels and
7514 * elf/tst-audit4.c: Add same checks here.
7515 * elf/tst-audit6.c: Likewise.
7517 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7519 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7521 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7523 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7525 * po/cs.po: Update from translation team.
7526 * po/bg.po: Likewise.
7528 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7530 * misc/sys/cdefs.h: Add support for const attribute.
7531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7532 to gnu_dev_{major,minor,makedev} functions.
7534 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7536 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7538 2011-07-20 Andreas Schwab <schwab@redhat.com>
7540 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7543 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7546 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7547 register in order to avoid conflicts with the soft frame pointer
7548 being held in r11 when necessary.
7549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7550 (INTERNAL_VSYSCALL_NCS): Likewise.
7552 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7554 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7555 * elf/dl-fini.c (_dl_fini): Adjust caller.
7556 * elf/dl-close.c (_dl_close_worker): Likewise.
7557 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7559 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7561 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7562 "aux_cache->nlibs < 0".
7564 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7565 in the reload-count case.
7567 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7570 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7571 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7572 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7573 * sysdeps/x86_64/multiarch/strcat.S: New file.
7574 * sysdeps/x86_64/multiarch/strncat.S: New file.
7575 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7577 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7578 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7580 (USE_AS_STRCAT): Define.
7581 Add strcat and strncat support.
7582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7584 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7585 * string/strncat.c: Update.
7586 (USE_AS_STRNCAT): Define.
7587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7588 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7590 * sysdeps/x86_64/multiarch/init-arch.h
7591 (bit_Prefer_PMINUB_for_stringop): New.
7592 (index_Prefer_PMINUB_for_stringop): Likewise.
7593 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7594 bit_Prefer_PMINUB_for_stringop.
7596 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7598 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7600 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7601 of casting of buffer.
7602 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7603 buffer32 and buffer64.
7604 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7605 writes instead of casting of buffer.
7606 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7608 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7611 2011-07-19 Andreas Schwab <schwab@redhat.com>
7613 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7615 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7617 * nscd/nscd.c (termination_handler): Don't do anything for a database
7618 if it has not yet been initialized.
7620 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7622 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7624 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7626 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7628 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7630 * po/nl.po: Update from translation team.
7631 * po/sv.po: Likewise.
7633 2011-07-16 Roland McGrath <roland@hack.frob.com>
7635 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7636 now disallowed by GCC.
7638 * configure.in (use-default-link): Default to yes if a test -shared
7639 link meets our qualifications.
7640 * configure: Regenerated.
7642 * config.make.in (output-format): New variable.
7643 * configure.in: Check for ld --print-output-format support.
7644 * configure: Regenerated.
7645 * Makerules ($(common-objpfx)format.lds)
7646 [$(output-format) != unknown]: Just use $(output-format),
7647 instead of the linker-script munging.
7649 2011-07-14 Roland McGrath <roland@hack.frob.com>
7651 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7652 of $(common-objpfx)shlib.lds.
7653 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7655 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7656 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7658 * configure.in (-z relro check): Adjust test code to add a large
7659 writable data section after it.
7660 * configure: Regenerated.
7662 2011-07-11 Roland McGrath <roland@hack.frob.com>
7664 * configure.in (-z relro check): Fix test code to make the variable
7666 * configure: Regenerated.
7668 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7670 * nscd/nscd.h (struct traced_file): Define.
7671 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7672 elements. Add traced_files.
7673 (inotify_fd): Declare.
7674 (register_traced_file): Declare.
7675 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7676 (inotify_fd): Export.
7677 (resolv_conf_descr): Remove.
7678 (nscd_init): Move inotify descriptor creation to main.
7679 Don't register files for notification here.
7680 (register_traced_file): New function.
7681 (invalidate_cache): Don't use reset_res to determine whether to call
7682 res_init, go through the list of registered files.
7683 (main_loop_poll): The inotify descriptors are now stored in the
7684 structures for the traced files.
7685 (main_loop_epoll): Likewise
7686 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7687 to __nss_disable_nscd.
7688 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7689 for a database anymore. Check the records for all the registered
7691 * nss/Makefile (libnss_files-routines): Add files-init.
7692 (libnss_db-routines): Add db-init.
7693 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7694 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7695 * nss/nss_db/db-init.c: New file.
7696 * nss/nss_files/files-init.c: New file.
7697 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7698 __nss_lookup_function.
7699 (__nss_lookup_function): Call nss_load_library.
7700 (nss_load_all_libraries): New function.
7701 (__nss_disable_nscd): Take parameter with callback function for files
7702 to register. Set is_nscd. Load all the DSOs for the NSS modules
7703 used for the cached services.
7704 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7706 options for features to all the files in nscd.
7708 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7710 2011-07-10 Roland McGrath <roland@hack.frob.com>
7712 * csu/elf-init.c (__libc_csu_init): Comment typo.
7714 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7716 * po/pl.po: Update from translation team.
7717 * po/ja.po: Likewise.
7718 * po/ru.po: Likewise.
7719 * po/ko.po: Likewise.
7720 * po/fr.po: Likewise.
7722 2011-07-09 Roland McGrath <roland@hack.frob.com>
7724 * configure.in (.ctors/.dtors header and trailer check):
7725 Use an empirical test on a built program.
7726 * configure: Regenerated.
7728 * configure.in (-z relro check): Use an empirical test on a built DSO.
7729 Detect, but do not require, on ia64.
7730 * configure: Regenerated.
7732 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7733 Update tests that use readelf to use $READELF instead.
7734 * configure: Regenerated.
7736 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7738 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7739 if the result is not used.
7741 2011-07-05 Andreas Jaeger <aj@suse.de>
7744 * stdlib/tst-strtod.c: Add testcase.
7746 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7748 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7749 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7750 The latter has a higher limit. Take additional parameter to pass to
7752 (__pathconf): Pass file to __statfs_link_max.
7753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7755 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7759 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7760 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7762 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7763 (__statfs_filesize_max): Likewise.
7764 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7766 2011-07-05 Andreas Jaeger <aj@suse.de>
7768 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7770 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7772 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7774 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7777 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7779 * Makefile (strop-tests): Add strncat.
7780 * string/test-strncat.c: New file.
7782 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7784 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7786 2011-06-21 Andreas Jaeger <aj@suse.de>
7788 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7789 Copy rule from iconvdata/Makefile.
7791 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7794 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7795 but no long options are defined, just return 'W'.
7797 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7800 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7802 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7804 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7806 (innetgr): Likewise.
7808 2011-07-05 Roland McGrath <roland@hack.frob.com>
7810 * config.make.in (install_root): Default to $(DESTDIR).
7812 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7814 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7816 2011-07-02 Roland McGrath <roland@hack.frob.com>
7818 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7820 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7821 containing directory rather than embedding absolute directory names.
7823 * scripts/check-local-headers.sh: Rewritten using awk.
7824 Match by word, not by line. Print error messages for matches.
7825 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7827 * Makerules [shlib-lds-flags empty]:
7828 ($(common-objpfx)libc_pic.opts): New target.
7829 ($(common-objpfx)libc_pic.os.clean): New target.
7830 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7832 * config.make.in (OBJCOPY): New variable.
7833 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7834 * configure: Regenerated.
7836 * config.make.in (use-default-link): New variable.
7837 * configure.in (use_default_link): Grok --with-default-link to set it.
7838 * configure: Regenerated.
7839 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7840 (shlib-lds, shlib-lds-flags): Define to empty.
7842 * Makerules (shlib-lds): New variable.
7843 (shlib-lds-flags): New variable.
7844 (build-shlib, build-moduile, build-module-asneeded): Use it.
7845 ($(common-objpfx)libc.so): Use $(shlib-lds).
7846 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7847 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7849 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7850 DT_FLAGS/DT_FLAGS_1 with zero flags.
7852 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7853 linker script munging.
7855 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7857 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7859 * crypt/sha512.c (sha512_process_block): Perform total addition using
7860 128-bit if possible.
7861 (__sha512_finish_ctx): Likewise.
7862 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7864 * crypt/sha256.c (SWAP64): Define.
7865 (sha256_process_block): Perform total addition using 64-bit if
7867 (__sha256_finish_ctx): Likewise.
7869 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7871 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7873 * nscd/hstcache.c (cache_addhst): Likewise.
7874 * nscd/grpcache.c (cache_addgr): Likewise.
7875 * nscd/aicache.c (addhstaiX): Likewise
7876 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7878 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7880 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7882 * nscd/hstcache.c (cache_addhst): Likewise.
7883 * nscd/grpcache.c (cache_addgr): Likewise.
7884 * nscd/aicache.c (addhstaiX): Likewise
7886 2011-07-01 Andreas Schwab <schwab@redhat.com>
7888 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7889 domain only when needed.
7891 2011-06-30 Andreas Schwab <schwab@redhat.com>
7893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7896 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7898 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7899 are re-adding the entry.
7900 * nscd/servicescache.c (cache_addserv): Likewise.
7902 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7904 * sysdeps/generic/dl-irel.h: fix protection against multiple
7906 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7908 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7911 * malloc/memusage.sh: Fix quoting in message.
7912 * debug/xtrace.sh: Likewise.
7914 * configure.in: Remove support for --experimental-malloc option, make
7916 * config.make.in: Likewise.
7917 * malloc/Makefile: Likewise.
7919 2011-06-27 Andreas Schwab <schwab@redhat.com>
7921 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7922 two-byte characters.
7924 2011-06-27 Roland McGrath <roland@hack.frob.com>
7926 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7927 AC_CACHE_CHECK invocation.
7928 * configure: Regenerated.
7930 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7932 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7935 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7936 bit from old_res_options.
7938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7940 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7941 value type for setfct.
7943 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7946 __gettimeofday instead of gettimeofday.
7948 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7950 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7952 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7959 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7962 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7963 strcpy-sse2-unaligned strncpy-sse2-unaligned
7964 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7965 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7966 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7967 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7968 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7969 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7971 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7972 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7973 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7974 (STRCPY): Support SSE2 and SSSE3 versions.
7976 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7980 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7981 kernels which artificially limit size of requests.
7983 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7986 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7987 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7988 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7989 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7990 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7991 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7992 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7993 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7995 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7996 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7997 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7998 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7999 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8001 Enable unaligned load optimization for Intel Core i3, i5 and i7
8003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8005 (index_Fast_Unaligned_Load): Define.
8006 (HAS_FAST_UNALIGNED_LOAD): Define.
8008 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8010 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8012 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8016 until it is clear that the information is realy needed.
8017 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8019 2011-06-22 Andreas Schwab <schwab@redhat.com>
8021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8023 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8025 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8026 /sys/devices/system/cpu/online if it is usable.
8028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8029 reading the information from the /proc filesystem to once a second.
8031 2011-06-21 Andreas Jaeger <aj@suse.de>
8033 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8034 NULL after inclusion of kernel headers.
8036 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8038 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8039 calls to internal_setent.
8042 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8043 addresses using gethostbyname4_r ignore IPv4 addresses.
8045 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8046 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8048 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8050 2011-06-20 David S. Miller <davem@davemloft.net>
8052 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8054 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8056 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8058 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8059 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8060 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8061 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8062 * sysdeps/x86_64/dl-irel.h: Likewise.
8064 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8065 * elf/dl-sym.c: Likewise.
8067 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8069 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8070 need to dereference resplen2.
8072 2011-06-14 Andreas Schwab <schwab@redhat.com>
8074 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8076 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8078 * Makeconfig: Define vardbdir and inst_vardbdir.
8079 * nss/Makefile: Add rules to install db-Makefile.
8081 * nss/nss_db/db-XXX.c: Cleanup.
8083 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8084 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8086 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8087 * nss/makedb.c: Implement -g option to specify that value strings
8088 are generated and should not be added to table iterated over for
8090 * nss/nss_db/db-initgroups.c: New file.
8092 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8095 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8096 (internal_getgrouplist): Adjust to name change.
8097 Update use_initgroups_entry if this is not the first call.
8098 * nss/databases.def: Add initgroups entry.
8100 * nss/makedb.c (compute_tables): Check result of multiple hash table
8101 sizes to minimize maximum chain length.
8103 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8105 * Versions.def: Add entry for libnss_db.
8106 * shlib-versions: Likewise.
8107 * nss/Makefile: Add rules to build libnss_db.
8108 * nss/Versions: Add libnss_db information. Organize libnss_files
8110 * nss/db-Makefile: Add gshadow support. Change rules for the new
8111 makedb progra. Some minor improvements to generate smaller files.
8112 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8114 * nss/makedb.c: ...here.
8115 Improve database format to be smaller and require less memory at
8117 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8119 * nss/nss_db/db-netgrp.c: Likewise.
8120 * nss/nss_db/db-open.c: Likewise.
8121 * nss/nss_files/flies-XXX.x: Adjust comments.
8122 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8123 * nss/nss_files/files-grp.c: Likewise.
8124 * nss/nss_files/files-hosts.c: Likewise.
8125 * nss/nss_files/files-network.c: Likewise.
8126 * nss/nss_files/files-proto.c: Likewise.
8127 * nss/nss_files/files-pwd.c: Likewise.
8128 * nss/nss_files/files-rpc.c: Likewise.
8129 * nss/nss_files/files-service.c: Likewise.
8130 * nss/nss_files/files-sgrp.c: Likewise.
8131 * nss/nss_files/files-spwd.c: Likewise.
8132 * nss/nss_db/db-alias.c: Removed.
8133 * nss/nss_db/dummy-db.h: Removed.
8135 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8137 * nss/makedb.c: Rewritten to not use database library.
8138 * nss/Makefile: Update to build new makedb program.
8140 2011-06-14 Andreas Jaeger <aj@suse.de>
8142 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8145 2011-06-10 Andreas Schwab <schwab@redhat.com>
8147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8150 2011-06-10 Roland McGrath <roland@hack.frob.com>
8152 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8153 * elf/Makefile ($(objpfx)ld.so): Likewise.
8155 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8156 Don't list ld.so twice in dependencies.
8158 * posix/bug-regex31.c: Include <stdlib.h>.
8160 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8162 * nis/nss_compat/compat-spwd.c
8163 (getspent_next_nss_netgr): Remove unused variable.
8164 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8166 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8167 nonmembers" output to use the right array.
8169 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8171 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8173 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8174 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8175 * catgets/gencat.c (read_input_file): Likewise.
8176 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8178 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8179 variable definition inside #if's controlling its use.
8181 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8183 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8185 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8187 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8190 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8192 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8193 * configure: Regenerated.
8195 * Makerules: Revert last change.
8196 * elf/Makefile: Likewise.
8198 2011-06-09 Roland McGrath <roland@hack.frob.com>
8200 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8201 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8202 (reloc-link): Likewise.
8204 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8206 * elf/Makefile: Add rules to build pldd.
8207 * elf/pldd.c: New file.
8208 * elf/pldd-xx.c: New file.
8210 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8212 * version.h: Update for 2.15 development version.
8214 2011-06-07 David S. Miller <davem@davemloft.net>
8216 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8219 elf_machine_lazy_rel): Likewise.
8220 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8221 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8222 elf_machine_lazy_rel): Likewise.
8223 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8224 dl_hwcap via passed in argument.
8225 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8228 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8230 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8232 2011-06-06 Roland McGrath <roland@hack.frob.com>
8235 * manual/fdl-1.1.texi: New file, verbatim from:
8236 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8237 * manual/lgpl-2.1.texi: New file, verbatim from:
8238 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8239 * manual/Makefile (licenses): New variable, list those new file names.
8241 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8243 * manual/fdl.texi: File removed.
8244 * manual/lesser.texi: File removed.
8245 * manual/libc.texinfo (Copying, Documentation License):
8246 Use new @include file names, put @appendix directive before @include.
8248 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8251 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8252 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8253 (mq_open): Add __NTH.
8255 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8258 Assume Intel Core i3/i5/i7 processor if AVX is available.
8260 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8265 2011-05-31 Andreas Schwab <schwab@redhat.com>
8267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8268 memory. Use alloca_account. Fix memory leak when retrying.
8270 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8272 * version.h (RELEASE): Bump for 2.14 release.
8273 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8275 * config.make.in (RANLIB): Remove entry.
8277 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8279 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8280 (libc.pot): Work around missing support for .ksh extension in xgettext.
8283 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8284 if both request failed.
8285 (send_dg): In case of server errors clear resplen or *resplen2.
8288 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8289 when there are multiple maps.
8290 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8291 (_dl_fini): Remove test here.
8293 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8295 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8298 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8299 bit from old_res_options.
8300 (gaih_inet): Likewise.
8303 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8306 * resolv/res_init.c (res_setoptions): Make the code more compact.
8309 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8313 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8315 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8318 * malloc/malloc.h: Declare malloc hook variables as volatile.
8320 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8324 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8325 raise in the comment.
8326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8328 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8330 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8333 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8334 grow the buffers more if it already has to be sufficient.
8335 (build_wcs_upper_buffer): Likewise.
8336 * posix/regexec.c (check_matching): Likewise.
8337 (clean_state_log_if_needed): Likewise.
8338 (extend_buffers): Don't enlarge buffers beyond size of the input
8340 Patches mostly by Emil Wojak <emil@wojak.eu>.
8341 * posix/bug-regex32.c: New file.
8342 * posix/Makefile (tests): Add bug-regex32.
8344 * locale/findlocale.c (_nl_find_locale): Return right away if
8345 _nl_explode_name failed.
8346 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8350 * debug/xtrace.sh: Unify messages.
8351 * malloc/memusage.sh: Likewise.
8354 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8355 time symbol from vDSO. Substitute with vsyscall if not available.
8356 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8360 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8361 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8362 Add sendmmsg and internal_sendmmsg.
8363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8364 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8367 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8368 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8371 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8374 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8375 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8381 * iconvdata/Makefile (tests): Add bug-iconv9.
8382 * iconvdata/bug-iconv9.c: New file.
8384 2011-05-27 Andreas Schwab <schwab@redhat.com>
8387 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8389 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8392 (struct user_regs_struct): Change intcs field back to cs.
8394 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8396 * po/ja.po: Update from translation team.
8398 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8401 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8402 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8404 2011-05-20 Andreas Schwab <schwab@redhat.com>
8406 * stdlib/longlong.h: Update from GCC.
8408 2011-05-23 Andreas Schwab <schwab@redhat.com>
8410 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8412 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8414 (__sysconf): Pass it down.
8416 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8419 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8422 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8423 add in in __libc_use_alloca calls. Adjust callers.
8424 (glob): Use malloc in some situations.
8426 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8427 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8430 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8432 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8433 and CLOCK_BOOTTIME_ALARM.
8436 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8439 * string/_strerror.c (__strerror_r): Print negative errors as signed
8443 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8444 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8445 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8447 * configure.in: Fix typo in redirection and correct removal of test
8451 * locale/setlocale.c (new_composite_name): Fix test to check for
8452 identical name of all categories.
8455 * libio/filedoalloc.c (local_isatty): New function.
8456 (_IO_file_doallocate): Use local_isatty.
8457 * stdio-common/perror.c (perror): In case a new stream is used
8458 forward the stream error.
8459 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8462 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8467 * include/alloca.h (extend_alloca_account): Define.
8470 * posix/regex.h: Fix comments with documentation of user-accessible
8471 fields after compilation and describe correct free'ing of pattern
8472 after re_compile_pattern.
8473 Patch by Reuben Thomas <rrt@sc3d.org>.
8475 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8477 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8478 and -mno-altivec to prevent the compiler from using Altivec and/or
8479 VSX instructions when the corresponding registers are not available.
8481 2011-05-19 Andreas Schwab <schwab@redhat.com>
8483 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8485 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8487 * libio/freopen.c (freopen): Use __dup2, not dup2.
8488 * libio/freopen64.c (freopen64): Likewise.
8490 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8493 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8494 * math/Makefile (tests): Add test-powl.
8495 (CFLAGS-test-powl.c): Define.
8496 * math/test-powl.c: New file.
8498 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8500 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8502 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8505 * iconvdata/gb18030.c: Update to GB18020-2005.
8507 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8509 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8510 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8511 Patch by Aharon Robbins <arnold@skeeve.com>.
8514 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8518 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8522 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8523 point to strings before performing equality test for error_one_per_line
8527 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8531 (struct user_fpregs_struct): Avoid __uint*_t types.
8534 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8535 symbol info. Use it instead of calling _dl_addr locally.
8536 (lock_and_info): New function.
8537 (tr_freehook): Call lock_and_info and pass symbol info as additional
8538 parameter to tr_where.
8539 (tr_mallochook): Likewise.
8540 (tr_reallochook): Likewise.
8541 (tr_memalignhook): Likewise.
8543 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8544 used and couldn't be at all thread-safe.
8546 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8548 * libio/freopen.c (freopen): Don't close old file descriptor
8549 before the new one is opened. Instead dup the new file descriptor
8550 to the old one after the new stream is created.
8551 * libio/freopen64.c (freopen64): Likewise.
8552 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8553 * libio/fileops.c (_IO_new_file_close_it): Handle new
8554 _IO_FLAGS2_NOCLOSE flag.
8555 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8556 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8557 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8558 _IO_FLAGS2_NOCLOSE flag.
8559 * include/unistd.h: Add hidden_proto for dup3.
8561 * io/dup3.c: Define hidden symbol.
8562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8565 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8566 when an incomplete long option is used.
8567 * posix/tst-getopt_long1.c: New file.
8568 * posix/Makefile (tests): Add tst-getopt_long1.
8571 * scripts/config.guess: Update from autoconf-2.68.
8572 * scripts/config.sub: Likewise.
8575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8577 (has_cpuclock): ...this. New function.
8578 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8579 macro here based on has_cpuclock code.
8582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8583 First byte (not low byte) is now always NUL.
8584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8587 Use non-cancelable interfaces.
8590 * locale/iso-639.def: Add entry for Sorani.
8593 * include/stdlib.h: Move include protection to the right place.
8594 Define abort_msg_s. Declare __abort_msg with it.
8595 * stdlib/abort.c (__abort_msg): Adjust type.
8596 * assert/assert.c (__assert_fail_base): New function. Majority
8597 of code from __assert_fail. Allocate memory for __abort_msg with
8599 (__assert_fail): Now call __assert_fail_base.
8600 * assert/assert-perr.c: Remove bulk of implementation. Use
8602 * include/assert.hL Declare __assert_fail_base.
8603 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8605 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8607 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8611 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8612 until all modules are registered in the DTV.
8613 * elf/Makefile: Add rules to build and run tst-tls19.
8614 * elf/tst-tls19.c: New file.
8615 * elf/tst-tls19mod1.c: New file.
8616 * elf/tst-tls19mod2.c: New file.
8617 * elf/tst-tls19mod3.c: New file.
8618 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8621 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8625 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8626 two-byte sequence errors.
8627 * iconvdata/Makefile (tests): Add bug-iconv8.
8628 * iconvdata/bug-iconv8.c: New file.
8631 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8634 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8637 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8638 (dummy_getcfa): New function.
8639 (init): Get _Unwind_GetCFA address, use dummy if not found.
8640 (backtrace_helper): In recursion check, also check whether CFA changes.
8641 (__backtrace): Completely initialize arg.
8643 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8644 storing incomplete byte sequence in state object. Avoid testing for
8645 guaranteed too small input if we know there is enough data available.
8647 2011-05-11 Andreas Schwab <schwab@redhat.com>
8649 * Makeconfig (+link-pie): Indent.
8650 * Rules (binaries-pie): Define if $(have-fpie) and
8652 (binaries-shared): Also filter out $(binaries-pie).
8653 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8654 * nscd/Makefile (others-pie): Add nscd.
8655 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8656 ($(objpfx)nscd): Remove command override.
8657 * login/Makefile (others-pie): Add pt_chown.
8658 ($(objpfx)pt_chown): Remove command override.
8659 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8660 remove command overrides.
8662 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8664 * libio/tst_putwc.c: Fix error messages.
8667 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8668 currently writing and seek to current position when not.
8669 * libio/Makefile (tests): Add bug-fclose1.
8670 * libio/bug-fclose1.c: New file.
8672 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8675 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8676 don't set DF_1_NODELETE here.
8677 (do_lookup_x): When entering new entry test for copy relocation
8678 and if necessary set DF_1_NODELETE flag.
8679 * elf/tst-unique4.cc: New file.
8680 * elf/tst-unique4.h: New file.
8681 * elf/tst-unique4lib.cc: New file.
8682 * elf/Makefile: Add rules to build and run tst-unique4.
8683 Patch by Piotr Bury <pbury@goahead.com>.
8685 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8688 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8691 * misc/mntent_r.c (addmntent): Flush the stream after the output
8694 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8695 (is_trusted_path_normalize): Skip initial colon. Append slash
8696 to empty buffer. Duplicate is_trusted_path code but allow
8697 constructed patch to be prefix.
8698 (is_dst): Allow $ORIGIN followed by /.
8699 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8700 Correct testing of result of is_trusted_path_normalize
8701 (decompose_rpath): Fix warning.
8703 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8706 * grp/initgroups.c (internal_getgrouplist): When we found the service
8707 list through the initgroups entry in nsswitch.conf do not always
8708 continue on a successful lookup. Don't always use the
8709 __nss_group_database value if it is set.
8710 * nss/nsswitch.conf (initgroups): Change action for successful db
8711 lookup to continue for compatibility.
8713 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8716 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8718 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8720 * iconvdata/tst-tables.sh: Likewise.
8721 * iconvdata/cp770.c: New file.
8722 * iconvdata/cp771.c: New file.
8723 * iconvdata/cp772.c: New file.
8724 * iconvdata/cp773.c: New file.
8725 * iconvdata/cp774.c: New file.
8726 * iconvdata/testdata/CP770: New file.
8727 * iconvdata/testdata/CP770..UTF8: New file.
8728 * iconvdata/testdata/CP771: New file.
8729 * iconvdata/testdata/CP771..UTF8: New file.
8730 * iconvdata/testdata/CP772: New file.
8731 * iconvdata/testdata/CP772..UTF8: New file.
8732 * iconvdata/testdata/CP773: New file.
8733 * iconvdata/testdata/CP773..UTF8: New file.
8734 * iconvdata/testdata/CP774: New file.
8735 * iconvdata/testdata/CP774..UTF8: New file.
8737 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8739 * iconvdata/gen-8bit-gap.sh: Likewise.
8740 * iconvdata/gen-8bit.sh: Likewise.
8742 * locale/iso-639.def: Add ary entry.
8745 * locale/C-translit.h.in: Add U20A1 transliteration.
8748 * locale/iso-639.def: Add wae entry.
8749 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8752 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8756 * locale/C-translit.h.in: Add entry for U20B9.
8757 Patch by pravin.d.s@gmail.com.
8759 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8762 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8763 ENAMETOOLONG use generic getcwd.
8764 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8765 in rtld. Use *stat64.
8766 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8767 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8768 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8769 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8770 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8771 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8772 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8774 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8775 * dirent/rewinddir.c: Add libc_hidden_def.
8776 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8777 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8779 * include/dirent.h (__alloc_dir): Add flags parameter.
8780 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8781 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8783 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8784 from fdopendir if O_CLOEXEC is already set.
8786 2011-03-15 Alan Modra <amodra@gmail.com>
8788 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8789 l_tls_firstbyte_offset non-zero. Save padding offset in
8790 l_tls_firstbyte_offset for later use.
8791 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8792 freeing static tls block.
8794 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8796 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8797 where #ifdef was intended. The intent is to prevent ARG_MAX from
8798 being defined by the kernel headers.
8800 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8803 * resolv/resolv.h: Define RES_NOTLDQUERY.
8804 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8805 no-tld-query and set RES_NOTLDQUERY.
8806 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8807 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8808 modern BIND to search name as TLD unless forbidden.
8810 2011-05-07 Petr Baudis <pasky@suse.cz>
8811 Ulrich Drepper <drepper@gmail.com>
8814 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8815 (is_trusted_path): ...to here.
8816 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8817 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8818 using is_trusted_path_normalize() in setuid scripts.
8820 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8822 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8823 __BEGIN/__END_DECLS.
8825 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8828 NSS_STATUS_NOTFOUND if no record was found.
8830 2011-05-05 Andreas Schwab <schwab@redhat.com>
8832 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8833 (headers-not-in-tirpc): Remove rpc/netdb.h
8834 * resolv/netdb.h: Revert last change.
8836 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8838 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8839 circular dependency between libgcc.a and libc.a.
8841 2011-05-05 Andreas Schwab <schwab@redhat.com>
8843 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8844 * nis/Makefile: Don't install rpcsvc/*.
8845 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8846 instead of <rpc/types.h>.
8847 (MAXHOSTNAMELEN): Define.
8849 2011-05-03 Andreas Schwab <schwab@redhat.com>
8851 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8853 2011-04-28 Maciej Babinski <mbabinski@google.com>
8856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8857 gethostbyname4_r when IPv6 results are possible.
8859 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8863 _PC_PIPE_BUF handling.
8865 2011-04-30 Bruno Haible <bruno@clisp.org>
8868 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8869 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8871 * inet/getnameinfo.c (getnameinfo): Likewise.
8873 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8875 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8876 to groups setting in database lookup.
8877 * nss/nsswitch.conf: Add initgroups entry.
8879 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8882 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8884 Patch by Eric Blake <eblake@redhat.com>.
8886 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8888 * sunrpc/Makefile (need-export-routines): Add svc_run.
8889 (routines): Remove svc_run.
8890 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8891 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8892 * sunrpc/svc_run.c (svc_run): Likewise.
8893 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8895 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8898 problem in reallocation in last patch.
8900 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8902 * sunrpc/Makefile: Move inclusion of Rules.
8904 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8906 * nss/nss_files/files-initgroups.c: New file.
8907 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8908 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8909 _nss_files_initgroups_dyn.
8911 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8913 * elf/elf.h (R_ARM_IRELATIVE): Define.
8915 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8917 * po/ru.po: Update from translation team.
8919 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8921 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8924 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8927 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8928 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8933 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8941 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8944 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8946 * stdlib/bug-getcontext.c: New file.
8947 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8949 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8951 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8952 instructions into .machine "z9-109".
8953 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8954 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8956 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8958 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8959 between environment variables and auxiliary vector.
8961 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8963 * Makefile: Add rules to build linkobj/libc.so.
8964 * include/libc-symbols.h: Define libc_hidden_nolink.
8965 * include/rpc/auth.h: Mark functions which are to be hidden.
8966 * include/rpc/auth_des.h: Likewise.
8967 * include/rpc/auth_unix.h: Likewise.
8968 * include/rpc/clnt.h: Likewise.
8969 * include/rpc/des_crypt.h: Likewise.
8970 * include/rpc/key_prot.h: Likewise.
8971 * include/rpc/pmap_clnt.h: Likewise.
8972 * include/rpc/pmap_prot.h: Likewise.
8973 * include/rpc/pmap_rmt.h: Likewise.
8974 * include/rpc/rpc_msg.h: Likewise.
8975 * include/rpc/svc.h: Likewise.
8976 * include/rpc/svc_auth.h: Likewise.
8977 * include/rpc/xdr.h: Likewise.
8978 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8979 * nss/Makefile: Likewise.
8980 * sunrpc/Makefile: Don't install headers. Build library with normal
8981 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8982 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8983 for the compat linking library. Remove use of INTDEF/INTUSE.
8984 * sunrpc/auth_none.c: Likewise.
8985 * sunrpc/auth_unix.c: Likewise.
8986 * sunrpc/authdes_prot.c: Likewise.
8987 * sunrpc/authuxprot.c: Likewise.
8988 * sunrpc/clnt_gen.c: Likewise.
8989 * sunrpc/clnt_perr.c: Likewise.
8990 * sunrpc/clnt_raw.c: Likewise.
8991 * sunrpc/clnt_simp.c: Likewise.
8992 * sunrpc/clnt_tcp.c: Likewise.
8993 * sunrpc/clnt_udp.c: Likewise.
8994 * sunrpc/clnt_unix.c: Likewise.
8995 * sunrpc/des_crypt.c: Likewise.
8996 * sunrpc/des_soft.c: Likewise.
8997 * sunrpc/get_myaddr.c: Likewise.
8998 * sunrpc/key_call.c: Likewise.
8999 * sunrpc/key_prot.c: Likewise.
9000 * sunrpc/netname.c: Likewise.
9001 * sunrpc/pm_getmaps.c: Likewise.
9002 * sunrpc/pm_getport.c: Likewise.
9003 * sunrpc/pmap_clnt.c: Likewise.
9004 * sunrpc/pmap_prot.c: Likewise.
9005 * sunrpc/pmap_prot2.c: Likewise.
9006 * sunrpc/pmap_rmt.c: Likewise.
9007 * sunrpc/publickey.c: Likewise.
9008 * sunrpc/rpc_cmsg.c: Likewise.
9009 * sunrpc/rpc_common.c: Likewise.
9010 * sunrpc/rpc_dtable.c: Likewise.
9011 * sunrpc/rpc_prot.c: Likewise.
9012 * sunrpc/rpc_thread.c: Likewise.
9013 * sunrpc/rtime.c: Likewise.
9014 * sunrpc/svc.c: Likewise.
9015 * sunrpc/svc_auth.c: Likewise.
9016 * sunrpc/svc_authux.c: Likewise.
9017 * sunrpc/svc_raw.c: Likewise.
9018 * sunrpc/svc_run.c: Likewise.
9019 * sunrpc/svc_simple.c: Likewise.
9020 * sunrpc/svc_tcp.c: Likewise.
9021 * sunrpc/svc_udp.c: Likewise.
9022 * sunrpc/svc_unix.c: Likewise.
9023 * sunrpc/svcauth_des.c: Likewise.
9024 * sunrpc/xcrypt.c: Likewise.
9025 * sunrpc/xdr.c: Likewise.
9026 * sunrpc/xdr_array.c: Likewise.
9027 * sunrpc/xdr_float.c: Likewise.
9028 * sunrpc/xdr_intXX_t.c: Likewise.
9029 * sunrpc/xdr_mem.c: Likewise.
9030 * sunrpc/xdr_rec.c: Likewise.
9031 * sunrpc/xdr_ref.c: Likewise.
9032 * sunrpc/xdr_sizeof.c: Likewise.
9033 * sunrpc/xdr_stdio.c: Likewise.
9035 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9038 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9039 * sysdeps/ia64/dl-tls.h: Likewise.
9040 * sysdeps/powerpc/dl-tls.h: Likewise.
9041 * sysdeps/s390/dl-tls.h: Likewise.
9042 * sysdeps/sh/dl-tls.h: Likewise.
9043 * sysdeps/sparc/dl-tls.h: Likewise.
9044 * sysdeps/x86_64/dl-tls.h: Likewise.
9045 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9047 2011-03-14 Andreas Schwab <schwab@redhat.com>
9049 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9050 rpath element also skip the following colon.
9051 (expand_dynamic_string_token): Add is_path parameter and pass
9052 down to DL_DST_REQUIRED and _dl_dst_substitute.
9053 (decompose_rpath): Call expand_dynamic_string_token with
9054 non-zero is_path. Ignore empty rpaths.
9055 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9058 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9063 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9066 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9067 Patch by Filipe David Manana <fdmanana@apache.org>.
9069 2011-04-07 Andreas Schwab <schwab@redhat.com>
9071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9072 Maintain aligned stack.
9073 (CHECK_RSP): Remove unused macro.
9075 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9077 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9078 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9080 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9082 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9084 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9086 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9089 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9090 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9091 * sysdeps/x86_64/memmove.c: New file.
9092 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9093 (memcpy): Renamed to ...
9094 (__new_memcpy): This.
9095 (memcpy): Provide GLIBC_2_14 memcpy.
9096 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9097 (memcpy): Provide GLIBC_2_2_5 memcpy.
9099 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9102 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9104 2011-03-30 Andreas Schwab <schwab@redhat.com>
9106 * misc/syncfs.c: New file.
9107 * misc/Makefile (routines): Add syncfs.
9108 * posix/unistd.h: Declare syncfs.
9109 * sysdeps/unix/syscalls.list: Add syncfs.
9111 2011-04-01 Andreas Schwab <schwab@redhat.com>
9113 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9120 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9123 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9126 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9133 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9134 sync_file_range.c with -fexceptions.
9135 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9136 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9137 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9138 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9139 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9140 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9142 sync_file_range as cancellation point
9143 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9144 now a wrapper around __call_sync_file_range with cancellation handling.
9145 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9146 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9147 function name to __call_sync_file_range.
9148 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9149 Add call_sync_file_range.
9151 2011-04-01 Andreas Schwab <schwab@redhat.com>
9153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9156 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9158 * iconv/iconv.h: Fix typo in comment.
9159 * io/fcntl.h: Likewise.
9160 * libio/stdio.h: Likewise.
9161 * posix/spawn.h: Likewise.
9162 * posix/unistd.h: Likewise.
9163 * stdlib/stdlib.h: Likewise.
9164 * time/time.h: Likewise.
9165 * wcsmbs/wchar.h: Likewise.
9167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9168 open_by_handle): Add.
9169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9170 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9171 Augment a few comments.
9172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9177 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9180 * io/fcntl.h (AT_EMPTY_PATH): Define.
9182 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9184 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9185 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9186 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9188 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9189 * Versions.def: Add GLIBC_2.14.
9190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9193 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9199 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9202 * string/test-strncmp.c (do_page_test): New function.
9204 (test_main): Call check2.
9205 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9207 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9211 Handle cache information in CPU leaf 4.
9212 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9214 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9217 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9218 character representation.
9219 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9221 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9224 END(__isnan) to END(__isnanf) to match function entry point/label
9225 EALIGN(__isnanf,...).
9227 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9229 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9231 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9234 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9235 copy from the symbol referenced in the relocation to initialize the
9237 Patch by Piotr Bury <pbury@goahead.com>.
9238 * elf/Makefile: Add rules to build and tst-unique3.
9239 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9240 * elf/tst-unique3.cc: New file.
9241 * elf/tst-unique3.h: New file.
9242 * elf/tst-unique3lib.cc: New file.
9243 * elf/tst-unique3lib2.cc: New file.
9245 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9247 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9249 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9250 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9253 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9255 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9256 to-be-loaded object along a path to loader is ld.so.
9258 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9259 Ulrich Drepper <drepper@gmail.com>
9261 * sysdeps/x86_64/memset.S: After aligning destination, code
9262 branches to different locations depending on the value of
9263 misalignment, when multiarch is enabled. Fix this.
9265 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9267 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9268 Set _x86_64_preferred_memory_instruction for AMD processsors.
9269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9270 Set bit_Prefer_SSE_for_memop for AMD processors.
9272 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9274 * libio/fmemopen.c (fmemopen): Optimize a bit.
9276 2011-03-03 Andreas Schwab <schwab@redhat.com>
9278 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9280 2011-03-03 Roland McGrath <roland@redhat.com>
9282 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9284 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9286 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9287 __bzero_ultra1 instead of __memset_ultra1.
9289 2011-02-23 Andreas Schwab <schwab@redhat.com>
9290 Ulrich Drepper <drepper@gmail.com>
9293 * include/link.h (struct link_map): Add l_orig_initfini.
9294 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9295 returning unsuccessfully.
9296 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9297 close of a file loaded at startup, restore the original l_initfini
9299 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9300 list, store the pointer.
9301 * elf/Makefile ($(objpfx)noload-mem): New rule.
9302 (noload-ENV): Define.
9303 (tests): Add $(objpfx)noload-mem.
9304 * elf/noload.c: Include <memcheck.h>.
9305 (main): Call mtrace. Close all opened handles.
9307 2011-02-17 Andreas Schwab <schwab@redhat.com>
9310 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9311 dependencies are missing.
9313 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9315 Fix __if_freereq crash: Unlike the generic version which uses free,
9317 * sysdeps/mach/hurd/ifreq.h: New file.
9319 2011-01-27 Petr Baudis <pasky@suse.cz>
9320 Ulrich Drepper <drepper@gmail.com>
9323 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9325 * stdio-common/bug23.c: New file.
9326 * stdio-common/Makefile (tests): Add bug23.
9328 2010-09-28 Andreas Schwab <schwab@redhat.com>
9329 Ulrich Drepper <drepper@gmail.com>
9332 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9333 before performing relro protection. At old place add assertion
9334 to make sure nothing changed.
9336 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9337 Glauber de Oliveira Costa <glommer@gmail.com>
9339 * elf/elf.h: Add new ARM TLS relocs.
9341 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9344 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9346 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9348 * sysdeps/wordsize-64/tst-writev.c: New file.
9350 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9352 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9353 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9354 insns in _dl_start to prevent a TOC reference before relocs are
9357 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9360 * Makeconfig: Remove RANLIB definition.
9361 * Makerules: Don't use RANLIB.
9362 * aclocal.m4: Remove ranlib test.
9363 * configure.in: No need to check for ranlib.
9364 * elf/rtld-Rules: Don't use RANLIB.
9366 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9368 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9370 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9371 inclusion protection macro.
9373 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9374 SIGRTMIN and SIGRTMAX and print information in that case only when
9375 SIGRTMIN is defined.
9377 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9379 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9380 arginfo fn returning -1.
9382 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9383 and thousands string is zero terminated.
9385 2011-02-03 Andreas Schwab <schwab@redhat.com>
9387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9388 sysdeps/unix/sysv/linux/bits/socket.h.
9390 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9392 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9393 (__CPU_COUNT): Remove old macros.
9394 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9395 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9396 (__CPU_ALLOC, __CPU_FREE): Add macros.
9397 (__sched_cpualloc, __sched_cpufree): Add declarations.
9399 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9401 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9402 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9403 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9404 (readdhstai): Return value of addhstaiX call.
9405 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9406 (addgrbyX): Return value returned by cache_addgr.
9407 (readdgrbyname): Return value returned by addgrbyX.
9408 (readdgrbygid): Likewise.
9409 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9410 (addpwbyX): Return value returned by cache_addpw.
9411 (readdpwbyname): Return value returned by addhstbyX.
9412 (readdpwbyuid): Likewise.
9413 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9414 (addservbyX): Return value returned by cache_addserv.
9415 (readdservbyname): Return value returned by addservbyX:
9416 (readdservbyport): Likewise.
9417 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9418 (addhstbyX): Return value returned by cache_addhst.
9419 (readdhstbyname): Return value returned by addhstbyX.
9420 (readdhstbyaddr): Likewise.
9421 (readdhstbynamev6): Likewise.
9422 (readdhstbyaddrv6): Likewise.
9423 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9424 (readdinitgroups): Return value returned by addinitgroupsX.
9425 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9426 (prune_cache): Keep track of timeout value of re-added entries.
9427 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9428 * nscd/nscd.h: Adjust prototypes of readd* functions.
9430 2011-02-04 Roland McGrath <roland@redhat.com>
9432 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9433 (nis_stats): Likewise.
9434 * nis/nis_modify.c (nis_modify): Likewise.
9435 * nis/nis_remove.c (nis_remove): Likewise.
9436 * nis/nis_add.c (nis_add): Likewise.
9438 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9440 * posix/fnmatch_loop.c: Add some consts.
9442 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9444 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9447 * config.make.in (config-cflags-novzeroupper): Define.
9448 * configure.in: Substitute libc_cv_cc_novzeroupper.
9449 * elf/Makefile (AVX-CFLAGS): Define.
9450 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9451 (CFLAGS-tst-auditmod4a.c): Likewise.
9452 (CFLAGS-tst-auditmod4b.c): Likewise.
9453 (CFLAGS-tst-auditmod6b.c): Likewise.
9454 (CFLAGS-tst-auditmod6c.c): Likewise.
9455 (CFLAGS-tst-auditmod7b.c): Likewise.
9456 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9458 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9460 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9461 function to the callback.
9462 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9464 2011-02-02 Andreas Schwab <schwab@redhat.com>
9466 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9469 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9472 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9474 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9476 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9479 * elf/Makefile: Add rules to build and run new test.
9480 * elf/tst-initorder.c: New file.
9481 * elf/tst-initorder.exp: New file.
9482 * elf/tst-initordera1.c: New file.
9483 * elf/tst-initordera2.c: New file.
9484 * elf/tst-initordera3.c: New file.
9485 * elf/tst-initordera4.c: New file.
9486 * elf/tst-initorderb1.c: New file.
9487 * elf/tst-initorderb2.c: New file.
9488 * elf/tst-order-a1.c: New file.
9489 * elf/tst-order-a2.c: New file.
9490 * elf/tst-order-a3.c: New file.
9491 * elf/tst-order-a4.c: New file.
9492 * elf/tst-order-b1.c: New file.
9493 * elf/tst-order-b2.c: New file.
9494 * elf/tst-order-main.c: New file.
9495 New test case by George Gensure <werkt0@gmail.com>.
9497 2010-10-01 Andreas Schwab <schwab@redhat.com>
9499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9500 decoding ACE if AI_CANONIDN.
9502 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9504 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9506 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9508 * version.h (RELEASE): Bump for 2.13 release.
9509 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9511 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9515 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9522 * posix/getconf.c: Update copyright year.
9523 * catgets/gencat.c: Likewise.
9524 * csu/version.c: Likewise.
9525 * debug/catchsegv.sh: Likewise.
9526 * debug/xtrace.sh: Likewise.
9527 * elf/ldconfig.c: Likewise.
9528 * elf/ldd.bash.in: Likewise.
9529 * elf/sprof.c (print_version): Likewise.
9530 * iconv/iconv_prog.c: Likewise.
9531 * iconv/iconvconfig.c: Likewise.
9532 * locale/programs/locale.c: Likewise.
9533 * locale/programs/localedef.c: Likewise.
9534 * malloc/memusage.sh: Likewise.
9535 * malloc/mtrace.pl: Likewise.
9536 * nscd/nscd.c (print_version): Likewise.
9537 * nss/getent.c: Likewise.
9539 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9540 PF_CAIF, and PF_ALG.
9541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9543 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9545 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9546 (modules-names): Use them.
9547 (ifunc-test-modules, ifunc-pie-tests): Define.
9548 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9549 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9550 (test-extras): Likewise.
9551 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9552 $(compile-command.c).
9553 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9554 (all-built-dso): Define.
9555 (check-textrel.out, check-execstack.out): Depend on it.
9557 * configure.in: Don't override --enable-multi-arch.
9559 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9562 * nscd/hstcache.c (tryagain): Define.
9563 (cache_addhst): Return tryagain not notfound for temporary errors.
9564 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9567 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9570 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9571 to make the syscall.
9572 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9575 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9576 and fall back to matching as normal character if the string ends before
9577 the matching ']' is found. This is what POSIX requires.
9578 * posix/testfnm.c: Adjust test result.
9579 * posix/globtest.sh: Adjust test result. Add new test.
9580 * posix/tst-fnmatch.input: Likewise.
9581 * posix/tst-fnmatch2.c: Add new test.
9583 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9585 * elf/Makefile (check-execstack): Revert last change. Depend on
9587 (check-execstack.h): New target.
9588 (generated): Add check-execstack.h.
9589 * elf/check-execstack.c: Include "check-execstack.h".
9590 (main): Revert last change.
9591 (handle_file): Return zero if GNU_STACK is absent and
9592 DEFAULT_STACK_PERMS doesn't include PF_X.
9594 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9596 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9597 in child fails because the descriptor is already closed.
9598 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9599 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9600 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9603 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9607 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9608 temporary buffer used to handle multi lookups locally.
9609 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9611 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9613 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9616 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9618 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9621 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9624 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9625 characters. When rounding increased number of integer digits recompute
9627 * stdio-common/tst-grouping.c: New file.
9628 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9630 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9632 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9633 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9635 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9637 * bits/select.h: Likewise.
9639 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9641 * po/ja.po: Update from translation team.
9643 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9647 implementation just like for lxstat, fxstatat, et al.
9649 2010-12-27 Jim Meyering <meyering@redhat.com>
9652 * posix/regexec.c (build_trtable): Return failure indication upon
9653 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9655 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9658 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9659 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9664 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9667 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9668 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9670 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9672 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9673 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9674 script has SORT_BY_INIT_PRIORITY.
9675 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9676 NO_CTORS_DTORS_SECTIONS is defined.
9677 * elf/soinit.c: Likewise.
9678 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9679 NO_CTORS_DTORS_SECTIONS is defined.
9680 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9681 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9682 * sysdeps/sh/init-first.c: Likewise.
9683 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9685 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9687 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9688 always use the slow path.
9690 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9692 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9693 similar rule which adds the sysdep directories to the header search in
9694 order to pick up the correct platform stackinfo.h.
9695 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9696 perform test if it is, otherwise return successfully without testing.
9697 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9698 DEFAULT_STACK_PERMS define in stackinfo.h.
9699 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9700 defined in stackinfo.h.
9701 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9702 DEFAULT_STACK_PERMS defined in stackinfo.h.
9703 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9704 * sysdeps/ia64/stackinfo.h: Likewise.
9705 * sysdeps/s390/stackinfo.h: Likewise.
9706 * sysdeps/sh/stackinfo.h: Likewise.
9707 * sysdeps/sparc/stackinfo.h: Likewise.
9708 * sysdeps/x86_64/stackinfo.h: Likewise.
9709 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9710 PF_X for powerpc64. Retain PF_X for powerpc32.
9712 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9714 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9716 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9717 GETDENTS_64BIT_ALIGNED.
9719 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9721 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9723 2010-12-10 Andreas Schwab <schwab@redhat.com>
9725 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9728 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9729 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9731 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9732 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9734 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9737 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9740 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9742 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9744 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9746 * po/it.po: Update from translation team.
9748 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9753 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9755 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9757 2010-11-24 Andreas Schwab <schwab@redhat.com>
9759 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9761 (gaih_getanswer_slice): Likewise.
9763 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9767 2010-05-31 Petr Baudis <pasky@suse.cz>
9770 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9771 silently even in the chroot mode.
9773 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9775 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9776 last patch a bit. Pretty printing
9778 2010-05-31 Petr Baudis <pasky@suse.cz>
9781 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9782 initialization of skip_initgroups_dyn.
9784 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9789 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9791 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9793 2010-11-11 Andreas Schwab <schwab@redhat.com>
9795 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9796 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9797 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9798 ($(objpfx)tst-fnmatch-mem): New rule.
9799 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9800 * posix/tst-fnmatch.c (main): Call mtrace.
9802 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9805 Support Intel processor model 6 and model 0x2c.
9807 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9812 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9815 * string/test-strncasecmp.c (check_result): New function.
9816 (do_one_test): Use it.
9817 (check1): New function.
9818 (test_main): Use it.
9819 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9820 Support strcasecmp and strncasecmp.
9822 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9825 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9828 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9830 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9834 * sysdeps/x86_64/multiarch/bzero.S: New file.
9835 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9836 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9837 * sysdeps/x86_64/multiarch/memset.S: New file.
9838 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9840 Set bit_Prefer_SSE_for_memop for Intel processors.
9841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9843 (index_Prefer_SSE_for_memop): Define.
9844 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9846 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9849 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9851 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9854 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9855 (__x86_64_raw_data_cache_size_half): Likewise.
9856 (__x86_64_raw_shared_cache_size): Likewise.
9857 (__x86_64_raw_shared_cache_size_half): Likewise.
9859 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9860 (__x86_64_raw_data_cache_size_half): Likewise.
9861 (__x86_64_raw_shared_cache_size): Likewise.
9862 (__x86_64_raw_shared_cache_size_half): Likewise.
9863 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9864 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9865 and __x86_64_raw_shared_cache_size_half. Round
9866 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9867 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9868 to multiple of 256 bytes.
9870 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9873 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9874 of inacessible symlinks. Verify result of symlink before returning it.
9875 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9876 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9878 2010-10-28 Erich Ritz <erichritz@gmail.com>
9880 * math/math.h (isinf): Fix typo in comment.
9882 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9884 * po/da.po: Update from translation team.
9886 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9888 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9889 is added to the list.
9891 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9892 Ulrich Drepper <drepper@gmail.com>
9894 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9895 the global list here. Move code to...
9896 (_dl_add_to_namespace_list): ...here. New function.
9897 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9898 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9899 * elf/dl-load.c (lose): Don't remove the element from the list.
9900 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9901 (_dl_map_object): Likewise.
9903 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9906 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9907 into all bytes of SSE register.
9908 Patch by Richard Li <richardpku@gmail.com>.
9910 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9913 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9916 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9918 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9919 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9920 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9921 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9926 2010-10-22 Andreas Schwab <schwab@redhat.com>
9928 * include/dlfcn.h (__RTLD_SECURE): Define.
9929 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9930 mode & __RTLD_SECURE instead.
9931 (open_path): Rename preloaded parameter to secure.
9932 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9933 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9934 * elf/dl-deps.c (openaux): Likewise.
9935 * elf/rtld.c (struct map_args): Remove is_preloaded.
9936 (map_doit): Don't use it.
9937 (dl_main): Likewise.
9938 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9939 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9941 2010-09-09 Andreas Schwab <schwab@redhat.com>
9943 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9944 (sysd-rules-targets): Remove duplicates.
9945 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9946 rtld-%.$o dependency.
9948 2010-10-18 Andreas Schwab <schwab@redhat.com>
9950 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9951 _dl_map_object do it.
9953 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9955 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9956 fast fma builtins, define the macros in the C99 standard.
9957 (FP_FAST_FMAF): Likewise.
9958 (FP_FAST_FMAL): Likewise.
9959 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9961 * bits/mathdef.h: Update copyright year.
9962 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9964 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9966 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9967 builtins, define the macros in the C99 standard.
9968 (FP_FAST_FMAF): Likewise.
9969 (FP_FAST_FMAL): Likewise.
9970 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9972 (FP_FAST_FMAF): Likewise.
9974 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9977 * math/libm-test.inc (fma_test): Some new testcases.
9978 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9980 y and infinite z. Do multiplication by C already in long double.
9981 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9983 y and infinite z. Do bitwise or of inexact bit into u.d.
9984 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9985 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9986 * sysdeps/i386/fpu/s_fma.S: Removed.
9987 * sysdeps/i386/fpu/s_fmal.S: Removed.
9989 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9992 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9994 computation is not scheduled after fetestexcept. Fix value
9995 of minimum denormal long double.
9997 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10000 * math/libm-test.inc (fma_test): Add some more tests.
10001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10004 2010-10-15 Andreas Schwab <schwab@redhat.com>
10006 * scripts/data/localplt-s390-linux-gnu.data: New file.
10007 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10009 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10012 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10013 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10015 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10017 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10019 if one of x and y is very large and the other is subnormal.
10020 * sysdeps/s390/fpu/s_fmaf.c: New file.
10021 * sysdeps/s390/fpu/s_fma.c: New file.
10022 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10023 * sysdeps/powerpc/fpu/s_fma.S: New file.
10024 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10025 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10026 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10028 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10031 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10034 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10035 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10036 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10037 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10038 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10039 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10041 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10044 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10045 * posix/bug-regex31.input: Add test case.
10047 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10049 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10050 * posix/bug-regex31.input: New file.
10053 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10054 (parse_sub_exp): Fix last change, use postorder.
10056 * posix/bug-regex31.c: New file.
10057 * posix/Makefile: Add rules to build and run bug-regex31.
10059 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10062 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10065 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10066 to have entries in sys_siglist.
10069 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10072 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10075 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10076 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10077 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10078 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10079 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10080 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10081 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10082 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10083 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10084 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10085 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10086 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10087 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10088 * math/ftestexcept.c (fetestexcept): Likewise.
10089 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10090 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10091 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10092 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10093 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10094 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10097 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10100 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10103 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10105 * string/bug-strstr1.c: New file.
10106 * string/Makefile: Add rules to build and run bug-strstr1.
10108 2010-10-05 Eric Blake <eblake@redhat.com>
10111 * string/str-two-way.h (two_way_long_needle): Always clear memory
10112 when skipping input due to the shift table.
10114 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10117 * malloc/mcheck.c: Handle large requests.
10120 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10121 for strncmp and strncasecmp.
10122 * string/stratcliff.c: Add tests for strcmp and strncmp.
10123 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10125 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10127 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10130 2010-09-30 Andreas Jaeger <aj@suse.de>
10132 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10133 (CGROUP_SUPER_MAGIC): Define.
10134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10135 Handle btrfs and cgroup file systems.
10136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10139 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10141 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10142 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10144 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10147 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10148 trying to locate the ELF header.
10150 2010-09-27 Andreas Schwab <schwab@redhat.com>
10153 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10154 Mask out sign-bit copies when constructing f_fsid.
10156 2010-09-24 Petr Baudis <pasky@suse.cz>
10158 * debug/stack_chk_fail_local.c: Add missing licence exception.
10159 * debug/warning-nop.c: Likewise.
10161 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10163 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10164 implementing getdents64 using getdents syscall, set d_type if
10165 __ASSUME_GETDENTS32_D_TYPE.
10167 2010-09-16 Andreas Schwab <schwab@redhat.com>
10169 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10170 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10172 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10175 * posix/unistd.h: Undo change of feature selection for ftruncate from
10178 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10180 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10183 2010-09-20 Andreas Schwab <schwab@redhat.com>
10185 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10187 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10189 2010-09-14 Andreas Schwab <schwab@redhat.com>
10191 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10192 variables after CHECK_SP call.
10193 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10195 2010-09-13 Andreas Schwab <schwab@redhat.com>
10196 Ulrich Drepper <drepper@redhat.com>
10198 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10199 re-relocationg ld.so.
10200 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10201 _dl_init_paths call.
10202 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10205 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10207 * resolv/res_init.c (__res_vinit): Count the default server we added.
10209 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10210 Ulrich Drepper <drepper@redhat.com>
10213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10214 (____longjmp_chk): Use %ebx for saving value across system call.
10217 2010-09-06 Andreas Schwab <schwab@redhat.com>
10219 * manual/Makefile: Don't mix pattern rules with normal rules.
10221 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10223 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10225 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10226 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10227 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10228 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10232 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10235 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10236 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10238 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10240 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10241 * sysdeps/x86_64/addmul_1.S: Likewise.
10242 * sysdeps/x86_64/lshift.S: Likewise.
10243 * sysdeps/x86_64/mul_1.S: Likewise.
10244 * sysdeps/x86_64/rshift.S: Likewise.
10245 * sysdeps/x86_64/sub_n.S: Likewise.
10246 * sysdeps/x86_64/submul_1.S: Likewise.
10248 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10250 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10251 Define __sched_param instead of SCHED_* and sched_param when
10252 <bits/sched.h> is included with __need_schedparam defined.
10253 * bits/sched.h [__need_schedparam]
10254 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10255 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10256 (__defined_schedparam): Define to 1.
10257 (__sched_param): New structure, identical to sched_param.
10258 (__need_schedparam): Undefine.
10260 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10262 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10263 (epoll_create1): Declare.
10265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10267 2010-08-31 Andreas Schwab <schwab@redhat.com>
10270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10271 shifting retval into place.
10273 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10275 * nis/rpcsvc/nis.h: Update copyright notice.
10276 * nis/rpcsvc/nis.x: Likewise.
10277 * nis/rpcsvc/nis_callback.h: Likewise.
10278 * nis/rpcsvc/nis_callback.x: Likewise.
10279 * nis/rpcsvc/nis_object.x: Likewise.
10280 * nis/rpcsvc/nis_tags.h: Likewise.
10281 * nis/rpcsvc/yp.h: Likewise.
10282 * nis/rpcsvc/yp.x: Likewise.
10283 * nis/rpcsvc/ypupd.h: Likewise.
10284 * nis/yp_xdr.c: Likewise.
10285 * nis/ypupdate_xdr.c: Likewise.
10287 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10288 mainly the body of pmap_getport. Add parameters to specify timeouts.
10289 (pmap_getport): Use __libc_rpc_getport.
10290 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10291 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10292 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10294 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10299 2010-08-27 Roland McGrath <roland@redhat.com>
10301 * sysdeps/i386/i686/multiarch/Makefile
10302 (CFLAGS-varshift.c): New variable.
10304 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10306 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10307 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10311 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10313 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10315 * sysdeps/x86_64/strlen.S: Unroll the loop.
10316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10317 strlen-sse2 strlen-sse2-bsf.
10318 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10319 __strlen_no_bsf if bit_Slow_BSF is set.
10320 (__strlen_sse42): Removed.
10321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10322 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10324 2010-08-25 Roland McGrath <roland@redhat.com>
10326 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10327 * sysdeps/x86_64/multiarch/varshift.c: New file.
10328 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10329 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10330 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10331 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10333 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10336 strlen-sse2 strlen-sse2-bsf.
10337 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10338 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10339 (__strlen_sse2): Removed.
10340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10343 bit_Slow_BSF for Atom.
10344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10345 (index_Slow_BSF): Define.
10346 (HAS_SLOW_BSF): Define.
10348 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10351 * resolv/res_init.c (__res_vinit): When no server address at all
10352 is given default to loopback.
10354 2010-08-24 Roland McGrath <roland@redhat.com>
10356 * configure.in: Remove config-name.h generation.
10357 * configure: Regenerated.
10358 * config-name.in: File removed.
10359 * scripts/config-uname.sh: New file.
10360 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10361 ($(objdir)config-name.h): New target.
10363 * sunrpc/rpc_parse.h: Avoid nested comment.
10365 2010-08-24 Richard Henderson <rth@redhat.com>
10366 Ulrich Drepper <drepper@redhat.com>
10367 H.J. Lu <hongjiu.lu@intel.com>
10369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10371 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10372 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10373 _mm_alignr_epi8 with _mm_loadu_si128.
10374 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10375 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10376 (__m128i_shift_right): Removed.
10377 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10378 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10379 * sysdeps/x86_64/multiarch/varshift.h: New file.
10380 * sysdeps/x86_64/multiarch/varshift.S: New file.
10382 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10384 * configure.in: Move assembler checks to before sysdep dir checking.
10386 2010-08-20 Petr Baudis <pasky@suse.cz>
10388 * LICENSES: Sync the sunrpc license.
10390 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10392 * sunrpc/auth_des.c: Update copyright notice once again.
10393 * sunrpc/auth_none.c: Likewise.
10394 * sunrpc/auth_unix.c: Likewise.
10395 * sunrpc/authdes_prot.c: Likewise.
10396 * sunrpc/authuxprot.c: Likewise.
10397 * sunrpc/bindrsvprt.c: Likewise.
10398 * sunrpc/clnt_gen.c: Likewise.
10399 * sunrpc/clnt_perr.c: Likewise.
10400 * sunrpc/clnt_raw.c: Likewise.
10401 * sunrpc/clnt_simp.c: Likewise.
10402 * sunrpc/clnt_tcp.c: Likewise.
10403 * sunrpc/clnt_udp.c: Likewise.
10404 * sunrpc/clnt_unix.c: Likewise.
10405 * sunrpc/des_crypt.c: Likewise.
10406 * sunrpc/des_soft.c: Likewise.
10407 * sunrpc/get_myaddr.c: Likewise.
10408 * sunrpc/getrpcport.c: Likewise.
10409 * sunrpc/key_call.c: Likewise.
10410 * sunrpc/key_prot.c: Likewise.
10411 * sunrpc/openchild.c: Likewise.
10412 * sunrpc/pm_getmaps.c: Likewise.
10413 * sunrpc/pm_getport.c: Likewise.
10414 * sunrpc/pmap_clnt.c: Likewise.
10415 * sunrpc/pmap_prot.c: Likewise.
10416 * sunrpc/pmap_prot2.c: Likewise.
10417 * sunrpc/pmap_rmt.c: Likewise.
10418 * sunrpc/rpc/auth.h: Likewise.
10419 * sunrpc/rpc/auth_unix.h: Likewise.
10420 * sunrpc/rpc/clnt.h: Likewise.
10421 * sunrpc/rpc/des_crypt.h: Likewise.
10422 * sunrpc/rpc/key_prot.h: Likewise.
10423 * sunrpc/rpc/netdb.h: Likewise.
10424 * sunrpc/rpc/pmap_clnt.h: Likewise.
10425 * sunrpc/rpc/pmap_prot.h: Likewise.
10426 * sunrpc/rpc/pmap_rmt.h: Likewise.
10427 * sunrpc/rpc/rpc.h: Likewise.
10428 * sunrpc/rpc/rpc_des.h: Likewise.
10429 * sunrpc/rpc/rpc_msg.h: Likewise.
10430 * sunrpc/rpc/svc.h: Likewise.
10431 * sunrpc/rpc/svc_auth.h: Likewise.
10432 * sunrpc/rpc/types.h: Likewise.
10433 * sunrpc/rpc/xdr.h: Likewise.
10434 * sunrpc/rpc_clntout.c: Likewise.
10435 * sunrpc/rpc_cmsg.c: Likewise.
10436 * sunrpc/rpc_common.c: Likewise.
10437 * sunrpc/rpc_cout.c: Likewise.
10438 * sunrpc/rpc_dtable.c: Likewise.
10439 * sunrpc/rpc_hout.c: Likewise.
10440 * sunrpc/rpc_main.c: Likewise.
10441 * sunrpc/rpc_parse.c: Likewise.
10442 * sunrpc/rpc_parse.h: Likewise.
10443 * sunrpc/rpc_prot.c: Likewise.
10444 * sunrpc/rpc_sample.c: Likewise.
10445 * sunrpc/rpc_scan.c: Likewise.
10446 * sunrpc/rpc_scan.h: Likewise.
10447 * sunrpc/rpc_svcout.c: Likewise.
10448 * sunrpc/rpc_tblout.c: Likewise.
10449 * sunrpc/rpc_util.c: Likewise.
10450 * sunrpc/rpc_util.h: Likewise.
10451 * sunrpc/rpcinfo.c: Likewise.
10452 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10453 * sunrpc/rpcsvc/key_prot.x: Likewise.
10454 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10455 * sunrpc/rpcsvc/mount.x: Likewise.
10456 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10457 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10458 * sunrpc/rpcsvc/rex.x: Likewise.
10459 * sunrpc/rpcsvc/rstat.x: Likewise.
10460 * sunrpc/rpcsvc/rusers.x: Likewise.
10461 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10462 * sunrpc/rpcsvc/spray.x: Likewise.
10463 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10464 * sunrpc/rtime.c: Likewise.
10465 * sunrpc/svc.c: Likewise.
10466 * sunrpc/svc_auth.c: Likewise.
10467 * sunrpc/svc_authux.c: Likewise.
10468 * sunrpc/svc_raw.c: Likewise.
10469 * sunrpc/svc_run.c: Likewise.
10470 * sunrpc/svc_simple.c: Likewise.
10471 * sunrpc/svc_tcp.c: Likewise.
10472 * sunrpc/svc_udp.c: Likewise.
10473 * sunrpc/svc_unix.c: Likewise.
10474 * sunrpc/svcauth_des.c: Likewise.
10475 * sunrpc/xcrypt.c: Likewise.
10476 * sunrpc/xdr.c: Likewise.
10477 * sunrpc/xdr_array.c: Likewise.
10478 * sunrpc/xdr_float.c: Likewise.
10479 * sunrpc/xdr_mem.c: Likewise.
10480 * sunrpc/xdr_rec.c: Likewise.
10481 * sunrpc/xdr_ref.c: Likewise.
10482 * sunrpc/xdr_sizeof.c: Likewise.
10483 * sunrpc/xdr_stdio.c: Likewise.
10485 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10488 2010-08-19 Andreas Schwab <schwab@redhat.com>
10490 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10492 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10494 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10497 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10498 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10499 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10501 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10503 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10504 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10506 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10509 2010-07-26 Anton Blanchard <anton@samba.org>
10511 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10512 * malloc/arena.c (heap_trim): Likewise.
10514 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10516 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10519 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10521 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10523 * sysdeps/i386/elf/Makefile: New file.
10525 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10527 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10528 from fanotify_init.
10529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10532 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10534 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10536 * sysdeps/multiarch/strcmp.S: Likewise.
10538 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10540 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10541 strncase_l-nonascii.
10542 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10543 Add strncase_l-ssse3.
10544 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10545 * sysdeps/x86_64/strcmp.S: Likewise.
10546 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10547 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10548 * sysdeps/x86_64/strncase.S: New file.
10549 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10550 * sysdeps/x86_64/strncase_l.S: New file.
10551 * string/Makefile (strop-tests): Add strncasecmp.
10552 * string/test-strncasecmp.c: New file.
10554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10557 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10558 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10560 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10562 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10564 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10566 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10570 2010-05-01 Alan Modra <amodra@gmail.com>
10572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10573 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10574 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10575 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10576 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10577 tidying. Don't tail-call __sigjmp_save for static lib.
10578 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10580 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10581 (CALL_MCOUNT): Add eh info, and nop after bl.
10582 (TAIL_CALL_SYSCALL_ERROR): New macro.
10583 (PSEUDO_RET): Use it.
10584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10585 Correct save location of integer regs and cr.
10586 (_dl_profile_resolve): Correct cr save location. Delete nops
10587 after bl when SHARED. Reduce cfi size a little by better
10588 placement of cfi directives.
10589 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10590 make a stack frame. Instead use parm save area as a temp.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10592 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10594 Don't make a stack frame for parent, use parm save area.
10595 Increase child stack frame to 112 bytes. Don't save unused reg,
10596 and adjust reg usage. Set up cfi on error recovery and
10597 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10599 (__makecontext): Add dummy nop after jump to exit.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10601 Use correct parm save area and cr save, reduce stack frame.
10602 Correct cfi for possible PSEUDO_RET frame setup.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10604 Branch to local label emitted by PSEUDO_RET rather than
10607 2010-08-12 Andreas Schwab <schwab@redhat.com>
10610 * locale/programs/locale.c (print_assignment): New function.
10611 (show_locale_vars): Use it.
10613 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10615 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10617 (struct statfs64): Likewise.
10618 (_STATFS_F_FLAGS): Define.
10619 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10621 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10622 (ST_VALID): Define locally.
10623 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10624 __statvfs_getflags, use the provided value.
10625 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10626 __ASSUME_STATFS_F_FLAGS.
10628 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10630 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10631 Add sys/fanotify.h.
10632 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10633 fanotify_mask for GLIBC_2.13.
10634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10635 fanotify_init and fanotify_mark.
10636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10637 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10639 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10641 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10642 prlimit64 for GLIBC_2.13.
10643 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10648 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10649 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10650 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10653 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10656 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10657 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10659 * nss/Makefile: Add rules to build and run tst-nss-test1.
10660 * shlib-versions: Add entry for libnss_test1.
10661 * nss/nss_test1.c: New file.
10662 * nss/tst-nss-test1.c: New file.
10664 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10665 (__nss_configure_lookup): Set appropriate entry in
10666 __nss_configure_lookup to true.
10667 * nss/nsswitch.h: Define enum with indeces of databases in
10668 databases and __nss_database_custom arrays. Declare
10669 __nss_database_custom.
10670 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10671 to avoid using nscd when custom rules are installed.
10672 * nss/getXXbyYY_r.c: Likewise.
10673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10675 * nss/nss_files/files-parse.c: Whitespace fixes.
10677 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10680 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10681 * posix/fnmatch_loop.c: Likewise.
10683 2010-07-17 Andi Kleen <ak@linux.intel.com>
10685 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10686 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10687 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10688 * Versions.def [GLIBC_2.13]: Add.
10690 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10693 Also fail if tpwd after pwuid call is NULL.
10695 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10697 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10698 when converting to ms.
10700 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10702 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10703 EOPNOTSUPP errors with ENOTTY.
10704 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10705 EOPNOTSUPP errors with ENOTTY.
10707 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10709 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10710 Add strcasecmp_l-ssse3.
10711 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10713 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10714 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10715 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10717 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10719 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10721 * string/Makefile (strop-tests): Add strcasecmp.
10722 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10723 strcasecmp_l-nonascii.
10724 (gen-as-const-headers): Add locale-defines.sym.
10725 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10726 * sysdeps/x86_64/strcasecmp.S: New file.
10727 * sysdeps/x86_64/strcasecmp_l.S: New file.
10728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10729 * sysdeps/x86_64/locale-defines.sym: New file.
10730 * string/test-strcasecmp.c: New file.
10732 * string/test-strcasestr.c: Test both ends of the range of characters.
10733 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10735 2010-07-29 Roland McGrath <roland@redhat.com>
10738 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10740 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10742 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10745 2010-07-27 Andreas Schwab <schwab@redhat.com>
10747 * manual/memory.texi (Malloc Tunable Parameters): Document
10750 2010-07-26 Roland McGrath <roland@redhat.com>
10753 * configure.in (-fgnu89-inline check): Set and substitute
10754 gnu89_inline, not libc_cv_gnu89_inline.
10755 * configure: Regenerated.
10756 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10758 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10760 * string/test-strnlen.c: New file.
10761 * string/Makefile (strop-tests): Add strnlen.
10762 * string/tester.c (test_strnlen): Add a few more test cases.
10763 * string/tst-strlen.c: Better error reporting.
10765 * sysdeps/x86_64/strnlen.S: New file.
10767 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10770 lower-latency instructions.
10772 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10774 * string/test-strcasestr.c: New file.
10775 * string/test-strstr.c: New file.
10776 * string/Makefile (strop-tests): Add strstr and strcasestr.
10777 * string/str-two-way.h: Don't undefine MAX.
10778 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10780 2010-07-21 Andreas Schwab <schwab@redhat.com>
10782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10783 strcasestr-nonascii.
10784 (CFLAGS-strcasestr-nonascii.c): Define.
10785 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10787 Remove unused attribute.
10789 2010-07-20 Roland McGrath <roland@redhat.com>
10791 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10792 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10793 ld.so.cache was broken. With it, there is no way to disable dsocaps
10794 like LD_HWCAP_MASK can disable hwcaps.
10796 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10798 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10800 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10802 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10803 call in strcasestr.
10804 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10805 __strcasestr_sse42_nonascii.
10806 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10807 strcasestr-nonascii.c.
10808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10810 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10814 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10817 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10822 2010-07-06 Andreas Schwab <schwab@redhat.com>
10825 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10828 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10831 _PC_PIPE_BUF using F_GETPIPE_SZ.
10833 2010-07-05 Roland McGrath <roland@redhat.com>
10835 * manual/arith.texi (Rounding Functions): Fix rint description
10836 implicit in round description.
10838 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10840 * elf/Makefile: Fix linking for a few tests to make recent linker
10843 2010-06-30 Andreas Schwab <schwab@redhat.com>
10845 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10846 $(common-objpfx)libc_nonshared.a.
10848 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10850 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10851 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10852 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10853 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10854 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10855 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10856 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10857 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10872 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10873 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10874 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10875 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10876 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10877 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10878 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10879 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10880 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10881 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10882 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10883 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10899 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10901 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10902 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10903 * string/memmove.c (memmove): Renamed to ...
10904 (MEMMOVE): ...this. Default to memmove.
10905 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10906 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10909 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10910 mempcpy-ssse3-back memmove-ssse3-back.
10911 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10914 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10915 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10916 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10917 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10918 * sysdeps/x86_64/multiarch/memmove.c: New file.
10919 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10920 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10921 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10922 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10923 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10926 (index_Fast_Copy_Backward): Define.
10927 (HAS_ARCH_FEATURE): Define.
10928 (HAS_FAST_REP_STRING): Define.
10929 (HAS_FAST_COPY_BACKWARD): Define.
10931 2010-06-21 Andreas Schwab <schwab@redhat.com>
10933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10934 Restore proper fallback handling.
10936 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10939 * posix/group_member.c (__group_member): Correct checking loop.
10941 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10942 OOM in getpwuid_r correctly. Return error number when the caller
10943 should return, otherwise -1.
10944 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10945 call returning > 0 value.
10946 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10948 2010-06-07 Andreas Schwab <schwab@redhat.com>
10950 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10951 libc_nonshared.a from targets in modules-names.
10953 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10955 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10958 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10965 2010-06-02 Andreas Schwab <schwab@redhat.com>
10967 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10969 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10980 2010-06-14 Roland McGrath <roland@redhat.com>
10982 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10984 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10986 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10987 __REDIRECT followed by __THROW.
10988 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10989 * posix/getopt.h (getopt): Likewise.
10991 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10993 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10994 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10995 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10997 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10998 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11000 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11002 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11004 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11008 Properly check family and model.
11010 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11014 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11016 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11018 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11020 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11023 2010-05-19 Andreas Schwab <schwab@redhat.com>
11025 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11028 2010-05-21 Andreas Schwab <schwab@redhat.com>
11030 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11031 and internal_recvmmsg.
11032 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11033 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11034 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11035 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11037 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11041 2010-05-20 Andreas Schwab <schwab@redhat.com>
11043 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11045 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11047 POWER7 optimizations.
11048 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11049 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11051 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11053 * version.h: Update for 2.13 development version.
11055 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11058 exceptions. Return 0.
11060 2010-05-07 Roland McGrath <roland@redhat.com>
11062 * elf/ldconfig.c (main): Add a const.
11064 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11066 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11067 (args_options): Add no-idn option.
11068 (ahosts_keys_int): Add idn_flags to ai_flags.
11069 (parse_option): Handle 'i' option to clear idn_flags.
11071 * malloc/malloc.c (_int_free): Possible race in the most recently
11072 added check. Only act on the data if no current modification
11075 See ChangeLog.17 for earlier changes.