1 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5 _nss_compat_initgroups_dyn): Fall back to malloc/free
6 for large group memberships.
8 2012-03-28 David S. Miller <davem@davemloft.net>
10 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11 that branches into memcpy.
12 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20 * sysdeps/sparc/mempcpy.S: New file.
22 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23 the IFUNC routine in the libc case.
24 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36 loop to 256 bytes instead of 64 bytes and fix test signedness.
38 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39 * sysdeps/sparc/sparc32/Makefile: rather than here...
40 * sysdeps/sparc/sparc64/Makefile: and here.
42 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44 * malloc/mallocbug.c: Avoid warnings about unused variables.
46 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50 in the right place. Discard and retry query if response is
51 larger than input buffer size.
53 2012-03-28 Joseph Myers <joseph@codesourcery.com>
58 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59 x for large integer exponent.
60 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
62 sign of result as needed afterwards.
63 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65 result for underflowing pow the same as for overflow.
66 (__kernel_standard_l): Handle powl overflow and underflow here
67 rather than calling __kernel_standard.
68 * math/libm-test.inc (pow_test): Add more tests.
83 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84 * sysdeps/ieee754/k_standard.c: Include <float.h>.
85 (__kernel_standard_l): New function.
86 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
88 * math/w_acosl.c (__acosl): Likewise.
89 * math/w_asinl.c (__asinl): Likewise.
90 * math/w_atan2l.c (__atan2l): Likewise.
91 * math/w_atanhl.c (__atanhl): Likewise.
92 * math/w_coshl.c (__coshl): Likewise.
93 * math/w_exp10l.c (__exp10l): Likewise.
94 * math/w_exp2l.c (__exp2l): Likewise.
95 * math/w_fmodl.c (__fmodl): Likewise.
96 * math/w_hypotl.c (__hypotl): Likewise.
97 * math/w_j0l.c (__j0l, __y0l): Likewise.
98 * math/w_j1l.c (__j1l, __y1l): Likewise.
99 * math/w_jnl.c (__jnl, __ynl): Likewise.
100 * math/w_lgammal.c (__lgammal): Likewise.
101 * math/w_log10l.c (__log10l): Likewise.
102 * math/w_log2l.c (__log2l): Likewise.
103 * math/w_logl.c (__logl): Likewise.
104 * math/w_powl.c (__powl): Likewise.
105 * math/w_remainderl.c (__remainderl): Likewise.
106 * math/w_scalbl.c (sysv_scalbl): Likewise.
107 * math/w_sinhl.c (__sinhl): Likewise.
108 * math/w_sqrtl.c (__sqrtl): Likewise.
109 * math/w_tgammal.c (__tgammal): Likewise.
110 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
111 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
112 * math/libm-test.inc (acos_test): Add more tests.
113 (acosh_test): Likewise.
114 (asin_test): Likewise.
115 (atanh_test): Likewise.
116 (exp_test): Likewise.
117 (exp10_test): Likewise.
118 (exp2_test): Likewise.
119 (expm1_test): Likewise.
120 (lgamma_test): Likewise.
121 (log_test): Likewise.
122 (log10_test): Likewise.
123 (log1p_test): Likewise.
124 (log2_test): Likewise.
125 (pow_test): Do not allow some spurious overflow exceptions.
126 (sqrt_test): Add more tests.
127 (tgamma_test): Likewise.
132 2012-03-27 Anton Blanchard <anton@samba.org>
134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
140 2012-03-27 David S. Miller <davem@davemloft.net>
142 * conform/Makefile: Run run-conformtest.sh using $(BASH).
144 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
147 2012-03-27 Andreas Jaeger <aj@suse.de>
149 * sysdeps/x86_64/elf/configure.in: Moved to ...
150 * sysdeps/x86_64/configure.in: ... here.
151 * sysdeps/x86_64/elf/start.S: Moved to ...
152 * sysdeps/x86_64/start.S: ... here.
153 * sysdeps/x86_64/elf/configure: Delete.
155 * sysdeps/x86_64/configure.in: Merge contents from
156 sysdeps/i386/configure.in (without i686 check).
158 * sysdeps/i386/elf/Versions: Merge into ...
159 * sysdeps/i386/Versions: ... this.
160 * sysdeps/i386/elf/Versions: Delete file.
161 * sysdeps/i386/elf/start.S: Moved to ...
162 * sysdeps/i386/start.S: ...here.
163 * sysdeps/i386/elf/configure.in: Merge into...
164 * sysdeps/i386/configure.in: ...here.
165 * sysdeps/i386/elf/configure.in: Delete file.
166 * sysdeps/i386/elf/configure: Delete file.
168 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
169 * debug/backtracesyms.c: ... here.
170 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
171 * debug/backtracesymsfd.c: ... here.
172 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
173 * sysdeps/generic/ifunc-sel.h: ... here.
175 * sysdeps/unix/i386/start.c: Delete file.
176 * sysdeps/unix/sparc/start.c: Delete file.
177 * sysdeps/unix/start.c: Delete file.
179 * sysdeps/sh/elf/configure.in: Moved to ...
180 * sysdeps/sh/configure.in: ... here.
181 * sysdeps/sh/elf/start.S: Moved to ...
182 * sysdeps/sh/start.S: ... here.
183 * sysdeps/sh/elf/configure: Delete file.
185 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
186 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
187 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
188 * sysdeps/powerpc/powerpc64/entry.h: ... here.
189 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
190 * sysdeps/powerpc/powerpc64/start.S: here.
191 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
192 * sysdeps/powerpc/powerpc64/Makefile: ... this.
193 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
194 * sysdeps/powerpc/powerpc64/configure.in: ... this.
195 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
197 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
198 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
199 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
200 * sysdeps/powerpc/powerpc32/start.S: ... here.
201 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
202 * sysdeps/powerpc/powerpc32/configure.in: ... this.
203 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
205 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
206 * sysdeps/powerpc/ifunc-sel.h: ... here.
207 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
208 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
210 * sysdeps/sparc/elf/configure.in: Moved to ...
211 * sysdeps/sparc/configure.in: ... here.
212 * sysdeps/sparc/elf/configure: Delete file.
213 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
214 * sysdeps/sparc/sparc32/start.S: ... here.
215 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
216 * sysdeps/sparc/sparc64/start.S: ... here.
217 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
218 * sysdeps/sparc/sparc32/Makefile: ... this.
219 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
220 * sysdeps/sparc/sparc64/Makefile: ... this.
222 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
223 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
224 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
225 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
226 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
227 * sysdeps/s390/s390-32/setjmp.S: ... here.
228 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
229 * sysdeps/s390/s390-32/configure.in: ... here.
230 * sysdeps/s390/s390-32/elf/configure: Delete file.
231 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
232 * sysdeps/s390/s390-32/start.S: ... here.
234 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
235 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
236 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
237 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
238 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
239 * sysdeps/s390/s390-64/setjmp.S: ... here.
240 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
241 * sysdeps/s390/s390-64/configure.in: ... here
242 * sysdeps/s390/s390-64/elf/configure: Delete file.
243 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
244 * sysdeps/s390/s390-64/start.S: ... here.
245 * sysdeps/s390/s390-64/elf/configure: Delete.
247 * configure.in: Remove support for elf directories in sysdeps.
249 * configure: Regenerated.
250 * sysdeps/i386/configure: Regenerated.
251 * sysdeps/powerpc/powerpc32/configure: Regenerated.
252 * sysdeps/powerpc/powerpc64/configure: Regenerated.
253 * sysdeps/s390/s390-32/configure: Regenerated.
254 * sysdeps/s390/s390-64/configure: Regenerated.
255 * sysdeps/sh/configure: Regenerated.
256 * sysdeps/sparc/configure: Regenerated.
257 * sysdeps/x86_64/configure: Regenerated.
259 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
264 denormal result into account.
266 2012-03-25 Roland McGrath <roland@hack.frob.com>
268 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
269 Reported by Allan McRae <allan@archlinux.org>.
271 2012-03-23 Jeff Law <law@redhat.com>
273 * nss/getnssent.c (__nss_getent): Fix typo.
275 2012-03-23 David S. Miller <davem@davemloft.net>
277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
279 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
281 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
282 to pad to uint64_t for each field.
283 (dl_tls_index): Replace unsigned long with uint64_t.
285 2012-03-23 Daniel Jacobowitz <dmj@google.com>
286 Paul Pluzhnikov <ppluzhnikov@google.com>
289 * grp/Makefile (otherlibs): Don't set it.
290 * inet/Makefile (otherlibs): Likewise.
291 * login/Makefile (otherlibs): Likewise.
292 * nscd/Makefile (otherlibs): Likewise.
293 * posix/Makefile (otherlibs): Likewise.
294 * pwd/Makefile (otherlibs): Likewise.
295 * rt/Makefile (otherlibs): Likewise.
296 * sunrpc/Makefile (otherlibs): Likewise.
297 * nss/Makefile (otherlibs): Likewise.
298 Add libnss_files to routines and static-only-routines.
299 ($(objpfx)getent): Remove rule.
300 * resolv/Makefile: Add libnss_dns and libresolv to routines and
301 static-only-routines.
303 2012-03-22 Joseph Myers <joseph@codesourcery.com>
306 * math/s_cexp.c: Include <float.h>.
307 (__cexp): Handle exp result overflowing not necessarily
308 overflowing both real and imaginary parts of result.
309 * math/s_cexpf.c: Likewise.
310 * math/s_cexpl.c: Likewise.
311 * math/libm-test.inc (cexp_test): Add more tests.
312 * sysdeps/i386/fpu/libm-test-ulps: Update.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
317 * include/link.h (ELFW): New macro.
318 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
319 Replace ELF64_R_TYPE with ELFW(R_TYPE).
321 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
323 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
326 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
328 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
330 (struct La_x32_retval): Likewise.
332 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
334 * sysdeps/x86_64/preconfigure.in: New file.
335 * sysdeps/x86_64/preconfigure: New generated file.
337 2012-03-22 Joseph Myers <joseph@codesourcery.com>
340 * math/e_exp2l.c: Include <float.h>.
341 (__ieee754_exp2l): Handle overflow and underflow cases
342 separately. Only pass fractional part of argument to
344 * math/libm-test.inc (exp2_test): Add more tests.
346 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
347 negating x to take absolute value.
348 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
350 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
353 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
354 computing low part if x was negated.
355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
357 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
359 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
361 (pltexit): Cast int_retval to ptrdiff_t.
362 * elf/tst-auditmod3b.c: Likewise.
363 * elf/tst-auditmod4b.c: Likewise.
364 * elf/tst-auditmod5b.c: Likewise.
365 * elf/tst-auditmod6b.c: Likewise.
366 * elf/tst-auditmod6c.c: Likewise.
367 * elf/tst-auditmod7b.c: Likewise.
369 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
372 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
374 (La_x32_regs): New macro.
375 (La_x32_retval): Likewise.
376 (la_x32_gnu_pltenter): New function prototype.
377 (la_x32_gnu_pltexit): Likewise.
379 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
386 * configure.in (libc_cv_cc_nofma): Check for option to disable
387 generation of FMA instructions.
388 * configure: Regenerate.
389 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
390 * sysdeps/ieee754/dbl-64/Makefile: New file.
391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
392 Remove brandred-fma4.
393 (CFLAGS-brandred-fma4.c): Remove.
394 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
395 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
400 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
402 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
403 LLONG_MAX != LONG_MAX.
404 (_itoa_word): Use _ITOA_WORD_TYPE on value.
405 (_fitoa_word): Likewise.
406 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
407 LLONG_MAX != LONG_MAX.
408 * stdio-common/_itowa.h: Include <_itoa.h>.
409 (_itowa_word): Use _ITOA_WORD_TYPE on value.
410 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
411 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
413 (_ITOA_WORD_TYPE): Likewise.
414 (_itoa_word): Use _ITOA_WORD_TYPE on value.
415 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
417 2012-03-21 David S. Miller <davem@davemloft.net>
419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
421 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
423 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
424 of x86_64 when setting libc_cv_slibdir, libdir and
426 * sysdeps/unix/sysv/linux/configure: Regenerated.
428 2012-03-21 Joseph Myers <joseph@codesourcery.com>
430 * manual/lang.texi (Old Varargs): Remove section.
431 (How Variadic): Update menu.
432 (va_start): Do not mention varargs.h.
434 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
435 Joseph Myers <joseph@codesourcery.com>
437 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
439 * configure: Regenerated.
441 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
443 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
444 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
447 2012-03-21 Joseph Myers <joseph@codesourcery.com>
450 * Makefile (files-for-dist): Remove NOTES.
451 (NOTES): Remove rule.
452 * README: Don't refer to NOTES.
453 * manual/creature.texi: Don't include macros.texi.
454 * manual/intro.texi (creature.texi): Remove comment referring to
457 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
458 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
459 * configure: Regenerated.
460 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
462 (libc_cv_as_i686): Likewise.
463 (libc_cv_cc_avx): Likewise.
464 (libc_cv_cc_sse2avx): Likewise.
465 (libc_cv_cc_fma4): Likewise.
466 (libc_cv_cc_novzeroupper): Likewise.
467 * sysdeps/i386/configure: Regenerated.
470 * sysdeps/i386/fpu/s_cexp.S: Remove.
471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
472 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
473 * math/libm-test.inc (cexp_test): Add more tests.
474 * sysdeps/i386/fpu/libm-test-ulps: Update.
475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
477 2012-03-21 Allan McRae <allan@archlinux.org>
479 * timezone/Makefile: Do not install iso3166.tab and zone.tab
481 2012-03-21 Joseph Myers <joseph@codesourcery.com>
484 * math/w_exp2.c: Do not include <float.h>.
485 (o_threshold, u_threshold): Remove.
486 (__exp2): Calculate result before checking finiteness and calling
488 * math/w_exp2f.c: Likewise.
489 * math/w_exp2l.c: Likewise.
490 * math/libm-test.inc (exp2_test): Require overflow exception for
494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
495 range of signed 64-bit integers before using fistpll. Remove
496 checks for whether integers fit in mantissa bits.
497 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
498 the range of signed 32-bit integers before using fistpl. Remove
499 checks for whether integers fit in mantissa bits.
500 * sysdeps/i386/fpu/e_powl.S (p64): New object.
501 (__ieee754_powl): Test for y outside the range of signed 64-bit
502 integers before using fistpll. Reduce 64-bit values to 63-bit
504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
505 divide-by-zero is raised for zero to large negative powers.
506 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
507 (__ieee754_powl): Test for y outside the range of signed 64-bit
508 integers before using fistpll. Reduce 64-bit values to 63-bit
510 * math/libm-test.inc (pow_test): Add more tests.
512 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
514 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
515 <stdio-common/_itoa.h>.
516 * debug/segfault.c: Likewise.
517 * elf/dl-cache.c: Likewise.
518 * elf/dl-minimal.c: Likewise.
519 * elf/dl-misc.c: Likewise.
520 * elf/dl-sysdep.c: Likewise.
521 * elf/dl-version.c: Likewise.
522 * elf/rtld.c: Likewise.
523 * hurd/hurdsock.c: Likewise.
524 * hurd/lookup-retry.c: Likewise.
525 * malloc/malloc.c: Likewise.
526 * malloc/mtrace.c: Likewise.
527 * nscd/nscd_getgr_r.c: Likewise.
528 * nscd/nscd_getpw_r.c: Likewise.
529 * nscd/nscd_getserv_r.c: Likewise.
530 * posix/getopt_init.c: Likewise.
531 * posix/wordexp.c: Likewise.
532 * stdio-common/_itoa.c: Likewise.
533 * stdio-common/printf_fphex.c: Likewise.
534 * stdio-common/vfprintf.c: Likewise.
535 * string/_strerror.c: Likewise.
536 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
537 * sysdeps/i386/i686/hp-timing.h: Likewise.
538 * sysdeps/mach/_strerror.c: Likewise.
539 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
540 * sysdeps/mach/hurd/sethostid.c: Likewise.
541 * sysdeps/mach/hurd/xmknodat.c: Likewise.
542 * sysdeps/mach/xpg-strerror.c: Likewise.
543 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
545 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
546 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
548 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
549 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
550 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
551 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
552 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
553 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
554 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
560 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
561 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
562 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
563 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
565 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
567 * stdio-common/_itoa.h: Moved to ...
568 * sysdeps/generic/_itoa.h: Here.
570 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
572 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
573 instead of "_itoa.h" and "_itowa.h".
574 * stdio-common/vfprintf.: Likewise.
576 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
578 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
580 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
581 (__signbit): Likwise.
585 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
590 2012-03-20 Joseph Myers <joseph@codesourcery.com>
592 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
593 OVERFLOW_EXCEPTION_OK.
594 * math/libm-test.inc ("Philosophy"): Update comment about
596 (OVERFLOW_EXCEPTION): Define.
597 (OVERFLOW_EXCEPTION_OK): Likewise.
598 (INVALID_EXCEPTION_OK): Renumber.
599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
600 (IGNORE_ZERO_INF_SIGN): Likewise.
601 (test_exceptions): Handle FE_OVERFLOW.
602 (exp10_test): Expect overflow exceptions.
603 (exp2_test): Likewise.
604 (expm1_test): Likewise.
605 (nextafter_test): Likewise.
606 (pow_test): Likewise.
607 (scalbn_test): Likewise.
608 (scalbln_test): Likewise.
610 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
612 * sysdeps/x86_64/bits/atomic.h
613 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
615 (atomic_exchange_acq): Likewise.
616 (__arch_exchange_and_add_body): Likewise.
617 (__arch_add_body): Likewise.
618 (atomic_add_negative): Likewise.
619 (atomic_add_zero): Likewise.
621 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
623 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
624 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
626 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
628 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
629 Check __x86_64__ instead of __WORDSIZE.
631 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
633 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
635 2012-03-19 David S. Miller <davem@davemloft.net>
637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
639 * sysdeps/sparc/fpu/fenv_private.h: New file.
640 * sysdeps/sparc/fpu/math_private.h: Use it.
641 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
643 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
644 (libc_feholdexcept_setroundl): Remove.
645 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
647 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
648 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
652 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
653 int64_t instead of long int.
654 (INSERT_WORDS64): Likwise.
656 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
658 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
659 _Unwind_GetCFA return to _Unwind_Ptr first.
661 2012-03-19 Joseph Myers <joseph@codesourcery.com>
664 * math/s_clog.c: Include <float.h>.
665 (__clog): Scale large or subnormal inputs.
666 * math/s_clogf.c: Likewise.
667 * math/s_clogl.c: Likewise.
668 * math/s_clog10.c: Include <float.h>.
670 (__clog10): Scale large or subnormal inputs.
671 * math/s_clog10f.c: Likewise.
672 * math/s_clog10l.c: Likewise.
673 * math/libm-test.inc (clog_test): Add more tests.
674 (clog10_test): Likewise.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
679 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
681 * math/libm-test.inc (atan2_test): Add another test.
683 * Makerules (common-objdir-compile): Remove.
684 * sysdeps/unix/Makefile (config-generated): Do not add
685 $(unix-generated) to variable.
686 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
687 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
689 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
691 [generic bits/local_lim.h] (before-compile): Do not append to
693 [generic bits/local_lim.h] (common-generated): Likewise.
694 [generic sys/param.h] (before-compile): Do not append to variable.
695 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
696 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
697 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
698 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
700 [generic sys/param.h] (sys/param.h-includes): Remove variable.
701 [generic sys/param.h] (sys/param.h-includes): Remove rule.
702 [generic sys/param.h] ($(addprefix
703 $(common-objpfx),$(sys/param.h-includes))): Likewise.
704 [generic sys/param.h] (common-generated): Do not append to
706 [generic sys/param.h] (sysdep_headers): Likewise.
707 [generic bits/errno.h] (before-compile): Do not append to
709 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
711 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
712 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
713 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
714 [generic bits/errno.h] (common-generated): Do not append to
716 [generic bits/ioctls.h] (before-compile): Do not append to
718 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
720 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
721 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
724 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
725 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
726 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
727 [generic bits/ioctls.h] (common-generated): Do not append to
729 [generic sys/syscall.h] (syscall.h): Remove variable.
730 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
732 [generic sys/syscall.h] (before-compile): Do not append to
734 [generic sys/syscall.h] (common-generated): Likewise.
735 * sysdeps/unix/errnos-tmpl.c: Remove file.
736 * sysdeps/unix/errnos.awk: Likewise.
737 * sysdeps/unix/ioctls-tmpl.c: Likewise.
738 * sysdeps/unix/ioctls.awk: Likewise.
739 * sysdeps/unix/mk-local_lim.c: Likewise.
740 * sysdeps/unix/snarf-ioctls: Likewise.
742 2012-03-19 Richard Henderson <rth@twiddle.net>
744 * sysdeps/i386/fpu/fenv_private.h: New file.
745 * sysdeps/i386/fpu/math_private.h: Use it.
746 (math_opt_barrier, math_force_eval): Remove.
747 (libc_feholdexcept_setround_53bit): Remove.
748 (libc_feupdateenv_53bit): Remove.
749 * sysdeps/x86_64/fpu/math_private.h: Likewise.
750 (math_opt_barrier, math_force_eval): Remove.
751 (libc_feholdexcept): Remove.
752 (libc_feholdexcept_setround): Remove.
753 (libc_fetestexcept, libc_fesetenv): Remove.
754 (libc_feupdateenv_test): Remove.
755 (libc_feupdateenv, libc_feholdsetround): Remove.
756 (libc_feresetround): Remove.
758 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
759 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
761 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
762 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
763 (libc_feupdateenv_testl): New.
764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
765 (libc_feupdateenv_testf): New.
766 (libc_feupdateenv): Use libc_feupdateenv_test.
767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
768 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
770 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
771 (libc_feholdsetroundf, libc_feholdsetroundl): New.
772 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
773 (libc_feresetround_noex): New.
774 (libc_feresetround_noexf): New.
775 (libc_feresetround_noexl): New.
776 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
777 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
778 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
779 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
781 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
782 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
784 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
785 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
786 SET_RESTORE_ROUND_NOEX.
787 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
788 SET_RESTORE_ROUND_NOEXF.
789 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
790 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
791 (libc_feholdsetroundf): New.
792 (libc_feresetround, libc_feresetroundf): New.
794 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
795 (libc_feholdexcept_setround_53bit): Convert from macro to function.
796 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
798 * sysdeps/generic/math_private.h: Include <fenv.h>.
799 (default_libc_feholdexcept): New.
800 (default_libc_feholdexcept_setround): New.
801 (default_libc_fesetenv, default_libc_feupdateenv): New.
802 (libc_feholdexcept): Only define if undefined.
803 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
804 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
805 (libc_feholdexcept_setroundl): Likewise.
806 (libc_feholdexcept_setround_53bit): Likewise.
807 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
808 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
809 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
810 (libc_feupdateenv_53bit): Likewise.
811 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
812 (libc_feholdexcept): Convert from macro to inline function.
813 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
814 (libc_fesetenv, libc_feupdateenv): Likewise.
816 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
817 not previously defined.
818 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
819 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
820 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
821 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
822 * sysdeps/ieee754/flt-32/math_private.h: New file.
823 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
824 math_private.h below SET_FLOAT_WORD.
825 (__isnan, __isinf_ns, __finite): Remove.
826 (__isnanf, __isinf_nsf, __finitef): Remove.
828 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
832 2012-03-17 David S. Miller <davem@davemloft.net>
835 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
838 2012-03-16 David S. Miller <davem@davemloft.net>
840 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
844 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
846 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
847 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
848 sysdep_routines when subdir is sysvipc.
849 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
852 * sysdeps/sparc/fpu/libm-test/ulps: Update.
854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
856 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
859 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
862 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
863 (__lround): Renamed to ...
864 (__llround): This. Replace long int with long long int.
865 Define lround functions as aliases of llround functions.
866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
868 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
870 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
871 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
872 adresses to uintptr_t. Replace "long int" and "unsigned long
873 int" with "greg_t" on va_arg.
875 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
877 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
878 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
880 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
881 Move e_machine check before EI_CLASS check. Handle x32
882 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
883 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
884 SKIP_EM_IA_64 and include
885 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
887 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
888 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
889 (add_system_dir): New macro.
891 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
892 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
894 2012-03-16 Joseph Myers <joseph@codesourcery.com>
905 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
907 * math/w_j0f.c (j0f): Likewise.
909 * math/w_j0l.c (__j0l): Likewise.
911 * math/w_j1.c (j1): Likewise.
913 * math/w_j1f.c (j1f): Likewise.
915 * math/w_j1l.c (__j1l): Likewise.
917 * math/w_jn.c (jn): Likewise.
919 * math/w_jnf.c (jnf): Likewise.
921 * math/w_jnl.c (__jnl): Likewise.
923 * math/libm-test.inc (j0_test): Add more tests.
925 (jn_test): Likewise. Add trailing semicolon to existing test.
928 * sysdeps/i386/fpu/libm-test-ulps: Update.
929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
933 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
934 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
935 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
936 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
937 (__tanl): Set errno for infinite argument.
938 * sysdeps/i386/fpu/mptan.c: Remove.
939 * sysdeps/i386/fpu/s_tan.S: Likewise.
940 * sysdeps/i386/fpu/s_tanl.S: Likewise.
941 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
942 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
943 * math/libm-test.inc (tan_test): Add more tests and enable more
944 tests for double and long double.
945 * sysdeps/i386/fpu/libm-test-ulps: Update.
946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
948 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
950 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
951 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
953 2012-03-16 Roland McGrath <roland@hack.frob.com>
955 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
956 * configure.in: Use it for both main tree and add-ons.
957 * configure: Regenerated.
959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
961 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
963 2012-03-16 Joseph Myers <joseph@codesourcery.com>
965 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
969 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
970 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
971 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
972 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
973 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
975 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
978 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
979 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
980 * sysdeps/i386/fpu/s_cosl.S: Likewise.
981 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
982 * sysdeps/i386/fpu/s_sinl.S: Likewise.
983 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
984 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
985 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
986 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
987 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
988 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
989 * math/libm-test.inc (cos_test): Add more tests and enable more
990 tests for long double.
991 (sin_test): Likewise.
992 (sincos_test): Likewise.
993 * sysdeps/i386/fpu/libm-test-ulps: Update.
994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
996 2012-03-16 David S. Miller <davem@davemloft.net>
998 * sysdeps/sparc/fpu/math_private.h: New file.
1000 2012-03-15 David S. Miller <davem@davemloft.net>
1002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1012 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1016 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1017 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1019 * sysdeps/sparc/sparc-ifunc.h: New file.
1020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1065 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1067 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1071 2012-03-15 Andreas Jaeger <aj@suse.de>
1074 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1075 ieee754/flt-32 implementation for sin, cos and sincos.
1076 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1077 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1078 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1079 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1080 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1081 ieee754/flt-32 implementation for tan.
1083 * math/libm-test.inc (cos_test): Enable some large input tests for
1085 (sin_test): Likewise.
1086 (sincos_test): Likewise.
1087 (tan_test): Add tests for large input.
1089 * sysdeps/i386/fpu/libm-test-ulps: Update.
1091 2012-03-15 Andreas Jaeger <aj@suse.de>
1094 * math/libm-test.inc (cos_test): Add more test cases.
1095 (sin_test): Likewise.
1096 (sincos_test): Likewise.
1098 2012-03-15 Andreas Jaeger <aj@suse.de>
1101 * math/libm-test.inc (cos_test): Add a test case for large input
1103 (sin_test): Likewise.
1104 (sincos_test): Likewise.
1106 2012-03-15 Andreas Jaeger <aj@suse.de>,
1107 Joseph Myers <joseph@codesourcery.com>
1110 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1111 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1112 * sysdeps/i386/fpu/branred.c: Likewise.
1113 * sysdeps/i386/fpu/dosincos.c: Likewise.
1114 * sysdeps/i386/fpu/mpa.c: Likewise.
1115 * sysdeps/i386/fpu/s_cos.S: Likewise.
1116 * sysdeps/i386/fpu/s_sin.S: Likewise.
1117 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1118 * sysdeps/i386/fpu/sincos32.c: Likewise.
1120 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1122 (libc_feupdateenv_53bit): Define.
1123 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1125 (libc_feupdateenv_53bit): Define.
1127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1128 53 bit (without extend i386 double precision).
1130 * math/libm-test.inc (sincos_test): Add tests for large input.
1134 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1136 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1140 2012-03-15 David S. Miller <davem@davemloft.net>
1142 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1143 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1144 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1145 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1170 fmin/fmax sysdep routines.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1173 2012-03-14 David S. Miller <davem@davemloft.net>
1175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1181 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1182 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1186 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1247 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1252 * sysdeps/sparc/configure.in: New file.
1253 * sysdeps/sparc/configure: Generate.
1254 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1255 * configure: Regenerate.
1256 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1257 * config.make.in (have-as-vis3): New.
1258 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1259 available use -Av9d instead of -Av9a.
1260 * sysdeps/sparc/sparc64/Makefile: Likewise.
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1273 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1274 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1276 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1277 fzeros/fnegs to load 0x80000000 into a float register instead of
1279 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1281 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1285 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1286 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1287 ($(inst_includedir)/bits/syscall.h): Remove rule.
1288 ($(objpfx)bits/syscall.d): Include instead of
1289 $(objpfx)syscall-list.d.
1290 (generated): Change syscall-list.h and syscall-list.d to
1291 bits/syscall.h and bits/syscall.d.
1293 2012-03-14 Roland McGrath <roland@hack.frob.com>
1296 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1298 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1301 * math/s_csqrt.c: Include <float.h>.
1302 (__csqrt): Scale large or subnormal inputs.
1303 * math/s_csqrtf.c: Likewise.
1304 * math/s_csqrtl.c: Likewise.
1305 * math/libm-test.inc (csqrt_test): Add more tests.
1306 * sysdeps/i386/fpu/libm-test-ulps: Update.
1307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1310 * math/libm-test.inc (hypot_test): Add more tests.
1312 2012-03-13 David S. Miller <davem@davemloft.net>
1315 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1316 double-precision for the calculation instead of scaling.
1318 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1321 manipulate bits before adding and subtracting TWO52[sx].
1322 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1325 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1327 2012-03-13 David S. Miller <davem@davemloft.net>
1329 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1330 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1332 rtld-global-offsets.h
1333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1335 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1341 'err' in the ifdef scope in which it is actually used.
1343 * nss/nss_db/db-init.c: Include string.h
1345 2012-03-12 David S. Miller <davem@davemloft.net>
1347 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1348 masking out of the most significant byte of random value used.
1349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1350 Fix coding style in previous change.
1352 * sysdeps/unix/sysv/linux/kernel-features.h
1353 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1354 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1356 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1359 2012-03-11 David S. Miller <davem@davemloft.net>
1361 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1362 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1363 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1364 for 'resultvar' otherwise things get truncated on 64-bit.
1366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1367 Fix masking out of the most significant byte of random value used.
1369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1371 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1375 2012-03-09 David S. Miller <davem@davemloft.net>
1377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1378 variables with appropriate CPP guards.
1379 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1380 frame pointer, not the stack pointer. Correct layout comments. Fix test
1381 on resulting framesize and the management of the outregs buffer for pltexit.
1382 Preserve floating point return values across _dl_call_pltexit call.
1383 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1384 framesize and the management of the outregs buffer for pltexit.
1385 Preserve floating point return values across _dl_call_pltexit
1387 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1388 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1389 (print_exit): Fix format string for return register value.
1391 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1393 * sunrpc/Makefile (others): Add rpcgen.
1394 ($(objpfx)rpcgen): Remove special build rule and dependency on
1396 * sunrpc/rpcgen.c: New file.
1398 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1401 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1402 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1403 * sysdeps/i386/crti.S: Likewise.
1404 * sysdeps/i386/crtn.S: Likewise.
1405 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1409 * sysdeps/sh/crti.S: Likewise.
1410 * sysdeps/sh/crtn.S: Likewise.
1411 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1414 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1416 * locale/programs/locfile-kw.gperf: Likewise.
1417 * locale/programs/charmap-kw.h: Regenerated.
1418 * locale/programs/locfile-kw.h: Likewise.
1421 * intl/plural.y: Replace FSF snail mail address with URL.
1422 * intl/plural.c: Regenerated.
1424 2012-03-09 Richard Henderson <rth@twiddle.net>
1426 * include/math_private.h: Remove file.
1427 * math/math_private.h: Move file ...
1428 * sysdeps/generic/math_private.h: ... here.
1430 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1431 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1432 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1434 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1435 and <math_private.h>.
1436 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1437 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1438 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1439 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1440 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1441 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1444 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1445 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1447 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1448 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1450 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1451 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1452 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1458 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1524 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1525 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1526 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1527 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1529 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1530 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1531 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1532 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1533 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1534 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1535 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1536 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1537 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1538 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1539 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1540 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1541 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1542 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1543 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1545 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1546 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1551 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1552 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1556 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1572 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1573 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1574 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1575 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1576 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1585 * sysdeps/ieee754/k_standard.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1713 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1718 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1746 * sysdeps/ieee754/s_lib_version.c: Likewise.
1747 * sysdeps/ieee754/s_matherr.c: Likewise.
1748 * sysdeps/ieee754/s_signgam.c: Likewise.
1749 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1750 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1751 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1752 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1753 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1754 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1755 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1756 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1757 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1758 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1759 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1760 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1761 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1762 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1763 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1769 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1771 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1773 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1774 * sunrpc/rpc_main.c: Likewise.
1775 * sunrpc/rpc_svcout.c: Likewise.
1777 2012-03-09 David S. Miller <davem@davemloft.net>
1779 * include/math_private.h: New file.
1781 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1783 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1784 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1785 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1786 from <bits/socket_type.h>.
1787 (enum __socket_type): Don't define here.
1788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1793 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1796 * Makerules ($(inst_includedir)/%.h): New rule.
1797 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1798 (install-others): Remove variable setting.
1799 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1801 2012-03-08 Richard Henderson <rth@twiddle.net>
1803 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1804 from macro to inline function; merge with the
1805 !__LIBC_INTERNAL_MATH_INLINES version.
1806 (__ieee754_sqrtf): Likewise.
1808 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1810 (__rintf, __floor, __floorf): Likewise.
1812 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1813 macro to inline function.
1814 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1816 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1817 not <math/math_private.h>.
1819 2012-03-08 David S. Miller <davem@davemloft.net>
1821 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1823 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1825 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1827 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1829 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1830 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1832 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1834 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1835 be defined individually, they must be defined as a block. Define
1836 S for printing a string instead of hidint the different by using a
1837 macro for adding the 'l'.
1838 * stdio-common/tst-fphex-wide.c: Adjust.
1840 2012-03-07 Marek Polacek <polacek@redhat.com>
1842 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1844 2012-03-08 Marek Polacek <polacek@redhat.com>
1847 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1848 * stdio-common/tst-fphex.c: Define a few macros to make the
1849 test reusable. Use them.
1850 * stdio-common/tst-fphex-wide.c: New file.
1852 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1855 * manual/macros.texi (gnusystems): New macro.
1856 (nongnusystems): Likewise.
1857 (gnulinuxhurdsystems): Likewise.
1858 (gnuhurdsystems): Likewise..
1859 (gnulinuxsystems): Likewise.
1860 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1861 variants of the GNU system, not "GNU system".
1862 * manual/conf.texi: Likewise.
1863 * manual/errno.texi: Likewise. Update example of errno macro
1865 * manual/filesys.texi: Likewise.
1866 (getumask): Document as specific to GNU/Hurd.
1867 * manual/install.texi: Likewise. Reword some references to
1869 * manual/intro.texi: Likewise.
1870 * manual/io.texi: Likewise.
1871 (File Name Portability): Detail which constraints are inapplicable
1872 to all GNU systems and which are only inapplicable to GNU/Hurd.
1873 * manual/job.texi: Likewise.
1874 * manual/llio.texi: Likewise.
1875 (O_NOCTTY): Document as present on GNU/Linux.
1876 * manual/maint.texi: Likewise.
1877 * manual/memory.texi: Likewise.
1878 * manual/pattern.texi: Likewise.
1879 * manual/pipe.texi: Likewise.
1880 * manual/process.texi: Likewise.
1881 * manual/resource.texi: Likewise.
1882 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1884 * manual/setjmp.texi: Likewise.
1885 * manual/signal.texi: Likewise.
1886 * manual/startup.texi: Likewise.
1887 * manual/stdio.texi: Likewise.
1888 * manual/terminal.texi: Likewise.
1889 (ONLCR): Document as POSIX.
1890 (OXTABS): Document availability on GNU/Linux as XTABS.
1891 (ONOEOT): Document availability separately from other bits.
1892 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1893 * manual/time.texi: Likewise.
1894 * manual/users.texi: Likewise.
1895 * INSTALL: Regenerated.
1896 * sysdeps/gnu/errlist.c: Regenerated.
1898 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1899 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1900 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1902 * configure: Regenerated.
1904 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1906 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1907 default includes instead of AC_HEADER_CHECK.
1908 * sysdeps/i386/configure: Regenerated.
1911 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1912 * math/s_cacoshf.c (__cacoshf): Likewise.
1913 * math/s_cacoshl.c (__cacoshl): Likewise.
1914 * math/s_casinh.c (__casinh): Set signs of result from argument.
1915 * math/s_casinhf.c (__casinhf): Likewise.
1916 * math/s_casinhl.c (__casinhl): Likewise.
1917 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1918 (casinh_test): Add more tests.
1919 * sysdeps/i386/fpu/libm-test-ulps: Update.
1920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1922 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1924 * po/zh_TW.po: Update from translation team.
1926 * login/Makefile (distribute): Remove variable.
1927 * catgets/Makefile: Likewise.
1928 * mach/Makefile: Likewise.
1929 * malloc/Makefile: Likewise.
1930 * misc/Makefile: Likewise.
1931 * iconv/Makefile: Likewise.
1932 * nscd/Makefile: Likewise.
1933 * hurd/Makefile: Likewise.
1934 * manual/Makefile: Likewise.
1935 * locale/Makefile: Likewise.
1936 * intl/Makefile: Likewise.
1937 * conform/Makefile: Likewise.
1938 * nss/Makefile: Likewise.
1939 * time/Makefile: Likewise.
1940 * soft-fp/Makefile: Likewise.
1941 * dirent/Makefile: Likewise.
1942 * gmon/Makefile: Likewise.
1943 * po/Makefile: Likewise.
1944 * rt/Makefile: Likewise.
1945 * socket/Makefile: Likewise.
1946 * math/Makefile: Likewise.
1947 * signal/Makefile: Likewise.
1948 * debug/Makefile: Likewise.
1949 * elf/Makefile: Likewise.
1950 * timezone/Makefile: Likewise.
1951 * stdlib/Makefile: Likewise.
1952 * iconvdata/Makefile: Likewise.
1953 * sunrpc/Makefile: Likewise.
1954 * io/Makefile: Likewise.
1955 * argp/Makefile: Likewise.
1956 * inet/Makefile: Likewise.
1957 * hesiod/Makefile: Likewise.
1958 * grp/Makefile: Likewise.
1959 * csu/Makefile: Likewise.
1960 * wctype/Makefile: Likewise.
1961 * crypt/Makefile: Likewise.
1962 * libio/Makefile: Likewise.
1963 * string/Makefile: Likewise.
1964 * nis/Makefile: Likewise.
1965 * resolv/Makefile: Likewise.
1966 * stdio-common/Makefile: Likewise.
1967 * wcsmbs/Makefile: Likewise.
1968 * dlfcn/Makefile: Likewise.
1969 * posix/Makefile: Likewise.
1971 * timezone/Makefile: Don't install timezone files, just the programs
1974 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1976 * nss/databases.def: Add missing gshadow entry.
1978 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1980 2012-03-06 Marek Polacek <polacek@redhat.com>
1983 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1984 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1985 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1986 * stdio-common/tst-long-dbl-fphex.c: New file.
1988 2012-03-06 David S. Miller <davem@davemloft.net>
1990 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1991 (set_obp_int): New function.
1992 (get_obp_int): New function.
1993 (__get_clockfreq_via_dev_openprom): Likewise.
1994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1995 Avoid unused variable warnings on 'val' and use builtin_expect.
1996 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1998 (INLINE_CLONE_SYSCALL): Likewise.
2000 2012-03-05 David S. Miller <davem@davemloft.net>
2002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2004 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2010 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2012 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2014 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2015 Replace gettimeofday with __vdso_gettimeofday.
2017 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2018 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2019 __vdso_clock_gettime and __vdso_getcpu.
2021 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2022 time with __vdso_time.
2024 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2026 * manual/lang.texi (size_t): Note types to which size_t may be
2027 equivalent with the GNU C Library, but do not describe when
2028 differences between them are significant.
2030 2012-03-05 Andreas Jaeger <aj@suse.de>
2032 * sysdeps/i386/fpu/libm-test-ulps: Update.
2034 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2037 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2038 (__ieee754_pow): Save and restore rounding mode and use
2039 round-to-nearest for main computations.
2040 * math/libm-test.inc (pow_test_tonearest): New function.
2041 (pow_test_towardzero): Likewise.
2042 (pow_test_downward): Likewise.
2043 (pow_test_upward): Likewise.
2044 (main): Call the new functions.
2045 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2049 * math/libm-test.inc (cosh_test_tonearest): New function.
2050 (cosh_test_towardzero): Likewise.
2051 (cosh_test_downward): Likewise.
2052 (cosh_test_upward): Likewise.
2053 (sinh_test_tonearest): Likewise.
2054 (sinh_test_towardzero): Likewise.
2055 (sinh_test_downward): Likewise.
2056 (sinh_test_upward): Likewise.
2057 (main): Call the new functions.
2058 * sysdeps/i386/fpu/libm-test-ulps: Update.
2059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2061 2012-03-05 Tom de Vries <tom@codesourcery.com>
2063 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2064 default stack guard is set in last bytes.
2065 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2067 2012-03-05 Kees Cook <keescook@chromium.org>
2069 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2072 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2073 possibly allocate from heap instead of stack.
2074 * stdio-common/bug-vfprintf-nargs.c: New file.
2075 * stdio-common/Makefile (tests): Add nargs overflow test.
2077 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2081 2012-03-03 Marek Polacek <polacek@redhat.com>
2083 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2084 * math/math_private.h: Likewise.
2085 * stdlib/tst-strtod.c: Likewise.
2086 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2087 * sysdeps/x86_64/bits/atomic.h: Likewise.
2089 2012-03-02 David S. Miller <davem@davemloft.net>
2091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2095 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2096 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2097 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2098 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2100 2012-03-02 Roland McGrath <roland@hack.frob.com>
2103 * manual/examples/README: New file, says the example source files
2104 can be used under GPL>=2.
2105 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2106 line containing just "*/".
2107 * manual/examples/add.c: Add copyright header (GPL>=2).
2108 * manual/examples/argp-ex1.c: Likewise.
2109 * manual/examples/argp-ex2.c: Likewise.
2110 * manual/examples/argp-ex3.c: Likewise.
2111 * manual/examples/argp-ex4.c: Likewise.
2112 * manual/examples/atexit.c: Likewise.
2113 * manual/examples/db.c: Likewise.
2114 * manual/examples/dir.c: Likewise.
2115 * manual/examples/dir2.c: Likewise.
2116 * manual/examples/execinfo.c: Likewise.
2117 * manual/examples/filecli.c: Likewise.
2118 * manual/examples/filesrv.c: Likewise.
2119 * manual/examples/fmtmsgexpl.c: Likewise.
2120 * manual/examples/genpass.c: Likewise.
2121 * manual/examples/inetcli.c: Likewise.
2122 * manual/examples/inetsrv.c: Likewise.
2123 * manual/examples/isockad.c: Likewise.
2124 * manual/examples/longopt.c: Likewise.
2125 * manual/examples/memopen.c: Likewise.
2126 * manual/examples/memstrm.c: Likewise.
2127 * manual/examples/mkfsock.c: Likewise.
2128 * manual/examples/mkisock.c: Likewise.
2129 * manual/examples/mygetpass.c: Likewise.
2130 * manual/examples/pipe.c: Likewise.
2131 * manual/examples/popen.c: Likewise.
2132 * manual/examples/rprintf.c: Likewise.
2133 * manual/examples/search.c: Likewise.
2134 * manual/examples/select.c: Likewise.
2135 * manual/examples/setjmp.c: Likewise.
2136 * manual/examples/sigh1.c: Likewise.
2137 * manual/examples/sigusr.c: Likewise.
2138 * manual/examples/stpcpy.c: Likewise.
2139 * manual/examples/strdupa.c: Likewise.
2140 * manual/examples/strftim.c: Likewise.
2141 * manual/examples/strncat.c: Likewise.
2142 * manual/examples/subopt.c: Likewise.
2143 * manual/examples/swapcontext.c: Likewise.
2144 * manual/examples/termios.c: Likewise.
2145 * manual/examples/testopt.c: Likewise.
2146 * manual/examples/testpass.c: Likewise.
2147 * manual/examples/timeval_subtract.c: Likewise.
2150 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2152 * manual/timeval_subtract.c.texi: ... here, new file.
2154 2012-03-02 David S. Miller <davem@davemloft.net>
2156 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2158 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2161 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2162 (__sin): Save and restore rounding mode and use round-to-nearest
2163 for all computations.
2164 (__cos): Save and restore rounding mode and use round-to-nearest
2165 for all computations.
2166 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2168 (tan): Save and restore rounding mode and use round-to-nearest for
2170 * math/libm-test.inc (cos_test_tonearest): New function.
2171 (cos_test_towardzero): Likewise.
2172 (cos_test_downward): Likewise.
2173 (cos_test_upward): Likewise.
2174 (sin_test_tonearest): Likewise.
2175 (sin_test_towardzero): Likewise.
2176 (sin_test_downward): Likewise.
2177 (sin_test_upward): Likewise.
2178 (tan_test_tonearest): Likewise.
2179 (tan_test_towardzero): Likewise.
2180 (tan_test_downward): Likewise.
2181 (tan_test_upward): Likewise.
2182 (main): Call the new functions.
2183 * sysdeps/i386/fpu/libm-test-ulps: Update.
2184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2188 small n, then large n, before computing and testing k+n.
2189 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2190 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2194 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2195 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2197 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2200 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2202 * math/libm-test.inc (scalbn_test): Add more tests.
2203 (scalbln_test): Likewise.
2205 * manual/filesys.texi (mode_t): Describe constraints on size and
2206 signedness, not exact equivalence to a particular type.
2208 (ino64_t): Likewise.
2210 (nlink_t): Likewise.
2211 (blkcnt_t): Likewise.
2212 (blkcnt64_t): Likewise.
2213 * manual/llio.texi (off_t): Likewise.
2216 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2217 (__ieee754_exp): Save and restore rounding mode and use
2218 round-to-nearest for all computations.
2219 * math/libm-test.inc (exp_test_tonearest): New function.
2220 (exp_test_towardzero): Likewise.
2221 (exp_test_downward): Likewise.
2222 (exp_test_upward): Likewise.
2223 (main): Call the new functions.
2224 * sysdeps/i386/fpu/libm-test-ulps: Update.
2225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2227 2012-03-01 Chris Demetriou <cgd@google.com>
2229 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2230 have predictable order.
2232 2012-03-01 David S. Miller <davem@davemloft.net>
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2236 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2237 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2238 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2239 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2241 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2242 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2243 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2245 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2246 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2247 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2248 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2249 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2253 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2254 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2255 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2257 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2258 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2259 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2260 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2261 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2263 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2264 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2265 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2266 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2267 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2273 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2274 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2275 * sysdeps/sparc/elf/configure: Regenerated.
2277 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2279 * configure.in (AS, LD): Require binutils 2.20 or later.
2280 * configure: Regenerated.
2281 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2282 as required minimum version.
2283 * INSTALL: Regenerated.
2287 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2288 before squaring exponent.
2289 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2290 bottom long double and 27 bits of top long double before squaring
2292 * math/libm-test.inc (erfc_test): Add more tests.
2293 * sysdeps/i386/fpu/libm-test-ulps: Update.
2294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297 2012-03-01 Kai Tietz <ktietz@redhat.com>
2299 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2300 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2301 containing bit-fields.
2302 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2303 * soft-fp/single.h (_FP_UNION_S): Likewise.
2304 * soft-fp/double.h (_FP_UNION_D): Likewise.
2306 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2309 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2310 not include ../strcmp.S.
2311 [USE_AS_STRNCASECMP_L]: Likewise.
2312 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2313 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2314 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2315 (__strncasecmp_l_ia32): Define as alias to
2316 __strncasecmp_l_nonascii.
2319 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2320 * sysdeps/i386/fpu/libm-test-ulps: Update.
2321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2323 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2326 2012-02-29 Jeff Law <law@redhat.com>
2328 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2331 2012-02-29 Marek Polacek <polacek@redhat.com>
2334 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2335 * elf/Makefile: Add rules to run tst-unused-dep.out.
2337 2012-02-28 David S. Miller <davem@davemloft.net>
2339 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2340 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2346 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2348 * math/libm-test.inc (llround_test): Move one test from
2349 lround_test. Use TEST_f_L in moved test.
2350 (lround_test): Move misplaced test to llround_test. Add testcase
2353 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2355 * sysdeps/x86_64/fpu/e_expf.S: New file.
2356 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2358 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2361 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2362 of remain_len that may cause incomplete multi-byte character and
2364 * posix/bug-regex33.c: New file.
2365 * posix/Makefile (tests): Add bug-regex33.
2367 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2369 * manual/macros.texi: New file.
2370 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2371 * manual/libc.texinfo: Include macros.texi.
2372 * manual/creatute.texi: Likewise.
2373 * manual/install.texi: Likewise.
2374 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2375 @glibcadj{} in references to the GNU C Library.
2376 * manual/charset.texi: Likewise.
2377 * manual/conf.texi: Likewise.
2378 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2379 when not using those macros.
2380 * manual/creature.texi: Likewise.
2381 * manual/crypt.texi: Likewise.
2382 * manual/errno.texi: Likewise.
2383 * manual/filesys.texi: Likewise.
2384 * manual/header.texi: Likewise.
2385 * manual/install.texi: Likewise.
2386 * manual/intro.texi: Likewise.
2387 * manual/io.texi: Likewise.
2388 * manual/job.texi: Likewise.
2389 * manual/lang.texi: Likewise.
2390 * manual/libc.texiinfo: Likewise.
2391 * manual/llio.texi: Likewise.
2392 * manual/locale.texi: Likewise.
2393 * manual/maint.texi: Likewise.
2394 * manual/math.texi: Likewise.
2395 * manual/memory.texi: Likewise.
2396 * manual/message.texi: Likewise.
2397 * manual/nss.texi: Likewise.
2398 * manual/pattern.texi: Likewise.
2399 * manual/process.texi: Likewise.
2400 * manual/resource.texi: Likewise.
2401 * manual/search.texi: Likewise.
2402 * manual/setjmp.texi: Likewise.
2403 * manual/signal.texi: Likewise.
2404 * manual/socket.texi: Likewise.
2405 * manual/startup.texi: Likewise.
2406 * manual/stdio.texi: Likewise.
2407 * manual/string.texi: Likewise.
2408 * manual/sysinfo.texi: Likewise.
2409 * manual/syslog.texi: Likewise.
2410 * manual/terminal.texi: Likewise.
2411 * manual/time.texi: Likewise.
2412 * manual/users.texi: Likewise.
2413 * INSTALL: Regenerated.
2414 * NOTES: Regenerated.
2415 * sysdeps/gnu/errlist.c: Regenerated.
2417 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2419 * include/dirent.h: Include <dirstream.h> before
2422 2012-02-28 David S. Miller <davem@davemloft.net>
2424 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2425 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2426 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2427 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2429 2012-02-27 David S. Miller <davem@davemloft.net>
2431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2433 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2434 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2437 frame pointer instead of stack pointer relative arg slot.
2438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2439 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2440 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2442 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2445 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2447 2012-02-27 David S. Miller <davem@davemloft.net>
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2453 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2454 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2455 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2456 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2458 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2460 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2461 later. Allow versions 5-9.
2462 * configure: Regenerated.
2463 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2464 required minimum version and 4.6 as recommended version. Do not
2465 mention bugs in GCC 2.7 and 2.8.
2466 * INSTALL: Regenerated.
2468 2012-02-27 David S. Miller <davem@davemloft.net>
2470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2474 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2475 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2476 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2477 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2480 manipulate bits before adding and subtracting TWO112[sx].
2481 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2483 2012-02-27 Roland McGrath <roland@hack.frob.com>
2486 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2487 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2488 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2489 being in POSIX, because they are in 1003.1-2008.
2491 * rt/tst-aio.c: Include <fcntl.h>.
2492 * rt/tst-aio7.c: Likewise.
2493 * rt/tst-aio64.c: Likewise.
2495 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2497 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2499 * manual/install.texi (--with-headers): Describe headers as
2500 interface headers, not private headers.
2501 (Specific advice for GNU/Linux systems): Describe use of headers
2502 from "make headers_install", not private headers from older
2504 * INSTALL: Regenerated.
2505 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2507 * sysdeps/unix/sysv/linux/configure: Regenerated.
2509 * manual/llio.texi (fclean): Remove documentation.
2511 * manual/Makefile (libc-texi-generated): New variable. Include
2513 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2514 $(libc-texi-generated), not duplicated list of files.
2515 (version.texi, stamp-version): New rules.
2516 (realclean): Remove $(libc-texi-generated), not individual files
2517 from that list. Do not remove dir-add.texinfo.
2518 * manual/libc.texinfo: Comment out uses of edition numbers and
2519 references to printed manual. Remove last-updated dates.
2520 (EDITION): Comment out.
2522 (VERSION, UPDATED): Remove.
2523 (version.texi): Include.
2525 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2527 * sysdeps/posix/spawni.c: Include <signal.h>.
2528 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2529 * sysdeps/pthread/aio_fsync.c: Likewise.
2531 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2533 * conform/Makefile (tests): Run only when not cross-compiling and
2534 when fast-check is not defined.
2536 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2537 * conform/data/limits.h-data: Fixes for POSIX2008.
2538 * conform/run-conformtest.sh: Run all tests.
2539 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2541 * include/bits/dlfcn.h: Likewise.
2542 * include/langinfo.h: Likewise.
2543 * include/monetary.h: Likewise.
2544 * include/sys/poll.h: Likewise.
2546 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2548 * posix/spawn.h: Define __need_sigset_t.
2549 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2550 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2551 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2552 to get sigevent_t only.
2553 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2556 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2557 process_vm_writev only for __USE_GNU.
2558 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2560 * conform/Makefile: For now ignore errors from run-conformtest.
2561 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2562 POSIX to avoid namespace pollution. Don't prepend headers.
2563 * conform/data/aio.h-data: Fixes for POSIX testing.
2564 * conform/data/fcntl.h-data: Likewise.
2565 * conform/data/glob.h-data: Likewise.
2566 * conform/data/grp.h-data: Likewise.
2567 * conform/data/pthread.h-data: Likewise.
2568 * conform/data/pwd.h-data: Likewise.
2569 * conform/data/signal.h-data: Likewise.
2570 * conform/data/spawn.h-data: Likewise.
2571 * conform/data/stdio.h-data: Likewise.
2572 * conform/data/stdlib.h-data: Likewise.
2573 * conform/data/stropts.h-data: Likewise.
2574 * conform/data/sys/mman.h-data: Likewise.
2575 * conform/data/sys/stat.h-data: Likewise.
2576 * conform/data/sys/types.h-data: Likewise.
2577 * conform/data/sys/wait.h-data: Likewise.
2578 * conform/data/time.h-data: Likewise.
2579 * conform/data/unistd.h-data: Likewise.
2580 * conform/data/utime.h-data: Likewise.
2582 * io/sys/stat.h: fchmod was always in POSIX.
2583 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2584 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2585 * rt/aio.h: Define __need_timespec before including <time.h>.
2586 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2587 struct. Add forward declaration of pthread_attr_t and use it in
2589 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2590 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2591 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2592 always remove CLK_TCK definition.
2594 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2596 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2598 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2600 * conform/run-conformtest.sh: New file.
2601 * conform/Makefile: Run run-conformtest for tests.
2602 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2605 * conform/data/uchar.h-data: New file.
2606 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2607 * conform/data/arpa/inet.h-data: Likewise.
2608 * conform/data/assert.h-data: Likewise.
2609 * conform/data/complex.h-data: Likewise.
2610 * conform/data/cpio.h-data: Likewise.
2611 * conform/data/ctype.h-data: Likewise.
2612 * conform/data/dirent.h-data: Likewise.
2613 * conform/data/dlfcn.h-data: Likewise.
2614 * conform/data/errno.h-data: Likewise.
2615 * conform/data/fcntl.h-data: Likewise.
2616 * conform/data/float.h-data: Likewise.
2617 * conform/data/fmtmsg.h-data: Likewise.
2618 * conform/data/fnmatch.h-data: Likewise.
2619 * conform/data/ftw.h-data: Likewise.
2620 * conform/data/glob.h-data: Likewise.
2621 * conform/data/grp.h-data: Likewise.
2622 * conform/data/iconv.h-data: Likewise.
2623 * conform/data/inttypes.h-data: Likewise.
2624 * conform/data/langinfo.h-data: Likewise.
2625 * conform/data/libgen.h-data: Likewise.
2626 * conform/data/limits.h-data: Likewise.
2627 * conform/data/locale.h-data: Likewise.
2628 * conform/data/math.h-data: Likewise.
2629 * conform/data/monetary.h-data: Likewise.
2630 * conform/data/mqueue.h-data: Likewise.
2631 * conform/data/ndbm.h-data: Likewise.
2632 * conform/data/net/if.h-data: Likewise.
2633 * conform/data/netdb.h-data: Likewise.
2634 * conform/data/netinet/in.h-data: Likewise.
2635 * conform/data/nl_types.h-data: Likewise.
2636 * conform/data/poll.h-data: Likewise.
2637 * conform/data/pthread.h-data: Likewise.
2638 * conform/data/pwd.h-data: Likewise.
2639 * conform/data/regex.h-data: Likewise.
2640 * conform/data/sched.h-data: Likewise.
2641 * conform/data/search.h-data: Likewise.
2642 * conform/data/semaphore.h-data: Likewise.
2643 * conform/data/setjmp.h-data: Likewise.
2644 * conform/data/signal.h-data: Likewise.
2645 * conform/data/spawn.h-data: Likewise.
2646 * conform/data/stdarg.h-data: Likewise.
2647 * conform/data/stdio.h-data: Likewise.
2648 * conform/data/stdlib.h-data: Likewise.
2649 * conform/data/string.h-data: Likewise.
2650 * conform/data/strings.h-data: Likewise.
2651 * conform/data/stropts.h-data: Likewise.
2652 * conform/data/sys/ipc.h-data: Likewise.
2653 * conform/data/sys/mman.h-data: Likewise.
2654 * conform/data/sys/msg.h-data: Likewise.
2655 * conform/data/sys/resource.h-data: Likewise.
2656 * conform/data/sys/select.h-data: Likewise.
2657 * conform/data/sys/sem.h-data: Likewise.
2658 * conform/data/sys/shm.h-data: Likewise.
2659 * conform/data/sys/socket.h-data: Likewise.
2660 * conform/data/sys/stat.h-data: Likewise.
2661 * conform/data/sys/statvfs.h-data: Likewise.
2662 * conform/data/sys/time.h-data: Likewise.
2663 * conform/data/sys/timeb.h-data: Likewise.
2664 * conform/data/sys/times.h-data: Likewise.
2665 * conform/data/sys/types.h-data: Likewise.
2666 * conform/data/sys/uio.h-data: Likewise.
2667 * conform/data/sys/un.h-data: Likewise.
2668 * conform/data/sys/utsname.h-data: Likewise.
2669 * conform/data/sys/wait.h-data: Likewise.
2670 * conform/data/syslog.h-data: Likewise.
2671 * conform/data/tar.h-data: Likewise.
2672 * conform/data/termios.h-data: Likewise.
2673 * conform/data/utime.h-data: Likewise.
2674 * conform/data/utmpx.h-data: Likewise.
2675 * conform/data/varargs.h-data: Likewise.
2676 * conform/data/wchar.h-data: Likewise.
2677 * conform/data/wctype.h-data: Likewise.
2678 * conform/data/wordexp.h-data: Likewise.
2680 * include/stropts.h: New file.
2681 * include/uchar.h: New file.
2682 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2683 * include/assert.h: Likewise.
2684 * include/ctype.h: Likewise.
2685 * include/dirent.h: Likewise.
2686 * include/dlfcn.h: Likewise.
2687 * include/fcntl.h: Likewise.
2688 * include/fnmatch.h: Likewise.
2689 * include/glob.h: Likewise.
2690 * include/grp.h: Likewise.
2691 * include/libio.h: Likewise.
2692 * include/locale.h: Likewise.
2693 * include/math.h: Likewise.
2694 * include/net/if.h: Likewise.
2695 * include/netdb.h: Likewise.
2696 * include/netinet/in.h: Likewise.
2697 * include/pthread.h: Likewise.
2698 * include/pwd.h: Likewise.
2699 * include/regex.h: Likewise.
2700 * include/sched.h: Likewise.
2701 * include/search.h: Likewise.
2702 * include/setjmp.h: Likewise.
2703 * include/signal.h: Likewise.
2704 * include/stdio.h: Likewise.
2705 * include/stdlib.h: Likewise.
2706 * include/string.h: Likewise.
2707 * include/sys/cdefs.h: Likewise.
2708 * include/sys/mman.h: Likewise.
2709 * include/sys/msg.h: Likewise.
2710 * include/sys/resource.h: Likewise.
2711 * include/sys/select.h: Likewise.
2712 * include/sys/socket.h: Likewise.
2713 * include/sys/stat.h: Likewise.
2714 * include/sys/statvfs.h: Likewise.
2715 * include/sys/time.h: Likewise.
2716 * include/sys/times.h: Likewise.
2717 * include/sys/uio.h: Likewise.
2718 * include/sys/utsname.h: Likewise.
2719 * include/sys/wait.h: Likewise.
2720 * include/termios.h: Likewise.
2721 * include/time.h: Likewise.
2722 * include/ulimit.h: Likewise.
2723 * include/unistd.h: Likewise.
2724 * include/utime.h: Likewise.
2725 * include/wchar.h: Likewise.
2726 * include/wctype.h: Likewise.
2727 * include/wordexp.h: Likewise.
2729 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2731 * time/time.h: TIME_UTC must be a macro.
2732 Make timespec_get available for ISO C11 only as well.
2734 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2736 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2737 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2739 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2741 * configure.in: Use -o not -a in test for unsupported multi-arch.
2743 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2745 * manual/texinfo.tex: Update to version 2012-01-19.16.
2747 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2749 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2751 2012-02-24 Roland McGrath <roland@hack.frob.com>
2754 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2755 * manual/fdl-1.3.texi: New file.
2756 * manual/fdl-1.1.texi: File removed.
2759 * manual/libc.texinfo (FDL_VERSION): New @set.
2760 Use it for mention of FDL in cover text.
2761 (Documentation License): Use it in @include file name.
2763 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2764 Roland McGrath <roland@hack.frob.com>
2767 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2768 not LONG_LONG_MAX and LONG_LONG_MIN.
2769 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2770 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2772 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2774 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2779 manipulate bits before adding and subtracting TWO23[sx].
2780 * math/libm-test.inc (nearbyint_test): Add more tests.
2782 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2785 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2786 bits before adding and subtracting TWO23[sx].
2787 * math/libm-test.inc (rint_test): Add more tests.
2788 (rint_test_tonearest): Likewise.
2789 (rint_test_towardzero): Likewise.
2790 (rint_test_downward): Likewise.
2791 (rint_test_upward: Likewise.
2793 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2796 * include/stdc-predef.h: New file. Extracted from features.h.
2797 * include/features.h: Include stdc-predef.h.
2798 * Makefile (headers): Add stdc-predef.h.
2799 * CONFORMANCE (Compiler limitations): Update.
2801 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2803 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2805 2012-02-21 David S. Miller <davem@davemloft.net>
2807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2808 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2810 2012-02-20 David S. Miller <davem@davemloft.net>
2812 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2813 using a normal save/restore sequence, rather than allocating a
2814 dummy stack frame just to store a frame pointer and restore.
2815 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2817 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2819 * manual/install.texi: Fix stray word in line-wrapped comment.
2821 2012-02-20 David S. Miller <davem@davemloft.net>
2823 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2824 both binutils and gcc support GOTDATA.
2826 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2827 "rd %pc" in the PIC register setup sequences.
2829 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2830 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2831 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2832 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2833 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2834 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2835 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2838 (SYSCALL_ERROR_HANDLER): Likewise.
2839 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2842 (SYSCALL_ERROR_HANDLER): Likewise.
2844 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2845 (HAVE_GCC_GOTDATA): New.
2846 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2847 relocation support in both binutils and gcc.
2848 * sysdeps/sparc/elf/configure: Regenerate.
2850 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2851 * sysdeps/sparc/sparc32/elf/configure: Delete.
2852 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2853 * sysdeps/sparc/sparc64/elf/configure: Delete.
2854 * sysdeps/sparc/elf/configure.in: New file.
2855 * sysdeps/sparc/elf/configure: Generate.
2857 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2858 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2859 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2860 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2861 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2863 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2865 * manual/install.texi: Do not mention specific glibc version
2867 * manual/libc.texinfo (VERSION, UPDATED): Update.
2868 (@copying): Use @copyright{} and range of years.
2870 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2873 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2874 [crti.S not in sysdirs] (generated): Do not append.
2875 [crti.S not in sysdirs] (omit-deps): Likewise.
2876 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2877 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2878 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2879 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2880 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2882 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2883 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2884 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2885 * csu/defs.awk: Remove file.
2886 * sysdeps/generic/initfini.c: Likewise.
2887 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2889 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2892 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2894 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2895 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2896 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2898 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2901 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2902 (__EPOLL_PACKED): Define to empty if not defined by
2904 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2905 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2908 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2910 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2911 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2912 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2913 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2915 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2919 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2921 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2924 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2928 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2930 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2933 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2935 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2936 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2938 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2940 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2943 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2945 * math/w_acos.c: Use non-signaling floating-point comparisons.
2946 * math/w_acosf.c: Likewise.
2947 * math/w_acosh.c: Likewise.
2948 * math/w_acoshf.c: Likewise.
2949 * math/w_acoshl.c: Likewise.
2950 * math/w_acosl.c: Likewise.
2951 * math/w_asin.c: Likewise.
2952 * math/w_asinf.c: Likewise.
2953 * math/w_asinl.c: Likewise.
2954 * math/w_atanh.c: Likewise.
2955 * math/w_atanhf.c: Likewise.
2956 * math/w_atanhl.c: Likewise.
2957 * math/w_exp2.c: Likewise.
2958 * math/w_exp2f.c: Likewise.
2959 * math/w_exp2l.c: Likewise.
2960 * math/w_j0.c: Likewise.
2961 * math/w_j0f.c: Likewise.
2962 * math/w_j0l.c: Likewise.
2963 * math/w_j1.c: Likewise.
2964 * math/w_j1f.c: Likewise.
2965 * math/w_j1l.c: Likewise.
2966 * math/w_jn.c: Likewise.
2967 * math/w_jnf.c: Likewise.
2968 * math/w_log.c: Likewise.
2969 * math/w_log10.c: Likewise.
2970 * math/w_log10f.c: Likewise.
2971 * math/w_log10l.c: Likewise.
2972 * math/w_log2.c: Likewise.
2973 * math/w_log2f.c: Likewise.
2974 * math/w_log2l.c: Likewise.
2975 * math/w_logf.c: Likewise.
2976 * math/w_logl.c: Likewise.
2977 * math/w_sqrt.c: Likewise.
2978 * math/w_sqrtf.c: Likewise.
2979 * math/w_sqrtl.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2982 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2983 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2984 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2986 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2989 * manual/string.texi (strnlen): Use correct parameter name in
2990 equivalent expression.
2992 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2995 * manual/users.texi (seteuid): Consistently use neweuid for
2998 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3001 * manual/nss.texi (Services in the NSS configuration): Correct
3002 list of services in example configuration file.
3004 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3007 * manual/arith.texi: Remove statements about negative zero
3008 behaving identically to zero.
3010 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3013 * manual/install.texi: Do not document upgrading from libc5.
3015 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3018 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3020 2012-02-18 David S. Miller <davem@davemloft.net>
3022 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3023 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3024 %o7 across the call.
3025 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3030 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3031 * sysdeps/sparc/crtn.S: Likewise.
3033 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3035 * aout/Makefile: Remove.
3037 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3040 * manual/examples/argp-ex1.c (main): Format definition in GNU
3042 * manual/examples/argp-ex2.c (main): Likewise.
3043 * manual/examples/argp-ex3.c (main): Likewise.
3044 * manual/examples/argp-ex4.c (main): Likewise.
3045 * manual/examples/longopt.c (main): Use new-style prototype
3047 * manual/examples/strncat.c (main): Specify return type and use
3048 (void) for arguments.
3049 * manual/examples/subopt.c (main): Use char **argv argument.
3051 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3054 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3057 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3060 * manual/string.texi (strchr): Change when strchrnul is
3063 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3066 * manual/locale.texi (setlocale): Document LOCPATH.
3068 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3071 * manual/process.texi (execle): Move @dots{} before last argument.
3073 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3076 * manual/charset.texi (Generic Charset Conversion): Fix typo
3077 (LC_TYPE -> LC_CTYPE).
3079 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3082 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3083 (scalbnf): Likewise.
3084 (scalbnl): Likewise.
3085 (scalbln): Likewise.
3086 (scalblnf): Likewise.
3087 (scalblnl): Likewise.
3088 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3092 * manual/filesys.texi (telldir): Use braces around return type.
3093 * manual/llio.texi (mmap): Add space after comma.
3095 * manual/math.texi (jn): Use @var{} on parameter names.
3101 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3103 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3105 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3106 (sched_get_priority_max): Likewise.
3107 * manual/signal.texi (sigvec): Add space after comma.
3108 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3110 (if_indextoname): Likewise.
3111 (if_freenameindex): Likewise.
3112 (sendto): Use ',' instead of '.' in prototype.
3113 * manual/startup.texi (syscall): Use @dots{} instead of literal
3115 * manual/stdio.texi (__fpending): Separate initial words of
3116 paragraph from @deftypefun line.
3117 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3119 (vsyslog): Use @var{} on parameter names.
3120 * manual/terminal.texi (stty): Use @var{} on parameter names.
3121 * manual/users.texi (getutmp): Use @var{} on parameter names.
3122 (getutmpx): Likewise.
3124 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3127 * manual/stdio.texi (fopen): Fix typos in description of
3130 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3133 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3134 get clock_id definition.
3136 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3139 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3140 (madvise): Cast every argument to void on its own.
3142 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3145 * manual/startup.texi (Exit Status): Fix typo.
3147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3150 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3151 * manual/examples/argp-ex2.c: Likewise.
3152 * manual/examples/argp-ex3.c: Likewise.
3154 2012-02-16 Richard Henderson <rth@redhat.com>
3156 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3157 * sysdeps/s390/s390-32/initfini.c: Remove.
3158 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3159 * sysdeps/s390/s390-64/initfini.c: Remove.
3161 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3163 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3164 compiler output for sysdeps/generic/initfini.c.
3165 * sysdeps/sh/elf/initfini.c: Remove file.
3167 2012-02-16 David S. Miller <davem@davemloft.net>
3170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3172 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3173 * sysdeps/sparc/crti.S: New file.
3174 * sysdeps/sparc/crtn.S: New file.
3175 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3176 * sysdeps/sparc/sparc64/Makefile: Likewise.
3178 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3181 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3183 2012-02-15 Roland McGrath <roland@hack.frob.com>
3186 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3188 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3189 (write, read, close): Likewise.
3190 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3192 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3194 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3195 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3197 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3199 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3203 2012-02-14 Marek Polacek <polacek@redhat.com>
3205 * sysdeps/x86_64/crti.S: New file.
3206 * sysdeps/x86_64/crtn.S: New file.
3207 * sysdeps/x86_64/elf/initfini.c: Remove file.
3209 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3211 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3212 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3213 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3214 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3216 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3220 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3222 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3223 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3225 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3227 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3231 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3233 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3234 __feraiseexcept instead of feraiseexcept.
3236 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3237 nanosleep invocations.
3238 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3239 strings, and add error checking for a nanosleep invocations.
3241 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3243 Replace FSF snail mail address with URLs, as per GNU coding standards.
3244 Most of the snail mail addresses were wrong anyway, and omitting
3245 them makes the source code easier to maintain. Almost all of the
3246 changes are to license notices and to locale LC_IDENTIFICATION
3247 addresses, except for this one:
3248 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3249 not its snail mail address.
3251 2012-02-09 Richard Henderson <rth@twiddle.net>
3253 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3254 of kernel-features.h.
3256 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3258 2012-02-08 Marek Polacek <polacek@redhat.com>
3260 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3261 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3262 * sysdeps/gnu/_G_config.h: Likewise.
3263 * sysdeps/generic/_G_config.h: Likewise.
3265 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3267 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3271 * sysdeps/powerpc/powerpc32/crti.S: New file.
3272 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3273 * sysdeps/powerpc/powerpc64/crti.S: New file.
3274 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3276 * Makeconfig (have-initfini): Don't set.
3277 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3278 * configure.in (nopic_initfini): Don't substitute.
3279 * config.h.in (HAVE_INITFINI): Don't #undef.
3280 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3281 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3283 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3285 Support crti.S and crtn.S provided directly by architectures.
3286 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3287 [crti.S in sysdirs] (omit-deps): Likewise.
3288 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3289 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3290 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3291 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3292 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3293 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3294 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3295 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3296 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3297 compiler output for sysdeps/generic/initfini.c.
3298 * sysdeps/i386/elf/Makefile: Remove file.
3299 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3301 2012-02-07 Marek Polacek <polacek@redhat.com>
3303 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3304 * sysdeps/gnu/_G_config.h: Likewise.
3305 * sysdeps/mach/hurd/_G_config.h: Likewise.
3307 2012-02-07 Marek Polacek <polacek@redhat.com>
3309 * math/Makefile (tests): Add tst-CMPLX2.
3310 * math/tst-CMPLX2.c: New file.
3312 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3314 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3316 * math/libm-test.inc (jn_test): Add missing L suffix.
3318 2012-02-06 Marek Polacek <polacek@redhat.com>
3320 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3321 * sysdeps/i386/fpu/e_powf.S: Likewise.
3322 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3323 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3325 * sysdeps/i386/fpu/e_pow.S: Likewise.
3326 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3328 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3329 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3330 * sysdeps/i386/fpu/e_log2.S: Likewise.
3331 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3332 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3333 * sysdeps/i386/fpu/e_powl.S: Likewise.
3334 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3335 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3336 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3337 * sysdeps/i386/fpu/e_logl.S: Likewise.
3338 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3339 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3340 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3341 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3344 * sysdeps/i386/fpu/e_log.S: Likewise.
3345 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3346 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3347 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3348 * sysdeps/i386/fpu/e_logf.S: Likewise.
3349 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3351 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3352 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3353 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3354 * sysdeps/i386/fpu/e_log10.S: Likewise.
3355 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3356 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3357 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3358 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3359 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3360 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3361 * sysdeps/i386/asm-syntax.h: Likewise.
3362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3364 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3365 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3366 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3367 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3368 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3369 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3370 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3371 * sysdeps/powerpc/sysdep.h: Likewise.
3372 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3373 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3375 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3378 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3380 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3382 * sysdeps/i386/sysdep.h: Include <features.h>.
3383 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3386 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3388 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3390 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3393 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3395 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3396 (SETUP_PIC_REG): Use GET_PC_THUNK.
3397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3400 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3402 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3403 for non-PIC compilation.
3404 (SETUP_PIC_REG): Add .p2align directive.
3405 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3406 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3407 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3408 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3409 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3410 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3411 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3413 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3414 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3415 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3416 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3417 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3418 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3419 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3420 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3431 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3447 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3449 * math/tst-CMPLX.c: Include <stdio.h>.
3451 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3453 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3455 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3456 * sysdeps/sparc/bits/mathdef.h: Likewise.
3458 2012-01-31 Marek Polacek <polacek@redhat.com>
3460 * libio/libio.h: Don't define _PARAMS.
3461 * locale/programs/config.h: Don't define PARAMS.
3462 * stdlib/strtol_l.c: Likewise.
3463 (__strtol_l): Remove PARAMS from the prototype.
3465 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3467 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3468 names. Just use the correct names. Remove unnecessary wrapper
3470 * malloc/arena.c: Likewise.
3471 * malloc/hooks.c: Likewise.
3473 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3474 ARENA_TEST says not to. Simplify test for creation of a new arena.
3475 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3477 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3479 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3481 (update_get_addr): New function.
3482 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3483 GET_ADDR_MODULE parameter.
3485 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3487 * crypt/cert.c: Remove __STDC__ conditionals.
3488 * crypt/crypt-entry.c: Likewise.
3489 * crypt/crypt_util.c: Likewise.
3490 * libio/filedoalloc.c: Likewise.
3491 * libio/fileops.c: Likewise.
3492 * libio/genops.c: Likewise.
3493 * libio/iofclose.c: Likewise.
3494 * libio/iofdopen.c: Likewise.
3495 * libio/iofopen.c: Likewise.
3496 * libio/iofopen64.c: Likewise.
3497 * libio/iogetdelim.c: Likewise.
3498 * libio/iopopen.c: Likewise.
3499 * libio/obprintf.c: Likewise.
3500 * libio/oldfileops.c: Likewise.
3501 * libio/oldiofclose.c: Likewise.
3502 * libio/oldiofdopen.c: Likewise.
3503 * libio/oldiofopen.c: Likewise.
3504 * libio/oldiopopen.c: Likewise.
3505 * libio/wfiledoalloc.c: Likewise.
3506 * libio/wgenops.c: Likewise.
3507 * locale/programs/xmalloc.c: Likewise.
3508 * misc/syslog.c: Likewise.
3509 * stdio-common/xbug.c: Likewise.
3510 * string/memchr.c: Likewise.
3511 * string/memcmp.c: Likewise.
3512 * string/memrchr.c: Likewise.
3513 * string/rawmemchr.c: Likewise.
3514 * sysdeps/posix/getcwd.c: Likewise.
3515 * time/strftime_l.c: Likewise.
3517 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3519 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3520 * config.make.in (config-cflags-sse2avx): Define.
3521 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3524 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3526 * scripts/config.guess: Update from upstream config git repository.
3527 * scripts/config.sub: Likewise.
3529 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3531 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3533 (R_TILEPRO_*, R_TILEGX_*): New macros.
3535 * scripts/firstversions.awk: Fix bug in version range handling.
3537 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3539 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3541 * include/sys/epoll.h: New file.
3542 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3545 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3547 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3548 Avoid unnecessary __WORDSIZE == 64 test.
3549 (fmaxf): Use VEX format if possible.
3554 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3555 * math/math_private.h: Remove libc_fegetround* and
3557 * sysdeps/i386/configure.in: Check for -msse2avx.
3558 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3559 also if SSE2AVX is defined.
3560 Remove libc_fegetround* and libc_fesetround*.
3561 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3562 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3566 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3567 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3568 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3569 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3571 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3573 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3575 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3577 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3579 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3582 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3584 * Makeconfig (libm): Define.
3585 * elf/Makefile: Add rules to build and run tst-relsort1.
3586 * elf/tst-relsort1.c: New file.
3587 * elf/tst-relsort1mod1.c: New file.
3588 * elf/tst-relsort1mod2.c: New file.
3590 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3592 * math/s_ldexp.c: Remove __STDC__ conditionals.
3593 * math/s_ldexpf.c: Likewise.
3594 * math/s_ldexpl.c: Likewise.
3595 * math/s_nextafter.c: Likewise.
3596 * math/s_nexttowardf.c: Likewise.
3597 * math/s_significand.c: Likewise.
3598 * math/s_significandf.c: Likewise.
3599 * math/s_significandl.c: Likewise.
3600 * math/w_jnl.c: Likewise.
3601 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3602 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3603 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3604 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3605 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3620 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3621 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3622 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3623 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3624 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3625 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3626 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3627 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3631 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3632 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3633 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3634 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3635 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3637 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3638 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3641 * sysdeps/ieee754/k_standard.c: Likewise.
3642 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3643 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3644 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3648 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3649 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3651 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3652 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3654 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3703 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3708 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3716 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3721 * sysdeps/ieee754/s_matherr.c: Likewise.
3722 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3723 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3725 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3727 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3729 * crypt/md5.h: Remove __STDC__ conditionals.
3730 * libio/libioP.h: Likewise.
3731 * locale/programs/config.h: Likewise.
3732 * sysdeps/generic/sysdep.h: Likewise.
3733 * sysdeps/i386/asm-syntax.h: Likewise.
3734 * sysdeps/s390/asm-syntax.h: Likewise.
3735 * sysdeps/unix/sysdep.h: Likewise.
3736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3739 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3741 * libio/libio.h: Remove __STDC__ conditionals.
3742 * malloc/obstack.h: Likewise.
3743 * math/complex.h: Likewise.
3744 * math/math.h: Likewise.
3745 * sysdeps/generic/_G_config.h: Likewise.
3746 * sysdeps/gnu/_G_config.h: Likewise.
3747 * sysdeps/mach/hurd/_G_config.h: Likewise.
3748 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3749 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3750 * sysdeps/sparc/bits/mathdef.h: Likewise.
3752 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3755 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3756 Clean up HAS_* macros.
3757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3758 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3762 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3763 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3764 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3765 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3768 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3770 * elf/tst-unique3.cc (gets): Remove declaration.
3771 * elf/tst-unique3lib.cc (gets): Likewise.
3772 * elf/tst-unique3lib2.cc (gets): Likewise.
3773 * elf/tst-unique4.cc (gets): Likewise.
3775 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3777 * include/stdio.h: Add C++ protection. Add gets declarations and
3779 * debug/tst-chk1.c: Don't declare gets here.
3780 * stdio-common/tst-gets.c: Likewise.
3782 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3784 * posix/glob: Remove directory.
3786 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3788 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3790 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3792 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3793 of the non-standard EPFNOSUPPORT.
3795 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3797 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3798 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3799 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3801 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3803 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3805 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3807 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3809 * nscd/grpcache.c (cache_addgr): Likewise.
3810 * nscd/hstcache.c (cache_addhst): Likewise.
3811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3812 * nscd/pwdcache.c (cache_addpw): Likewise.
3813 * nscd/servicescache.c (cache_addserv): Likewise.
3815 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3817 * malloc/malloc.c: Various cleanups.
3818 * malloc/hooks.c: Likewise.
3820 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3821 * stdlib/bug-fmtmsg1.c: New file.
3823 * stdlib/fmtmsg.c (init): Add missing unlock.
3824 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3826 2012-01-12 Marek Polacek <polacek@redhat.com>
3828 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3831 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3833 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3834 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3835 macro to ensure uniqueness of label name.
3836 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3837 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3839 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3841 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3843 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3848 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3850 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3852 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3853 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3856 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3858 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3859 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3863 * math/bits/math-finite.h: Add ldexp support.
3865 2012-01-10 Marek Polacek <polacek@redhat.com>
3867 * locale/programs/localedef.h (show_archive_content): Add noreturn
3870 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3872 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3874 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3876 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3878 * io/Makefile (headers): Add bits/poll2.h.
3880 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3883 typo #include statement.
3885 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3887 * include/sys/cdefs.h: Define __attribute_alloc_size.
3888 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3889 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3890 * elf/pldd.c: Likewise.
3891 * iconv/iconv_charmap.c: Likewise.
3892 * iconv/iconvconfig.c: Likewise.
3893 * iconv/strtab.c: Likewise.
3894 * locale/programs/locale.c: Likewise.
3895 * locale/programs/localedef.h: Likewise.
3896 * locale/programs/simple-hash.c: Likewise.
3897 * nscd/nscd.h: Likewise.
3898 * nss/makedb.c: Likewise.
3899 * sysdeps/generic/ldconfig.h: Likewise.
3900 * locale/programs/localedef.c: Remove xmalloc prototype.
3901 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3903 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3908 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3910 * math/Makefile (tests): Add tst-CMPLX.
3911 * math/tst-CMPLX.c: New file.
3913 * math/complex.h (CMPLXL): Fix typo.
3915 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3916 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3918 * debug/tst-chk1.c: Add poll and ppoll tests.
3919 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3920 * include/sys/poll.h: Add hidden proto for ppoll.
3921 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3922 * sysdeps/mach/hurd/ppoll.c: Likewise.
3923 * io/ppoll.c: Likewise.
3924 * debug/poll_chk.c: New file.
3925 * debug/ppoll_chk.c: New file.
3926 * include/bits/poll2.h: New file.
3927 * io/bits/poll2.h: New file.
3930 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3932 * configure.in: static is always set to yes. Remove.
3933 * config.make.in: Don't set build-static.
3934 * Makeconfig: Remove use of build-static.
3935 * dlfcn/Makefile: Likewise.
3936 * elf/Makefile: Likewise.
3937 * math/Makefile: Likewise.
3938 * misc/Makefile: Likewise.
3939 * nptl/Makefile: Likewise.
3940 * sysdeps/mach/hurd/Makefile: Likewise.
3942 * configure.in: PWD_P is not used anymore.
3943 * config.make.in: Remove PWD_P entry.
3945 * configure.in: Remove last remnants of RANLIB.
3946 No need to check for signed size_t anymore.
3947 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3949 Remove __builtin_expect test because we require at least gcc 3.4.
3950 * aclocal.m4: Likewise.
3952 * wcsmbs/mbrtoc16.c: Implement using towc function.
3953 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3954 * wcsmbs/wcsmbsload.c: Likewise.
3955 * iconv/gconv_simple.c: Likewise.
3956 * iconv/gconv_int.h: Likewise.
3957 * iconv/gconv_builtin.h: Likewise.
3958 * iconv/iconv_prog.c: Remove CHAR16 handling.
3960 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3962 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3964 * configure.in: Remove --with-elf and --enable-bounded options.
3965 Dont set base_machine for ia64. More non-ELF conditions removed.
3966 Remove testing and setting of leading underscore information.
3967 * config.make.in (build-bounded): Set to no.
3968 * config.h.in: Remove NO_UNDERSCORES entry.
3969 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3971 * csu/start.c: Remove !NO_UNDERSCORE code.
3972 * locale/localeinfo.h: Likewise.
3973 * sysdeps/generic/machine-gmon.h: Likewise.
3974 * sysdeps/generic/sysdep.h: Likewise.
3975 * sysdeps/i386/sysdep.h: Likewise.
3976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3977 * sysdeps/mach/sysdep.h: Likewise.
3978 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3980 * sysdeps/sh/sysdep.h: Likewise.
3981 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3982 * sysdeps/unix/i386/sysdep.S: Likewise.
3983 * sysdeps/unix/sparc/start.c: Likewise.
3984 * sysdeps/unix/sparc/sysdep.S: Likewise.
3985 * sysdeps/unix/sparc/sysdep.h: Likewise.
3986 * sysdeps/unix/start.c: Likewise.
3987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3988 * sysdeps/x86_64/sysdep.h: Likewise.
3990 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3993 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3995 * argp/argp-fmtstream.h: Use const instead __const.
3996 * argp/argp.h: Likewise.
3997 * assert/assert.h: Likewise.
3998 * bits/fenv.h: Likewise.
3999 * bits/sched.h: Likewise.
4000 * bits/sigset.h: Likewise.
4001 * bits/sigthread.h: Likewise.
4002 * catgets/nl_types.h: Likewise.
4003 * conform/data/pthread.h-data: Likewise.
4004 * crypt/crypt-private.h: Likewise.
4005 * crypt/crypt.h: Likewise.
4006 * crypt/crypt_util.c: Likewise.
4007 * ctype/ctype.h: Likewise.
4008 * debug/execinfo.h: Likewise.
4009 * debug/mbsnrtowcs_chk.c: Likewise.
4010 * debug/mbsrtowcs_chk.c: Likewise.
4011 * debug/wcsnrtombs_chk.c: Likewise.
4012 * debug/wcsrtombs_chk.c: Likewise.
4013 * debug/wcstombs_chk.c: Likewise.
4014 * dirent/dirent.h: Likewise.
4015 * dlfcn/dlfcn.h: Likewise.
4016 * elf/neededtest4.c: Likewise.
4017 * grp/grp.h: Likewise.
4018 * gshadow/gshadow.h: Likewise.
4019 * iconv/gconv.h: Likewise.
4020 * iconv/gconv_int.h: Likewise.
4021 * iconv/gconv_simple.c: Likewise.
4022 * iconv/iconv.h: Likewise.
4023 * iconv/loop.c: Likewise.
4024 * iconv/skeleton.c: Likewise.
4025 * include/aio.h: Likewise.
4026 * include/aliases.h: Likewise.
4027 * include/argz.h: Likewise.
4028 * include/arpa/inet.h: Likewise.
4029 * include/assert.h: Likewise.
4030 * include/dirent.h: Likewise.
4031 * include/dlfcn.h: Likewise.
4032 * include/execinfo.h: Likewise.
4033 * include/fcntl.h: Likewise.
4034 * include/fenv.h: Likewise.
4035 * include/glob.h: Likewise.
4036 * include/grp.h: Likewise.
4037 * include/libintl.h: Likewise.
4038 * include/mntent.h: Likewise.
4039 * include/netdb.h: Likewise.
4040 * include/pwd.h: Likewise.
4041 * include/rpc/netdb.h: Likewise.
4042 * include/sched.h: Likewise.
4043 * include/search.h: Likewise.
4044 * include/shadow.h: Likewise.
4045 * include/signal.h: Likewise.
4046 * include/stdio.h: Likewise.
4047 * include/stdlib.h: Likewise.
4048 * include/string.h: Likewise.
4049 * include/sys/socket.h: Likewise.
4050 * include/sys/stat.h: Likewise.
4051 * include/sys/statfs.h: Likewise.
4052 * include/sys/statvfs.h: Likewise.
4053 * include/sys/syslog.h: Likewise.
4054 * include/sys/time.h: Likewise.
4055 * include/sys/uio.h: Likewise.
4056 * include/time.h: Likewise.
4057 * include/unistd.h: Likewise.
4058 * include/utmp.h: Likewise.
4059 * include/wchar.h: Likewise.
4060 * include/wctype.h: Likewise.
4061 * inet/aliases.h: Likewise.
4062 * inet/arpa/inet.h: Likewise.
4063 * inet/netinet/ether.h: Likewise.
4064 * inet/netinet/in.h: Likewise.
4065 * intl/libintl.h: Likewise.
4066 * io/bits/fcntl2.h: Likewise.
4067 * io/fcntl.h: Likewise.
4068 * io/ftw.h: Likewise.
4069 * io/sys/poll.h: Likewise.
4070 * io/sys/stat.h: Likewise.
4071 * io/sys/statfs.h: Likewise.
4072 * io/sys/statvfs.h: Likewise.
4073 * io/utime.h: Likewise.
4074 * libio/bits/stdio.h: Likewise.
4075 * libio/bits/stdio2.h: Likewise.
4076 * libio/libio.h: Likewise.
4077 * libio/libioP.h: Likewise.
4078 * libio/stdio.h: Likewise.
4079 * locale/lc-ctype.c: Likewise.
4080 * locale/locale.h: Likewise.
4081 * login/utmp.h: Likewise.
4082 * malloc/arena.c: Likewise.
4083 * malloc/malloc.c: Likewise.
4084 * malloc/malloc.h: Likewise.
4085 * malloc/mcheck.c: Likewise.
4086 * malloc/mtrace.c: Likewise.
4087 * math/bits/mathcalls.h: Likewise.
4088 * math/fenv.h: Likewise.
4089 * math/math_private.h: Likewise.
4090 * misc/bits/error.h: Likewise.
4091 * misc/bits/syslog.h: Likewise.
4092 * misc/err.h: Likewise.
4093 * misc/error.h: Likewise.
4094 * misc/fstab.h: Likewise.
4095 * misc/mntent.h: Likewise.
4096 * misc/regexp.h: Likewise.
4097 * misc/search.h: Likewise.
4098 * misc/sgtty.h: Likewise.
4099 * misc/sys/mman.h: Likewise.
4100 * misc/sys/syslog.h: Likewise.
4101 * misc/sys/uio.h: Likewise.
4102 * misc/sys/xattr.h: Likewise.
4103 * misc/ttyent.h: Likewise.
4104 * nis/rpcsvc/ypclnt.h: Likewise.
4105 * nss/nss.h: Likewise.
4106 * posix/bits/unistd.h: Likewise.
4107 * posix/fnmatch.h: Likewise.
4108 * posix/glob.h: Likewise.
4109 * posix/sched.h: Likewise.
4110 * posix/spawn.h: Likewise.
4111 * posix/sys/wait.h: Likewise.
4112 * posix/unistd.h: Likewise.
4113 * posix/wordexp.h: Likewise.
4114 * pwd/pwd.h: Likewise.
4115 * resolv/netdb.h: Likewise.
4116 * resource/sys/resource.h: Likewise.
4117 * rt/aio.h: Likewise.
4118 * rt/bits/mqueue2.h: Likewise.
4119 * rt/mqueue.h: Likewise.
4120 * shadow/shadow.h: Likewise.
4121 * signal/signal.h: Likewise.
4122 * socket/send.c: Likewise.
4123 * socket/sendto.c: Likewise.
4124 * socket/sys/socket.h: Likewise.
4125 * stdio-common/printf.h: Likewise.
4126 * stdlib/bits/stdlib.h: Likewise.
4127 * stdlib/fmtmsg.h: Likewise.
4128 * stdlib/monetary.h: Likewise.
4129 * stdlib/stdlib.h: Likewise.
4130 * stdlib/ucontext.h: Likewise.
4131 * streams/stropts.h: Likewise.
4132 * string/argz.h: Likewise.
4133 * string/bits/string2.h: Likewise.
4134 * string/string.h: Likewise.
4135 * string/strings.h: Likewise.
4136 * sunrpc/rpc/auth.h: Likewise.
4137 * sunrpc/rpc/auth_des.h: Likewise.
4138 * sunrpc/rpc/clnt.h: Likewise.
4139 * sunrpc/rpc/netdb.h: Likewise.
4140 * sunrpc/rpc/pmap_clnt.h: Likewise.
4141 * sunrpc/rpc/xdr.h: Likewise.
4142 * sysdeps/generic/inttypes.h: Likewise.
4143 * sysdeps/generic/net/if.h: Likewise.
4144 * sysdeps/generic/sys/swap.h: Likewise.
4145 * sysdeps/gnu/net/if.h: Likewise.
4146 * sysdeps/gnu/utmpx.h: Likewise.
4147 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4148 * sysdeps/i386/i486/bits/string.h: Likewise.
4149 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4150 * sysdeps/s390/bits/string.h: Likewise.
4151 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4152 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4153 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4154 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4155 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4156 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4157 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4158 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4159 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4160 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4161 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4162 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4163 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4164 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4165 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4166 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4167 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4168 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4172 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4173 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4174 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4175 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4176 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4177 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4179 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4180 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4181 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4182 * sysvipc/sys/ipc.h: Likewise.
4183 * sysvipc/sys/msg.h: Likewise.
4184 * sysvipc/sys/sem.h: Likewise.
4185 * sysvipc/sys/shm.h: Likewise.
4186 * termios/termios.h: Likewise.
4187 * time/sys/time.h: Likewise.
4188 * time/time.h: Likewise.
4189 * wcsmbs/bits/wchar2.h: Likewise.
4190 * wcsmbs/uchar.h: Likewise.
4191 * wcsmbs/wchar.h: Likewise.
4192 * wctype/wctype.h: Likewise.
4195 * Makeconfig: Remove all but ELF support including AIX support.
4196 * Makerules: Likewise.
4197 * config.h.in: Likewise.
4198 * config.make.in: Likewise.
4199 * configure: Likewise.
4200 * configure.in: Likewise.
4201 * csu/Makefile: Likewise.
4202 * csu/version.c: Likewise.
4203 * debug/Makefile: Likewise.
4204 * dlfcn/Makefile: Likewise.
4205 * elf/Makefile: Likewise.
4206 * extra-lib.mk: Likewise.
4207 * iconv/Makefile: Likewise.
4208 * include/libc-symbols.h: Likewise.
4209 * include/shlib-compat.h: Likewise.
4210 * resolv/Makefile: Likewise.
4211 * resolv/res_libc.c: Likewise.
4212 * rt/Makefile: Likewise.
4213 * sysdeps/i386/asm-syntax.h: Likewise.
4214 * sysdeps/i386/sysdep.h: Likewise.
4215 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4216 * sysdeps/mach/sysdep.h: Likewise.
4217 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4218 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4219 * sysdeps/s390/asm-syntax.h: Likewise.
4220 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4222 * sysdeps/sh/sysdep.h: Likewise.
4223 * sysdeps/unix/sparc/sysdep.h: Likewise.
4224 * sysdeps/wordsize-32/divdi3.c: Likewise.
4225 * sysdeps/x86_64/sysdep.h: Likewise.
4227 * argp/Versions: Remove _argp_unlock_xxx.
4230 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4231 * abilist/libBrokenLocale.abilist: Likewise.
4232 * abilist/libanl.abilist: Likewise.
4233 * abilist/libc.abilist: Likewise.
4234 * abilist/libcrypt.abilist: Likewise.
4235 * abilist/libdl.abilist: Likewise.
4236 * abilist/libm.abilist: Likewise.
4237 * abilist/libnsl.abilist: Likewise.
4238 * abilist/libpthread.abilist: Likewise.
4239 * abilist/libresolv.abilist: Likewise.
4240 * abilist/librt.abilist: Likewise.
4241 * abilist/libthread_db.abilist: Likewise.
4242 * abilist/libutil.abilist: Likewise.
4243 * abilist/libnss_db.abilist: New file.
4245 * scripts/abilist.awk: Add support for indirect functions.
4247 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4249 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4251 * shlib-versions: Remove entries for ports architectures.
4253 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4255 * elf/stackguard-macros.h: Remove support for IA-64.
4256 * elf/tst-auditmod1.c: Likewise.
4257 * sysdeps/generic/ldsodefs.h: Likewise.
4259 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4260 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4264 * configure.in: Remove --enable-omitfp support.
4266 * config.make.in: Likewise.
4267 * Makeconfig: Likewise.
4268 * manual/install.texi: Likewise.
4270 In case anyone cares, the IA-64 architecture could move to ports.
4271 * sysdeps/ia64/*: Removed.
4272 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4273 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4276 * configure.in: Remove entries for unsupported architectures.
4279 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4280 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4282 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4283 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4284 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4285 fall back to using wcrtomb.
4286 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4287 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4289 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4290 * wcsmbs/tst-c16c32-1.c: New file.
4292 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4295 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4297 * elf/tst-unique3.cc: Add explicit declaration of gets.
4298 * elf/tst-unique3lib.cc: Likewise.
4299 * elf/tst-unique3lib2.cc: Likewise.
4300 * elf/tst-unique4.cc: Likewise.
4302 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4304 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4307 * assert/assert.h (static_assert): Don't define for C++.
4308 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4309 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4311 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4313 * iconv/loop.c (single loop): Fix assertion in storing of
4316 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4318 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4320 * posix/getconf.c: Update copyright year.
4321 * nss/getent.c: Likewise.
4322 * nss/makedb.c: Likewise.
4323 * iconv/iconvconfig.c: Likewise.
4324 * iconv/iconv_prog.c: Likewise.
4325 * elf/ldconfig.c: Likewise.
4326 * elf/pldd.c: Likewise.
4327 * elf/sotruss.ksh: Likewise.
4328 * catgets/gencat.c: Likewise.
4329 * csu/version.c: Likewise.
4330 * elf/ldd.bash.in: Likewise.
4331 * elf/sprof.c (print_version): Likewise.
4332 * locale/programs/locale.c: Likewise.
4333 * locale/programs/localedef.c: Likewise.
4334 * login/programs/pt_chown.c: Likewise.
4335 * nscd/nscd.c (print_version): Likewise.
4336 * debug/xtrace.sh: Likewise.
4337 * malloc/memusage.sh: Likewise.
4338 * malloc/mtrace.pl: Likewise.
4339 * debug/catchsegv.sh: Likewise.
4341 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4343 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4346 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4349 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4350 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4352 * iconv/gconv_int.h: Likewise.
4353 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4354 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4355 from libc for GLIBC_2.16.
4356 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4357 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4358 * wcsmbs/uchar.h: Really define mbstate_t.
4359 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4360 * wcsmbs/c16rtomb.c: New file.
4361 * wcsmbs/mbrtoc16.c: New file.
4362 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4364 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4365 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4367 * wcsmbs/wchar.h: Add missing __restrict.
4369 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4372 * time/Makefile (routines): Add timespec_get.
4373 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4374 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4375 timespec for ISO C11.
4376 * time/timespec_get.c: New file.
4377 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4378 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4381 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4382 * stdlib/stdlib.h: Declare aligned_alloc.
4383 * Versions.def: Add GLIBC_2.16 for libc.
4384 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4387 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4390 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4394 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4397 * assert/assert.h (static_assert): Define.
4399 * version.h: Update for 2.16 development version.
4402 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4405 * version.h (RELEASE): Bump for 2.15 release.
4406 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4408 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4409 Patch by Marek Polacek <mpolacek@redhat.com>.
4411 * bits/byteswap.h: Protect long long constants with __extension__.
4412 * sysdeps/i386/bits/byteswap.h: Likewise.
4413 * sysdeps/ia64/bits/byteswap.h: Likewise.
4414 * sysdeps/s390/bits/byteswap.h: Likewise.
4415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4417 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4420 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4422 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4424 2011-12-23 Marek Polacek <polacek@redhat.com>
4426 * elf/dl-addr.c (determine_info): Add inline keyword.
4427 * elf/tst-auditmod4b.c (check_avx): Likewise.
4428 * elf/tst-auditmod6b.c (check_avx): Likewise.
4429 * elf/tst-auditmod6c.c (check_avx): Likewise.
4430 * elf/tst-auditmod7b.c (check_avx): Likewise.
4432 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4437 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4440 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4441 processing for last bytes.
4443 2011-08-06 Bruno Haible <bruno@clisp.org>
4446 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4447 U+0385, not to U+1FEE.
4450 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4451 entry for U+00A5 U+0301.
4453 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4456 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4457 buffer for the output is too small.
4459 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4463 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4464 SSE flags if possible.
4466 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4469 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4470 processing for last bytes.
4472 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4474 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4475 (syscall-list-default-options, syscall-list-default-condition)
4476 (syscall-list-includes): Define.
4477 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4478 list of ABIs and options and #if conditions for each ABI. Do not
4479 handle common syscalls between ABIs specially.
4480 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4482 (syscall-list-variants, syscall-list-32bit-options)
4483 (syscall-list-32bit-condition, syscall-list-64bit-options)
4484 (syscall-list-64bit-condition): Define.
4485 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4486 (syscall-list-variants, syscall-list-32bit-options)
4487 (syscall-list-32bit-condition, syscall-list-64bit-options)
4488 (syscall-list-64bit-condition): Define.
4489 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4491 (syscall-list-variants, syscall-list-32bit-options)
4492 (syscall-list-32bit-condition, syscall-list-64bit-options)
4493 (syscall-list-64bit-condition): Define.
4494 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4496 (syscall-list-variants, syscall-list-32bit-options)
4497 (syscall-list-32bit-condition, syscall-list-64bit-options)
4498 (syscall-list-64bit-condition): Define.
4500 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4502 * locale/iso-639.def: Add brx entry.
4505 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4506 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4508 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4509 __feraiseexcept_renamed.
4511 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4514 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4515 EPOLLET with unsigned values.
4516 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4519 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4520 to large cancellation.
4521 * math/s_cacoshf.c: Likewise.
4522 * math/s_cacoshl.c: Likewise.
4524 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4528 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4529 * math/s_cacoshf.c: Likewise.
4530 * math/s_cacoshl.c: Likewise.
4532 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4535 * iconv/gconv.h: Define __GCONV_SWAP.
4536 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4537 * iconvdata/utf-16.c: Likewise.
4538 * iconvdata/utf-32.c: Likewise.
4540 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4543 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4544 numerator after shifting it by one limb.
4546 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4548 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4549 under [__USE_EXTERN_INLINES].
4551 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4554 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4556 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4558 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4559 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4561 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4562 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4563 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4564 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4565 for strncasecmp/strncasecmp_l compilation.
4566 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4567 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4569 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4572 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4575 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4578 * time/tzfile.c (__tzfile_read): Check values from file header.
4580 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4582 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4583 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4584 * powerpc/powerpc32/dl-start.S: Likewise.
4585 * powerpc/powerpc32/elf/start.S: Likewise.
4586 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4587 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4588 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4589 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4590 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4591 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4592 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4593 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4594 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4595 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4596 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4597 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4598 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4599 * powerpc/powerpc32/memset.S: Likewise.
4600 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4601 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4602 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4603 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4604 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4605 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4606 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4607 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4608 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4609 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4610 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4611 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4612 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4614 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4616 * math/libm-test.inc: Added more nearbyint tests.
4617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4620 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4622 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4624 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4627 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4629 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4630 Add wcscpy-ssse3 wcscpy-c.
4631 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4632 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4633 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4634 * sysdeps/x86_64/wcschr.S: New file.
4635 * sysdeps/x86_64/wcsrchr.S: New file.
4636 * string/test-strcmp.c: Remove checking of wcscmp function for
4638 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4639 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4640 wcsrchr-sse2 wcsrchr-c.
4641 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4642 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4643 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4644 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4645 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4646 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4647 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4648 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4649 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4650 * wcsmbc/wcschr.c (WCSCHR): New macro.
4652 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4654 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4655 * wcsmbs/test-wcsrchr.c: New file.
4656 * string/test-strrchr.c: Add wcsrchr support.
4658 * wcsmbs/test-wcscpy.c: New file.
4659 * string/test-strcpy.c: Add wcscpy support.
4662 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4664 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4667 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4670 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4672 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4674 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4675 Minor optimizations.
4677 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4678 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4679 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4681 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4683 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4684 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4685 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4686 for gcc to avoid warnings.
4687 * inet/Makefile (tests): Add tst-checks.
4688 * inet/tst-checks.c: New file.
4690 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4693 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4696 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4697 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4699 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4701 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4703 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4706 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4708 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4710 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4711 conditional on GCC version.
4712 (__arch_compare_and_exchange_val_8_acq)
4713 (__arch_compare_and_exchange_val_16_acq)
4714 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4715 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4716 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4718 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/sh/backtrace.c: New file.
4722 2011-12-02 Andreas Schwab <schwab@redhat.com>
4724 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4727 2011-12-01 Andreas Schwab <schwab@redhat.com>
4729 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4730 falling back to utime.
4732 2011-11-30 Andreas Schwab <schwab@redhat.com>
4734 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4735 expectations for float.
4737 2011-11-29 Andreas Schwab <schwab@redhat.com>
4739 * locale/weight.h (findidx): Add parameter len.
4740 * locale/weightwc.h (findidx): Likewise.
4741 * posix/fnmatch_loop.c (FCT): Adjust caller.
4742 * posix/regcomp.c (build_equiv_class): Likewise.
4743 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4744 * posix/regexec.c (check_node_accept_bytes): Likewise.
4745 * string/strcoll_l.c (STRCOLL): Likewise.
4746 * string/strxfrm_l.c (STRXFRM): Likewise.
4748 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4750 * Makefile.in: Remove CVSOPT handling.
4751 * configure.in: Remove use of AC_REVISION.
4752 * iconvdata/Makefile (distribute): No need to filter out CVS.
4753 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4756 2011-11-16 Andreas Schwab <schwab@redhat.com>
4758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4759 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4760 [USE_AS_STRNCASECMP_L]: Likewise.
4761 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4762 NO_TLS_DIRECT_SEG_REFS.
4763 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4764 Fix argument offsets for non-PIC.
4765 [USE_AS_STRNCASECMP_L]: Likewise.
4766 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4767 NO_TLS_DIRECT_SEG_REFS.
4769 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4771 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4773 * locale/loadlocale.c (_nl_load_locale): Likewise.
4775 2011-11-15 Andreas Schwab <schwab@redhat.com>
4777 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4778 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4779 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4780 (SYSCALL_GETTIME): Set errno on error.
4782 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4783 count references to noai6ai_cached.
4785 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4787 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4789 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4790 FD_CLOEXEC for /proc/self/maps.
4792 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4793 FD_CLOEXEC for /proc/meminfo.
4795 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4798 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4799 FD_CLOEXEC for given file.
4801 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4803 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4804 FD_CLOEXEC for /etc/hosts.
4805 (_gethtent): Likewise.
4807 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4809 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4810 cancellation and set FD_CLOEXEC for /etc/netgroup.
4812 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4813 reading /etc/publickey.
4815 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4816 allow cancellation when reading /etc/group.
4818 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4820 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4822 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4823 when using data file.
4825 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4827 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4828 (write_nis_obj): Use "c" and "e" in fopen.
4830 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4832 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4834 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4836 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4838 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4841 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4843 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4845 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4847 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4848 file parsing and set FD_CLOEXEC.
4850 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4852 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4854 2011-11-14 Andreas Schwab <schwab@redhat.com>
4856 * malloc/arena.c (arena_get2): Don't call reused_arena when
4857 _int_new_arena failed.
4859 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4861 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4862 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4863 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4864 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4865 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4867 to compile strcasecmp and strncasecmp.
4868 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4869 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4873 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4875 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4876 locale-defines.sym to gen-as-const-headers.
4877 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4878 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4880 to compile strcasecmp and strncasecmp.
4881 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4882 strcasecmp_l and strncasecmp_l.
4883 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4884 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4885 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4886 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4887 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4888 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4889 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4890 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4891 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4892 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4893 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4895 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4897 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4898 result of SYSDEP_GETTIME_CPU to retval.
4899 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4900 parameter list to macro. Remove trailing semicolon. Adjust users.
4902 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4905 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4907 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4909 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4910 from unused variable.
4912 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4914 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4917 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4920 * sunrpc/rpc_prot.c (rejected): Fix case value.
4922 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4923 unsigned long long int to avoid warnings in shift.
4925 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4927 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4930 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4931 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4932 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4934 * nis/nis_table.c (nis_list): Use variable of correct type for
4935 result of __follow_path call.
4937 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4939 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4940 of math functions ceil, trunc, floor, round, and sqrt, when
4941 avaliable on the platform.
4942 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4944 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4946 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4948 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4950 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4953 2011-11-11 Roland McGrath <roland@hack.frob.com>
4955 * include/unistd.h: Fix __readlink return type.
4956 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4958 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4960 * stdlib/ucontext.h: Undo last change for makecontext.
4962 2011-11-11 Andreas Schwab <schwab@redhat.com>
4964 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4966 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4967 * setjmp/setjmp.h: Mark functions as non-leaf.
4968 * setjmp/bits/setjmp2.h: Likewise.
4969 * stdlib/ucontext.h: Likewise.
4971 2011-11-10 Andreas Schwab <schwab@redhat.com>
4973 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4974 (reused_arena): Don't check arena limit.
4975 (arena_get2): Atomically check arena limit.
4977 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4979 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4980 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4985 2011-11-07 Andreas Schwab <schwab@redhat.com>
4987 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4988 handler when locking.
4990 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4991 Fix size of allocated buffer.
4993 2011-11-04 Andreas Schwab <schwab@redhat.com>
4996 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4997 declarations for long double functions.
4998 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5000 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5002 2011-11-03 Andreas Schwab <schwab@redhat.com>
5004 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5007 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5010 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5012 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5014 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5016 * include/alloca.h (stackinfo_alloca_round): Define.
5017 (extend_alloca): Use it.
5018 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5019 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5022 * scripts/check-local-headers.sh: Ignore libaudit.h.
5024 * nscd/Makefile (extra-objs): Make recursively expanded.
5026 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5028 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5029 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5031 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5032 * posix/tst-rfc3484-2.c: Likewise.
5033 * posix/tst-rfc3484-3.c: Likewise.
5035 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5037 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5039 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5040 process_vm_writev from libc using GLIBC_2.15 version.
5042 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5044 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5046 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5049 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5052 * nss/getent.c (initgroups_keys): Show error message in case no group
5055 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5056 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5057 __bump_nl_timestamp.
5058 * nscd/connections (nscd_init): When host database is served open
5059 netlink socket and request notification about configuration changes.
5060 (main_loop_poll): Track netlink file descriptor and bump timestamp
5061 in case data becomes available.
5062 (main_loop_epoll): Likewise.
5063 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5064 (database_pers_head): Add extra_data fileds.
5065 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5066 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5067 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5070 in6ai data, call __free_in6ai.
5071 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5073 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5074 interface information. Reuse previous data if netlink timestamp
5076 (__bump_nl_timestamp): New function.
5077 (__free_in6ai): New function.
5079 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5082 close_not_cancel_no_status here.
5083 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5085 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5088 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5091 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5092 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5093 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5095 2011-07-03 Andreas Jaeger <aj@suse.de>
5098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5099 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5100 * math/libm-test.inc (sin_test): Add test case.
5102 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5105 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5106 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5108 * elf/chroot_canon.c (chroot_canon): Cleanups.
5110 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5113 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5114 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5116 * string/test-strchr.c: Make usable for strchrnul testing.
5117 * string/test-strchrnul.c: New file.
5118 * string/Makefile (strop-tests): Add strchrnul.
5120 * po/it.po: Update from translation team.
5121 * po/es.po: Likewise.
5123 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5125 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5126 the three constants needed as parameters. Drop the others.
5127 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5128 __m128i_strloadu_tolower.
5129 Create and initialize variable zero and use it in all the places
5130 where _mm_setzero_si128 was used.
5132 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5133 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5134 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5135 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5137 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5138 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5139 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5140 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5141 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5142 __mpranred, __mptan.
5143 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5144 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5145 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5146 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5147 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5148 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5149 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5150 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5151 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5153 2011-10-28 Andreas Schwab <schwab@redhat.com>
5155 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5157 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5160 wide char related routines to wcsmbs subdir.
5162 2011-10-27 Andreas Schwab <schwab@redhat.com>
5165 * misc/sys/cdefs.h (__THROWNL): Define.
5166 * posix/unistd.h: Use __THREADNL instead of __THREAD
5167 for memory synchronization functions.
5169 2011-10-26 Roland McGrath <roland@hack.frob.com>
5172 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5174 * manual/stdio.texi (Obstack Streams): Node removed.
5176 2011-10-26 Andreas Schwab <schwab@redhat.com>
5178 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5179 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5180 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5182 * math/math_private.h (math_force_eval): Allow non-addressable
5184 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5186 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5188 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5191 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5192 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5193 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5194 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5195 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5196 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5197 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5198 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5200 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5201 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5202 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5203 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5204 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5205 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5206 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5207 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5208 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5209 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5210 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5211 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5212 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5213 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5214 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5215 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5216 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5217 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5218 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5220 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5221 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5223 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5224 place. Use VEX encoding when compiling for AVX.
5226 2011-10-25 Andreas Schwab <schwab@redhat.com>
5228 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5229 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5231 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5233 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5235 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5236 useless if() expression.
5237 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5248 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5249 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5250 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5251 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5252 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5253 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5254 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5257 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5259 2011-10-25 Andreas Schwab <schwab@redhat.com>
5261 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5263 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5265 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5267 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5268 .text section. Avoid duplicate constants.
5269 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5279 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5281 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5284 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5286 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5292 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5293 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5294 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5295 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5296 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5297 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5298 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5299 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5300 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5301 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5302 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5303 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5304 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5305 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5307 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5308 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5309 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5310 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5311 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5312 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5313 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5315 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5317 * sysdeps/x86_64/dla.h: Move to ...
5318 * sysdeps/x86_64/fpu/dla.h: ...here.
5319 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5320 situations. Use __builtin_fma only for gcc 4.6 and up.
5322 * config.make.in: Add have-mfma4 entry.
5323 * configure.in: Substitute libc_cv_cc_fma4.
5324 * math/Makefile (dbl-only-routines): Add sincostab.
5325 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5326 Use __sincostab not sincos.
5327 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5329 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5331 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5334 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5335 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5336 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5337 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5339 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5340 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5342 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5343 define aliases when function name is a macro.
5344 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5345 sysdeps/ieee754/dbl-64/sincos.tbl.
5346 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5347 fma4-enabled routines.
5348 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5350 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5359 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5361 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5363 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5364 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5365 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5366 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5367 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5368 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5369 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5370 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5371 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5372 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5373 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5374 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5375 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5376 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5379 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5390 2011-10-24 Andreas Schwab <schwab@redhat.com>
5392 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5394 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5398 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5400 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5402 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5403 Remove unused variable magic_bits.
5404 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5406 * string/strnlen.c: Define and use STRNLEN macro.
5407 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5408 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5409 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5410 * wcsmbs/wcslen.c: Define and use WCSLEN.
5411 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5412 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5413 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5414 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5415 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5416 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5417 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5419 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5422 strnlen-sse2-no-bsf.
5423 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5425 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5426 Add strnlen support.
5427 (USE_AS_STRNLEN): New macro.
5428 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5429 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5430 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5431 * sysdeps/x86_64/wcslen.S: New file.
5433 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5436 XMM-moves are used for copying on small sizes.
5438 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5440 * wcsmbs/Makefile (strop-tests): Add wcschr.
5441 * wcsmbs/test-wcschr.c: New file.
5442 * string/test-strchr.c: Update.
5446 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5448 * wcsmbs/Makefile (strop-tests): Add wcslen.
5449 * wcsmbs/test-wcslen.c: New file.
5450 * string/test-strlen.c: Update.
5454 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5456 * po/it.po: Update from translation team.
5458 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5460 * sysdeps/x86_64/wcscmp.S: Update.
5461 Fix wrong comparison semantics.
5462 wcscmp shall use signed comparison not unsigned.
5463 Don't use substraction to avoid overflow bug.
5464 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5465 * wcsmbc/wcscmp.c: Likewise.
5466 * string/test-strcmp.c: Likewise.
5467 Add new tests to check cases with negative values.
5469 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5471 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5472 * sysdeps/x86_64/dla.h: ...here. New file.
5473 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5483 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5485 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5486 __ynl_finite aliases.
5488 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5492 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5494 [DLA_FMA] (EMULV): Use DLA_FMA.
5495 [DLA_FMA] (MUL12): Use EMULV.
5496 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5497 that are not needed.
5498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5506 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5508 * math/s_nan.c: Undef __nan.
5509 * math/s_nanf.c: Undef __nanf.
5510 * math/s_nanl.c: Undef __nanl.
5511 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5514 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5516 * math/s_catan.c: Add branch predictions.
5517 * math/s_catanf.c: Likewise.
5518 * math/s_catanh.c: Likewise.
5519 * math/s_catanhf.c: Likewise.
5520 * math/s_catanhl.c: Likewise.
5521 * math/s_catanl.c: Likewise.
5522 * math/s_cexp.c: Likewise.
5523 * math/s_cexpf.c: Likewise.
5524 * math/s_cexpl.c: Likewise.
5525 * math/s_clog.c: Likewise.
5526 * math/s_clog10.c: Likewise.
5527 * math/s_clog10f.c: Likewise.
5528 * math/s_clog10l.c: Likewise.
5529 * math/s_clogf.c: Likewise.
5530 * math/s_clogl.c: Likewise.
5531 * math/s_csqrt.c: Likewise.
5532 * math/s_csqrtf.c: Likewise.
5533 * math/s_csqrtl.c: Likewise.
5534 * math/s_ctanf.c: Likewise.
5535 * math/s_ctanh.c: Likewise.
5536 * math/s_ctanhf.c: Likewise.
5537 * math/s_ctanhl.c: Likewise.
5538 * math/s_ctanl.c: Likewise.
5540 * math/math_private.h: Define __nan, __nanf, __nanl.
5541 * math/s_cacosh.c: Include <math_private.h>.
5542 * math/s_cacoshl.c: Likewise.
5543 * math/s_casinh.c: Likewise.
5544 * math/s_casinhf.c: Likewise.
5545 * math/s_casinhl.c: Likewise.
5546 * math/s_ccos.c: Rely entire on ccosh.
5547 * math/s_ccosf.c: Rely entire on ccoshf.
5548 * math/s_ccosl.c: Rely entirely on ccoshl.
5549 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5550 Remove tests for FE_INVALID.
5551 * math/s_ccoshf.c: Likewise.
5552 * math/s_ccoshl.c: Likewise.
5553 * math/s_csin.c: Likewise.
5554 * math/s_csinf.c: Likewise.
5555 * math/s_csinh.c Likewise.
5556 * math/s_csinhf.c: Likewise.
5557 * math/s_csinhl.c: Likewise.
5558 * math/s_csinl.c: Likewise.
5559 * math/s_ctan.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5561 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5562 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5564 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5567 compilation problems.
5569 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5572 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5574 * sysdeps/i386/configure.in: Test for -mfma4 option.
5575 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5576 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5577 COMMON_CPUID_INDEX_80000001.
5578 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5579 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5580 use it if FMA3 is not supported.
5581 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5583 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5584 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5586 2011-10-20 Andreas Schwab <schwab@redhat.com>
5589 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5590 it would create a cycle with a link time dependency.
5592 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5594 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5596 * string/Makefile (strop-tests): Add rawmemchr.
5597 * string/test-rawmemchr.c: New file.
5599 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5600 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5601 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5602 when compiling str{,n}casecmp and when AVX is available. Hook up
5603 new optimized code in initializers.
5605 2011-10-19 Andreas Schwab <schwab@redhat.com>
5607 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5608 __feraiseexcept instead of feraiseexcept.
5610 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5612 * math/math_private.h: Define defaults for libc_fetestexcept and
5614 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5615 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5616 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5617 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5618 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5619 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5620 libc_fetestexcept and libc_feupdateenv.
5622 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5623 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5624 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5625 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5626 libc_feholdexcept_setround.
5628 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5629 Add s_nearbyint-c and s_nearbyintf-c.
5630 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5632 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5633 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5634 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5635 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5637 * math/math_private.h: Define defaults for libc_fegetround,
5638 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5639 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5640 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5641 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5642 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5644 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5645 Remove comments and hacks for old compiler versions.
5646 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5647 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5650 2011-10-18 Andreas Schwab <schwab@redhat.com>
5652 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5653 (__feraiseexcept_renamed): Add __NTH.
5654 (feraiseexcept): Add __NTH. Rename local variables to fix
5655 namespace violations.
5657 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5659 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5661 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5663 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5664 recently added interfaces.
5665 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5667 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5668 about macro parameter expansion.
5670 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5671 __NO_MATH_INLINES is defined. Cleanups.
5673 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5674 and __floorf is target has SSE4.1.
5675 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5676 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5677 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5678 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5680 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5684 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5686 2011-10-17 Andreas Schwab <schwab@redhat.com>
5688 * misc/sys/cdefs.h: Fix last change.
5690 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5693 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5695 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5697 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5698 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5703 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5704 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5705 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5706 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5707 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5708 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5709 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5710 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5711 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5712 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5713 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5714 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5715 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5716 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5717 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5718 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5720 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5721 ceil, ceilf, floor, floorf.
5723 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5724 Perform IRELATIVE relocations last.
5726 * elf/do-rel.h: Add another parameter nrelative, replacing the
5727 local variable with the same name. Change name of the function
5728 to end in Rel or Rela (uppercase).
5729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5730 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5731 elf_dynamic_do_##reloc function.
5733 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5735 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5736 is sufficient, at least on modern CPUs.
5738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5740 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5741 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5743 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5745 * math/bits/math-finite.h: Add entries for exp.
5746 * math/e_expl.c: Add __*_finite alias.
5747 * sysdeps/i386/fpu/e_exp.S: Likewise.
5748 * sysdeps/i386/fpu/e_expf.S: Likewise.
5749 * sysdeps/i386/fpu/e_expl.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5751 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5755 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5756 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5758 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5759 is sufficient, at least on modern CPUs.
5761 * ctype/ctype-info.c (__ctype_init): Define.
5762 * include/ctype.h (__ctype_init): Declare.
5763 (__ctype_b_loc): The variable is always initialized.
5764 (__ctype_toupper_loc): Likewise.
5765 (__ctype_tolower_loc): Likewise.
5766 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5767 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5769 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5771 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5773 * configure.in: Also look in $cxxmachine/include for C++ system
5776 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5778 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5779 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5780 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5781 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5782 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5783 (USE_AS_WMEMCMP): New macro.
5785 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5786 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5787 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5788 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5790 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5791 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5792 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5793 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5794 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5795 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5796 (USE_AS_WMEMCMP): New macro.
5797 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5798 * sysdeps/string/test-memcmp.c: Update.
5801 * wcsmbs/wmemcmp.c: Update.
5802 (WMEMCMP): New macro.
5805 2011-10-12 Andreas Jaeger <aj@suse.de>
5808 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5810 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5812 * libio/iofwide.c (do_length): Avoid warning.
5814 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5816 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5818 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5820 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5821 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5822 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5823 * sysdeps/i386/i686/fpu/e_log.S: New file.
5824 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5825 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5827 * ctype/ctype.h: Add support for inlined isXXX functions when
5830 2011-10-14 Andreas Schwab <schwab@redhat.com>
5832 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5834 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5836 2011-10-13 Roland McGrath <roland@hack.frob.com>
5839 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5841 2011-10-13 Andreas Schwab <schwab@redhat.com>
5843 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5844 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5847 * sysdeps/x86_64/memrchr.S: Check for zero size.
5849 * string/stratcliff.c: Add memrchr tests.
5851 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5854 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5855 rawmemchr-sse2 rawmemchr-sse2-bsf.
5856 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5857 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5858 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5859 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5860 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5861 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5862 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5863 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5864 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5865 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5866 * string/memrchr.c (MEMRCHR): New macro.
5868 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5870 Add integration with gcc's -ffinite-math-only and optimize wrapper
5872 * Versions.def: Define GLIBC_2.15 version for libm.
5873 * math/Makefile (headers): Add bits/math-finite.h.
5874 * math/bits/math-finite.h: New file.
5875 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5876 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5877 * math/e_acoshl.c: Add __*_finite alias.
5878 * math/e_acosl.c: Likewise.
5879 * math/e_asinl.c: Likewise.
5880 * math/e_atan2l.c: Likewise.
5881 * math/e_atanhl.c: Likewise.
5882 * math/e_coshl.c: Likewise.
5883 * math/e_exp10.c: Likewise.
5884 * math/e_exp10f.c: Likewise.
5885 * math/e_exp10l.c: Likewise.
5886 * math/e_exp2l.c: Likewise.
5887 * math/e_fmodl.c: Likewise.
5888 * math/e_gammal_r.c: Likewise.
5889 * math/e_hypotl.c: Likewise.
5890 * math/e_j0l.c: Likewise.
5891 * math/e_j1l.c: Likewise.
5892 * math/e_jnl.c: Likewise.
5893 * math/e_lgammal_r.c: Likewise.
5894 * math/e_log10l.c: Likewise.
5895 * math/e_log2l.c: Likewise.
5896 * math/e_logl.c: Likewise.
5897 * math/e_powl.c: Likewise.
5898 * math/e_sinhl.c: Likewise.
5899 * math/e_sqrtl.c: Likewise.
5900 * math/e_scalb.c: Completely rewritten and optimized.
5901 * math/e_scalbf.c: Likewise.
5902 * math/e_scalbl.c: Likewise.
5903 * math/w_acos.c: Likewise.
5904 * math/w_acosf.c: Likewise.
5905 * math/w_acosl.c: Likewise.
5906 * math/w_acosh.c: Likewise.
5907 * math/w_acoshf.c: Likewise.
5908 * math/w_acoshl.c: Likewise.
5909 * math/w_asin.c: Likewise.
5910 * math/w_asinf.c: Likewise.
5911 * math/w_asinl.c: Likewise.
5912 * math/w_atan2.c: Likewise.
5913 * math/w_atan2f.c: Likewise.
5914 * math/w_atan2l.c: Likewise.
5915 * math/w_atanh.c: Likewise.
5916 * math/w_atanhf.c: Likewise.
5917 * math/w_atanhl.c: Likewise.
5918 * math/w_exp10.c: Likewise.
5919 * math/w_exp10f.c: Likewise.
5920 * math/w_exp10l.c: Likewise.
5921 * math/w_fmod.c: Likewise.
5922 * math/w_fmodf.c: Likewise.
5923 * math/w_fmodl.c: Likewise.
5924 * math/w_j0.c: Likewise.
5925 * math/w_j0f.c: Likewise.
5926 * math/w_j0l.c: Likewise.
5927 * math/w_j1.c: Likewise.
5928 * math/w_j1f.c: Likewise.
5929 * math/w_j1l.c: Likewise.
5930 * math/w_jn.c: Likewise.
5931 * math/w_jnf.c: Likewise.
5932 * math/w_log.c: Likewise.
5933 * math/w_logf.c: Likewise.
5934 * math/w_logl.c: Likewise.
5935 * math/w_log10.c: Likewise.
5936 * math/w_log10f.c: Likewise.
5937 * math/w_log10l.c: Likewise.
5938 * math/w_log2.c: Likewise.
5939 * math/w_log2f.c: Likewise.
5940 * math/w_log2l.c: Likewise.
5941 * math/w_pow.c: Likewise.
5942 * math/w_powf.c: Likewise.
5943 * math/w_powl.c: Likewise.
5944 * math/w_remainder.c: Likewise.
5945 * math/w_remainderf.c: Likewise.
5946 * math/w_remainderl.c: Likewise.
5947 * math/w_scalb.c: Likewise.
5948 * math/w_scalbf.c: Likewise.
5949 * math/w_scalbl.c: Likewise.
5950 * math/w_sqrt.c: Likewise.
5951 * math/w_sqrtf.c: Likewise.
5952 * math/w_sqrtl.c: Likewise.
5953 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5954 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5956 * math/math_private.h: Declare __kernel_standard_f.
5957 * math/w_cosh.c: Remove cruft and optimize a bit.
5958 * math/w_coshf.c: Likewise.
5959 * math/w_coshl.c: Likewise.
5960 * math/w_exp2.c: Likewise.
5961 * math/w_exp2f.c: Likewise.
5962 * math/w_exp2l.c: Likewise.
5963 * math/w_hypot.c: Likewise.
5964 * math/w_hypotf.c: Likewise.
5965 * math/w_hypotl.c: Likewise.
5966 * math/w_lgamma.c: Likewise.
5967 * math/w_lgamma_r.c: Likewise.
5968 * math/w_lgammaf.c: Likewise.
5969 * math/w_lgammaf_r.c: Likewise.
5970 * math/w_lgammal.c: Likewise.
5971 * math/w_lgammal_r.c: Likewise.
5972 * math/w_sinh.c: Likewise.
5973 * math/w_sinhf.c: Likewise.
5974 * math/w_sinhl.c: Likewise.
5975 * math/w_tgamma.c: Likewise.
5976 * math/w_tgammaf.c: Likewise.
5977 * math/w_tgammal.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5979 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5980 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5981 Minor optimizations. Pretty printing. Remove cruft.
5982 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5984 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5985 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5986 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5987 * sysdeps/i386/fpu/e_asin.S: Likewise.
5988 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5989 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5990 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5991 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5992 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5993 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5994 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5995 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5996 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5997 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5998 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5999 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6000 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6001 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6002 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6003 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6004 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6005 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6006 * sysdeps/i386/fpu/e_log.S: Likewise.
6007 * sysdeps/i386/fpu/e_log10.S: Likewise.
6008 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6009 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6010 * sysdeps/i386/fpu/e_log2.S: Likewise.
6011 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6012 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6013 * sysdeps/i386/fpu/e_logf.S: Likewise.
6014 * sysdeps/i386/fpu/e_logl.S: Likewise.
6015 * sysdeps/i386/fpu/e_pow.S: Likewise.
6016 * sysdeps/i386/fpu/e_powf.S: Likewise.
6017 * sysdeps/i386/fpu/e_powl.S: Likewise.
6018 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6019 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6020 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6021 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6023 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6024 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6025 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6026 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6028 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6048 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6049 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6050 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6051 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6052 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6053 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6054 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6055 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6056 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6057 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6058 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6059 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6061 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6062 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6063 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6064 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6066 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6067 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6068 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6069 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6073 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6075 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6076 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6077 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6079 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6080 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6081 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6082 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6083 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6084 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6085 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6086 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6107 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6112 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6113 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6115 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6118 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6119 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6120 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6121 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6122 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6123 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6124 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6125 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6126 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6127 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6128 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6129 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6130 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6131 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6132 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6134 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6135 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6136 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6137 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6138 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6139 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6140 (__isnanf): Likewise.
6141 (__isinf_ns): Likewise.
6142 (__isinf_nsf): Likewise.
6143 (__finite): Likewise.
6144 (__finitef): Likewise.
6145 (__ieee754_sqrt): Define as macro.
6146 (__ieee754_sqrtf): Define as macro.
6147 (__ieee754_sqrtl): Define as macro.
6148 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6150 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6151 __FINITE_MATH_ONLY__ consistent.
6152 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6154 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6156 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6159 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6161 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6163 * po/ja.po: Update from translation team.
6165 2011-10-08 Roland McGrath <roland@hack.frob.com>
6167 * locale/programs/locarchive.c (prepare_address_space): New function.
6168 (create_archive, enlarge_archive, open_archive): Use it.
6170 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6171 inside [SHARED], where it is used.
6173 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6175 * nss/getent.c (netgroup_keys): Remove unused variable.
6176 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6178 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6180 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6181 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6183 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6184 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6185 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6186 * math/Makefile (libm-calls): Add s_isinf_ns.
6187 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6188 * math/multc3.c: Likewise.
6189 * math/s_casin.c: Likewise.
6190 * math/s_casinf.c: Likewise.
6191 * math/s_casinl.c: Likewise.
6192 * math/s_ccos.c: Likewise.
6193 * math/s_ccosf.c: Likewise.
6194 * math/s_ccosl.c: Likewise.
6195 * math/s_ctan.c: Likewise.
6196 * math/s_ctanf.c: Likewise.
6197 * math/s_ctanh.c: Likewise.
6198 * math/s_ctanhf.c: Likewise.
6199 * math/s_ctanhl.c: Likewise.
6200 * math/s_ctanl.c: Likewise.
6201 * math/w_fmod.c: Likewise.
6202 * math/w_fmodf.c: Likewise.
6203 * math/w_fmodl.c: Likewise.
6204 * math/w_remainder.c: Likewise.
6205 * math/w_remainderf.c: Likewise.
6206 * math/w_remainderl.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6208 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6211 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6212 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6213 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6214 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6216 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6218 * stdio-common/printf_fphex.c: Likewise.
6219 * stdio-common/printf_size.c: Likewise.
6221 * math/e_exp10.c: Include math_private.h using <...> not "...".
6222 * math/e_exp10f.c: Likewise.
6223 * math/e_exp10l.c: Likewise.
6224 * math/e_exp2l.c: Likewise.
6225 * math/e_j0l.c: Likewise.
6226 * math/e_j1l.c: Likewise.
6227 * math/e_jnl.c: Likewise.
6228 * math/e_lgammal_r.c: Likewise.
6229 * math/e_rem_pio2l.c: Likewise.
6230 * math/e_scalb.c: Likewise.
6231 * math/e_scalbf.c: Likewise.
6232 * math/e_scalbl.c: Likewise.
6233 * math/k_cosl.c: Likewise.
6234 * math/k_sinl.c: Likewise.
6235 * math/k_tanl.c: Likewise.
6236 * math/s_cacoshf.c: Likewise.
6237 * math/s_catan.c: Likewise.
6238 * math/s_catanf.c: Likewise.
6239 * math/s_catanh.c: Likewise.
6240 * math/s_catanhf.c: Likewise.
6241 * math/s_catanhl.c: Likewise.
6242 * math/s_catanl.c: Likewise.
6243 * math/s_ccosh.c: Likewise.
6244 * math/s_ccoshf.c: Likewise.
6245 * math/s_ccoshl.c: Likewise.
6246 * math/s_cexp.c: Likewise.
6247 * math/s_cexpf.c: Likewise.
6248 * math/s_cexpl.c: Likewise.
6249 * math/s_clog.c: Likewise.
6250 * math/s_clog10.c: Likewise.
6251 * math/s_clog10f.c: Likewise.
6252 * math/s_clog10l.c: Likewise.
6253 * math/s_clogf.c: Likewise.
6254 * math/s_clogl.c: Likewise.
6255 * math/s_csin.c: Likewise.
6256 * math/s_csinf.c: Likewise.
6257 * math/s_csinh.c: Likewise.
6258 * math/s_csinhf.c: Likewise.
6259 * math/s_csinhl.c: Likewise.
6260 * math/s_csinl.c: Likewise.
6261 * math/s_csqrt.c: Likewise.
6262 * math/s_csqrtf.c: Likewise.
6263 * math/s_csqrtl.c: Likewise.
6264 * math/s_ctan.c: Likewise.
6265 * math/s_ctanf.c: Likewise.
6266 * math/s_ctanh.c: Likewise.
6267 * math/s_ctanhf.c: Likewise.
6268 * math/s_ctanhl.c: Likewise.
6269 * math/s_ctanl.c: Likewise.
6270 * math/s_ldexp.c: Likewise.
6271 * math/s_ldexpf.c: Likewise.
6272 * math/s_ldexpl.c: Likewise.
6273 * math/s_significand.c: Likewise.
6274 * math/s_significandf.c: Likewise.
6275 * math/s_significandl.c: Likewise.
6276 * math/w_acos.c: Likewise.
6277 * math/w_acosf.c: Likewise.
6278 * math/w_acosh.c: Likewise.
6279 * math/w_acoshf.c: Likewise.
6280 * math/w_acoshl.c: Likewise.
6281 * math/w_acosl.c: Likewise.
6282 * math/w_asin.c: Likewise.
6283 * math/w_asinf.c: Likewise.
6284 * math/w_asinl.c: Likewise.
6285 * math/w_atan2.c: Likewise.
6286 * math/w_atan2f.c: Likewise.
6287 * math/w_atan2l.c: Likewise.
6288 * math/w_atanh.c: Likewise.
6289 * math/w_atanhf.c: Likewise.
6290 * math/w_atanhl.c: Likewise.
6291 * math/w_cosh.c: Likewise.
6292 * math/w_coshf.c: Likewise.
6293 * math/w_coshl.c: Likewise.
6294 * math/w_dremf.c: Likewise.
6295 * math/w_exp10.c: Likewise.
6296 * math/w_exp10f.c: Likewise.
6297 * math/w_exp10l.c: Likewise.
6298 * math/w_exp2.c: Likewise.
6299 * math/w_exp2f.c: Likewise.
6300 * math/w_fmod.c: Likewise.
6301 * math/w_fmodf.c: Likewise.
6302 * math/w_fmodl.c: Likewise.
6303 * math/w_hypot.c: Likewise.
6304 * math/w_hypotf.c: Likewise.
6305 * math/w_hypotl.c: Likewise.
6306 * math/w_j0.c: Likewise.
6307 * math/w_j0f.c: Likewise.
6308 * math/w_j0l.c: Likewise.
6309 * math/w_j1.c: Likewise.
6310 * math/w_j1f.c: Likewise.
6311 * math/w_j1l.c: Likewise.
6312 * math/w_jn.c: Likewise.
6313 * math/w_jnf.c: Likewise.
6314 * math/w_jnl.c: Likewise.
6315 * math/w_lgamma.c: Likewise.
6316 * math/w_lgamma_r.c: Likewise.
6317 * math/w_lgammaf.c: Likewise.
6318 * math/w_lgammaf_r.c: Likewise.
6319 * math/w_lgammal.c: Likewise.
6320 * math/w_lgammal_r.c: Likewise.
6321 * math/w_log.c: Likewise.
6322 * math/w_log10.c: Likewise.
6323 * math/w_log10f.c: Likewise.
6324 * math/w_log10l.c: Likewise.
6325 * math/w_log2.c: Likewise.
6326 * math/w_log2f.c: Likewise.
6327 * math/w_log2l.c: Likewise.
6328 * math/w_logf.c: Likewise.
6329 * math/w_logl.c: Likewise.
6330 * math/w_pow.c: Likewise.
6331 * math/w_powf.c: Likewise.
6332 * math/w_powl.c: Likewise.
6333 * math/w_remainder.c: Likewise.
6334 * math/w_remainderf.c: Likewise.
6335 * math/w_remainderl.c: Likewise.
6336 * math/w_scalb.c: Likewise.
6337 * math/w_scalbf.c: Likewise.
6338 * math/w_scalbl.c: Likewise.
6339 * math/w_sinh.c: Likewise.
6340 * math/w_sinhf.c: Likewise.
6341 * math/w_sinhl.c: Likewise.
6342 * math/w_sqrt.c: Likewise.
6343 * math/w_sqrtf.c: Likewise.
6344 * math/w_sqrtl.c: Likewise.
6345 * math/w_tgamma.c: Likewise.
6346 * math/w_tgammaf.c: Likewise.
6347 * math/w_tgammal.c: Likewise.
6349 * po/ja.po: Update from translation team.
6351 2011-09-29 Andreas Jaeger <aj@suse.de>
6354 * sunrpc/netname.c (netname2host): Fix logic.
6358 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6360 * math/w_remainder.c (__remainder): Likewise.
6361 * math/w_remainderf.c (__remainderf): Likewise.
6362 * math/libm-test.inc (remainder_test): Add test cases.
6364 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6366 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6369 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6371 * string/test-memcmp.c: Avoid unncessary #defines.
6372 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6374 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6376 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6377 Use new sse2 version for core i3 - i7 as it's faster
6379 (bit_Prefer_PMINUB_for_stringop): New.
6380 * sysdeps/x86_64/rawmemchr.S: Update.
6381 Replace with faster SSE2 version.
6382 * sysdeps/x86_64/memrchr.S: New file.
6383 * sysdeps/x86_64/memchr.S: Update.
6384 Replace with faster SSE2 version.
6386 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6388 * elf/dl-load.c (lose): Add cast to avoid warning.
6390 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6392 * po/ca.po: Update from translation team.
6394 * inet/getnetgrent_r.c: Hook up nscd.
6395 * nscd/Makefile (routines): Add nscd_netgroup.
6396 (nscd-modules): Add netgroupcache.
6397 (CFLAGS-netgroupcache.c): Define.
6398 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6399 (cache_search): Add const to second parameter.
6400 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6402 (dbs): Add netgrdb entry.
6403 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6404 (verify_persistent_db): Handle netgrdb.
6405 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6406 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6408 (netgroup_response_header): Define.
6409 (innetgroup_response_header): Define.
6410 (datahead): Add netgroup_response_header and innetgroup_response_header
6412 * nscd/nscd.conf: Add entries for netgroup cache.
6413 * nscd/nscd.h (dbtype): Add netgrdb.
6414 (_PATH_NSCD_NETGROUP_DB): Define.
6415 (netgroup_iov_disabled): Declare.
6416 (xmalloc, xcalloc, xrealloc): Move declarations here.
6417 (cache_search): Adjust prototype.
6418 Add netgroup-related prototypes.
6419 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6420 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6421 (__nscd_innetgr): Declare.
6422 * nscd/selinux.c (perms): Use access_vector_t as element type and
6423 add netgroup-related initializers.
6424 * nscd/netgroupcache.c: New file.
6425 * nscd/nscd_netgroup.c: New file.
6426 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6427 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6428 For four parameters use innetgr.
6429 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6430 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6431 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6432 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6434 * nscd/connections.c (register_traced_file): Don't register file
6435 for disabled databases.
6437 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6439 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6441 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6442 from tree and freeing node.
6444 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6446 * nss/nsswitch.c (__nss_database_lookup): Handle
6447 nss_parse_service_list out of memory case.
6449 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6451 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6454 2011-10-04 Andreas Schwab <schwab@redhat.com>
6456 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6457 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6459 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6460 elf_machine_rela, elf_machine_lazy_rel.
6461 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6462 (ELF_DYNAMIC_DO_REL): Likewise.
6463 (ELF_DYNAMIC_DO_RELA): Likewise.
6464 (ELF_DYNAMIC_RELOCATE): Likewise.
6465 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6466 to ELF_DYNAMIC_DO_REL.
6467 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6468 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6469 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6471 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6472 skip_ifunc, don't call ifunc function if non-zero.
6473 (elf_machine_rela): Likewise.
6474 (elf_machine_lazy_rel): Likewise.
6475 (elf_machine_lazy_rela): Likewise.
6476 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6477 (elf_machine_lazy_rel): Likewise.
6478 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6480 (elf_machine_lazy_rel): Likewise.
6481 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6483 (elf_machine_lazy_rel): Likewise.
6484 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6485 (elf_machine_lazy_rel): Likewise.
6486 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6487 (elf_machine_lazy_rel): Likewise.
6488 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6489 (elf_machine_lazy_rel): Likewise.
6490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6491 (elf_machine_lazy_rel): Likewise.
6492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6493 (elf_machine_lazy_rel): Likewise.
6494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6495 (elf_machine_lazy_rel): Likewise.
6497 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6499 * nss/nss_files/files-init.c (_nss_files_init): Use static
6500 initialization for all the *_traced_file variables.
6502 2011-09-28 Andreas Schwab <schwab@redhat.com>
6504 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6506 2011-09-27 Roland McGrath <roland@hack.frob.com>
6509 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6511 2011-09-27 Andreas Schwab <schwab@redhat.com>
6513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6514 Reread the line before reparsing it.
6516 2011-09-26 Andreas Schwab <schwab@redhat.com>
6518 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6520 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6521 Maxim Kuvyrkov <maxim@codesourcery.com>
6522 Joseph Myers <joseph@codesourcery.com>
6524 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6525 if needed for __stack_chk_guard.
6527 2011-09-19 Roland McGrath <roland@hack.frob.com>
6529 * sysdeps/posix/spawni.c (script_execute): Always define it.
6530 It will be optimized away if unused.
6531 (maybe_script_execute): New function.
6532 (__spawni): Call it.
6534 * Makerules: Don't include tls.make.
6535 (config-tls): Always set to thread.
6536 * tls.make.c: File removed.
6538 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6540 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6541 * config.make.in (CPPFLAGS-config): New substituted variable.
6543 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6545 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6548 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6549 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6551 2011-09-15 Roland McGrath <roland@hack.frob.com>
6553 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6554 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6556 (CALL_FAIL): Likewise.
6557 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6558 (CALL_FAIL): Macro removed.
6559 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6561 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6563 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6564 for __FINITE_MATH_ONLY__ == 1.
6566 2011-09-15 Andreas Schwab <schwab@redhat.com>
6568 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6569 __ieee754_sqrt instead of sqrt.
6570 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6571 __ieee754_sqrtf instead of sqrtf.
6572 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6573 __floorf instead of floorf.
6574 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6575 __floorf, __truncf instead of floorf, truncf.
6577 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6579 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6581 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6582 __extern_always_inline.
6583 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6586 2011-09-14 Andreas Schwab <schwab@redhat.com>
6588 * elf/rtld.c (dl_main): Also relocate in dependency order when
6589 doing symbol dependency testing.
6591 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6594 Always define `refsym'.
6596 2011-09-13 Andreas Schwab <schwab@redhat.com>
6598 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6599 (__FD_ELT): Renamed from __FDELT.
6600 * misc/bits/select2.h (__FD_ELT): Likewise.
6601 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6602 __FD_MASK instead of __FDELT, __FDMASK.
6603 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6605 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6608 * elf/Makefile (gen-ldd): Fix pattern.
6610 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6611 (init_tls): Likewise.
6613 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6617 2011-09-12 Andreas Schwab <schwab@redhat.com>
6619 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6620 `struct cmsghdr *' instead of `void *'.
6621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6624 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6626 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6628 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6631 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6633 * configure.in: Remove --with-tls option.
6634 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6635 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6636 out in case it is missing.
6637 * sysdeps/ia64/elf/configure.in: Likewise.
6638 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6639 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6640 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6641 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6642 * sysdeps/sh/elf/configure.in: Likewise.
6643 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6644 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6645 * sysdeps/x86_64/elf/configure.in: Likewise.
6646 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6647 * sysdeps/mach/hurd/tls.h: Likewise.
6650 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6653 * configure.in: Fix use of AC_INIT.
6655 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6657 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6659 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6661 * malloc/hooks.c: Likewise.
6664 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6665 variables statically.
6666 (narenas): Initialize.
6667 (list_lock): Initialize.
6668 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6669 initializtion of main_arena and list_lock. Small cleanups.
6670 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6671 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6672 Add initializers to main_arena and mp_.
6673 (malloc_state): Remove pagesize member. Change all users to use
6676 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6677 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6678 is always initialized.
6680 * malloc/malloc.c: Removed unused configurations and dead code.
6681 * malloc/arena.c: Likewise.
6682 * malloc/hooks.c: Likewise.
6683 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6685 * include/tls.h: Removed. USE___THREAD must always be defined.
6686 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6687 * elf/dl-libc.c: Likewise.
6688 * elf/dl-tsd.c: Likewise.
6689 * include/errno.h: Likewise.
6690 * include/netdb.h: Likewise.
6691 * include/resolv.h: Likewise.
6692 * inet/herrno-loc.c: Likewise.
6693 * inet/herrno.c: Likewise.
6694 * malloc/arena.c: Likewise.
6695 * malloc/hooks.c: Likewise.
6696 * malloc/malloc.c: Likewise.
6697 * resolv/res-state.c: Likewise.
6698 * resolv/res_libc.c: Likewise.
6699 * sysdeps/i386/dl-machine.h: Likewise.
6700 * sysdeps/ia64/dl-machine.h: Likewise.
6701 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6702 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6703 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6704 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6705 * sysdeps/sh/dl-machine.h: Likewise.
6706 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6707 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6708 * sysdeps/unix/i386/sysdep.S: Likewise.
6709 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6710 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6715 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6719 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6720 * sysdeps/x86_64/dl-machine.h: Likewise.
6721 * tls.make.c: Likewise.
6723 * configure.in: Remove --with-__thread option. Make tests for
6724 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6725 tls_model attribute fail if no support is available. Remove
6727 * Makeconfig: Adjust for dropped configure option. All features are
6729 * Makerules: Likewise.
6730 * Versions.def: Likewise.
6731 * argp/argp-fmtstream.c: Likewise.
6732 * argp/argp-fmtstream.h: Likewise.
6733 * argp/argp-help.c: Likewise.
6734 * assert/assert.c: Likewise.
6735 * config.h.in: Likewise.
6736 * config.make.in: Likewise.
6737 * configure: Likewise.
6738 * configure.in: Likewise.
6739 * csu/Versions: Likewise.
6740 * csu/init.c: Likewise.
6741 * elf/tst-audit2.c: Likewise.
6742 * elf/tst-tls10.c: Likewise.
6743 * elf/tst-tls10.h: Likewise.
6744 * elf/tst-tls11.c: Likewise.
6745 * elf/tst-tls12.c: Likewise.
6746 * elf/tst-tls14.c: Likewise.
6747 * elf/tst-tlsmod11.c: Likewise.
6748 * elf/tst-tlsmod12.c: Likewise.
6749 * elf/tst-tlsmod13.c: Likewise.
6750 * elf/tst-tlsmod13a.c: Likewise.
6751 * elf/tst-tlsmod14a.c: Likewise.
6752 * elf/tst-tlsmod15b.c: Likewise.
6753 * elf/tst-tlsmod16a.c: Likewise.
6754 * elf/tst-tlsmod16b.c: Likewise.
6755 * elf/tst-tlsmod7.c: Likewise.
6756 * elf/tst-tlsmod8.c: Likewise.
6757 * elf/tst-tlsmod9.c: Likewise.
6758 * gmon/gmon.c: Likewise.
6759 * grp/fgetgrent_r.c: Likewise.
6760 * grp/putgrent.c: Likewise.
6761 * hurd/fopenport.c: Likewise.
6762 * include/libc-symbols.h: Likewise.
6763 * include/tls.h: Likewise.
6764 * intl/gettextP.h: Likewise.
6765 * intl/loadinfo.h: Likewise.
6766 * locale/global-locale.c: Likewise.
6767 * locale/localeinfo.h: Likewise.
6768 * mach/devstream.c: Likewise.
6769 * malloc/arena.c: Likewise.
6770 * malloc/set-freeres.c: Likewise.
6771 * misc/err.c: Likewise.
6772 * misc/getttyent.c: Likewise.
6773 * misc/mntent_r.c: Likewise.
6774 * posix/getopt.c: Likewise.
6775 * posix/wordexp.c: Likewise.
6776 * pwd/fgetpwent_r.c: Likewise.
6777 * resolv/Versions: Likewise.
6778 * resolv/res_hconf.c: Likewise.
6779 * shadow/fgetspent_r.c: Likewise.
6780 * shadow/putspent.c: Likewise.
6781 * stdio-common/printf_fphex.c: Likewise.
6782 * stdio-common/tmpfile.c: Likewise.
6783 * stdlib/abort.c: Likewise.
6784 * stdlib/fmtmsg.c: Likewise.
6785 * sunrpc/auth_unix.c: Likewise.
6786 * sunrpc/clnt_perr.c: Likewise.
6787 * sunrpc/clnt_tcp.c: Likewise.
6788 * sunrpc/clnt_udp.c: Likewise.
6789 * sunrpc/clnt_unix.c: Likewise.
6790 * sunrpc/openchild.c: Likewise.
6791 * sunrpc/svc_simple.c: Likewise.
6792 * sunrpc/svc_tcp.c: Likewise.
6793 * sunrpc/svc_udp.c: Likewise.
6794 * sunrpc/svc_unix.c: Likewise.
6795 * sunrpc/xdr.c: Likewise.
6796 * sunrpc/xdr_array.c: Likewise.
6797 * sunrpc/xdr_rec.c: Likewise.
6798 * sunrpc/xdr_ref.c: Likewise.
6799 * sunrpc/xdr_stdio.c: Likewise.
6801 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6803 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6805 2011-07-03 Andreas Jaeger <aj@suse.de>
6807 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6808 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6809 regenerate with gen-libm-tests.pl.
6811 2010-05-12 Petr Baudis <pasky@suse.cz>
6814 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6815 around j0() zero points by switching to j1().
6816 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6821 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6823 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6825 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6828 Patch in part by Pavel Roskin <proski@gnu.org>.
6831 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6833 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6834 Free memory block if necessary.
6837 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6838 be NULL. Don't lock in this case.
6840 2011-09-09 Roland McGrath <roland@hack.frob.com>
6842 * elf/elf.h (ELFOSABI_GNU): New macro.
6843 (ELFOSABI_LINUX): Define to that.
6845 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6847 * string/strncat.c (strncat): Undef the symbol in case it has been
6848 defined in bits/string.h.
6850 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6852 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6854 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6857 2011-08-17 Andreas Jaeger <aj@suse.de>
6859 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6861 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6862 Ian Lance Taylor <iant@google.com>
6864 * math/libm-test.inc (lround_test): New testcase.
6865 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6867 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6869 * Makefile: Remove support for automatic cvs check-ins.
6870 * Makerules: Likewise.
6871 * config.make.in: Likewise.
6872 * configure.in: Likewise.
6873 * intl/Makefile: Likewise.
6874 * locale/Makefile: Likewise.
6875 * po/Makefile: Likewise.
6876 * posix/Makefile: Likewise.
6877 * sysdeps/gnu/Makefile: Likewise.
6878 * sysdeps/mach/hurd/Makefile: Likewise.
6879 * sysdeps/sparc/sparc32/Makefile: Likewise.
6882 * posix/Makefile (bug-regex32-ENV): Define.
6883 Patch by John Stanley <jpsinthemix@verizon.net>.
6885 * misc/Makefile (headers): Add bits/select2.h.
6886 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6887 * misc/bits/select2.h: New file.
6888 * include/bits/select2.h: New file.
6889 * debug/Makefile (routines): Add fdelt_chk.
6890 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6891 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6893 * debug/fdelt_chk.c: New file.
6895 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6896 * wcsmbs/test-wmemcmp.c: Likewise.
6897 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6898 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6900 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6902 * string/Makefile (strop-tests): Add memcmp.
6903 * string/test-wmemcmp.c: New file.
6904 * string/test-memcmp.c: Add wmemcmp support.
6906 2011-09-08 Roland McGrath <roland@hack.frob.com>
6909 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6912 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6913 garbage value in a __mach_port_mod_refs call in the cases of the
6914 task-self and thread-self ports.
6916 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6918 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6920 2011-09-08 Andreas Schwab <schwab@redhat.com>
6922 * elf/dl-load.c (lose): Check for non-null L.
6924 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6926 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6928 * elf/dl-libc.c (dlerror_run): Pass back error code from
6932 * elf/dl-load.c (lose): Free l_origin if it is valid.
6934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6936 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6937 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6938 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6939 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6940 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6941 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6943 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6945 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6946 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6947 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6948 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6949 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6950 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6951 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6952 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6953 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6954 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6956 2011-08-15 Alan Modra <amodra@gmail.com>
6959 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6960 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6961 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6962 ppc_mcount to static-only-routines.
6963 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6965 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6966 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6968 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6970 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6971 for finite and infinity parameters.
6973 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6975 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6976 and add nop instructions for throughput optimization.
6977 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6979 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6981 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6982 aligned copy for power7 with vector-scalar instructions.
6983 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6985 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6990 2011-09-07 Andreas Schwab <schwab@redhat.com>
6993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6996 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6999 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7000 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7001 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7004 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7006 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7007 Forgot to demangle the pointer.
7009 * sysdeps/i386/sysdep.h: Define atom_text_section.
7010 * sysdeps/x86_64/sysdep.h: Likewise.
7011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7012 section with atom_text_section.
7013 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7015 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7017 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7019 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7020 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7021 already be defined. Change to take two parameters and don't assign
7022 result to variable. Adjust all users.
7023 Define INTERNAL_GETTIME if not already defined.
7024 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7027 HAVE_CLOCK_GETTIME_VSYSCALL.
7028 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7030 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7031 gettimeofday vsyscall, just use time.
7033 2011-09-06 Andreas Schwab <schwab@redhat.com>
7035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7038 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7040 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7042 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7044 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7045 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7046 syscall if possible.
7048 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7050 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7051 e_ident. Don't pass to find_mapsXX.
7052 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7054 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7057 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7058 * sysdeps/x86_64/multiarch/strchr.S: Update.
7059 Check bit_slow_BSF bit.
7060 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7061 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7062 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7064 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7067 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7070 (__spawni): Change last parameter to be flag. Test
7071 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7072 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7073 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7074 * posix/spawni.c: Likewise.
7075 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7076 * posix/spawnp.c: Likewise. Change normal version to use
7077 SPAWN_XFLAGS_USE_PATH.
7078 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7079 SPAWN_XFLAGS_TRY_SHELL.
7082 * posix/glob.h: Remove gcc 1.x support.
7085 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7087 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7089 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7090 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7092 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7093 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7094 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7095 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7096 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7099 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7101 * sysdeps/x86_64/wcscmp.S: New file.
7103 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7104 wcscmp-c wcscmp-sse2
7105 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7106 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7107 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7108 * wcsmbs/wcscmp.c: Allow renaming.
7110 2011-09-05 David S. Miller <davem@davemloft.net>
7112 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7113 stack slot, rather than the struct return pointer slot.
7114 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7115 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7119 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7121 * po/ja.po: Update from translation team.
7124 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7125 kernel in 64-bit binaries.
7127 2011-09-01 David S. Miller <davem@davemloft.net>
7129 * elf/elf.h (HWCAP_SPARC_*): Move to..
7130 * sysdeps/sparc/sysdep.h: this new file and add new values.
7131 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7132 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7133 _DL_HWCAP_COUNT to 24.
7134 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7136 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7137 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7138 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7140 instead of magic constants.
7141 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7143 2011-08-31 David S. Miller <davem@davemloft.net>
7145 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7146 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7147 Reimplement to do errno handling inline.
7148 (SYSCALL_ERROR_HANDLER): New macro.
7149 (__SYSCALL_STRING): Do not do errno handling in asm.
7150 (__CLONE_SYSCALL_STRING): Delete.
7151 (__INTERNAL_SYSCALL_STRING): Delete.
7152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7153 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7154 (PSEUDO): Reimplement to do errno handling inline.
7155 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7156 (SYSCALL_ERROR_HANDLER): New macro.
7157 (__SYSCALL_STRING): Do not do errno handling in asm.
7158 (__CLONE_SYSCALL_STRING): Delete.
7159 (__INTERNAL_SYSCALL_STRING): Delete.
7160 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7161 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7163 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7164 (inline_syscall*): Add 'err' argument.
7165 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7166 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7167 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7168 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7170 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7171 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7173 2011-08-30 Andreas Schwab <schwab@redhat.com>
7175 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7177 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7179 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7182 2011-08-24 David S. Miller <davem@davemloft.net>
7184 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7186 2011-08-24 Andreas Schwab <schwab@redhat.com>
7188 * elf/Makefile: Add rules to build and run unload8 test.
7189 * elf/unload8.c: New file.
7190 * elf/unload8mod1.c: New file.
7191 * elf/unload8mod1x.c: New file.
7192 * elf/unload8mod2.c: New file.
7193 * elf/unload8mod3.c: New file.
7195 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7198 2011-08-23 David S. Miller <davem@davemloft.net>
7200 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7201 subtract stack bias.
7202 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7203 %sp not %fp in calculations.
7204 (_JMPBUF_UNWINDS_ADJ): Likewise.
7206 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7207 (aio_suspend): Call it to force an exception region around the
7208 AIO_MISC_WAIT() invocation.
7210 2011-08-23 Andreas Schwab <schwab@redhat.com>
7212 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7215 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7217 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7219 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7221 (Elf64_FuncDesc): Remove.
7223 2011-08-22 David S. Miller <davem@davemloft.net>
7225 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7226 sigaltstack check, add missing cfi directives.
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7228 missing cfi directives, and sigaltstack handling.
7230 2011-08-16 Andreas Schwab <schwab@redhat.com>
7233 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7234 object is seen twice.
7235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7237 * elf/Makefile (distribute): Add tst-initorder2.c.
7238 (tests): Add tst-initorder2.
7239 (modules-names): Add tst-initorder2a tst-initorder2b
7240 tst-initorder2c tst-initorder2d. Add rules to build them.
7241 ($(objpfx)tst-initorder2.out): New rule.
7242 * elf/tst-initorder2.c: New file.
7243 * elf/tst-initorder2.exp: New file.
7245 2011-08-22 Andreas Schwab <schwab@redhat.com>
7247 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7249 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7250 dependencies back to end of function.
7252 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7255 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7257 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7258 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7260 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7261 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7262 of __vdso_gettimeofday.
7263 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7264 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7266 (_libc_vdso_platform_setup): Remove initialization of
7267 __vdso_gettimeofday and __vdso_time.
7269 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7271 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7273 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7276 * elf/dl-open.c (add_to_global): Report additions to the global scope
7277 for LD_DEBUG=scopes.
7278 (dl_open_worker): Also print scope of newly loaded dependencies.
7279 (_dl_show_scope): Indicate if there is no scope.
7282 * stdio-common/Makefile (tests): Add bug24.
7283 * stdio-common/bug24.c: New file.
7285 2011-08-19 Andreas Jaeger <aj@suse.de>
7288 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7289 non-existant file when using close-on-exec mode.
7291 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7294 the very first instruction.
7296 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7297 the CFI state in the end.
7298 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7299 inclusion of dl-trampoline.h.
7300 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7302 2011-08-19 Andreas Schwab <schwab@redhat.com>
7304 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7305 expectations for long double.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7308 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7310 2011-08-14 David S. Miller <davem@davemloft.net>
7312 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7313 artificual limit depends upon the system page size.
7315 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7317 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7318 * resolv/Makefile: Define CFLAGS-libresolv.
7320 2011-08-17 Andreas Schwab <schwab@redhat.com>
7322 * nss/makedb.c (compute_tables): Make variables used in nested
7325 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7327 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7328 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7329 if buffer was too small.
7331 * elf/pldd.c (main): Attach to all threads in the process.
7332 Rewrite /proc handling to use *at functions.
7334 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7336 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7337 specifies first scope to show.
7338 (dl_open_worker): Update callers. Move printing scope of new
7339 object to before the relocation.
7340 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7341 * sysdeps/generic/ldsodefs.h: Update declaration.
7343 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7344 string for the scope number.
7346 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7348 * nscd/servicescache.c (cache_addserv): Make sure written is always
7351 2011-08-14 Roland McGrath <roland@hack.frob.com>
7353 * sysdeps/i386/i486/bits/atomic.h
7354 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7355 statement expression, so as to suppress "set but not used" warning.
7356 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7358 * string/strncat.c (STRNCAT): Use prototype definition.
7360 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7361 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7363 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7364 (localedef-modules): Add localedef.
7365 (locale-modules): Add locale.
7367 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7368 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7371 2011-08-14 David S. Miller <davem@davemloft.net>
7373 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7374 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7376 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7378 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7379 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7380 * elf/rtld.c (dl_main): Set l_name of vDSO.
7381 Call _dl_show_scope when DL_DEBUG_SCOPES.
7382 (process_dl_debug): Recognize scopes flag and also set it for all.
7383 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7384 Declare _dl_show_scope.
7386 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7387 (do_dlopen): Pass caller_dlopen to dl_open.
7388 (__libc_dlopen_mode): Initialize caller_dlopen.
7390 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7391 of libc. Make tolower call locale-independent. Optimize a bit by
7392 using isdigit instead of isalnum.
7393 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7395 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7397 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7398 was a dependency or dynamically loaded.
7400 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7402 * intl/l10nflist.c: Allow architecture-specific pop function.
7403 * sysdeps/x86_64/l10nflist.c: New file.
7405 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7408 2011-08-10 Andreas Schwab <schwab@redhat.com>
7410 * include/dirent.h: Add libc_hidden_proto for scandirat and
7411 scandirat64. Don't declare __scandirat64.
7412 * dirent/scandirat.c: Add libc_hidden_def.
7413 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7414 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7416 2011-08-10 David S. Miller <davem@davemloft.net>
7418 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7420 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7421 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7422 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7424 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7426 * Versions.def [libc]: Add GLIBC_2.15.
7427 * dirent/Makefile (routines): Add scandirat and scandirat64.
7428 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7430 * dirent/dirent.h: Declare scandirat and scandirat64.
7431 * dirent/scandirat.c: New file.
7432 * dirent/scandirat64.c: New file.
7433 * sysdeps/wordsize-64/scandirat.c: New file.
7434 * sysdeps/wordsize-64/scandirat64.c: New file.
7435 * dirent/opendir.c: Define opendirat.
7436 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7438 * dirent/scandir64.c: Adjust for scandir.c change.
7439 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7440 __scandirat64, and __scandir_cancel_handler.
7441 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7442 additional parameter and use openat instead of open (outside of ld.so).
7443 Add new __opendir as wrapper around __opendirat.
7444 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7445 here without requiring old scandirat implementation.
7447 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7449 * dirent/scandir.c (cancel_handler): Renamed to
7450 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7451 defined. Adjust users.
7452 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7453 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7455 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7457 * string/test-string.h (IMPL): Use __STRING to expand name and then
7460 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7463 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7465 * string/Makefile: Update.
7466 (strop-tests): Append strncat.
7467 * string/test-wcscmp.c: New file.
7468 New comprehensive test for wcscmp.
7469 * string/test-strcmp.c: Update.
7472 2011-07-22 Andreas Schwab <schwab@redhat.com>
7474 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7477 2011-07-26 Andreas Schwab <schwab@redhat.com>
7479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7480 encoding to ACE if AI_IDN.
7482 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7485 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7487 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7489 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7490 Fix overflow bug in strncat.
7491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7493 * string/test-strncat.c: Update.
7494 Add new tests for checking overflow bugs.
7496 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7498 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7499 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7500 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7501 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7502 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7503 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7504 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7505 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7506 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7508 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7509 (USE_AS_STRCAT): Define.
7510 Add strcat and strncat support.
7511 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7513 2011-07-25 Andreas Schwab <schwab@redhat.com>
7515 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7516 __n bigger than INT_MAX+1.
7517 (__strncmp_g): Likewise.
7519 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7521 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7522 * libio/stido.h: Likewise.
7524 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7529 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7531 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7532 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7536 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7541 (_dl_x86_64_save_sse): Likewise.
7543 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7545 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7547 (_dl_x86_64_save_sse): Likewise.
7549 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7551 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7553 2011-07-21 Andreas Schwab <schwab@redhat.com>
7555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7557 (_dl_x86_64_save_sse): Use correct AVX check.
7559 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7561 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7562 bug in strncpy/strncat.
7563 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7565 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7567 * string/tester.c (test_strcat): Add tests for different alignments
7568 of source and destination.
7569 (test_strncat): Likewise.
7571 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7574 * posix/glob.c (glob): Check passed in values before using them in
7575 expressions to avoid some overflows.
7576 (glob_in_dir): Likewise.
7579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7580 check for AVX enablement so that we don't crash with old kernels and
7582 * elf/tst-audit4.c: Add same checks here.
7583 * elf/tst-audit6.c: Likewise.
7585 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7587 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7589 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7591 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7593 * po/cs.po: Update from translation team.
7594 * po/bg.po: Likewise.
7596 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7598 * misc/sys/cdefs.h: Add support for const attribute.
7599 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7600 to gnu_dev_{major,minor,makedev} functions.
7602 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7604 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7606 2011-07-20 Andreas Schwab <schwab@redhat.com>
7608 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7611 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7614 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7615 register in order to avoid conflicts with the soft frame pointer
7616 being held in r11 when necessary.
7617 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7618 (INTERNAL_VSYSCALL_NCS): Likewise.
7620 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7622 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7623 * elf/dl-fini.c (_dl_fini): Adjust caller.
7624 * elf/dl-close.c (_dl_close_worker): Likewise.
7625 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7627 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7629 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7630 "aux_cache->nlibs < 0".
7632 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7633 in the reload-count case.
7635 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7638 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7639 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7640 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7641 * sysdeps/x86_64/multiarch/strcat.S: New file.
7642 * sysdeps/x86_64/multiarch/strncat.S: New file.
7643 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7644 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7645 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7646 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7647 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7648 (USE_AS_STRCAT): Define.
7649 Add strcat and strncat support.
7650 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7652 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7653 * string/strncat.c: Update.
7654 (USE_AS_STRNCAT): Define.
7655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7656 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7658 * sysdeps/x86_64/multiarch/init-arch.h
7659 (bit_Prefer_PMINUB_for_stringop): New.
7660 (index_Prefer_PMINUB_for_stringop): Likewise.
7661 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7662 bit_Prefer_PMINUB_for_stringop.
7664 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7666 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7668 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7669 of casting of buffer.
7670 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7671 buffer32 and buffer64.
7672 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7673 writes instead of casting of buffer.
7674 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7676 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7679 2011-07-19 Andreas Schwab <schwab@redhat.com>
7681 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7683 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7685 * nscd/nscd.c (termination_handler): Don't do anything for a database
7686 if it has not yet been initialized.
7688 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7690 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7692 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7694 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7696 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7698 * po/nl.po: Update from translation team.
7699 * po/sv.po: Likewise.
7701 2011-07-16 Roland McGrath <roland@hack.frob.com>
7703 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7704 now disallowed by GCC.
7706 * configure.in (use-default-link): Default to yes if a test -shared
7707 link meets our qualifications.
7708 * configure: Regenerated.
7710 * config.make.in (output-format): New variable.
7711 * configure.in: Check for ld --print-output-format support.
7712 * configure: Regenerated.
7713 * Makerules ($(common-objpfx)format.lds)
7714 [$(output-format) != unknown]: Just use $(output-format),
7715 instead of the linker-script munging.
7717 2011-07-14 Roland McGrath <roland@hack.frob.com>
7719 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7720 of $(common-objpfx)shlib.lds.
7721 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7723 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7724 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7726 * configure.in (-z relro check): Adjust test code to add a large
7727 writable data section after it.
7728 * configure: Regenerated.
7730 2011-07-11 Roland McGrath <roland@hack.frob.com>
7732 * configure.in (-z relro check): Fix test code to make the variable
7734 * configure: Regenerated.
7736 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7738 * nscd/nscd.h (struct traced_file): Define.
7739 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7740 elements. Add traced_files.
7741 (inotify_fd): Declare.
7742 (register_traced_file): Declare.
7743 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7744 (inotify_fd): Export.
7745 (resolv_conf_descr): Remove.
7746 (nscd_init): Move inotify descriptor creation to main.
7747 Don't register files for notification here.
7748 (register_traced_file): New function.
7749 (invalidate_cache): Don't use reset_res to determine whether to call
7750 res_init, go through the list of registered files.
7751 (main_loop_poll): The inotify descriptors are now stored in the
7752 structures for the traced files.
7753 (main_loop_epoll): Likewise
7754 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7755 to __nss_disable_nscd.
7756 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7757 for a database anymore. Check the records for all the registered
7759 * nss/Makefile (libnss_files-routines): Add files-init.
7760 (libnss_db-routines): Add db-init.
7761 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7762 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7763 * nss/nss_db/db-init.c: New file.
7764 * nss/nss_files/files-init.c: New file.
7765 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7766 __nss_lookup_function.
7767 (__nss_lookup_function): Call nss_load_library.
7768 (nss_load_all_libraries): New function.
7769 (__nss_disable_nscd): Take parameter with callback function for files
7770 to register. Set is_nscd. Load all the DSOs for the NSS modules
7771 used for the cached services.
7772 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7773 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7774 options for features to all the files in nscd.
7776 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7778 2011-07-10 Roland McGrath <roland@hack.frob.com>
7780 * csu/elf-init.c (__libc_csu_init): Comment typo.
7782 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7784 * po/pl.po: Update from translation team.
7785 * po/ja.po: Likewise.
7786 * po/ru.po: Likewise.
7787 * po/ko.po: Likewise.
7788 * po/fr.po: Likewise.
7790 2011-07-09 Roland McGrath <roland@hack.frob.com>
7792 * configure.in (.ctors/.dtors header and trailer check):
7793 Use an empirical test on a built program.
7794 * configure: Regenerated.
7796 * configure.in (-z relro check): Use an empirical test on a built DSO.
7797 Detect, but do not require, on ia64.
7798 * configure: Regenerated.
7800 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7801 Update tests that use readelf to use $READELF instead.
7802 * configure: Regenerated.
7804 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7806 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7807 if the result is not used.
7809 2011-07-05 Andreas Jaeger <aj@suse.de>
7812 * stdlib/tst-strtod.c: Add testcase.
7814 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7816 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7817 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7818 The latter has a higher limit. Take additional parameter to pass to
7820 (__pathconf): Pass file to __statfs_link_max.
7821 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7823 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7827 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7828 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7830 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7831 (__statfs_filesize_max): Likewise.
7832 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7834 2011-07-05 Andreas Jaeger <aj@suse.de>
7836 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7838 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7840 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7842 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7845 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7847 * Makefile (strop-tests): Add strncat.
7848 * string/test-strncat.c: New file.
7850 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7852 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7854 2011-06-21 Andreas Jaeger <aj@suse.de>
7856 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7857 Copy rule from iconvdata/Makefile.
7859 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7862 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7863 but no long options are defined, just return 'W'.
7865 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7868 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7870 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7872 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7874 (innetgr): Likewise.
7876 2011-07-05 Roland McGrath <roland@hack.frob.com>
7878 * config.make.in (install_root): Default to $(DESTDIR).
7880 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7884 2011-07-02 Roland McGrath <roland@hack.frob.com>
7886 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7888 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7889 containing directory rather than embedding absolute directory names.
7891 * scripts/check-local-headers.sh: Rewritten using awk.
7892 Match by word, not by line. Print error messages for matches.
7893 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7895 * Makerules [shlib-lds-flags empty]:
7896 ($(common-objpfx)libc_pic.opts): New target.
7897 ($(common-objpfx)libc_pic.os.clean): New target.
7898 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7900 * config.make.in (OBJCOPY): New variable.
7901 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7902 * configure: Regenerated.
7904 * config.make.in (use-default-link): New variable.
7905 * configure.in (use_default_link): Grok --with-default-link to set it.
7906 * configure: Regenerated.
7907 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7908 (shlib-lds, shlib-lds-flags): Define to empty.
7910 * Makerules (shlib-lds): New variable.
7911 (shlib-lds-flags): New variable.
7912 (build-shlib, build-moduile, build-module-asneeded): Use it.
7913 ($(common-objpfx)libc.so): Use $(shlib-lds).
7914 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7915 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7917 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7918 DT_FLAGS/DT_FLAGS_1 with zero flags.
7920 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7921 linker script munging.
7923 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7925 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7927 * crypt/sha512.c (sha512_process_block): Perform total addition using
7928 128-bit if possible.
7929 (__sha512_finish_ctx): Likewise.
7930 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7932 * crypt/sha256.c (SWAP64): Define.
7933 (sha256_process_block): Perform total addition using 64-bit if
7935 (__sha256_finish_ctx): Likewise.
7937 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7939 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7941 * nscd/hstcache.c (cache_addhst): Likewise.
7942 * nscd/grpcache.c (cache_addgr): Likewise.
7943 * nscd/aicache.c (addhstaiX): Likewise
7944 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7946 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7948 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7949 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7950 * nscd/hstcache.c (cache_addhst): Likewise.
7951 * nscd/grpcache.c (cache_addgr): Likewise.
7952 * nscd/aicache.c (addhstaiX): Likewise
7954 2011-07-01 Andreas Schwab <schwab@redhat.com>
7956 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7957 domain only when needed.
7959 2011-06-30 Andreas Schwab <schwab@redhat.com>
7961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7964 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7966 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7967 are re-adding the entry.
7968 * nscd/servicescache.c (cache_addserv): Likewise.
7970 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7972 * sysdeps/generic/dl-irel.h: fix protection against multiple
7974 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7976 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7979 * malloc/memusage.sh: Fix quoting in message.
7980 * debug/xtrace.sh: Likewise.
7982 * configure.in: Remove support for --experimental-malloc option, make
7984 * config.make.in: Likewise.
7985 * malloc/Makefile: Likewise.
7987 2011-06-27 Andreas Schwab <schwab@redhat.com>
7989 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7990 two-byte characters.
7992 2011-06-27 Roland McGrath <roland@hack.frob.com>
7994 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7995 AC_CACHE_CHECK invocation.
7996 * configure: Regenerated.
7998 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8000 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8003 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8004 bit from old_res_options.
8006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8008 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8009 value type for setfct.
8011 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8014 __gettimeofday instead of gettimeofday.
8016 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8018 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8020 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8024 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8027 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8030 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8031 strcpy-sse2-unaligned strncpy-sse2-unaligned
8032 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8033 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8034 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8035 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8036 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8037 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8038 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8039 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8040 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8041 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8042 (STRCPY): Support SSE2 and SSSE3 versions.
8044 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8047 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8048 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8049 kernels which artificially limit size of requests.
8051 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8054 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8055 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8056 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8057 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8058 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8059 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8060 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8061 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8063 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8064 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8065 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8066 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8067 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8069 Enable unaligned load optimization for Intel Core i3, i5 and i7
8071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8073 (index_Fast_Unaligned_Load): Define.
8074 (HAS_FAST_UNALIGNED_LOAD): Define.
8076 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8078 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8080 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8083 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8084 until it is clear that the information is realy needed.
8085 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8087 2011-06-22 Andreas Schwab <schwab@redhat.com>
8089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8091 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8094 /sys/devices/system/cpu/online if it is usable.
8096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8097 reading the information from the /proc filesystem to once a second.
8099 2011-06-21 Andreas Jaeger <aj@suse.de>
8101 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8102 NULL after inclusion of kernel headers.
8104 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8106 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8107 calls to internal_setent.
8110 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8111 addresses using gethostbyname4_r ignore IPv4 addresses.
8113 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8114 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8116 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8118 2011-06-20 David S. Miller <davem@davemloft.net>
8120 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8122 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8124 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8126 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8127 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8128 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8129 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8130 * sysdeps/x86_64/dl-irel.h: Likewise.
8132 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8133 * elf/dl-sym.c: Likewise.
8135 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8137 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8138 need to dereference resplen2.
8140 2011-06-14 Andreas Schwab <schwab@redhat.com>
8142 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8144 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8146 * Makeconfig: Define vardbdir and inst_vardbdir.
8147 * nss/Makefile: Add rules to install db-Makefile.
8149 * nss/nss_db/db-XXX.c: Cleanup.
8151 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8152 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8154 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8155 * nss/makedb.c: Implement -g option to specify that value strings
8156 are generated and should not be added to table iterated over for
8158 * nss/nss_db/db-initgroups.c: New file.
8160 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8163 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8164 (internal_getgrouplist): Adjust to name change.
8165 Update use_initgroups_entry if this is not the first call.
8166 * nss/databases.def: Add initgroups entry.
8168 * nss/makedb.c (compute_tables): Check result of multiple hash table
8169 sizes to minimize maximum chain length.
8171 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8173 * Versions.def: Add entry for libnss_db.
8174 * shlib-versions: Likewise.
8175 * nss/Makefile: Add rules to build libnss_db.
8176 * nss/Versions: Add libnss_db information. Organize libnss_files
8178 * nss/db-Makefile: Add gshadow support. Change rules for the new
8179 makedb progra. Some minor improvements to generate smaller files.
8180 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8182 * nss/makedb.c: ...here.
8183 Improve database format to be smaller and require less memory at
8185 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8187 * nss/nss_db/db-netgrp.c: Likewise.
8188 * nss/nss_db/db-open.c: Likewise.
8189 * nss/nss_files/flies-XXX.x: Adjust comments.
8190 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8191 * nss/nss_files/files-grp.c: Likewise.
8192 * nss/nss_files/files-hosts.c: Likewise.
8193 * nss/nss_files/files-network.c: Likewise.
8194 * nss/nss_files/files-proto.c: Likewise.
8195 * nss/nss_files/files-pwd.c: Likewise.
8196 * nss/nss_files/files-rpc.c: Likewise.
8197 * nss/nss_files/files-service.c: Likewise.
8198 * nss/nss_files/files-sgrp.c: Likewise.
8199 * nss/nss_files/files-spwd.c: Likewise.
8200 * nss/nss_db/db-alias.c: Removed.
8201 * nss/nss_db/dummy-db.h: Removed.
8203 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8205 * nss/makedb.c: Rewritten to not use database library.
8206 * nss/Makefile: Update to build new makedb program.
8208 2011-06-14 Andreas Jaeger <aj@suse.de>
8210 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8213 2011-06-10 Andreas Schwab <schwab@redhat.com>
8215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8218 2011-06-10 Roland McGrath <roland@hack.frob.com>
8220 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8221 * elf/Makefile ($(objpfx)ld.so): Likewise.
8223 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8224 Don't list ld.so twice in dependencies.
8226 * posix/bug-regex31.c: Include <stdlib.h>.
8228 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8230 * nis/nss_compat/compat-spwd.c
8231 (getspent_next_nss_netgr): Remove unused variable.
8232 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8234 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8235 nonmembers" output to use the right array.
8237 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8239 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8241 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8242 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8243 * catgets/gencat.c (read_input_file): Likewise.
8244 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8246 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8247 variable definition inside #if's controlling its use.
8249 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8251 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8253 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8255 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8258 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8260 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8261 * configure: Regenerated.
8263 * Makerules: Revert last change.
8264 * elf/Makefile: Likewise.
8266 2011-06-09 Roland McGrath <roland@hack.frob.com>
8268 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8269 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8270 (reloc-link): Likewise.
8272 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8274 * elf/Makefile: Add rules to build pldd.
8275 * elf/pldd.c: New file.
8276 * elf/pldd-xx.c: New file.
8278 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8280 * version.h: Update for 2.15 development version.
8282 2011-06-07 David S. Miller <davem@davemloft.net>
8284 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8287 elf_machine_lazy_rel): Likewise.
8288 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8290 elf_machine_lazy_rel): Likewise.
8291 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8292 dl_hwcap via passed in argument.
8293 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8296 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8298 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8300 2011-06-06 Roland McGrath <roland@hack.frob.com>
8303 * manual/fdl-1.1.texi: New file, verbatim from:
8304 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8305 * manual/lgpl-2.1.texi: New file, verbatim from:
8306 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8307 * manual/Makefile (licenses): New variable, list those new file names.
8309 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8311 * manual/fdl.texi: File removed.
8312 * manual/lesser.texi: File removed.
8313 * manual/libc.texinfo (Copying, Documentation License):
8314 Use new @include file names, put @appendix directive before @include.
8316 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8319 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8320 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8321 (mq_open): Add __NTH.
8323 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8326 Assume Intel Core i3/i5/i7 processor if AVX is available.
8328 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8333 2011-05-31 Andreas Schwab <schwab@redhat.com>
8335 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8336 memory. Use alloca_account. Fix memory leak when retrying.
8338 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8340 * version.h (RELEASE): Bump for 2.14 release.
8341 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8343 * config.make.in (RANLIB): Remove entry.
8345 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8347 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8348 (libc.pot): Work around missing support for .ksh extension in xgettext.
8351 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8352 if both request failed.
8353 (send_dg): In case of server errors clear resplen or *resplen2.
8356 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8357 when there are multiple maps.
8358 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8359 (_dl_fini): Remove test here.
8361 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8363 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8366 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8367 bit from old_res_options.
8368 (gaih_inet): Likewise.
8371 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8374 * resolv/res_init.c (res_setoptions): Make the code more compact.
8377 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8381 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8383 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8386 * malloc/malloc.h: Declare malloc hook variables as volatile.
8388 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8392 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8393 raise in the comment.
8394 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8395 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8396 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8398 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8401 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8402 grow the buffers more if it already has to be sufficient.
8403 (build_wcs_upper_buffer): Likewise.
8404 * posix/regexec.c (check_matching): Likewise.
8405 (clean_state_log_if_needed): Likewise.
8406 (extend_buffers): Don't enlarge buffers beyond size of the input
8408 Patches mostly by Emil Wojak <emil@wojak.eu>.
8409 * posix/bug-regex32.c: New file.
8410 * posix/Makefile (tests): Add bug-regex32.
8412 * locale/findlocale.c (_nl_find_locale): Return right away if
8413 _nl_explode_name failed.
8414 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8416 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8418 * debug/xtrace.sh: Unify messages.
8419 * malloc/memusage.sh: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8423 time symbol from vDSO. Substitute with vsyscall if not available.
8424 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8427 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8428 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8429 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8430 Add sendmmsg and internal_sendmmsg.
8431 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8432 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8433 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8435 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8436 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8437 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8439 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8442 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8443 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8449 * iconvdata/Makefile (tests): Add bug-iconv9.
8450 * iconvdata/bug-iconv9.c: New file.
8452 2011-05-27 Andreas Schwab <schwab@redhat.com>
8455 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8457 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8460 (struct user_regs_struct): Change intcs field back to cs.
8462 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8464 * po/ja.po: Update from translation team.
8466 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8469 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8470 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8472 2011-05-20 Andreas Schwab <schwab@redhat.com>
8474 * stdlib/longlong.h: Update from GCC.
8476 2011-05-23 Andreas Schwab <schwab@redhat.com>
8478 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8480 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8482 (__sysconf): Pass it down.
8484 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8487 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8489 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8490 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8491 add in in __libc_use_alloca calls. Adjust callers.
8492 (glob): Use malloc in some situations.
8494 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8495 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8498 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8500 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8501 and CLOCK_BOOTTIME_ALARM.
8504 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8507 * string/_strerror.c (__strerror_r): Print negative errors as signed
8511 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8512 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8513 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8515 * configure.in: Fix typo in redirection and correct removal of test
8519 * locale/setlocale.c (new_composite_name): Fix test to check for
8520 identical name of all categories.
8523 * libio/filedoalloc.c (local_isatty): New function.
8524 (_IO_file_doallocate): Use local_isatty.
8525 * stdio-common/perror.c (perror): In case a new stream is used
8526 forward the stream error.
8527 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8530 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8535 * include/alloca.h (extend_alloca_account): Define.
8538 * posix/regex.h: Fix comments with documentation of user-accessible
8539 fields after compilation and describe correct free'ing of pattern
8540 after re_compile_pattern.
8541 Patch by Reuben Thomas <rrt@sc3d.org>.
8543 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8545 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8546 and -mno-altivec to prevent the compiler from using Altivec and/or
8547 VSX instructions when the corresponding registers are not available.
8549 2011-05-19 Andreas Schwab <schwab@redhat.com>
8551 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8553 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8555 * libio/freopen.c (freopen): Use __dup2, not dup2.
8556 * libio/freopen64.c (freopen64): Likewise.
8558 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8561 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8562 * math/Makefile (tests): Add test-powl.
8563 (CFLAGS-test-powl.c): Define.
8564 * math/test-powl.c: New file.
8566 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8568 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8570 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8573 * iconvdata/gb18030.c: Update to GB18020-2005.
8575 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8577 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8578 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8579 Patch by Aharon Robbins <arnold@skeeve.com>.
8582 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8586 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8590 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8591 point to strings before performing equality test for error_one_per_line
8595 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8599 (struct user_fpregs_struct): Avoid __uint*_t types.
8602 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8603 symbol info. Use it instead of calling _dl_addr locally.
8604 (lock_and_info): New function.
8605 (tr_freehook): Call lock_and_info and pass symbol info as additional
8606 parameter to tr_where.
8607 (tr_mallochook): Likewise.
8608 (tr_reallochook): Likewise.
8609 (tr_memalignhook): Likewise.
8611 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8612 used and couldn't be at all thread-safe.
8614 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8616 * libio/freopen.c (freopen): Don't close old file descriptor
8617 before the new one is opened. Instead dup the new file descriptor
8618 to the old one after the new stream is created.
8619 * libio/freopen64.c (freopen64): Likewise.
8620 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8621 * libio/fileops.c (_IO_new_file_close_it): Handle new
8622 _IO_FLAGS2_NOCLOSE flag.
8623 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8624 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8625 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8626 _IO_FLAGS2_NOCLOSE flag.
8627 * include/unistd.h: Add hidden_proto for dup3.
8629 * io/dup3.c: Define hidden symbol.
8630 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8633 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8634 when an incomplete long option is used.
8635 * posix/tst-getopt_long1.c: New file.
8636 * posix/Makefile (tests): Add tst-getopt_long1.
8639 * scripts/config.guess: Update from autoconf-2.68.
8640 * scripts/config.sub: Likewise.
8643 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8645 (has_cpuclock): ...this. New function.
8646 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8647 macro here based on has_cpuclock code.
8650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8651 First byte (not low byte) is now always NUL.
8652 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8655 Use non-cancelable interfaces.
8658 * locale/iso-639.def: Add entry for Sorani.
8661 * include/stdlib.h: Move include protection to the right place.
8662 Define abort_msg_s. Declare __abort_msg with it.
8663 * stdlib/abort.c (__abort_msg): Adjust type.
8664 * assert/assert.c (__assert_fail_base): New function. Majority
8665 of code from __assert_fail. Allocate memory for __abort_msg with
8667 (__assert_fail): Now call __assert_fail_base.
8668 * assert/assert-perr.c: Remove bulk of implementation. Use
8670 * include/assert.hL Declare __assert_fail_base.
8671 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8673 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8675 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8679 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8680 until all modules are registered in the DTV.
8681 * elf/Makefile: Add rules to build and run tst-tls19.
8682 * elf/tst-tls19.c: New file.
8683 * elf/tst-tls19mod1.c: New file.
8684 * elf/tst-tls19mod2.c: New file.
8685 * elf/tst-tls19mod3.c: New file.
8686 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8689 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8693 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8694 two-byte sequence errors.
8695 * iconvdata/Makefile (tests): Add bug-iconv8.
8696 * iconvdata/bug-iconv8.c: New file.
8699 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8702 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8705 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8706 (dummy_getcfa): New function.
8707 (init): Get _Unwind_GetCFA address, use dummy if not found.
8708 (backtrace_helper): In recursion check, also check whether CFA changes.
8709 (__backtrace): Completely initialize arg.
8711 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8712 storing incomplete byte sequence in state object. Avoid testing for
8713 guaranteed too small input if we know there is enough data available.
8715 2011-05-11 Andreas Schwab <schwab@redhat.com>
8717 * Makeconfig (+link-pie): Indent.
8718 * Rules (binaries-pie): Define if $(have-fpie) and
8720 (binaries-shared): Also filter out $(binaries-pie).
8721 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8722 * nscd/Makefile (others-pie): Add nscd.
8723 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8724 ($(objpfx)nscd): Remove command override.
8725 * login/Makefile (others-pie): Add pt_chown.
8726 ($(objpfx)pt_chown): Remove command override.
8727 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8728 remove command overrides.
8730 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8732 * libio/tst_putwc.c: Fix error messages.
8735 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8736 currently writing and seek to current position when not.
8737 * libio/Makefile (tests): Add bug-fclose1.
8738 * libio/bug-fclose1.c: New file.
8740 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8743 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8744 don't set DF_1_NODELETE here.
8745 (do_lookup_x): When entering new entry test for copy relocation
8746 and if necessary set DF_1_NODELETE flag.
8747 * elf/tst-unique4.cc: New file.
8748 * elf/tst-unique4.h: New file.
8749 * elf/tst-unique4lib.cc: New file.
8750 * elf/Makefile: Add rules to build and run tst-unique4.
8751 Patch by Piotr Bury <pbury@goahead.com>.
8753 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8756 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8759 * misc/mntent_r.c (addmntent): Flush the stream after the output
8762 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8763 (is_trusted_path_normalize): Skip initial colon. Append slash
8764 to empty buffer. Duplicate is_trusted_path code but allow
8765 constructed patch to be prefix.
8766 (is_dst): Allow $ORIGIN followed by /.
8767 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8768 Correct testing of result of is_trusted_path_normalize
8769 (decompose_rpath): Fix warning.
8771 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8774 * grp/initgroups.c (internal_getgrouplist): When we found the service
8775 list through the initgroups entry in nsswitch.conf do not always
8776 continue on a successful lookup. Don't always use the
8777 __nss_group_database value if it is set.
8778 * nss/nsswitch.conf (initgroups): Change action for successful db
8779 lookup to continue for compatibility.
8781 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8784 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8786 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8788 * iconvdata/tst-tables.sh: Likewise.
8789 * iconvdata/cp770.c: New file.
8790 * iconvdata/cp771.c: New file.
8791 * iconvdata/cp772.c: New file.
8792 * iconvdata/cp773.c: New file.
8793 * iconvdata/cp774.c: New file.
8794 * iconvdata/testdata/CP770: New file.
8795 * iconvdata/testdata/CP770..UTF8: New file.
8796 * iconvdata/testdata/CP771: New file.
8797 * iconvdata/testdata/CP771..UTF8: New file.
8798 * iconvdata/testdata/CP772: New file.
8799 * iconvdata/testdata/CP772..UTF8: New file.
8800 * iconvdata/testdata/CP773: New file.
8801 * iconvdata/testdata/CP773..UTF8: New file.
8802 * iconvdata/testdata/CP774: New file.
8803 * iconvdata/testdata/CP774..UTF8: New file.
8805 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8807 * iconvdata/gen-8bit-gap.sh: Likewise.
8808 * iconvdata/gen-8bit.sh: Likewise.
8810 * locale/iso-639.def: Add ary entry.
8813 * locale/C-translit.h.in: Add U20A1 transliteration.
8816 * locale/iso-639.def: Add wae entry.
8817 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8820 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8824 * locale/C-translit.h.in: Add entry for U20B9.
8825 Patch by pravin.d.s@gmail.com.
8827 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8830 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8831 ENAMETOOLONG use generic getcwd.
8832 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8833 in rtld. Use *stat64.
8834 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8835 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8836 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8837 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8838 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8839 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8840 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8842 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8843 * dirent/rewinddir.c: Add libc_hidden_def.
8844 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8845 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8847 * include/dirent.h (__alloc_dir): Add flags parameter.
8848 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8849 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8851 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8852 from fdopendir if O_CLOEXEC is already set.
8854 2011-03-15 Alan Modra <amodra@gmail.com>
8856 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8857 l_tls_firstbyte_offset non-zero. Save padding offset in
8858 l_tls_firstbyte_offset for later use.
8859 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8860 freeing static tls block.
8862 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8864 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8865 where #ifdef was intended. The intent is to prevent ARG_MAX from
8866 being defined by the kernel headers.
8868 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8871 * resolv/resolv.h: Define RES_NOTLDQUERY.
8872 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8873 no-tld-query and set RES_NOTLDQUERY.
8874 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8875 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8876 modern BIND to search name as TLD unless forbidden.
8878 2011-05-07 Petr Baudis <pasky@suse.cz>
8879 Ulrich Drepper <drepper@gmail.com>
8882 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8883 (is_trusted_path): ...to here.
8884 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8885 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8886 using is_trusted_path_normalize() in setuid scripts.
8888 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8890 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8891 __BEGIN/__END_DECLS.
8893 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8895 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8896 NSS_STATUS_NOTFOUND if no record was found.
8898 2011-05-05 Andreas Schwab <schwab@redhat.com>
8900 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8901 (headers-not-in-tirpc): Remove rpc/netdb.h
8902 * resolv/netdb.h: Revert last change.
8904 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8906 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8907 circular dependency between libgcc.a and libc.a.
8909 2011-05-05 Andreas Schwab <schwab@redhat.com>
8911 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8912 * nis/Makefile: Don't install rpcsvc/*.
8913 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8914 instead of <rpc/types.h>.
8915 (MAXHOSTNAMELEN): Define.
8917 2011-05-03 Andreas Schwab <schwab@redhat.com>
8919 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8921 2011-04-28 Maciej Babinski <mbabinski@google.com>
8924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8925 gethostbyname4_r when IPv6 results are possible.
8927 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8930 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8931 _PC_PIPE_BUF handling.
8933 2011-04-30 Bruno Haible <bruno@clisp.org>
8936 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8937 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8939 * inet/getnameinfo.c (getnameinfo): Likewise.
8941 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8943 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8944 to groups setting in database lookup.
8945 * nss/nsswitch.conf: Add initgroups entry.
8947 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8950 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8952 Patch by Eric Blake <eblake@redhat.com>.
8954 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8956 * sunrpc/Makefile (need-export-routines): Add svc_run.
8957 (routines): Remove svc_run.
8958 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8959 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8960 * sunrpc/svc_run.c (svc_run): Likewise.
8961 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8963 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8966 problem in reallocation in last patch.
8968 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8970 * sunrpc/Makefile: Move inclusion of Rules.
8972 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8974 * nss/nss_files/files-initgroups.c: New file.
8975 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8976 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8977 _nss_files_initgroups_dyn.
8979 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8981 * elf/elf.h (R_ARM_IRELATIVE): Define.
8983 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8985 * po/ru.po: Update from translation team.
8987 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8989 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8992 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8995 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8996 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8997 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8999 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9001 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9009 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9012 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9014 * stdlib/bug-getcontext.c: New file.
9015 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9017 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9019 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9020 instructions into .machine "z9-109".
9021 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9022 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9024 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9026 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9027 between environment variables and auxiliary vector.
9029 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9031 * Makefile: Add rules to build linkobj/libc.so.
9032 * include/libc-symbols.h: Define libc_hidden_nolink.
9033 * include/rpc/auth.h: Mark functions which are to be hidden.
9034 * include/rpc/auth_des.h: Likewise.
9035 * include/rpc/auth_unix.h: Likewise.
9036 * include/rpc/clnt.h: Likewise.
9037 * include/rpc/des_crypt.h: Likewise.
9038 * include/rpc/key_prot.h: Likewise.
9039 * include/rpc/pmap_clnt.h: Likewise.
9040 * include/rpc/pmap_prot.h: Likewise.
9041 * include/rpc/pmap_rmt.h: Likewise.
9042 * include/rpc/rpc_msg.h: Likewise.
9043 * include/rpc/svc.h: Likewise.
9044 * include/rpc/svc_auth.h: Likewise.
9045 * include/rpc/xdr.h: Likewise.
9046 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9047 * nss/Makefile: Likewise.
9048 * sunrpc/Makefile: Don't install headers. Build library with normal
9049 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9050 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9051 for the compat linking library. Remove use of INTDEF/INTUSE.
9052 * sunrpc/auth_none.c: Likewise.
9053 * sunrpc/auth_unix.c: Likewise.
9054 * sunrpc/authdes_prot.c: Likewise.
9055 * sunrpc/authuxprot.c: Likewise.
9056 * sunrpc/clnt_gen.c: Likewise.
9057 * sunrpc/clnt_perr.c: Likewise.
9058 * sunrpc/clnt_raw.c: Likewise.
9059 * sunrpc/clnt_simp.c: Likewise.
9060 * sunrpc/clnt_tcp.c: Likewise.
9061 * sunrpc/clnt_udp.c: Likewise.
9062 * sunrpc/clnt_unix.c: Likewise.
9063 * sunrpc/des_crypt.c: Likewise.
9064 * sunrpc/des_soft.c: Likewise.
9065 * sunrpc/get_myaddr.c: Likewise.
9066 * sunrpc/key_call.c: Likewise.
9067 * sunrpc/key_prot.c: Likewise.
9068 * sunrpc/netname.c: Likewise.
9069 * sunrpc/pm_getmaps.c: Likewise.
9070 * sunrpc/pm_getport.c: Likewise.
9071 * sunrpc/pmap_clnt.c: Likewise.
9072 * sunrpc/pmap_prot.c: Likewise.
9073 * sunrpc/pmap_prot2.c: Likewise.
9074 * sunrpc/pmap_rmt.c: Likewise.
9075 * sunrpc/publickey.c: Likewise.
9076 * sunrpc/rpc_cmsg.c: Likewise.
9077 * sunrpc/rpc_common.c: Likewise.
9078 * sunrpc/rpc_dtable.c: Likewise.
9079 * sunrpc/rpc_prot.c: Likewise.
9080 * sunrpc/rpc_thread.c: Likewise.
9081 * sunrpc/rtime.c: Likewise.
9082 * sunrpc/svc.c: Likewise.
9083 * sunrpc/svc_auth.c: Likewise.
9084 * sunrpc/svc_authux.c: Likewise.
9085 * sunrpc/svc_raw.c: Likewise.
9086 * sunrpc/svc_run.c: Likewise.
9087 * sunrpc/svc_simple.c: Likewise.
9088 * sunrpc/svc_tcp.c: Likewise.
9089 * sunrpc/svc_udp.c: Likewise.
9090 * sunrpc/svc_unix.c: Likewise.
9091 * sunrpc/svcauth_des.c: Likewise.
9092 * sunrpc/xcrypt.c: Likewise.
9093 * sunrpc/xdr.c: Likewise.
9094 * sunrpc/xdr_array.c: Likewise.
9095 * sunrpc/xdr_float.c: Likewise.
9096 * sunrpc/xdr_intXX_t.c: Likewise.
9097 * sunrpc/xdr_mem.c: Likewise.
9098 * sunrpc/xdr_rec.c: Likewise.
9099 * sunrpc/xdr_ref.c: Likewise.
9100 * sunrpc/xdr_sizeof.c: Likewise.
9101 * sunrpc/xdr_stdio.c: Likewise.
9103 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9106 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9107 * sysdeps/ia64/dl-tls.h: Likewise.
9108 * sysdeps/powerpc/dl-tls.h: Likewise.
9109 * sysdeps/s390/dl-tls.h: Likewise.
9110 * sysdeps/sh/dl-tls.h: Likewise.
9111 * sysdeps/sparc/dl-tls.h: Likewise.
9112 * sysdeps/x86_64/dl-tls.h: Likewise.
9113 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9115 2011-03-14 Andreas Schwab <schwab@redhat.com>
9117 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9118 rpath element also skip the following colon.
9119 (expand_dynamic_string_token): Add is_path parameter and pass
9120 down to DL_DST_REQUIRED and _dl_dst_substitute.
9121 (decompose_rpath): Call expand_dynamic_string_token with
9122 non-zero is_path. Ignore empty rpaths.
9123 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9126 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9131 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9134 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9135 Patch by Filipe David Manana <fdmanana@apache.org>.
9137 2011-04-07 Andreas Schwab <schwab@redhat.com>
9139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9140 Maintain aligned stack.
9141 (CHECK_RSP): Remove unused macro.
9143 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9145 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9146 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9148 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9150 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9152 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9154 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9157 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9158 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9159 * sysdeps/x86_64/memmove.c: New file.
9160 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9161 (memcpy): Renamed to ...
9162 (__new_memcpy): This.
9163 (memcpy): Provide GLIBC_2_14 memcpy.
9164 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9165 (memcpy): Provide GLIBC_2_2_5 memcpy.
9167 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9170 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9172 2011-03-30 Andreas Schwab <schwab@redhat.com>
9174 * misc/syncfs.c: New file.
9175 * misc/Makefile (routines): Add syncfs.
9176 * posix/unistd.h: Declare syncfs.
9177 * sysdeps/unix/syscalls.list: Add syncfs.
9179 2011-04-01 Andreas Schwab <schwab@redhat.com>
9181 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9186 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9188 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9191 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9193 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9194 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9201 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9202 sync_file_range.c with -fexceptions.
9203 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9204 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9205 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9206 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9207 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9208 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9210 sync_file_range as cancellation point
9211 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9212 now a wrapper around __call_sync_file_range with cancellation handling.
9213 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9214 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9215 function name to __call_sync_file_range.
9216 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9217 Add call_sync_file_range.
9219 2011-04-01 Andreas Schwab <schwab@redhat.com>
9221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9224 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9226 * iconv/iconv.h: Fix typo in comment.
9227 * io/fcntl.h: Likewise.
9228 * libio/stdio.h: Likewise.
9229 * posix/spawn.h: Likewise.
9230 * posix/unistd.h: Likewise.
9231 * stdlib/stdlib.h: Likewise.
9232 * time/time.h: Likewise.
9233 * wcsmbs/wchar.h: Likewise.
9235 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9236 open_by_handle): Add.
9237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9238 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9239 Augment a few comments.
9240 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9241 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9242 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9245 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9248 * io/fcntl.h (AT_EMPTY_PATH): Define.
9250 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9252 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9253 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9254 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9256 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9257 * Versions.def: Add GLIBC_2.14.
9258 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9261 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9263 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9265 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9267 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9270 * string/test-strncmp.c (do_page_test): New function.
9272 (test_main): Call check2.
9273 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9275 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9279 Handle cache information in CPU leaf 4.
9280 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9282 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9285 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9286 character representation.
9287 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9289 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9291 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9292 END(__isnan) to END(__isnanf) to match function entry point/label
9293 EALIGN(__isnanf,...).
9295 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9297 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9299 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9302 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9303 copy from the symbol referenced in the relocation to initialize the
9305 Patch by Piotr Bury <pbury@goahead.com>.
9306 * elf/Makefile: Add rules to build and tst-unique3.
9307 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9308 * elf/tst-unique3.cc: New file.
9309 * elf/tst-unique3.h: New file.
9310 * elf/tst-unique3lib.cc: New file.
9311 * elf/tst-unique3lib2.cc: New file.
9313 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9315 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9317 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9318 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9321 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9323 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9324 to-be-loaded object along a path to loader is ld.so.
9326 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9327 Ulrich Drepper <drepper@gmail.com>
9329 * sysdeps/x86_64/memset.S: After aligning destination, code
9330 branches to different locations depending on the value of
9331 misalignment, when multiarch is enabled. Fix this.
9333 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9335 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9336 Set _x86_64_preferred_memory_instruction for AMD processsors.
9337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9338 Set bit_Prefer_SSE_for_memop for AMD processors.
9340 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9342 * libio/fmemopen.c (fmemopen): Optimize a bit.
9344 2011-03-03 Andreas Schwab <schwab@redhat.com>
9346 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9348 2011-03-03 Roland McGrath <roland@redhat.com>
9350 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9352 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9354 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9355 __bzero_ultra1 instead of __memset_ultra1.
9357 2011-02-23 Andreas Schwab <schwab@redhat.com>
9358 Ulrich Drepper <drepper@gmail.com>
9361 * include/link.h (struct link_map): Add l_orig_initfini.
9362 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9363 returning unsuccessfully.
9364 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9365 close of a file loaded at startup, restore the original l_initfini
9367 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9368 list, store the pointer.
9369 * elf/Makefile ($(objpfx)noload-mem): New rule.
9370 (noload-ENV): Define.
9371 (tests): Add $(objpfx)noload-mem.
9372 * elf/noload.c: Include <memcheck.h>.
9373 (main): Call mtrace. Close all opened handles.
9375 2011-02-17 Andreas Schwab <schwab@redhat.com>
9378 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9379 dependencies are missing.
9381 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9383 Fix __if_freereq crash: Unlike the generic version which uses free,
9385 * sysdeps/mach/hurd/ifreq.h: New file.
9387 2011-01-27 Petr Baudis <pasky@suse.cz>
9388 Ulrich Drepper <drepper@gmail.com>
9391 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9393 * stdio-common/bug23.c: New file.
9394 * stdio-common/Makefile (tests): Add bug23.
9396 2010-09-28 Andreas Schwab <schwab@redhat.com>
9397 Ulrich Drepper <drepper@gmail.com>
9400 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9401 before performing relro protection. At old place add assertion
9402 to make sure nothing changed.
9404 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9405 Glauber de Oliveira Costa <glommer@gmail.com>
9407 * elf/elf.h: Add new ARM TLS relocs.
9409 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9412 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9414 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9416 * sysdeps/wordsize-64/tst-writev.c: New file.
9418 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9420 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9421 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9422 insns in _dl_start to prevent a TOC reference before relocs are
9425 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9428 * Makeconfig: Remove RANLIB definition.
9429 * Makerules: Don't use RANLIB.
9430 * aclocal.m4: Remove ranlib test.
9431 * configure.in: No need to check for ranlib.
9432 * elf/rtld-Rules: Don't use RANLIB.
9434 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9436 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9438 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9439 inclusion protection macro.
9441 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9442 SIGRTMIN and SIGRTMAX and print information in that case only when
9443 SIGRTMIN is defined.
9445 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9447 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9448 arginfo fn returning -1.
9450 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9451 and thousands string is zero terminated.
9453 2011-02-03 Andreas Schwab <schwab@redhat.com>
9455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9456 sysdeps/unix/sysv/linux/bits/socket.h.
9458 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9460 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9461 (__CPU_COUNT): Remove old macros.
9462 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9463 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9464 (__CPU_ALLOC, __CPU_FREE): Add macros.
9465 (__sched_cpualloc, __sched_cpufree): Add declarations.
9467 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9469 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9470 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9471 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9472 (readdhstai): Return value of addhstaiX call.
9473 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9474 (addgrbyX): Return value returned by cache_addgr.
9475 (readdgrbyname): Return value returned by addgrbyX.
9476 (readdgrbygid): Likewise.
9477 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9478 (addpwbyX): Return value returned by cache_addpw.
9479 (readdpwbyname): Return value returned by addhstbyX.
9480 (readdpwbyuid): Likewise.
9481 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9482 (addservbyX): Return value returned by cache_addserv.
9483 (readdservbyname): Return value returned by addservbyX:
9484 (readdservbyport): Likewise.
9485 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9486 (addhstbyX): Return value returned by cache_addhst.
9487 (readdhstbyname): Return value returned by addhstbyX.
9488 (readdhstbyaddr): Likewise.
9489 (readdhstbynamev6): Likewise.
9490 (readdhstbyaddrv6): Likewise.
9491 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9492 (readdinitgroups): Return value returned by addinitgroupsX.
9493 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9494 (prune_cache): Keep track of timeout value of re-added entries.
9495 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9496 * nscd/nscd.h: Adjust prototypes of readd* functions.
9498 2011-02-04 Roland McGrath <roland@redhat.com>
9500 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9501 (nis_stats): Likewise.
9502 * nis/nis_modify.c (nis_modify): Likewise.
9503 * nis/nis_remove.c (nis_remove): Likewise.
9504 * nis/nis_add.c (nis_add): Likewise.
9506 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9508 * posix/fnmatch_loop.c: Add some consts.
9510 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9512 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9515 * config.make.in (config-cflags-novzeroupper): Define.
9516 * configure.in: Substitute libc_cv_cc_novzeroupper.
9517 * elf/Makefile (AVX-CFLAGS): Define.
9518 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9519 (CFLAGS-tst-auditmod4a.c): Likewise.
9520 (CFLAGS-tst-auditmod4b.c): Likewise.
9521 (CFLAGS-tst-auditmod6b.c): Likewise.
9522 (CFLAGS-tst-auditmod6c.c): Likewise.
9523 (CFLAGS-tst-auditmod7b.c): Likewise.
9524 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9526 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9528 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9529 function to the callback.
9530 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9532 2011-02-02 Andreas Schwab <schwab@redhat.com>
9534 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9537 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9540 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9542 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9544 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9547 * elf/Makefile: Add rules to build and run new test.
9548 * elf/tst-initorder.c: New file.
9549 * elf/tst-initorder.exp: New file.
9550 * elf/tst-initordera1.c: New file.
9551 * elf/tst-initordera2.c: New file.
9552 * elf/tst-initordera3.c: New file.
9553 * elf/tst-initordera4.c: New file.
9554 * elf/tst-initorderb1.c: New file.
9555 * elf/tst-initorderb2.c: New file.
9556 * elf/tst-order-a1.c: New file.
9557 * elf/tst-order-a2.c: New file.
9558 * elf/tst-order-a3.c: New file.
9559 * elf/tst-order-a4.c: New file.
9560 * elf/tst-order-b1.c: New file.
9561 * elf/tst-order-b2.c: New file.
9562 * elf/tst-order-main.c: New file.
9563 New test case by George Gensure <werkt0@gmail.com>.
9565 2010-10-01 Andreas Schwab <schwab@redhat.com>
9567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9568 decoding ACE if AI_CANONIDN.
9570 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9572 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9574 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9576 * version.h (RELEASE): Bump for 2.13 release.
9577 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9579 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9583 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9584 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9590 * posix/getconf.c: Update copyright year.
9591 * catgets/gencat.c: Likewise.
9592 * csu/version.c: Likewise.
9593 * debug/catchsegv.sh: Likewise.
9594 * debug/xtrace.sh: Likewise.
9595 * elf/ldconfig.c: Likewise.
9596 * elf/ldd.bash.in: Likewise.
9597 * elf/sprof.c (print_version): Likewise.
9598 * iconv/iconv_prog.c: Likewise.
9599 * iconv/iconvconfig.c: Likewise.
9600 * locale/programs/locale.c: Likewise.
9601 * locale/programs/localedef.c: Likewise.
9602 * malloc/memusage.sh: Likewise.
9603 * malloc/mtrace.pl: Likewise.
9604 * nscd/nscd.c (print_version): Likewise.
9605 * nss/getent.c: Likewise.
9607 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9608 PF_CAIF, and PF_ALG.
9609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9611 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9613 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9614 (modules-names): Use them.
9615 (ifunc-test-modules, ifunc-pie-tests): Define.
9616 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9617 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9618 (test-extras): Likewise.
9619 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9620 $(compile-command.c).
9621 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9622 (all-built-dso): Define.
9623 (check-textrel.out, check-execstack.out): Depend on it.
9625 * configure.in: Don't override --enable-multi-arch.
9627 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9630 * nscd/hstcache.c (tryagain): Define.
9631 (cache_addhst): Return tryagain not notfound for temporary errors.
9632 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9635 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9639 to make the syscall.
9640 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9643 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9644 and fall back to matching as normal character if the string ends before
9645 the matching ']' is found. This is what POSIX requires.
9646 * posix/testfnm.c: Adjust test result.
9647 * posix/globtest.sh: Adjust test result. Add new test.
9648 * posix/tst-fnmatch.input: Likewise.
9649 * posix/tst-fnmatch2.c: Add new test.
9651 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9653 * elf/Makefile (check-execstack): Revert last change. Depend on
9655 (check-execstack.h): New target.
9656 (generated): Add check-execstack.h.
9657 * elf/check-execstack.c: Include "check-execstack.h".
9658 (main): Revert last change.
9659 (handle_file): Return zero if GNU_STACK is absent and
9660 DEFAULT_STACK_PERMS doesn't include PF_X.
9662 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9664 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9665 in child fails because the descriptor is already closed.
9666 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9667 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9668 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9671 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9675 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9676 temporary buffer used to handle multi lookups locally.
9677 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9679 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9681 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9684 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9686 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9689 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9692 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9693 characters. When rounding increased number of integer digits recompute
9695 * stdio-common/tst-grouping.c: New file.
9696 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9698 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9700 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9701 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9703 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9705 * bits/select.h: Likewise.
9707 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9709 * po/ja.po: Update from translation team.
9711 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9714 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9715 implementation just like for lxstat, fxstatat, et al.
9717 2010-12-27 Jim Meyering <meyering@redhat.com>
9720 * posix/regexec.c (build_trtable): Return failure indication upon
9721 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9723 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9726 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9727 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9728 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9729 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9732 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9735 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9736 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9738 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9740 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9741 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9742 script has SORT_BY_INIT_PRIORITY.
9743 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9744 NO_CTORS_DTORS_SECTIONS is defined.
9745 * elf/soinit.c: Likewise.
9746 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9747 NO_CTORS_DTORS_SECTIONS is defined.
9748 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9749 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9750 * sysdeps/sh/init-first.c: Likewise.
9751 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9753 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9755 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9756 always use the slow path.
9758 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9760 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9761 similar rule which adds the sysdep directories to the header search in
9762 order to pick up the correct platform stackinfo.h.
9763 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9764 perform test if it is, otherwise return successfully without testing.
9765 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9766 DEFAULT_STACK_PERMS define in stackinfo.h.
9767 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9768 defined in stackinfo.h.
9769 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9770 DEFAULT_STACK_PERMS defined in stackinfo.h.
9771 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9772 * sysdeps/ia64/stackinfo.h: Likewise.
9773 * sysdeps/s390/stackinfo.h: Likewise.
9774 * sysdeps/sh/stackinfo.h: Likewise.
9775 * sysdeps/sparc/stackinfo.h: Likewise.
9776 * sysdeps/x86_64/stackinfo.h: Likewise.
9777 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9778 PF_X for powerpc64. Retain PF_X for powerpc32.
9780 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9782 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9784 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9785 GETDENTS_64BIT_ALIGNED.
9787 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9789 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9791 2010-12-10 Andreas Schwab <schwab@redhat.com>
9793 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9796 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9797 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9799 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9800 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9802 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9805 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9808 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9810 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9812 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9814 * po/it.po: Update from translation team.
9816 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9821 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9823 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9825 2010-11-24 Andreas Schwab <schwab@redhat.com>
9827 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9829 (gaih_getanswer_slice): Likewise.
9831 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9835 2010-05-31 Petr Baudis <pasky@suse.cz>
9838 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9839 silently even in the chroot mode.
9841 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9843 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9844 last patch a bit. Pretty printing
9846 2010-05-31 Petr Baudis <pasky@suse.cz>
9849 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9850 initialization of skip_initgroups_dyn.
9852 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9854 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9855 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9857 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9859 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9861 2010-11-11 Andreas Schwab <schwab@redhat.com>
9863 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9864 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9865 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9866 ($(objpfx)tst-fnmatch-mem): New rule.
9867 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9868 * posix/tst-fnmatch.c (main): Call mtrace.
9870 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9873 Support Intel processor model 6 and model 0x2c.
9875 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9877 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9880 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9883 * string/test-strncasecmp.c (check_result): New function.
9884 (do_one_test): Use it.
9885 (check1): New function.
9886 (test_main): Use it.
9887 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9888 Support strcasecmp and strncasecmp.
9890 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9893 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9896 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9898 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9902 * sysdeps/x86_64/multiarch/bzero.S: New file.
9903 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9904 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9905 * sysdeps/x86_64/multiarch/memset.S: New file.
9906 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9908 Set bit_Prefer_SSE_for_memop for Intel processors.
9909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9911 (index_Prefer_SSE_for_memop): Define.
9912 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9914 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9916 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9917 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9919 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9922 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9923 (__x86_64_raw_data_cache_size_half): Likewise.
9924 (__x86_64_raw_shared_cache_size): Likewise.
9925 (__x86_64_raw_shared_cache_size_half): Likewise.
9927 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9928 (__x86_64_raw_data_cache_size_half): Likewise.
9929 (__x86_64_raw_shared_cache_size): Likewise.
9930 (__x86_64_raw_shared_cache_size_half): Likewise.
9931 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9932 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9933 and __x86_64_raw_shared_cache_size_half. Round
9934 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9935 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9936 to multiple of 256 bytes.
9938 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9941 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9942 of inacessible symlinks. Verify result of symlink before returning it.
9943 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9944 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9946 2010-10-28 Erich Ritz <erichritz@gmail.com>
9948 * math/math.h (isinf): Fix typo in comment.
9950 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9952 * po/da.po: Update from translation team.
9954 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9956 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9957 is added to the list.
9959 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9960 Ulrich Drepper <drepper@gmail.com>
9962 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9963 the global list here. Move code to...
9964 (_dl_add_to_namespace_list): ...here. New function.
9965 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9966 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9967 * elf/dl-load.c (lose): Don't remove the element from the list.
9968 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9969 (_dl_map_object): Likewise.
9971 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9974 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9975 into all bytes of SSE register.
9976 Patch by Richard Li <richardpku@gmail.com>.
9978 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9981 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9984 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9986 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9987 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9988 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9989 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9994 2010-10-22 Andreas Schwab <schwab@redhat.com>
9996 * include/dlfcn.h (__RTLD_SECURE): Define.
9997 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9998 mode & __RTLD_SECURE instead.
9999 (open_path): Rename preloaded parameter to secure.
10000 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10001 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10002 * elf/dl-deps.c (openaux): Likewise.
10003 * elf/rtld.c (struct map_args): Remove is_preloaded.
10004 (map_doit): Don't use it.
10005 (dl_main): Likewise.
10006 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10007 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10009 2010-09-09 Andreas Schwab <schwab@redhat.com>
10011 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10012 (sysd-rules-targets): Remove duplicates.
10013 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10014 rtld-%.$o dependency.
10016 2010-10-18 Andreas Schwab <schwab@redhat.com>
10018 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10019 _dl_map_object do it.
10021 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10023 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10024 fast fma builtins, define the macros in the C99 standard.
10025 (FP_FAST_FMAF): Likewise.
10026 (FP_FAST_FMAL): Likewise.
10027 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10029 * bits/mathdef.h: Update copyright year.
10030 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10032 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10034 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10035 builtins, define the macros in the C99 standard.
10036 (FP_FAST_FMAF): Likewise.
10037 (FP_FAST_FMAL): Likewise.
10038 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10040 (FP_FAST_FMAF): Likewise.
10042 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10045 * math/libm-test.inc (fma_test): Some new testcases.
10046 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10047 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10048 y and infinite z. Do multiplication by C already in long double.
10049 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10051 y and infinite z. Do bitwise or of inexact bit into u.d.
10052 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10053 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10054 * sysdeps/i386/fpu/s_fma.S: Removed.
10055 * sysdeps/i386/fpu/s_fmal.S: Removed.
10057 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10060 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10062 computation is not scheduled after fetestexcept. Fix value
10063 of minimum denormal long double.
10065 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10068 * math/libm-test.inc (fma_test): Add some more tests.
10069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10072 2010-10-15 Andreas Schwab <schwab@redhat.com>
10074 * scripts/data/localplt-s390-linux-gnu.data: New file.
10075 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10077 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10080 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10081 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10083 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10085 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10087 if one of x and y is very large and the other is subnormal.
10088 * sysdeps/s390/fpu/s_fmaf.c: New file.
10089 * sysdeps/s390/fpu/s_fma.c: New file.
10090 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10091 * sysdeps/powerpc/fpu/s_fma.S: New file.
10092 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10093 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10094 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10096 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10099 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10101 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10102 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10103 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10104 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10105 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10106 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10107 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10109 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10112 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10113 * posix/bug-regex31.input: Add test case.
10115 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10117 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10118 * posix/bug-regex31.input: New file.
10121 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10122 (parse_sub_exp): Fix last change, use postorder.
10124 * posix/bug-regex31.c: New file.
10125 * posix/Makefile: Add rules to build and run bug-regex31.
10127 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10130 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10133 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10134 to have entries in sys_siglist.
10137 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10140 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10143 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10144 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10145 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10146 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10147 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10148 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10149 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10150 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10151 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10152 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10153 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10154 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10155 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10156 * math/ftestexcept.c (fetestexcept): Likewise.
10157 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10158 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10159 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10160 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10161 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10162 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10163 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10165 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10168 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10171 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10173 * string/bug-strstr1.c: New file.
10174 * string/Makefile: Add rules to build and run bug-strstr1.
10176 2010-10-05 Eric Blake <eblake@redhat.com>
10179 * string/str-two-way.h (two_way_long_needle): Always clear memory
10180 when skipping input due to the shift table.
10182 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10185 * malloc/mcheck.c: Handle large requests.
10188 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10189 for strncmp and strncasecmp.
10190 * string/stratcliff.c: Add tests for strcmp and strncmp.
10191 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10193 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10195 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10198 2010-09-30 Andreas Jaeger <aj@suse.de>
10200 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10201 (CGROUP_SUPER_MAGIC): Define.
10202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10203 Handle btrfs and cgroup file systems.
10204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10207 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10209 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10210 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10212 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10215 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10216 trying to locate the ELF header.
10218 2010-09-27 Andreas Schwab <schwab@redhat.com>
10221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10222 Mask out sign-bit copies when constructing f_fsid.
10224 2010-09-24 Petr Baudis <pasky@suse.cz>
10226 * debug/stack_chk_fail_local.c: Add missing licence exception.
10227 * debug/warning-nop.c: Likewise.
10229 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10232 implementing getdents64 using getdents syscall, set d_type if
10233 __ASSUME_GETDENTS32_D_TYPE.
10235 2010-09-16 Andreas Schwab <schwab@redhat.com>
10237 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10238 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10240 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10243 * posix/unistd.h: Undo change of feature selection for ftruncate from
10246 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10248 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10251 2010-09-20 Andreas Schwab <schwab@redhat.com>
10253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10257 2010-09-14 Andreas Schwab <schwab@redhat.com>
10259 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10260 variables after CHECK_SP call.
10261 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10263 2010-09-13 Andreas Schwab <schwab@redhat.com>
10264 Ulrich Drepper <drepper@redhat.com>
10266 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10267 re-relocationg ld.so.
10268 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10269 _dl_init_paths call.
10270 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10273 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10275 * resolv/res_init.c (__res_vinit): Count the default server we added.
10277 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10278 Ulrich Drepper <drepper@redhat.com>
10281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10282 (____longjmp_chk): Use %ebx for saving value across system call.
10285 2010-09-06 Andreas Schwab <schwab@redhat.com>
10287 * manual/Makefile: Don't mix pattern rules with normal rules.
10289 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10291 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10293 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10294 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10295 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10296 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10300 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10303 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10304 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10306 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10308 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10309 * sysdeps/x86_64/addmul_1.S: Likewise.
10310 * sysdeps/x86_64/lshift.S: Likewise.
10311 * sysdeps/x86_64/mul_1.S: Likewise.
10312 * sysdeps/x86_64/rshift.S: Likewise.
10313 * sysdeps/x86_64/sub_n.S: Likewise.
10314 * sysdeps/x86_64/submul_1.S: Likewise.
10316 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10318 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10319 Define __sched_param instead of SCHED_* and sched_param when
10320 <bits/sched.h> is included with __need_schedparam defined.
10321 * bits/sched.h [__need_schedparam]
10322 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10323 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10324 (__defined_schedparam): Define to 1.
10325 (__sched_param): New structure, identical to sched_param.
10326 (__need_schedparam): Undefine.
10328 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10331 (epoll_create1): Declare.
10333 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10335 2010-08-31 Andreas Schwab <schwab@redhat.com>
10338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10339 shifting retval into place.
10341 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10343 * nis/rpcsvc/nis.h: Update copyright notice.
10344 * nis/rpcsvc/nis.x: Likewise.
10345 * nis/rpcsvc/nis_callback.h: Likewise.
10346 * nis/rpcsvc/nis_callback.x: Likewise.
10347 * nis/rpcsvc/nis_object.x: Likewise.
10348 * nis/rpcsvc/nis_tags.h: Likewise.
10349 * nis/rpcsvc/yp.h: Likewise.
10350 * nis/rpcsvc/yp.x: Likewise.
10351 * nis/rpcsvc/ypupd.h: Likewise.
10352 * nis/yp_xdr.c: Likewise.
10353 * nis/ypupdate_xdr.c: Likewise.
10355 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10356 mainly the body of pmap_getport. Add parameters to specify timeouts.
10357 (pmap_getport): Use __libc_rpc_getport.
10358 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10359 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10360 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10362 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10367 2010-08-27 Roland McGrath <roland@redhat.com>
10369 * sysdeps/i386/i686/multiarch/Makefile
10370 (CFLAGS-varshift.c): New variable.
10372 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10374 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10375 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10379 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10381 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10383 * sysdeps/x86_64/strlen.S: Unroll the loop.
10384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10385 strlen-sse2 strlen-sse2-bsf.
10386 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10387 __strlen_no_bsf if bit_Slow_BSF is set.
10388 (__strlen_sse42): Removed.
10389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10390 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10392 2010-08-25 Roland McGrath <roland@redhat.com>
10394 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10395 * sysdeps/x86_64/multiarch/varshift.c: New file.
10396 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10397 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10398 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10399 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10401 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10404 strlen-sse2 strlen-sse2-bsf.
10405 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10406 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10407 (__strlen_sse2): Removed.
10408 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10409 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10411 bit_Slow_BSF for Atom.
10412 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10413 (index_Slow_BSF): Define.
10414 (HAS_SLOW_BSF): Define.
10416 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10419 * resolv/res_init.c (__res_vinit): When no server address at all
10420 is given default to loopback.
10422 2010-08-24 Roland McGrath <roland@redhat.com>
10424 * configure.in: Remove config-name.h generation.
10425 * configure: Regenerated.
10426 * config-name.in: File removed.
10427 * scripts/config-uname.sh: New file.
10428 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10429 ($(objdir)config-name.h): New target.
10431 * sunrpc/rpc_parse.h: Avoid nested comment.
10433 2010-08-24 Richard Henderson <rth@redhat.com>
10434 Ulrich Drepper <drepper@redhat.com>
10435 H.J. Lu <hongjiu.lu@intel.com>
10437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10439 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10440 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10441 _mm_alignr_epi8 with _mm_loadu_si128.
10442 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10443 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10444 (__m128i_shift_right): Removed.
10445 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10446 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10447 * sysdeps/x86_64/multiarch/varshift.h: New file.
10448 * sysdeps/x86_64/multiarch/varshift.S: New file.
10450 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10452 * configure.in: Move assembler checks to before sysdep dir checking.
10454 2010-08-20 Petr Baudis <pasky@suse.cz>
10456 * LICENSES: Sync the sunrpc license.
10458 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10460 * sunrpc/auth_des.c: Update copyright notice once again.
10461 * sunrpc/auth_none.c: Likewise.
10462 * sunrpc/auth_unix.c: Likewise.
10463 * sunrpc/authdes_prot.c: Likewise.
10464 * sunrpc/authuxprot.c: Likewise.
10465 * sunrpc/bindrsvprt.c: Likewise.
10466 * sunrpc/clnt_gen.c: Likewise.
10467 * sunrpc/clnt_perr.c: Likewise.
10468 * sunrpc/clnt_raw.c: Likewise.
10469 * sunrpc/clnt_simp.c: Likewise.
10470 * sunrpc/clnt_tcp.c: Likewise.
10471 * sunrpc/clnt_udp.c: Likewise.
10472 * sunrpc/clnt_unix.c: Likewise.
10473 * sunrpc/des_crypt.c: Likewise.
10474 * sunrpc/des_soft.c: Likewise.
10475 * sunrpc/get_myaddr.c: Likewise.
10476 * sunrpc/getrpcport.c: Likewise.
10477 * sunrpc/key_call.c: Likewise.
10478 * sunrpc/key_prot.c: Likewise.
10479 * sunrpc/openchild.c: Likewise.
10480 * sunrpc/pm_getmaps.c: Likewise.
10481 * sunrpc/pm_getport.c: Likewise.
10482 * sunrpc/pmap_clnt.c: Likewise.
10483 * sunrpc/pmap_prot.c: Likewise.
10484 * sunrpc/pmap_prot2.c: Likewise.
10485 * sunrpc/pmap_rmt.c: Likewise.
10486 * sunrpc/rpc/auth.h: Likewise.
10487 * sunrpc/rpc/auth_unix.h: Likewise.
10488 * sunrpc/rpc/clnt.h: Likewise.
10489 * sunrpc/rpc/des_crypt.h: Likewise.
10490 * sunrpc/rpc/key_prot.h: Likewise.
10491 * sunrpc/rpc/netdb.h: Likewise.
10492 * sunrpc/rpc/pmap_clnt.h: Likewise.
10493 * sunrpc/rpc/pmap_prot.h: Likewise.
10494 * sunrpc/rpc/pmap_rmt.h: Likewise.
10495 * sunrpc/rpc/rpc.h: Likewise.
10496 * sunrpc/rpc/rpc_des.h: Likewise.
10497 * sunrpc/rpc/rpc_msg.h: Likewise.
10498 * sunrpc/rpc/svc.h: Likewise.
10499 * sunrpc/rpc/svc_auth.h: Likewise.
10500 * sunrpc/rpc/types.h: Likewise.
10501 * sunrpc/rpc/xdr.h: Likewise.
10502 * sunrpc/rpc_clntout.c: Likewise.
10503 * sunrpc/rpc_cmsg.c: Likewise.
10504 * sunrpc/rpc_common.c: Likewise.
10505 * sunrpc/rpc_cout.c: Likewise.
10506 * sunrpc/rpc_dtable.c: Likewise.
10507 * sunrpc/rpc_hout.c: Likewise.
10508 * sunrpc/rpc_main.c: Likewise.
10509 * sunrpc/rpc_parse.c: Likewise.
10510 * sunrpc/rpc_parse.h: Likewise.
10511 * sunrpc/rpc_prot.c: Likewise.
10512 * sunrpc/rpc_sample.c: Likewise.
10513 * sunrpc/rpc_scan.c: Likewise.
10514 * sunrpc/rpc_scan.h: Likewise.
10515 * sunrpc/rpc_svcout.c: Likewise.
10516 * sunrpc/rpc_tblout.c: Likewise.
10517 * sunrpc/rpc_util.c: Likewise.
10518 * sunrpc/rpc_util.h: Likewise.
10519 * sunrpc/rpcinfo.c: Likewise.
10520 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10521 * sunrpc/rpcsvc/key_prot.x: Likewise.
10522 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10523 * sunrpc/rpcsvc/mount.x: Likewise.
10524 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10525 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10526 * sunrpc/rpcsvc/rex.x: Likewise.
10527 * sunrpc/rpcsvc/rstat.x: Likewise.
10528 * sunrpc/rpcsvc/rusers.x: Likewise.
10529 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10530 * sunrpc/rpcsvc/spray.x: Likewise.
10531 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10532 * sunrpc/rtime.c: Likewise.
10533 * sunrpc/svc.c: Likewise.
10534 * sunrpc/svc_auth.c: Likewise.
10535 * sunrpc/svc_authux.c: Likewise.
10536 * sunrpc/svc_raw.c: Likewise.
10537 * sunrpc/svc_run.c: Likewise.
10538 * sunrpc/svc_simple.c: Likewise.
10539 * sunrpc/svc_tcp.c: Likewise.
10540 * sunrpc/svc_udp.c: Likewise.
10541 * sunrpc/svc_unix.c: Likewise.
10542 * sunrpc/svcauth_des.c: Likewise.
10543 * sunrpc/xcrypt.c: Likewise.
10544 * sunrpc/xdr.c: Likewise.
10545 * sunrpc/xdr_array.c: Likewise.
10546 * sunrpc/xdr_float.c: Likewise.
10547 * sunrpc/xdr_mem.c: Likewise.
10548 * sunrpc/xdr_rec.c: Likewise.
10549 * sunrpc/xdr_ref.c: Likewise.
10550 * sunrpc/xdr_sizeof.c: Likewise.
10551 * sunrpc/xdr_stdio.c: Likewise.
10553 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10556 2010-08-19 Andreas Schwab <schwab@redhat.com>
10558 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10560 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10562 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10563 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10564 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10565 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10566 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10567 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10568 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10569 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10570 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10571 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10572 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10573 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10574 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10575 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10577 2010-07-26 Anton Blanchard <anton@samba.org>
10579 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10580 * malloc/arena.c (heap_trim): Likewise.
10582 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10584 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10587 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10589 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10591 * sysdeps/i386/elf/Makefile: New file.
10593 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10595 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10596 from fanotify_init.
10597 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10598 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10600 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10602 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10604 * sysdeps/multiarch/strcmp.S: Likewise.
10606 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10608 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10609 strncase_l-nonascii.
10610 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10611 Add strncase_l-ssse3.
10612 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10613 * sysdeps/x86_64/strcmp.S: Likewise.
10614 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10615 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10616 * sysdeps/x86_64/strncase.S: New file.
10617 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10618 * sysdeps/x86_64/strncase_l.S: New file.
10619 * string/Makefile (strop-tests): Add strncasecmp.
10620 * string/test-strncasecmp.c: New file.
10622 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10625 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10626 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10628 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10630 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10632 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10634 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10635 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10638 2010-05-01 Alan Modra <amodra@gmail.com>
10640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10641 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10642 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10643 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10644 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10645 tidying. Don't tail-call __sigjmp_save for static lib.
10646 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10648 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10649 (CALL_MCOUNT): Add eh info, and nop after bl.
10650 (TAIL_CALL_SYSCALL_ERROR): New macro.
10651 (PSEUDO_RET): Use it.
10652 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10653 Correct save location of integer regs and cr.
10654 (_dl_profile_resolve): Correct cr save location. Delete nops
10655 after bl when SHARED. Reduce cfi size a little by better
10656 placement of cfi directives.
10657 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10658 make a stack frame. Instead use parm save area as a temp.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10660 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10662 Don't make a stack frame for parent, use parm save area.
10663 Increase child stack frame to 112 bytes. Don't save unused reg,
10664 and adjust reg usage. Set up cfi on error recovery and
10665 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10667 (__makecontext): Add dummy nop after jump to exit.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10669 Use correct parm save area and cr save, reduce stack frame.
10670 Correct cfi for possible PSEUDO_RET frame setup.
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10672 Branch to local label emitted by PSEUDO_RET rather than
10675 2010-08-12 Andreas Schwab <schwab@redhat.com>
10678 * locale/programs/locale.c (print_assignment): New function.
10679 (show_locale_vars): Use it.
10681 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10683 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10685 (struct statfs64): Likewise.
10686 (_STATFS_F_FLAGS): Define.
10687 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10689 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10690 (ST_VALID): Define locally.
10691 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10692 __statvfs_getflags, use the provided value.
10693 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10694 __ASSUME_STATFS_F_FLAGS.
10696 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10698 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10699 Add sys/fanotify.h.
10700 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10701 fanotify_mask for GLIBC_2.13.
10702 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10703 fanotify_init and fanotify_mark.
10704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10705 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10707 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10709 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10710 prlimit64 for GLIBC_2.13.
10711 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10713 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10716 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10717 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10718 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10721 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10724 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10725 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10727 * nss/Makefile: Add rules to build and run tst-nss-test1.
10728 * shlib-versions: Add entry for libnss_test1.
10729 * nss/nss_test1.c: New file.
10730 * nss/tst-nss-test1.c: New file.
10732 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10733 (__nss_configure_lookup): Set appropriate entry in
10734 __nss_configure_lookup to true.
10735 * nss/nsswitch.h: Define enum with indeces of databases in
10736 databases and __nss_database_custom arrays. Declare
10737 __nss_database_custom.
10738 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10739 to avoid using nscd when custom rules are installed.
10740 * nss/getXXbyYY_r.c: Likewise.
10741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10743 * nss/nss_files/files-parse.c: Whitespace fixes.
10745 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10748 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10749 * posix/fnmatch_loop.c: Likewise.
10751 2010-07-17 Andi Kleen <ak@linux.intel.com>
10753 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10754 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10755 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10756 * Versions.def [GLIBC_2.13]: Add.
10758 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10760 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10761 Also fail if tpwd after pwuid call is NULL.
10763 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10765 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10766 when converting to ms.
10768 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10770 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10771 EOPNOTSUPP errors with ENOTTY.
10772 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10773 EOPNOTSUPP errors with ENOTTY.
10775 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10777 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10778 Add strcasecmp_l-ssse3.
10779 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10781 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10782 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10783 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10785 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10787 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10789 * string/Makefile (strop-tests): Add strcasecmp.
10790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10791 strcasecmp_l-nonascii.
10792 (gen-as-const-headers): Add locale-defines.sym.
10793 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10794 * sysdeps/x86_64/strcasecmp.S: New file.
10795 * sysdeps/x86_64/strcasecmp_l.S: New file.
10796 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10797 * sysdeps/x86_64/locale-defines.sym: New file.
10798 * string/test-strcasecmp.c: New file.
10800 * string/test-strcasestr.c: Test both ends of the range of characters.
10801 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10803 2010-07-29 Roland McGrath <roland@redhat.com>
10806 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10808 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10810 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10813 2010-07-27 Andreas Schwab <schwab@redhat.com>
10815 * manual/memory.texi (Malloc Tunable Parameters): Document
10818 2010-07-26 Roland McGrath <roland@redhat.com>
10821 * configure.in (-fgnu89-inline check): Set and substitute
10822 gnu89_inline, not libc_cv_gnu89_inline.
10823 * configure: Regenerated.
10824 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10826 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10828 * string/test-strnlen.c: New file.
10829 * string/Makefile (strop-tests): Add strnlen.
10830 * string/tester.c (test_strnlen): Add a few more test cases.
10831 * string/tst-strlen.c: Better error reporting.
10833 * sysdeps/x86_64/strnlen.S: New file.
10835 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10837 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10838 lower-latency instructions.
10840 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10842 * string/test-strcasestr.c: New file.
10843 * string/test-strstr.c: New file.
10844 * string/Makefile (strop-tests): Add strstr and strcasestr.
10845 * string/str-two-way.h: Don't undefine MAX.
10846 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10848 2010-07-21 Andreas Schwab <schwab@redhat.com>
10850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10851 strcasestr-nonascii.
10852 (CFLAGS-strcasestr-nonascii.c): Define.
10853 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10854 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10855 Remove unused attribute.
10857 2010-07-20 Roland McGrath <roland@redhat.com>
10859 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10860 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10861 ld.so.cache was broken. With it, there is no way to disable dsocaps
10862 like LD_HWCAP_MASK can disable hwcaps.
10864 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10866 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10868 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10870 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10871 call in strcasestr.
10872 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10873 __strcasestr_sse42_nonascii.
10874 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10875 strcasestr-nonascii.c.
10876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10878 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10881 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10883 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10885 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10890 2010-07-06 Andreas Schwab <schwab@redhat.com>
10893 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10896 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10899 _PC_PIPE_BUF using F_GETPIPE_SZ.
10901 2010-07-05 Roland McGrath <roland@redhat.com>
10903 * manual/arith.texi (Rounding Functions): Fix rint description
10904 implicit in round description.
10906 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10908 * elf/Makefile: Fix linking for a few tests to make recent linker
10911 2010-06-30 Andreas Schwab <schwab@redhat.com>
10913 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10914 $(common-objpfx)libc_nonshared.a.
10916 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10918 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10919 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10920 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10921 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10922 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10923 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10924 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10925 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10940 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10941 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10942 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10943 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10944 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10945 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10946 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10947 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10948 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10949 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10950 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10951 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10967 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10969 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10970 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10971 * string/memmove.c (memmove): Renamed to ...
10972 (MEMMOVE): ...this. Default to memmove.
10973 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10974 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10977 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10978 mempcpy-ssse3-back memmove-ssse3-back.
10979 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10981 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10982 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10983 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10984 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10985 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10986 * sysdeps/x86_64/multiarch/memmove.c: New file.
10987 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10988 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10989 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10990 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10991 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10994 (index_Fast_Copy_Backward): Define.
10995 (HAS_ARCH_FEATURE): Define.
10996 (HAS_FAST_REP_STRING): Define.
10997 (HAS_FAST_COPY_BACKWARD): Define.
10999 2010-06-21 Andreas Schwab <schwab@redhat.com>
11001 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11002 Restore proper fallback handling.
11004 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11007 * posix/group_member.c (__group_member): Correct checking loop.
11009 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11010 OOM in getpwuid_r correctly. Return error number when the caller
11011 should return, otherwise -1.
11012 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11013 call returning > 0 value.
11014 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11016 2010-06-07 Andreas Schwab <schwab@redhat.com>
11018 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11019 libc_nonshared.a from targets in modules-names.
11021 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11023 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11026 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11028 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11033 2010-06-02 Andreas Schwab <schwab@redhat.com>
11035 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11037 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11039 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11045 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11046 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11048 2010-06-14 Roland McGrath <roland@redhat.com>
11050 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11052 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11054 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11055 __REDIRECT followed by __THROW.
11056 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11057 * posix/getopt.h (getopt): Likewise.
11059 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11061 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11062 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11063 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11065 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11066 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11068 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11070 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11072 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11076 Properly check family and model.
11078 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11080 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11082 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11084 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11086 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11088 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11091 2010-05-19 Andreas Schwab <schwab@redhat.com>
11093 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11096 2010-05-21 Andreas Schwab <schwab@redhat.com>
11098 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11099 and internal_recvmmsg.
11100 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11101 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11102 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11103 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11105 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11106 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11107 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11109 2010-05-20 Andreas Schwab <schwab@redhat.com>
11111 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11113 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11115 POWER7 optimizations.
11116 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11117 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11119 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11121 * version.h: Update for 2.13 development version.
11123 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11125 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11126 exceptions. Return 0.
11128 2010-05-07 Roland McGrath <roland@redhat.com>
11130 * elf/ldconfig.c (main): Add a const.
11132 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11134 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11135 (args_options): Add no-idn option.
11136 (ahosts_keys_int): Add idn_flags to ai_flags.
11137 (parse_option): Handle 'i' option to clear idn_flags.
11139 * malloc/malloc.c (_int_free): Possible race in the most recently
11140 added check. Only act on the data if no current modification
11143 See ChangeLog.17 for earlier changes.