1 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4 * manual/macros.texi (gnusystems): New macro.
5 (nongnusystems): Likewise.
6 (gnulinuxhurdsystems): Likewise.
7 (gnuhurdsystems): Likewise..
8 (gnulinuxsystems): Likewise.
9 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10 variants of the GNU system, not "GNU system".
11 * manual/conf.texi: Likewise.
12 * manual/errno.texi: Likewise. Update example of errno macro
14 * manual/filesys.texi: Likewise.
15 (getumask): Document as specific to GNU/Hurd.
16 * manual/install.texi: Likewise. Reword some references to
18 * manual/intro.texi: Likewise.
19 * manual/io.texi: Likewise.
20 (File Name Portability): Detail which constraints are inapplicable
21 to all GNU systems and which are only inapplicable to GNU/Hurd.
22 * manual/job.texi: Likewise.
23 * manual/llio.texi: Likewise.
24 (O_NOCTTY): Document as present on GNU/Linux.
25 * manual/maint.texi: Likewise.
26 * manual/memory.texi: Likewise.
27 * manual/pattern.texi: Likewise.
28 * manual/pipe.texi: Likewise.
29 * manual/process.texi: Likewise.
30 * manual/resource.texi: Likewise.
31 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33 * manual/setjmp.texi: Likewise.
34 * manual/signal.texi: Likewise.
35 * manual/startup.texi: Likewise.
36 * manual/stdio.texi: Likewise.
37 * manual/terminal.texi: Likewise.
38 (ONLCR): Document as POSIX.
39 (OXTABS): Document availability on GNU/Linux as XTABS.
40 (ONOEOT): Document availability separately from other bits.
41 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42 * manual/time.texi: Likewise.
43 * manual/users.texi: Likewise.
44 * INSTALL: Regenerated.
45 * sysdeps/gnu/errlist.c: Regenerated.
47 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51 * configure: Regenerated.
53 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56 default includes instead of AC_HEADER_CHECK.
57 * sysdeps/i386/configure: Regenerated.
60 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61 * math/s_cacoshf.c (__cacoshf): Likewise.
62 * math/s_cacoshl.c (__cacoshl): Likewise.
63 * math/s_casinh.c (__casinh): Set signs of result from argument.
64 * math/s_casinhf.c (__casinhf): Likewise.
65 * math/s_casinhl.c (__casinhl): Likewise.
66 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67 (casinh_test): Add more tests.
68 * sysdeps/i386/fpu/libm-test-ulps: Update.
69 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71 2012-03-07 Ulrich Drepper <drepper@gmail.com>
73 * login/Makefile (distribute): Remove variable.
74 * catgets/Makefile: Likewise.
75 * mach/Makefile: Likewise.
76 * malloc/Makefile: Likewise.
77 * misc/Makefile: Likewise.
78 * iconv/Makefile: Likewise.
79 * nscd/Makefile: Likewise.
80 * hurd/Makefile: Likewise.
81 * manual/Makefile: Likewise.
82 * locale/Makefile: Likewise.
83 * intl/Makefile: Likewise.
84 * conform/Makefile: Likewise.
85 * nss/Makefile: Likewise.
86 * time/Makefile: Likewise.
87 * soft-fp/Makefile: Likewise.
88 * dirent/Makefile: Likewise.
89 * gmon/Makefile: Likewise.
90 * po/Makefile: Likewise.
91 * rt/Makefile: Likewise.
92 * socket/Makefile: Likewise.
93 * math/Makefile: Likewise.
94 * signal/Makefile: Likewise.
95 * debug/Makefile: Likewise.
96 * elf/Makefile: Likewise.
97 * timezone/Makefile: Likewise.
98 * stdlib/Makefile: Likewise.
99 * iconvdata/Makefile: Likewise.
100 * sunrpc/Makefile: Likewise.
101 * io/Makefile: Likewise.
102 * argp/Makefile: Likewise.
103 * inet/Makefile: Likewise.
104 * hesiod/Makefile: Likewise.
105 * grp/Makefile: Likewise.
106 * csu/Makefile: Likewise.
107 * wctype/Makefile: Likewise.
108 * crypt/Makefile: Likewise.
109 * libio/Makefile: Likewise.
110 * string/Makefile: Likewise.
111 * nis/Makefile: Likewise.
112 * resolv/Makefile: Likewise.
113 * stdio-common/Makefile: Likewise.
114 * wcsmbs/Makefile: Likewise.
115 * dlfcn/Makefile: Likewise.
116 * posix/Makefile: Likewise.
118 * timezone/Makefile: Don't install timezone files, just the programs
121 2012-03-06 Ulrich Drepper <drepper@gmail.com>
123 * nss/databases.def: Add missing gshadow entry.
125 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
127 2012-03-06 Marek Polacek <polacek@redhat.com>
130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
132 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
133 * stdio-common/tst-long-dbl-fphex.c: New file.
135 2012-03-06 David S. Miller <davem@davemloft.net>
137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
138 (set_obp_int): New function.
139 (get_obp_int): New function.
140 (__get_clockfreq_via_dev_openprom): Likewise.
141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
142 Avoid unused variable warnings on 'val' and use builtin_expect.
143 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
145 (INLINE_CLONE_SYSCALL): Likewise.
147 2012-03-05 David S. Miller <davem@davemloft.net>
149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
151 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
159 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
162 Replace gettimeofday with __vdso_gettimeofday.
164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
165 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
166 __vdso_clock_gettime and __vdso_getcpu.
168 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
169 time with __vdso_time.
171 2012-03-05 Joseph Myers <joseph@codesourcery.com>
173 * manual/lang.texi (size_t): Note types to which size_t may be
174 equivalent with the GNU C Library, but do not describe when
175 differences between them are significant.
177 2012-03-05 Andreas Jaeger <aj@suse.de>
179 * sysdeps/i386/fpu/libm-test-ulps: Update.
181 2012-03-05 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
185 (__ieee754_pow): Save and restore rounding mode and use
186 round-to-nearest for main computations.
187 * math/libm-test.inc (pow_test_tonearest): New function.
188 (pow_test_towardzero): Likewise.
189 (pow_test_downward): Likewise.
190 (pow_test_upward): Likewise.
191 (main): Call the new functions.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
196 * math/libm-test.inc (cosh_test_tonearest): New function.
197 (cosh_test_towardzero): Likewise.
198 (cosh_test_downward): Likewise.
199 (cosh_test_upward): Likewise.
200 (sinh_test_tonearest): Likewise.
201 (sinh_test_towardzero): Likewise.
202 (sinh_test_downward): Likewise.
203 (sinh_test_upward): Likewise.
204 (main): Call the new functions.
205 * sysdeps/i386/fpu/libm-test-ulps: Update.
206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
208 2012-03-05 Tom de Vries <tom@codesourcery.com>
210 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
211 default stack guard is set in last bytes.
212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
214 2012-03-05 Kees Cook <keescook@chromium.org>
216 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
219 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
220 possibly allocate from heap instead of stack.
221 * stdio-common/bug-vfprintf-nargs.c: New file.
222 * stdio-common/Makefile (tests): Add nargs overflow test.
224 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
228 2012-03-03 Marek Polacek <polacek@redhat.com>
230 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
231 * math/math_private.h: Likewise.
232 * stdlib/tst-strtod.c: Likewise.
233 * sysdeps/i386/i486/bits/atomic.h: Likewise.
234 * sysdeps/x86_64/bits/atomic.h: Likewise.
236 2012-03-02 David S. Miller <davem@davemloft.net>
238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
242 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
243 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
244 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
245 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
247 2012-03-02 Roland McGrath <roland@hack.frob.com>
250 * manual/examples/README: New file, says the example source files
251 can be used under GPL>=2.
252 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
253 line containing just "*/".
254 * manual/examples/add.c: Add copyright header (GPL>=2).
255 * manual/examples/argp-ex1.c: Likewise.
256 * manual/examples/argp-ex2.c: Likewise.
257 * manual/examples/argp-ex3.c: Likewise.
258 * manual/examples/argp-ex4.c: Likewise.
259 * manual/examples/atexit.c: Likewise.
260 * manual/examples/db.c: Likewise.
261 * manual/examples/dir.c: Likewise.
262 * manual/examples/dir2.c: Likewise.
263 * manual/examples/execinfo.c: Likewise.
264 * manual/examples/filecli.c: Likewise.
265 * manual/examples/filesrv.c: Likewise.
266 * manual/examples/fmtmsgexpl.c: Likewise.
267 * manual/examples/genpass.c: Likewise.
268 * manual/examples/inetcli.c: Likewise.
269 * manual/examples/inetsrv.c: Likewise.
270 * manual/examples/isockad.c: Likewise.
271 * manual/examples/longopt.c: Likewise.
272 * manual/examples/memopen.c: Likewise.
273 * manual/examples/memstrm.c: Likewise.
274 * manual/examples/mkfsock.c: Likewise.
275 * manual/examples/mkisock.c: Likewise.
276 * manual/examples/mygetpass.c: Likewise.
277 * manual/examples/pipe.c: Likewise.
278 * manual/examples/popen.c: Likewise.
279 * manual/examples/rprintf.c: Likewise.
280 * manual/examples/search.c: Likewise.
281 * manual/examples/select.c: Likewise.
282 * manual/examples/setjmp.c: Likewise.
283 * manual/examples/sigh1.c: Likewise.
284 * manual/examples/sigusr.c: Likewise.
285 * manual/examples/stpcpy.c: Likewise.
286 * manual/examples/strdupa.c: Likewise.
287 * manual/examples/strftim.c: Likewise.
288 * manual/examples/strncat.c: Likewise.
289 * manual/examples/subopt.c: Likewise.
290 * manual/examples/swapcontext.c: Likewise.
291 * manual/examples/termios.c: Likewise.
292 * manual/examples/testopt.c: Likewise.
293 * manual/examples/testpass.c: Likewise.
294 * manual/examples/timeval_subtract.c: Likewise.
297 * manual/time.texi (Elapsed Time): Move timeval_subtract example
299 * manual/timeval_subtract.c.texi: ... here, new file.
301 2012-03-02 David S. Miller <davem@davemloft.net>
303 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
305 2012-03-02 Joseph Myers <joseph@codesourcery.com>
308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
309 (__sin): Save and restore rounding mode and use round-to-nearest
310 for all computations.
311 (__cos): Save and restore rounding mode and use round-to-nearest
312 for all computations.
313 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
315 (tan): Save and restore rounding mode and use round-to-nearest for
317 * math/libm-test.inc (cos_test_tonearest): New function.
318 (cos_test_towardzero): Likewise.
319 (cos_test_downward): Likewise.
320 (cos_test_upward): Likewise.
321 (sin_test_tonearest): Likewise.
322 (sin_test_towardzero): Likewise.
323 (sin_test_downward): Likewise.
324 (sin_test_upward): Likewise.
325 (tan_test_tonearest): Likewise.
326 (tan_test_towardzero): Likewise.
327 (tan_test_downward): Likewise.
328 (tan_test_upward): Likewise.
329 (main): Call the new functions.
330 * sysdeps/i386/fpu/libm-test-ulps: Update.
331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
334 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
335 small n, then large n, before computing and testing k+n.
336 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
341 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
342 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
347 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
349 * math/libm-test.inc (scalbn_test): Add more tests.
350 (scalbln_test): Likewise.
352 * manual/filesys.texi (mode_t): Describe constraints on size and
353 signedness, not exact equivalence to a particular type.
358 (blkcnt_t): Likewise.
359 (blkcnt64_t): Likewise.
360 * manual/llio.texi (off_t): Likewise.
363 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
364 (__ieee754_exp): Save and restore rounding mode and use
365 round-to-nearest for all computations.
366 * math/libm-test.inc (exp_test_tonearest): New function.
367 (exp_test_towardzero): Likewise.
368 (exp_test_downward): Likewise.
369 (exp_test_upward): Likewise.
370 (main): Call the new functions.
371 * sysdeps/i386/fpu/libm-test-ulps: Update.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
374 2012-03-01 Chris Demetriou <cgd@google.com>
376 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
377 have predictable order.
379 2012-03-01 David S. Miller <davem@davemloft.net>
381 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
383 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
384 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
385 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
386 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
388 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
389 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
390 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
392 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
393 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
394 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
395 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
396 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
401 * sysdeps/sparc/fpu/libm-test-ulps: to here.
402 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
404 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
412 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
420 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
421 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
422 * sysdeps/sparc/elf/configure: Regenerated.
424 2012-03-01 Joseph Myers <joseph@codesourcery.com>
426 * configure.in (AS, LD): Require binutils 2.20 or later.
427 * configure: Regenerated.
428 * manual/install.texi (Tools for Compilation): Give binutils 2.20
429 as required minimum version.
430 * INSTALL: Regenerated.
434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
435 before squaring exponent.
436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
437 bottom long double and 27 bits of top long double before squaring
439 * math/libm-test.inc (erfc_test): Add more tests.
440 * sysdeps/i386/fpu/libm-test-ulps: Update.
441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
444 2012-03-01 Kai Tietz <ktietz@redhat.com>
446 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
447 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
448 containing bit-fields.
449 * soft-fp/extended.h (_FP_UNION_E): Likewise.
450 * soft-fp/single.h (_FP_UNION_S): Likewise.
451 * soft-fp/double.h (_FP_UNION_D): Likewise.
453 2012-02-29 Joseph Myers <joseph@codesourcery.com>
456 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
457 not include ../strcmp.S.
458 [USE_AS_STRNCASECMP_L]: Likewise.
459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
460 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
461 * sysdeps/i386/i686/multiarch/strncase_l-c.c
462 (__strncasecmp_l_ia32): Define as alias to
463 __strncasecmp_l_nonascii.
466 * math/libm-test.inc (expm1_test): Add test for bug 5794.
467 * sysdeps/i386/fpu/libm-test-ulps: Update.
468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
473 2012-02-29 Jeff Law <law@redhat.com>
475 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
478 2012-02-29 Marek Polacek <polacek@redhat.com>
481 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
482 * elf/Makefile: Add rules to run tst-unused-dep.out.
484 2012-02-28 David S. Miller <davem@davemloft.net>
486 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
487 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
490 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
491 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
493 2012-02-29 Joseph Myers <joseph@codesourcery.com>
495 * math/libm-test.inc (llround_test): Move one test from
496 lround_test. Use TEST_f_L in moved test.
497 (lround_test): Move misplaced test to llround_test. Add testcase
500 2012-02-28 Ulrich Drepper <drepper@gmail.com>
502 * sysdeps/x86_64/fpu/e_expf.S: New file.
503 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
505 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
508 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
509 of remain_len that may cause incomplete multi-byte character and
511 * posix/bug-regex33.c: New file.
512 * posix/Makefile (tests): Add bug-regex33.
514 2012-02-28 Joseph Myers <joseph@codesourcery.com>
516 * manual/macros.texi: New file.
517 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
518 * manual/libc.texinfo: Include macros.texi.
519 * manual/creatute.texi: Likewise.
520 * manual/install.texi: Likewise.
521 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
522 @glibcadj{} in references to the GNU C Library.
523 * manual/charset.texi: Likewise.
524 * manual/conf.texi: Likewise.
525 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
526 when not using those macros.
527 * manual/creature.texi: Likewise.
528 * manual/crypt.texi: Likewise.
529 * manual/errno.texi: Likewise.
530 * manual/filesys.texi: Likewise.
531 * manual/header.texi: Likewise.
532 * manual/install.texi: Likewise.
533 * manual/intro.texi: Likewise.
534 * manual/io.texi: Likewise.
535 * manual/job.texi: Likewise.
536 * manual/lang.texi: Likewise.
537 * manual/libc.texiinfo: Likewise.
538 * manual/llio.texi: Likewise.
539 * manual/locale.texi: Likewise.
540 * manual/maint.texi: Likewise.
541 * manual/math.texi: Likewise.
542 * manual/memory.texi: Likewise.
543 * manual/message.texi: Likewise.
544 * manual/nss.texi: Likewise.
545 * manual/pattern.texi: Likewise.
546 * manual/process.texi: Likewise.
547 * manual/resource.texi: Likewise.
548 * manual/search.texi: Likewise.
549 * manual/setjmp.texi: Likewise.
550 * manual/signal.texi: Likewise.
551 * manual/socket.texi: Likewise.
552 * manual/startup.texi: Likewise.
553 * manual/stdio.texi: Likewise.
554 * manual/string.texi: Likewise.
555 * manual/sysinfo.texi: Likewise.
556 * manual/syslog.texi: Likewise.
557 * manual/terminal.texi: Likewise.
558 * manual/time.texi: Likewise.
559 * manual/users.texi: Likewise.
560 * INSTALL: Regenerated.
561 * NOTES: Regenerated.
562 * sysdeps/gnu/errlist.c: Regenerated.
564 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
566 * include/dirent.h: Include <dirstream.h> before
569 2012-02-28 David S. Miller <davem@davemloft.net>
571 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
572 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
573 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
574 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
576 2012-02-27 David S. Miller <davem@davemloft.net>
578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
580 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
581 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
584 frame pointer instead of stack pointer relative arg slot.
585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
589 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
592 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
594 2012-02-27 David S. Miller <davem@davemloft.net>
596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
602 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
605 2012-02-27 Joseph Myers <joseph@codesourcery.com>
607 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
608 later. Allow versions 5-9.
609 * configure: Regenerated.
610 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
611 required minimum version and 4.6 as recommended version. Do not
612 mention bugs in GCC 2.7 and 2.8.
613 * INSTALL: Regenerated.
615 2012-02-27 David S. Miller <davem@davemloft.net>
617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
623 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
627 manipulate bits before adding and subtracting TWO112[sx].
628 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
630 2012-02-27 Roland McGrath <roland@hack.frob.com>
633 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
634 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
635 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
636 being in POSIX, because they are in 1003.1-2008.
638 * rt/tst-aio.c: Include <fcntl.h>.
639 * rt/tst-aio7.c: Likewise.
640 * rt/tst-aio64.c: Likewise.
642 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
644 2012-02-27 Joseph Myers <joseph@codesourcery.com>
646 * manual/install.texi (--with-headers): Describe headers as
647 interface headers, not private headers.
648 (Specific advice for GNU/Linux systems): Describe use of headers
649 from "make headers_install", not private headers from older
651 * INSTALL: Regenerated.
652 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
654 * sysdeps/unix/sysv/linux/configure: Regenerated.
656 * manual/llio.texi (fclean): Remove documentation.
658 * manual/Makefile (libc-texi-generated): New variable. Include
660 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
661 $(libc-texi-generated), not duplicated list of files.
662 (version.texi, stamp-version): New rules.
663 (realclean): Remove $(libc-texi-generated), not individual files
664 from that list. Do not remove dir-add.texinfo.
665 * manual/libc.texinfo: Comment out uses of edition numbers and
666 references to printed manual. Remove last-updated dates.
667 (EDITION): Comment out.
669 (VERSION, UPDATED): Remove.
670 (version.texi): Include.
672 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
674 * sysdeps/posix/spawni.c: Include <signal.h>.
675 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
676 * sysdeps/pthread/aio_fsync.c: Likewise.
678 2012-02-26 Ulrich Drepper <drepper@gmail.com>
680 * conform/Makefile (tests): Run only when not cross-compiling and
681 when fast-check is not defined.
683 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
684 * conform/data/limits.h-data: Fixes for POSIX2008.
685 * conform/run-conformtest.sh: Run all tests.
686 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
688 * include/bits/dlfcn.h: Likewise.
689 * include/langinfo.h: Likewise.
690 * include/monetary.h: Likewise.
691 * include/sys/poll.h: Likewise.
693 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
695 * posix/spawn.h: Define __need_sigset_t.
696 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
697 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
698 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
699 to get sigevent_t only.
700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
704 process_vm_writev only for __USE_GNU.
705 * termios/termios.h: Declare tcgetsid also for POSIX2008.
707 * conform/Makefile: For now ignore errors from run-conformtest.
708 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
709 POSIX to avoid namespace pollution. Don't prepend headers.
710 * conform/data/aio.h-data: Fixes for POSIX testing.
711 * conform/data/fcntl.h-data: Likewise.
712 * conform/data/glob.h-data: Likewise.
713 * conform/data/grp.h-data: Likewise.
714 * conform/data/pthread.h-data: Likewise.
715 * conform/data/pwd.h-data: Likewise.
716 * conform/data/signal.h-data: Likewise.
717 * conform/data/spawn.h-data: Likewise.
718 * conform/data/stdio.h-data: Likewise.
719 * conform/data/stdlib.h-data: Likewise.
720 * conform/data/stropts.h-data: Likewise.
721 * conform/data/sys/mman.h-data: Likewise.
722 * conform/data/sys/stat.h-data: Likewise.
723 * conform/data/sys/types.h-data: Likewise.
724 * conform/data/sys/wait.h-data: Likewise.
725 * conform/data/time.h-data: Likewise.
726 * conform/data/unistd.h-data: Likewise.
727 * conform/data/utime.h-data: Likewise.
729 * io/sys/stat.h: fchmod was always in POSIX.
730 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
731 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
732 * rt/aio.h: Define __need_timespec before including <time.h>.
733 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
734 struct. Add forward declaration of pthread_attr_t and use it in
736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
738 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
739 always remove CLK_TCK definition.
741 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
743 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
745 2012-02-25 Ulrich Drepper <drepper@gmail.com>
747 * conform/run-conformtest.sh: New file.
748 * conform/Makefile: Run run-conformtest for tests.
749 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
752 * conform/data/uchar.h-data: New file.
753 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
754 * conform/data/arpa/inet.h-data: Likewise.
755 * conform/data/assert.h-data: Likewise.
756 * conform/data/complex.h-data: Likewise.
757 * conform/data/cpio.h-data: Likewise.
758 * conform/data/ctype.h-data: Likewise.
759 * conform/data/dirent.h-data: Likewise.
760 * conform/data/dlfcn.h-data: Likewise.
761 * conform/data/errno.h-data: Likewise.
762 * conform/data/fcntl.h-data: Likewise.
763 * conform/data/float.h-data: Likewise.
764 * conform/data/fmtmsg.h-data: Likewise.
765 * conform/data/fnmatch.h-data: Likewise.
766 * conform/data/ftw.h-data: Likewise.
767 * conform/data/glob.h-data: Likewise.
768 * conform/data/grp.h-data: Likewise.
769 * conform/data/iconv.h-data: Likewise.
770 * conform/data/inttypes.h-data: Likewise.
771 * conform/data/langinfo.h-data: Likewise.
772 * conform/data/libgen.h-data: Likewise.
773 * conform/data/limits.h-data: Likewise.
774 * conform/data/locale.h-data: Likewise.
775 * conform/data/math.h-data: Likewise.
776 * conform/data/monetary.h-data: Likewise.
777 * conform/data/mqueue.h-data: Likewise.
778 * conform/data/ndbm.h-data: Likewise.
779 * conform/data/net/if.h-data: Likewise.
780 * conform/data/netdb.h-data: Likewise.
781 * conform/data/netinet/in.h-data: Likewise.
782 * conform/data/nl_types.h-data: Likewise.
783 * conform/data/poll.h-data: Likewise.
784 * conform/data/pthread.h-data: Likewise.
785 * conform/data/pwd.h-data: Likewise.
786 * conform/data/regex.h-data: Likewise.
787 * conform/data/sched.h-data: Likewise.
788 * conform/data/search.h-data: Likewise.
789 * conform/data/semaphore.h-data: Likewise.
790 * conform/data/setjmp.h-data: Likewise.
791 * conform/data/signal.h-data: Likewise.
792 * conform/data/spawn.h-data: Likewise.
793 * conform/data/stdarg.h-data: Likewise.
794 * conform/data/stdio.h-data: Likewise.
795 * conform/data/stdlib.h-data: Likewise.
796 * conform/data/string.h-data: Likewise.
797 * conform/data/strings.h-data: Likewise.
798 * conform/data/stropts.h-data: Likewise.
799 * conform/data/sys/ipc.h-data: Likewise.
800 * conform/data/sys/mman.h-data: Likewise.
801 * conform/data/sys/msg.h-data: Likewise.
802 * conform/data/sys/resource.h-data: Likewise.
803 * conform/data/sys/select.h-data: Likewise.
804 * conform/data/sys/sem.h-data: Likewise.
805 * conform/data/sys/shm.h-data: Likewise.
806 * conform/data/sys/socket.h-data: Likewise.
807 * conform/data/sys/stat.h-data: Likewise.
808 * conform/data/sys/statvfs.h-data: Likewise.
809 * conform/data/sys/time.h-data: Likewise.
810 * conform/data/sys/timeb.h-data: Likewise.
811 * conform/data/sys/times.h-data: Likewise.
812 * conform/data/sys/types.h-data: Likewise.
813 * conform/data/sys/uio.h-data: Likewise.
814 * conform/data/sys/un.h-data: Likewise.
815 * conform/data/sys/utsname.h-data: Likewise.
816 * conform/data/sys/wait.h-data: Likewise.
817 * conform/data/syslog.h-data: Likewise.
818 * conform/data/tar.h-data: Likewise.
819 * conform/data/termios.h-data: Likewise.
820 * conform/data/utime.h-data: Likewise.
821 * conform/data/utmpx.h-data: Likewise.
822 * conform/data/varargs.h-data: Likewise.
823 * conform/data/wchar.h-data: Likewise.
824 * conform/data/wctype.h-data: Likewise.
825 * conform/data/wordexp.h-data: Likewise.
827 * include/stropts.h: New file.
828 * include/uchar.h: New file.
829 * include/aio.h: Changes to allow conformtest.pl to use the headers.
830 * include/assert.h: Likewise.
831 * include/ctype.h: Likewise.
832 * include/dirent.h: Likewise.
833 * include/dlfcn.h: Likewise.
834 * include/fcntl.h: Likewise.
835 * include/fnmatch.h: Likewise.
836 * include/glob.h: Likewise.
837 * include/grp.h: Likewise.
838 * include/libio.h: Likewise.
839 * include/locale.h: Likewise.
840 * include/math.h: Likewise.
841 * include/net/if.h: Likewise.
842 * include/netdb.h: Likewise.
843 * include/netinet/in.h: Likewise.
844 * include/pthread.h: Likewise.
845 * include/pwd.h: Likewise.
846 * include/regex.h: Likewise.
847 * include/sched.h: Likewise.
848 * include/search.h: Likewise.
849 * include/setjmp.h: Likewise.
850 * include/signal.h: Likewise.
851 * include/stdio.h: Likewise.
852 * include/stdlib.h: Likewise.
853 * include/string.h: Likewise.
854 * include/sys/cdefs.h: Likewise.
855 * include/sys/mman.h: Likewise.
856 * include/sys/msg.h: Likewise.
857 * include/sys/resource.h: Likewise.
858 * include/sys/select.h: Likewise.
859 * include/sys/socket.h: Likewise.
860 * include/sys/stat.h: Likewise.
861 * include/sys/statvfs.h: Likewise.
862 * include/sys/time.h: Likewise.
863 * include/sys/times.h: Likewise.
864 * include/sys/uio.h: Likewise.
865 * include/sys/utsname.h: Likewise.
866 * include/sys/wait.h: Likewise.
867 * include/termios.h: Likewise.
868 * include/time.h: Likewise.
869 * include/ulimit.h: Likewise.
870 * include/unistd.h: Likewise.
871 * include/utime.h: Likewise.
872 * include/wchar.h: Likewise.
873 * include/wctype.h: Likewise.
874 * include/wordexp.h: Likewise.
876 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
878 * time/time.h: TIME_UTC must be a macro.
879 Make timespec_get available for ISO C11 only as well.
881 2012-02-24 Ulrich Drepper <drepper@gmail.com>
883 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
884 Reported by Peng Haitao <penght@cn.fujitsu.com>.
886 2012-02-24 Joseph Myers <joseph@codesourcery.com>
888 * configure.in: Use -o not -a in test for unsupported multi-arch.
890 2012-02-24 Joseph Myers <joseph@codesourcery.com>
892 * manual/texinfo.tex: Update to version 2012-01-19.16.
894 2012-02-24 Joseph Myers <joseph@codesourcery.com>
896 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
898 2012-02-24 Roland McGrath <roland@hack.frob.com>
901 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
902 * manual/fdl-1.3.texi: New file.
903 * manual/fdl-1.1.texi: File removed.
906 * manual/libc.texinfo (FDL_VERSION): New @set.
907 Use it for mention of FDL in cover text.
908 (Documentation License): Use it in @include file name.
910 2012-02-22 Joseph Myers <joseph@codesourcery.com>
911 Roland McGrath <roland@hack.frob.com>
914 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
915 not LONG_LONG_MAX and LONG_LONG_MIN.
916 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
917 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
919 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
921 2012-02-22 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
926 manipulate bits before adding and subtracting TWO23[sx].
927 * math/libm-test.inc (nearbyint_test): Add more tests.
929 2012-02-22 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
933 bits before adding and subtracting TWO23[sx].
934 * math/libm-test.inc (rint_test): Add more tests.
935 (rint_test_tonearest): Likewise.
936 (rint_test_towardzero): Likewise.
937 (rint_test_downward): Likewise.
938 (rint_test_upward: Likewise.
940 2012-02-22 Joseph Myers <joseph@codesourcery.com>
943 * include/stdc-predef.h: New file. Extracted from features.h.
944 * include/features.h: Include stdc-predef.h.
945 * Makefile (headers): Add stdc-predef.h.
946 * CONFORMANCE (Compiler limitations): Update.
948 2012-02-22 Joseph Myers <joseph@codesourcery.com>
950 * manual/libc.texinfo (VERSION, UPDATED): Revert.
952 2012-02-21 David S. Miller <davem@davemloft.net>
954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
955 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
957 2012-02-20 David S. Miller <davem@davemloft.net>
959 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
960 using a normal save/restore sequence, rather than allocating a
961 dummy stack frame just to store a frame pointer and restore.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
964 2012-02-21 Joseph Myers <joseph@codesourcery.com>
966 * manual/install.texi: Fix stray word in line-wrapped comment.
968 2012-02-20 David S. Miller <davem@davemloft.net>
970 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
971 both binutils and gcc support GOTDATA.
973 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
974 "rd %pc" in the PIC register setup sequences.
976 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
977 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
979 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
985 (SYSCALL_ERROR_HANDLER): Likewise.
986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
989 (SYSCALL_ERROR_HANDLER): Likewise.
991 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
992 (HAVE_GCC_GOTDATA): New.
993 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
994 relocation support in both binutils and gcc.
995 * sysdeps/sparc/elf/configure: Regenerate.
997 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
998 * sysdeps/sparc/sparc32/elf/configure: Delete.
999 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1000 * sysdeps/sparc/sparc64/elf/configure: Delete.
1001 * sysdeps/sparc/elf/configure.in: New file.
1002 * sysdeps/sparc/elf/configure: Generate.
1004 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1005 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1006 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1007 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1008 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1010 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1012 * manual/install.texi: Do not mention specific glibc version
1014 * manual/libc.texinfo (VERSION, UPDATED): Update.
1015 (@copying): Use @copyright{} and range of years.
1017 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1020 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1021 [crti.S not in sysdirs] (generated): Do not append.
1022 [crti.S not in sysdirs] (omit-deps): Likewise.
1023 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1024 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1025 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1026 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1027 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1029 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1030 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1031 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1032 * csu/defs.awk: Remove file.
1033 * sysdeps/generic/initfini.c: Likewise.
1034 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1036 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1039 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1041 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1042 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1043 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1046 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1048 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1049 (__EPOLL_PACKED): Define to empty if not defined by
1051 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1055 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1058 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1060 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1062 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1066 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1068 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1080 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1082 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1083 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1085 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1087 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1090 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1092 * math/w_acos.c: Use non-signaling floating-point comparisons.
1093 * math/w_acosf.c: Likewise.
1094 * math/w_acosh.c: Likewise.
1095 * math/w_acoshf.c: Likewise.
1096 * math/w_acoshl.c: Likewise.
1097 * math/w_acosl.c: Likewise.
1098 * math/w_asin.c: Likewise.
1099 * math/w_asinf.c: Likewise.
1100 * math/w_asinl.c: Likewise.
1101 * math/w_atanh.c: Likewise.
1102 * math/w_atanhf.c: Likewise.
1103 * math/w_atanhl.c: Likewise.
1104 * math/w_exp2.c: Likewise.
1105 * math/w_exp2f.c: Likewise.
1106 * math/w_exp2l.c: Likewise.
1107 * math/w_j0.c: Likewise.
1108 * math/w_j0f.c: Likewise.
1109 * math/w_j0l.c: Likewise.
1110 * math/w_j1.c: Likewise.
1111 * math/w_j1f.c: Likewise.
1112 * math/w_j1l.c: Likewise.
1113 * math/w_jn.c: Likewise.
1114 * math/w_jnf.c: Likewise.
1115 * math/w_log.c: Likewise.
1116 * math/w_log10.c: Likewise.
1117 * math/w_log10f.c: Likewise.
1118 * math/w_log10l.c: Likewise.
1119 * math/w_log2.c: Likewise.
1120 * math/w_log2f.c: Likewise.
1121 * math/w_log2l.c: Likewise.
1122 * math/w_logf.c: Likewise.
1123 * math/w_logl.c: Likewise.
1124 * math/w_sqrt.c: Likewise.
1125 * math/w_sqrtf.c: Likewise.
1126 * math/w_sqrtl.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1130 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1131 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1133 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1136 * manual/string.texi (strnlen): Use correct parameter name in
1137 equivalent expression.
1139 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1142 * manual/users.texi (seteuid): Consistently use neweuid for
1145 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1148 * manual/nss.texi (Services in the NSS configuration): Correct
1149 list of services in example configuration file.
1151 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1154 * manual/arith.texi: Remove statements about negative zero
1155 behaving identically to zero.
1157 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1160 * manual/install.texi: Do not document upgrading from libc5.
1162 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1165 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1167 2012-02-18 David S. Miller <davem@davemloft.net>
1169 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1170 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1171 %o7 across the call.
1172 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1177 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1178 * sysdeps/sparc/crtn.S: Likewise.
1180 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1182 * aout/Makefile: Remove.
1184 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1187 * manual/examples/argp-ex1.c (main): Format definition in GNU
1189 * manual/examples/argp-ex2.c (main): Likewise.
1190 * manual/examples/argp-ex3.c (main): Likewise.
1191 * manual/examples/argp-ex4.c (main): Likewise.
1192 * manual/examples/longopt.c (main): Use new-style prototype
1194 * manual/examples/strncat.c (main): Specify return type and use
1195 (void) for arguments.
1196 * manual/examples/subopt.c (main): Use char **argv argument.
1198 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1201 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1204 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1207 * manual/string.texi (strchr): Change when strchrnul is
1210 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1213 * manual/locale.texi (setlocale): Document LOCPATH.
1215 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1218 * manual/process.texi (execle): Move @dots{} before last argument.
1220 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1223 * manual/charset.texi (Generic Charset Conversion): Fix typo
1224 (LC_TYPE -> LC_CTYPE).
1226 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1229 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1230 (scalbnf): Likewise.
1231 (scalbnl): Likewise.
1232 (scalbln): Likewise.
1233 (scalblnf): Likewise.
1234 (scalblnl): Likewise.
1235 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1239 * manual/filesys.texi (telldir): Use braces around return type.
1240 * manual/llio.texi (mmap): Add space after comma.
1242 * manual/math.texi (jn): Use @var{} on parameter names.
1248 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1250 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1252 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1253 (sched_get_priority_max): Likewise.
1254 * manual/signal.texi (sigvec): Add space after comma.
1255 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1257 (if_indextoname): Likewise.
1258 (if_freenameindex): Likewise.
1259 (sendto): Use ',' instead of '.' in prototype.
1260 * manual/startup.texi (syscall): Use @dots{} instead of literal
1262 * manual/stdio.texi (__fpending): Separate initial words of
1263 paragraph from @deftypefun line.
1264 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1266 (vsyslog): Use @var{} on parameter names.
1267 * manual/terminal.texi (stty): Use @var{} on parameter names.
1268 * manual/users.texi (getutmp): Use @var{} on parameter names.
1269 (getutmpx): Likewise.
1271 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1274 * manual/stdio.texi (fopen): Fix typos in description of
1277 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1280 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1281 get clock_id definition.
1283 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1286 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1287 (madvise): Cast every argument to void on its own.
1289 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1292 * manual/startup.texi (Exit Status): Fix typo.
1294 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1297 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1298 * manual/examples/argp-ex2.c: Likewise.
1299 * manual/examples/argp-ex3.c: Likewise.
1301 2012-02-16 Richard Henderson <rth@redhat.com>
1303 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1304 * sysdeps/s390/s390-32/initfini.c: Remove.
1305 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1306 * sysdeps/s390/s390-64/initfini.c: Remove.
1308 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1310 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1311 compiler output for sysdeps/generic/initfini.c.
1312 * sysdeps/sh/elf/initfini.c: Remove file.
1314 2012-02-16 David S. Miller <davem@davemloft.net>
1317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1319 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1320 * sysdeps/sparc/crti.S: New file.
1321 * sysdeps/sparc/crtn.S: New file.
1322 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1323 * sysdeps/sparc/sparc64/Makefile: Likewise.
1325 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1328 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1330 2012-02-15 Roland McGrath <roland@hack.frob.com>
1333 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1335 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1336 (write, read, close): Likewise.
1337 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1339 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1341 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1342 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1343 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1344 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1346 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1350 2012-02-14 Marek Polacek <polacek@redhat.com>
1352 * sysdeps/x86_64/crti.S: New file.
1353 * sysdeps/x86_64/crtn.S: New file.
1354 * sysdeps/x86_64/elf/initfini.c: Remove file.
1356 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1358 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1359 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1361 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1363 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1367 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1369 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1370 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1372 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1374 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1378 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1380 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1381 __feraiseexcept instead of feraiseexcept.
1383 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1384 nanosleep invocations.
1385 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1386 strings, and add error checking for a nanosleep invocations.
1388 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1390 Replace FSF snail mail address with URLs, as per GNU coding standards.
1391 Most of the snail mail addresses were wrong anyway, and omitting
1392 them makes the source code easier to maintain. Almost all of the
1393 changes are to license notices and to locale LC_IDENTIFICATION
1394 addresses, except for this one:
1395 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1396 not its snail mail address.
1398 2012-02-09 Richard Henderson <rth@twiddle.net>
1400 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1401 of kernel-features.h.
1403 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1405 2012-02-08 Marek Polacek <polacek@redhat.com>
1407 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1408 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1409 * sysdeps/gnu/_G_config.h: Likewise.
1410 * sysdeps/generic/_G_config.h: Likewise.
1412 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1414 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1418 * sysdeps/powerpc/powerpc32/crti.S: New file.
1419 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1420 * sysdeps/powerpc/powerpc64/crti.S: New file.
1421 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1423 * Makeconfig (have-initfini): Don't set.
1424 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1425 * configure.in (nopic_initfini): Don't substitute.
1426 * config.h.in (HAVE_INITFINI): Don't #undef.
1427 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1428 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1430 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1432 Support crti.S and crtn.S provided directly by architectures.
1433 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1434 [crti.S in sysdirs] (omit-deps): Likewise.
1435 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1436 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1437 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1438 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1439 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1440 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1441 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1442 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1443 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1444 compiler output for sysdeps/generic/initfini.c.
1445 * sysdeps/i386/elf/Makefile: Remove file.
1446 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1448 2012-02-07 Marek Polacek <polacek@redhat.com>
1450 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1451 * sysdeps/gnu/_G_config.h: Likewise.
1452 * sysdeps/mach/hurd/_G_config.h: Likewise.
1454 2012-02-07 Marek Polacek <polacek@redhat.com>
1456 * math/Makefile (tests): Add tst-CMPLX2.
1457 * math/tst-CMPLX2.c: New file.
1459 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1461 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1463 * math/libm-test.inc (jn_test): Add missing L suffix.
1465 2012-02-06 Marek Polacek <polacek@redhat.com>
1467 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1468 * sysdeps/i386/fpu/e_powf.S: Likewise.
1469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1472 * sysdeps/i386/fpu/e_pow.S: Likewise.
1473 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1474 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1475 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1476 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1477 * sysdeps/i386/fpu/e_log2.S: Likewise.
1478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1479 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1480 * sysdeps/i386/fpu/e_powl.S: Likewise.
1481 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1484 * sysdeps/i386/fpu/e_logl.S: Likewise.
1485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1486 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1491 * sysdeps/i386/fpu/e_log.S: Likewise.
1492 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1494 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1495 * sysdeps/i386/fpu/e_logf.S: Likewise.
1496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1498 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1499 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1501 * sysdeps/i386/fpu/e_log10.S: Likewise.
1502 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1504 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1505 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1506 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1507 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1508 * sysdeps/i386/asm-syntax.h: Likewise.
1509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1512 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1513 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1515 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1516 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1518 * sysdeps/powerpc/sysdep.h: Likewise.
1519 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1520 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1522 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1525 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1527 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1529 * sysdeps/i386/sysdep.h: Include <features.h>.
1530 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1533 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1535 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1537 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1540 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1542 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1543 (SETUP_PIC_REG): Use GET_PC_THUNK.
1544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1547 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1550 for non-PIC compilation.
1551 (SETUP_PIC_REG): Add .p2align directive.
1552 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1553 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1557 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1558 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1569 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1570 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1571 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1575 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1578 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1584 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1594 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1596 * math/tst-CMPLX.c: Include <stdio.h>.
1598 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1600 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1602 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1603 * sysdeps/sparc/bits/mathdef.h: Likewise.
1605 2012-01-31 Marek Polacek <polacek@redhat.com>
1607 * libio/libio.h: Don't define _PARAMS.
1608 * locale/programs/config.h: Don't define PARAMS.
1609 * stdlib/strtol_l.c: Likewise.
1610 (__strtol_l): Remove PARAMS from the prototype.
1612 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1614 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1615 names. Just use the correct names. Remove unnecessary wrapper
1617 * malloc/arena.c: Likewise.
1618 * malloc/hooks.c: Likewise.
1620 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1621 ARENA_TEST says not to. Simplify test for creation of a new arena.
1622 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1624 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1626 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1628 (update_get_addr): New function.
1629 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1630 GET_ADDR_MODULE parameter.
1632 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1634 * crypt/cert.c: Remove __STDC__ conditionals.
1635 * crypt/crypt-entry.c: Likewise.
1636 * crypt/crypt_util.c: Likewise.
1637 * libio/filedoalloc.c: Likewise.
1638 * libio/fileops.c: Likewise.
1639 * libio/genops.c: Likewise.
1640 * libio/iofclose.c: Likewise.
1641 * libio/iofdopen.c: Likewise.
1642 * libio/iofopen.c: Likewise.
1643 * libio/iofopen64.c: Likewise.
1644 * libio/iogetdelim.c: Likewise.
1645 * libio/iopopen.c: Likewise.
1646 * libio/obprintf.c: Likewise.
1647 * libio/oldfileops.c: Likewise.
1648 * libio/oldiofclose.c: Likewise.
1649 * libio/oldiofdopen.c: Likewise.
1650 * libio/oldiofopen.c: Likewise.
1651 * libio/oldiopopen.c: Likewise.
1652 * libio/wfiledoalloc.c: Likewise.
1653 * libio/wgenops.c: Likewise.
1654 * locale/programs/xmalloc.c: Likewise.
1655 * misc/syslog.c: Likewise.
1656 * stdio-common/xbug.c: Likewise.
1657 * string/memchr.c: Likewise.
1658 * string/memcmp.c: Likewise.
1659 * string/memrchr.c: Likewise.
1660 * string/rawmemchr.c: Likewise.
1661 * sysdeps/posix/getcwd.c: Likewise.
1662 * time/strftime_l.c: Likewise.
1664 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1666 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1667 * config.make.in (config-cflags-sse2avx): Define.
1668 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1671 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1673 * scripts/config.guess: Update from upstream config git repository.
1674 * scripts/config.sub: Likewise.
1676 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1678 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1680 (R_TILEPRO_*, R_TILEGX_*): New macros.
1682 * scripts/firstversions.awk: Fix bug in version range handling.
1684 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1686 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1688 * include/sys/epoll.h: New file.
1689 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1692 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1694 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1695 Avoid unnecessary __WORDSIZE == 64 test.
1696 (fmaxf): Use VEX format if possible.
1701 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1702 * math/math_private.h: Remove libc_fegetround* and
1704 * sysdeps/i386/configure.in: Check for -msse2avx.
1705 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1706 also if SSE2AVX is defined.
1707 Remove libc_fegetround* and libc_fesetround*.
1708 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1709 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1718 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1720 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1726 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1729 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1731 * Makeconfig (libm): Define.
1732 * elf/Makefile: Add rules to build and run tst-relsort1.
1733 * elf/tst-relsort1.c: New file.
1734 * elf/tst-relsort1mod1.c: New file.
1735 * elf/tst-relsort1mod2.c: New file.
1737 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1739 * math/s_ldexp.c: Remove __STDC__ conditionals.
1740 * math/s_ldexpf.c: Likewise.
1741 * math/s_ldexpl.c: Likewise.
1742 * math/s_nextafter.c: Likewise.
1743 * math/s_nexttowardf.c: Likewise.
1744 * math/s_significand.c: Likewise.
1745 * math/s_significandf.c: Likewise.
1746 * math/s_significandl.c: Likewise.
1747 * math/w_jnl.c: Likewise.
1748 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1749 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1750 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1751 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1752 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1776 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1778 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1782 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1788 * sysdeps/ieee754/k_standard.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1868 * sysdeps/ieee754/s_matherr.c: Likewise.
1869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1874 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1876 * crypt/md5.h: Remove __STDC__ conditionals.
1877 * libio/libioP.h: Likewise.
1878 * locale/programs/config.h: Likewise.
1879 * sysdeps/generic/sysdep.h: Likewise.
1880 * sysdeps/i386/asm-syntax.h: Likewise.
1881 * sysdeps/s390/asm-syntax.h: Likewise.
1882 * sysdeps/unix/sysdep.h: Likewise.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1886 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1888 * libio/libio.h: Remove __STDC__ conditionals.
1889 * malloc/obstack.h: Likewise.
1890 * math/complex.h: Likewise.
1891 * math/math.h: Likewise.
1892 * sysdeps/generic/_G_config.h: Likewise.
1893 * sysdeps/gnu/_G_config.h: Likewise.
1894 * sysdeps/mach/hurd/_G_config.h: Likewise.
1895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1897 * sysdeps/sparc/bits/mathdef.h: Likewise.
1899 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1902 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1903 Clean up HAS_* macros.
1904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1905 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1915 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1917 * elf/tst-unique3.cc (gets): Remove declaration.
1918 * elf/tst-unique3lib.cc (gets): Likewise.
1919 * elf/tst-unique3lib2.cc (gets): Likewise.
1920 * elf/tst-unique4.cc (gets): Likewise.
1922 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1924 * include/stdio.h: Add C++ protection. Add gets declarations and
1926 * debug/tst-chk1.c: Don't declare gets here.
1927 * stdio-common/tst-gets.c: Likewise.
1929 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1931 * posix/glob: Remove directory.
1933 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1935 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1937 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1939 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1940 of the non-standard EPFNOSUPPORT.
1942 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1944 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1945 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1946 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1948 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1950 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1952 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1954 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1956 * nscd/grpcache.c (cache_addgr): Likewise.
1957 * nscd/hstcache.c (cache_addhst): Likewise.
1958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1959 * nscd/pwdcache.c (cache_addpw): Likewise.
1960 * nscd/servicescache.c (cache_addserv): Likewise.
1962 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1964 * malloc/malloc.c: Various cleanups.
1965 * malloc/hooks.c: Likewise.
1967 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1968 * stdlib/bug-fmtmsg1.c: New file.
1970 * stdlib/fmtmsg.c (init): Add missing unlock.
1971 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1973 2012-01-12 Marek Polacek <polacek@redhat.com>
1975 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1978 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1980 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1982 macro to ensure uniqueness of label name.
1983 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1984 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1986 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1988 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1991 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1995 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1999 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2000 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2001 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2003 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2007 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2010 * math/bits/math-finite.h: Add ldexp support.
2012 2012-01-10 Marek Polacek <polacek@redhat.com>
2014 * locale/programs/localedef.h (show_archive_content): Add noreturn
2017 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2021 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2023 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2025 * io/Makefile (headers): Add bits/poll2.h.
2027 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2030 typo #include statement.
2032 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2034 * include/sys/cdefs.h: Define __attribute_alloc_size.
2035 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2036 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2037 * elf/pldd.c: Likewise.
2038 * iconv/iconv_charmap.c: Likewise.
2039 * iconv/iconvconfig.c: Likewise.
2040 * iconv/strtab.c: Likewise.
2041 * locale/programs/locale.c: Likewise.
2042 * locale/programs/localedef.h: Likewise.
2043 * locale/programs/simple-hash.c: Likewise.
2044 * nscd/nscd.h: Likewise.
2045 * nss/makedb.c: Likewise.
2046 * sysdeps/generic/ldconfig.h: Likewise.
2047 * locale/programs/localedef.c: Remove xmalloc prototype.
2048 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2050 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2052 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2055 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2057 * math/Makefile (tests): Add tst-CMPLX.
2058 * math/tst-CMPLX.c: New file.
2060 * math/complex.h (CMPLXL): Fix typo.
2062 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2063 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2065 * debug/tst-chk1.c: Add poll and ppoll tests.
2066 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2067 * include/sys/poll.h: Add hidden proto for ppoll.
2068 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2069 * sysdeps/mach/hurd/ppoll.c: Likewise.
2070 * io/ppoll.c: Likewise.
2071 * debug/poll_chk.c: New file.
2072 * debug/ppoll_chk.c: New file.
2073 * include/bits/poll2.h: New file.
2074 * io/bits/poll2.h: New file.
2077 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2079 * configure.in: static is always set to yes. Remove.
2080 * config.make.in: Don't set build-static.
2081 * Makeconfig: Remove use of build-static.
2082 * dlfcn/Makefile: Likewise.
2083 * elf/Makefile: Likewise.
2084 * math/Makefile: Likewise.
2085 * misc/Makefile: Likewise.
2086 * nptl/Makefile: Likewise.
2087 * sysdeps/mach/hurd/Makefile: Likewise.
2089 * configure.in: PWD_P is not used anymore.
2090 * config.make.in: Remove PWD_P entry.
2092 * configure.in: Remove last remnants of RANLIB.
2093 No need to check for signed size_t anymore.
2094 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2096 Remove __builtin_expect test because we require at least gcc 3.4.
2097 * aclocal.m4: Likewise.
2099 * wcsmbs/mbrtoc16.c: Implement using towc function.
2100 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2101 * wcsmbs/wcsmbsload.c: Likewise.
2102 * iconv/gconv_simple.c: Likewise.
2103 * iconv/gconv_int.h: Likewise.
2104 * iconv/gconv_builtin.h: Likewise.
2105 * iconv/iconv_prog.c: Remove CHAR16 handling.
2107 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2109 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2111 * configure.in: Remove --with-elf and --enable-bounded options.
2112 Dont set base_machine for ia64. More non-ELF conditions removed.
2113 Remove testing and setting of leading underscore information.
2114 * config.make.in (build-bounded): Set to no.
2115 * config.h.in: Remove NO_UNDERSCORES entry.
2116 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2118 * csu/start.c: Remove !NO_UNDERSCORE code.
2119 * locale/localeinfo.h: Likewise.
2120 * sysdeps/generic/machine-gmon.h: Likewise.
2121 * sysdeps/generic/sysdep.h: Likewise.
2122 * sysdeps/i386/sysdep.h: Likewise.
2123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2124 * sysdeps/mach/sysdep.h: Likewise.
2125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2127 * sysdeps/sh/sysdep.h: Likewise.
2128 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2129 * sysdeps/unix/i386/sysdep.S: Likewise.
2130 * sysdeps/unix/sparc/start.c: Likewise.
2131 * sysdeps/unix/sparc/sysdep.S: Likewise.
2132 * sysdeps/unix/sparc/sysdep.h: Likewise.
2133 * sysdeps/unix/start.c: Likewise.
2134 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2135 * sysdeps/x86_64/sysdep.h: Likewise.
2137 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2140 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2142 * argp/argp-fmtstream.h: Use const instead __const.
2143 * argp/argp.h: Likewise.
2144 * assert/assert.h: Likewise.
2145 * bits/fenv.h: Likewise.
2146 * bits/sched.h: Likewise.
2147 * bits/sigset.h: Likewise.
2148 * bits/sigthread.h: Likewise.
2149 * catgets/nl_types.h: Likewise.
2150 * conform/data/pthread.h-data: Likewise.
2151 * crypt/crypt-private.h: Likewise.
2152 * crypt/crypt.h: Likewise.
2153 * crypt/crypt_util.c: Likewise.
2154 * ctype/ctype.h: Likewise.
2155 * debug/execinfo.h: Likewise.
2156 * debug/mbsnrtowcs_chk.c: Likewise.
2157 * debug/mbsrtowcs_chk.c: Likewise.
2158 * debug/wcsnrtombs_chk.c: Likewise.
2159 * debug/wcsrtombs_chk.c: Likewise.
2160 * debug/wcstombs_chk.c: Likewise.
2161 * dirent/dirent.h: Likewise.
2162 * dlfcn/dlfcn.h: Likewise.
2163 * elf/neededtest4.c: Likewise.
2164 * grp/grp.h: Likewise.
2165 * gshadow/gshadow.h: Likewise.
2166 * iconv/gconv.h: Likewise.
2167 * iconv/gconv_int.h: Likewise.
2168 * iconv/gconv_simple.c: Likewise.
2169 * iconv/iconv.h: Likewise.
2170 * iconv/loop.c: Likewise.
2171 * iconv/skeleton.c: Likewise.
2172 * include/aio.h: Likewise.
2173 * include/aliases.h: Likewise.
2174 * include/argz.h: Likewise.
2175 * include/arpa/inet.h: Likewise.
2176 * include/assert.h: Likewise.
2177 * include/dirent.h: Likewise.
2178 * include/dlfcn.h: Likewise.
2179 * include/execinfo.h: Likewise.
2180 * include/fcntl.h: Likewise.
2181 * include/fenv.h: Likewise.
2182 * include/glob.h: Likewise.
2183 * include/grp.h: Likewise.
2184 * include/libintl.h: Likewise.
2185 * include/mntent.h: Likewise.
2186 * include/netdb.h: Likewise.
2187 * include/pwd.h: Likewise.
2188 * include/rpc/netdb.h: Likewise.
2189 * include/sched.h: Likewise.
2190 * include/search.h: Likewise.
2191 * include/shadow.h: Likewise.
2192 * include/signal.h: Likewise.
2193 * include/stdio.h: Likewise.
2194 * include/stdlib.h: Likewise.
2195 * include/string.h: Likewise.
2196 * include/sys/socket.h: Likewise.
2197 * include/sys/stat.h: Likewise.
2198 * include/sys/statfs.h: Likewise.
2199 * include/sys/statvfs.h: Likewise.
2200 * include/sys/syslog.h: Likewise.
2201 * include/sys/time.h: Likewise.
2202 * include/sys/uio.h: Likewise.
2203 * include/time.h: Likewise.
2204 * include/unistd.h: Likewise.
2205 * include/utmp.h: Likewise.
2206 * include/wchar.h: Likewise.
2207 * include/wctype.h: Likewise.
2208 * inet/aliases.h: Likewise.
2209 * inet/arpa/inet.h: Likewise.
2210 * inet/netinet/ether.h: Likewise.
2211 * inet/netinet/in.h: Likewise.
2212 * intl/libintl.h: Likewise.
2213 * io/bits/fcntl2.h: Likewise.
2214 * io/fcntl.h: Likewise.
2215 * io/ftw.h: Likewise.
2216 * io/sys/poll.h: Likewise.
2217 * io/sys/stat.h: Likewise.
2218 * io/sys/statfs.h: Likewise.
2219 * io/sys/statvfs.h: Likewise.
2220 * io/utime.h: Likewise.
2221 * libio/bits/stdio.h: Likewise.
2222 * libio/bits/stdio2.h: Likewise.
2223 * libio/libio.h: Likewise.
2224 * libio/libioP.h: Likewise.
2225 * libio/stdio.h: Likewise.
2226 * locale/lc-ctype.c: Likewise.
2227 * locale/locale.h: Likewise.
2228 * login/utmp.h: Likewise.
2229 * malloc/arena.c: Likewise.
2230 * malloc/malloc.c: Likewise.
2231 * malloc/malloc.h: Likewise.
2232 * malloc/mcheck.c: Likewise.
2233 * malloc/mtrace.c: Likewise.
2234 * math/bits/mathcalls.h: Likewise.
2235 * math/fenv.h: Likewise.
2236 * math/math_private.h: Likewise.
2237 * misc/bits/error.h: Likewise.
2238 * misc/bits/syslog.h: Likewise.
2239 * misc/err.h: Likewise.
2240 * misc/error.h: Likewise.
2241 * misc/fstab.h: Likewise.
2242 * misc/mntent.h: Likewise.
2243 * misc/regexp.h: Likewise.
2244 * misc/search.h: Likewise.
2245 * misc/sgtty.h: Likewise.
2246 * misc/sys/mman.h: Likewise.
2247 * misc/sys/syslog.h: Likewise.
2248 * misc/sys/uio.h: Likewise.
2249 * misc/sys/xattr.h: Likewise.
2250 * misc/ttyent.h: Likewise.
2251 * nis/rpcsvc/ypclnt.h: Likewise.
2252 * nss/nss.h: Likewise.
2253 * posix/bits/unistd.h: Likewise.
2254 * posix/fnmatch.h: Likewise.
2255 * posix/glob.h: Likewise.
2256 * posix/sched.h: Likewise.
2257 * posix/spawn.h: Likewise.
2258 * posix/sys/wait.h: Likewise.
2259 * posix/unistd.h: Likewise.
2260 * posix/wordexp.h: Likewise.
2261 * pwd/pwd.h: Likewise.
2262 * resolv/netdb.h: Likewise.
2263 * resource/sys/resource.h: Likewise.
2264 * rt/aio.h: Likewise.
2265 * rt/bits/mqueue2.h: Likewise.
2266 * rt/mqueue.h: Likewise.
2267 * shadow/shadow.h: Likewise.
2268 * signal/signal.h: Likewise.
2269 * socket/send.c: Likewise.
2270 * socket/sendto.c: Likewise.
2271 * socket/sys/socket.h: Likewise.
2272 * stdio-common/printf.h: Likewise.
2273 * stdlib/bits/stdlib.h: Likewise.
2274 * stdlib/fmtmsg.h: Likewise.
2275 * stdlib/monetary.h: Likewise.
2276 * stdlib/stdlib.h: Likewise.
2277 * stdlib/ucontext.h: Likewise.
2278 * streams/stropts.h: Likewise.
2279 * string/argz.h: Likewise.
2280 * string/bits/string2.h: Likewise.
2281 * string/string.h: Likewise.
2282 * string/strings.h: Likewise.
2283 * sunrpc/rpc/auth.h: Likewise.
2284 * sunrpc/rpc/auth_des.h: Likewise.
2285 * sunrpc/rpc/clnt.h: Likewise.
2286 * sunrpc/rpc/netdb.h: Likewise.
2287 * sunrpc/rpc/pmap_clnt.h: Likewise.
2288 * sunrpc/rpc/xdr.h: Likewise.
2289 * sysdeps/generic/inttypes.h: Likewise.
2290 * sysdeps/generic/net/if.h: Likewise.
2291 * sysdeps/generic/sys/swap.h: Likewise.
2292 * sysdeps/gnu/net/if.h: Likewise.
2293 * sysdeps/gnu/utmpx.h: Likewise.
2294 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2295 * sysdeps/i386/i486/bits/string.h: Likewise.
2296 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2297 * sysdeps/s390/bits/string.h: Likewise.
2298 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2299 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2300 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2301 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2302 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2303 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2304 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2305 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2306 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2307 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2308 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2310 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2311 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2312 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2313 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2314 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2319 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2320 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2321 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2322 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2323 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2324 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2326 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2328 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2329 * sysvipc/sys/ipc.h: Likewise.
2330 * sysvipc/sys/msg.h: Likewise.
2331 * sysvipc/sys/sem.h: Likewise.
2332 * sysvipc/sys/shm.h: Likewise.
2333 * termios/termios.h: Likewise.
2334 * time/sys/time.h: Likewise.
2335 * time/time.h: Likewise.
2336 * wcsmbs/bits/wchar2.h: Likewise.
2337 * wcsmbs/uchar.h: Likewise.
2338 * wcsmbs/wchar.h: Likewise.
2339 * wctype/wctype.h: Likewise.
2342 * Makeconfig: Remove all but ELF support including AIX support.
2343 * Makerules: Likewise.
2344 * config.h.in: Likewise.
2345 * config.make.in: Likewise.
2346 * configure: Likewise.
2347 * configure.in: Likewise.
2348 * csu/Makefile: Likewise.
2349 * csu/version.c: Likewise.
2350 * debug/Makefile: Likewise.
2351 * dlfcn/Makefile: Likewise.
2352 * elf/Makefile: Likewise.
2353 * extra-lib.mk: Likewise.
2354 * iconv/Makefile: Likewise.
2355 * include/libc-symbols.h: Likewise.
2356 * include/shlib-compat.h: Likewise.
2357 * resolv/Makefile: Likewise.
2358 * resolv/res_libc.c: Likewise.
2359 * rt/Makefile: Likewise.
2360 * sysdeps/i386/asm-syntax.h: Likewise.
2361 * sysdeps/i386/sysdep.h: Likewise.
2362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2363 * sysdeps/mach/sysdep.h: Likewise.
2364 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2365 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2366 * sysdeps/s390/asm-syntax.h: Likewise.
2367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2369 * sysdeps/sh/sysdep.h: Likewise.
2370 * sysdeps/unix/sparc/sysdep.h: Likewise.
2371 * sysdeps/wordsize-32/divdi3.c: Likewise.
2372 * sysdeps/x86_64/sysdep.h: Likewise.
2374 * argp/Versions: Remove _argp_unlock_xxx.
2377 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2378 * abilist/libBrokenLocale.abilist: Likewise.
2379 * abilist/libanl.abilist: Likewise.
2380 * abilist/libc.abilist: Likewise.
2381 * abilist/libcrypt.abilist: Likewise.
2382 * abilist/libdl.abilist: Likewise.
2383 * abilist/libm.abilist: Likewise.
2384 * abilist/libnsl.abilist: Likewise.
2385 * abilist/libpthread.abilist: Likewise.
2386 * abilist/libresolv.abilist: Likewise.
2387 * abilist/librt.abilist: Likewise.
2388 * abilist/libthread_db.abilist: Likewise.
2389 * abilist/libutil.abilist: Likewise.
2390 * abilist/libnss_db.abilist: New file.
2392 * scripts/abilist.awk: Add support for indirect functions.
2394 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2396 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2398 * shlib-versions: Remove entries for ports architectures.
2400 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2402 * elf/stackguard-macros.h: Remove support for IA-64.
2403 * elf/tst-auditmod1.c: Likewise.
2404 * sysdeps/generic/ldsodefs.h: Likewise.
2406 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2407 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2411 * configure.in: Remove --enable-omitfp support.
2413 * config.make.in: Likewise.
2414 * Makeconfig: Likewise.
2415 * manual/install.texi: Likewise.
2417 In case anyone cares, the IA-64 architecture could move to ports.
2418 * sysdeps/ia64/*: Removed.
2419 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2420 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2423 * configure.in: Remove entries for unsupported architectures.
2426 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2427 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2429 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2430 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2431 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2432 fall back to using wcrtomb.
2433 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2434 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2436 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2437 * wcsmbs/tst-c16c32-1.c: New file.
2439 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2442 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2444 * elf/tst-unique3.cc: Add explicit declaration of gets.
2445 * elf/tst-unique3lib.cc: Likewise.
2446 * elf/tst-unique3lib2.cc: Likewise.
2447 * elf/tst-unique4.cc: Likewise.
2449 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2451 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2454 * assert/assert.h (static_assert): Don't define for C++.
2455 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2456 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2458 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2460 * iconv/loop.c (single loop): Fix assertion in storing of
2463 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2465 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2467 * posix/getconf.c: Update copyright year.
2468 * nss/getent.c: Likewise.
2469 * nss/makedb.c: Likewise.
2470 * iconv/iconvconfig.c: Likewise.
2471 * iconv/iconv_prog.c: Likewise.
2472 * elf/ldconfig.c: Likewise.
2473 * elf/pldd.c: Likewise.
2474 * elf/sotruss.ksh: Likewise.
2475 * catgets/gencat.c: Likewise.
2476 * csu/version.c: Likewise.
2477 * elf/ldd.bash.in: Likewise.
2478 * elf/sprof.c (print_version): Likewise.
2479 * locale/programs/locale.c: Likewise.
2480 * locale/programs/localedef.c: Likewise.
2481 * login/programs/pt_chown.c: Likewise.
2482 * nscd/nscd.c (print_version): Likewise.
2483 * debug/xtrace.sh: Likewise.
2484 * malloc/memusage.sh: Likewise.
2485 * malloc/mtrace.pl: Likewise.
2486 * debug/catchsegv.sh: Likewise.
2488 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2490 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2493 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2496 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2497 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2499 * iconv/gconv_int.h: Likewise.
2500 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2501 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2502 from libc for GLIBC_2.16.
2503 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2504 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2505 * wcsmbs/uchar.h: Really define mbstate_t.
2506 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2507 * wcsmbs/c16rtomb.c: New file.
2508 * wcsmbs/mbrtoc16.c: New file.
2509 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2511 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2512 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2514 * wcsmbs/wchar.h: Add missing __restrict.
2516 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2519 * time/Makefile (routines): Add timespec_get.
2520 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2521 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2522 timespec for ISO C11.
2523 * time/timespec_get.c: New file.
2524 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2525 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2528 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2529 * stdlib/stdlib.h: Declare aligned_alloc.
2530 * Versions.def: Add GLIBC_2.16 for libc.
2531 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2534 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2537 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2541 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2544 * assert/assert.h (static_assert): Define.
2546 * version.h: Update for 2.16 development version.
2549 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2552 * version.h (RELEASE): Bump for 2.15 release.
2553 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2555 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2556 Patch by Marek Polacek <mpolacek@redhat.com>.
2558 * bits/byteswap.h: Protect long long constants with __extension__.
2559 * sysdeps/i386/bits/byteswap.h: Likewise.
2560 * sysdeps/ia64/bits/byteswap.h: Likewise.
2561 * sysdeps/s390/bits/byteswap.h: Likewise.
2562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2564 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2569 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2571 2011-12-23 Marek Polacek <polacek@redhat.com>
2573 * elf/dl-addr.c (determine_info): Add inline keyword.
2574 * elf/tst-auditmod4b.c (check_avx): Likewise.
2575 * elf/tst-auditmod6b.c (check_avx): Likewise.
2576 * elf/tst-auditmod6c.c (check_avx): Likewise.
2577 * elf/tst-auditmod7b.c (check_avx): Likewise.
2579 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2581 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2584 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2587 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2588 processing for last bytes.
2590 2011-08-06 Bruno Haible <bruno@clisp.org>
2593 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2594 U+0385, not to U+1FEE.
2597 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2598 entry for U+00A5 U+0301.
2600 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2603 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2604 buffer for the output is too small.
2606 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2610 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2611 SSE flags if possible.
2613 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2617 processing for last bytes.
2619 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2622 (syscall-list-default-options, syscall-list-default-condition)
2623 (syscall-list-includes): Define.
2624 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2625 list of ABIs and options and #if conditions for each ABI. Do not
2626 handle common syscalls between ABIs specially.
2627 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2629 (syscall-list-variants, syscall-list-32bit-options)
2630 (syscall-list-32bit-condition, syscall-list-64bit-options)
2631 (syscall-list-64bit-condition): Define.
2632 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2633 (syscall-list-variants, syscall-list-32bit-options)
2634 (syscall-list-32bit-condition, syscall-list-64bit-options)
2635 (syscall-list-64bit-condition): Define.
2636 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2638 (syscall-list-variants, syscall-list-32bit-options)
2639 (syscall-list-32bit-condition, syscall-list-64bit-options)
2640 (syscall-list-64bit-condition): Define.
2641 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2643 (syscall-list-variants, syscall-list-32bit-options)
2644 (syscall-list-32bit-condition, syscall-list-64bit-options)
2645 (syscall-list-64bit-condition): Define.
2647 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2649 * locale/iso-639.def: Add brx entry.
2652 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2653 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2655 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2656 __feraiseexcept_renamed.
2658 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2661 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2662 EPOLLET with unsigned values.
2663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2664 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2666 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2667 to large cancellation.
2668 * math/s_cacoshf.c: Likewise.
2669 * math/s_cacoshl.c: Likewise.
2671 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2675 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2676 * math/s_cacoshf.c: Likewise.
2677 * math/s_cacoshl.c: Likewise.
2679 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2682 * iconv/gconv.h: Define __GCONV_SWAP.
2683 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2684 * iconvdata/utf-16.c: Likewise.
2685 * iconvdata/utf-32.c: Likewise.
2687 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2691 numerator after shifting it by one limb.
2693 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2696 under [__USE_EXTERN_INLINES].
2698 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2701 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2703 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2705 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2706 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2708 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2709 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2710 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2711 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2712 for strncasecmp/strncasecmp_l compilation.
2713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2714 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2716 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2719 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2722 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2725 * time/tzfile.c (__tzfile_read): Check values from file header.
2727 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2729 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2730 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2731 * powerpc/powerpc32/dl-start.S: Likewise.
2732 * powerpc/powerpc32/elf/start.S: Likewise.
2733 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2734 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2735 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2736 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2737 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2738 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2739 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2740 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2741 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2742 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2743 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2744 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2745 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2746 * powerpc/powerpc32/memset.S: Likewise.
2747 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2748 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2749 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2750 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2751 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2752 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2753 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2754 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2755 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2756 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2757 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2758 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2759 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2761 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2763 * math/libm-test.inc: Added more nearbyint tests.
2764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2769 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2771 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2774 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2776 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2777 Add wcscpy-ssse3 wcscpy-c.
2778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2779 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2780 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2781 * sysdeps/x86_64/wcschr.S: New file.
2782 * sysdeps/x86_64/wcsrchr.S: New file.
2783 * string/test-strcmp.c: Remove checking of wcscmp function for
2785 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2786 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2787 wcsrchr-sse2 wcsrchr-c.
2788 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2789 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2790 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2791 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2792 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2793 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2794 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2795 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2797 * wcsmbc/wcschr.c (WCSCHR): New macro.
2799 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2801 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2802 * wcsmbs/test-wcsrchr.c: New file.
2803 * string/test-strrchr.c: Add wcsrchr support.
2805 * wcsmbs/test-wcscpy.c: New file.
2806 * string/test-strcpy.c: Add wcscpy support.
2809 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2814 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2817 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2819 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2822 Minor optimizations.
2824 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2825 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2826 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2828 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2830 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2831 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2832 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2833 for gcc to avoid warnings.
2834 * inet/Makefile (tests): Add tst-checks.
2835 * inet/tst-checks.c: New file.
2837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2840 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2843 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2844 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2846 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2848 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2850 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2853 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2855 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2857 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2858 conditional on GCC version.
2859 (__arch_compare_and_exchange_val_8_acq)
2860 (__arch_compare_and_exchange_val_16_acq)
2861 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2862 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2863 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2865 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2867 * sysdeps/sh/backtrace.c: New file.
2869 2011-12-02 Andreas Schwab <schwab@redhat.com>
2871 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2874 2011-12-01 Andreas Schwab <schwab@redhat.com>
2876 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2877 falling back to utime.
2879 2011-11-30 Andreas Schwab <schwab@redhat.com>
2881 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2882 expectations for float.
2884 2011-11-29 Andreas Schwab <schwab@redhat.com>
2886 * locale/weight.h (findidx): Add parameter len.
2887 * locale/weightwc.h (findidx): Likewise.
2888 * posix/fnmatch_loop.c (FCT): Adjust caller.
2889 * posix/regcomp.c (build_equiv_class): Likewise.
2890 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2891 * posix/regexec.c (check_node_accept_bytes): Likewise.
2892 * string/strcoll_l.c (STRCOLL): Likewise.
2893 * string/strxfrm_l.c (STRXFRM): Likewise.
2895 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2897 * Makefile.in: Remove CVSOPT handling.
2898 * configure.in: Remove use of AC_REVISION.
2899 * iconvdata/Makefile (distribute): No need to filter out CVS.
2900 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2903 2011-11-16 Andreas Schwab <schwab@redhat.com>
2905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2906 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2907 [USE_AS_STRNCASECMP_L]: Likewise.
2908 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2909 NO_TLS_DIRECT_SEG_REFS.
2910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2911 Fix argument offsets for non-PIC.
2912 [USE_AS_STRNCASECMP_L]: Likewise.
2913 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2914 NO_TLS_DIRECT_SEG_REFS.
2916 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2918 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2920 * locale/loadlocale.c (_nl_load_locale): Likewise.
2922 2011-11-15 Andreas Schwab <schwab@redhat.com>
2924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2925 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2927 (SYSCALL_GETTIME): Set errno on error.
2929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2930 count references to noai6ai_cached.
2932 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2934 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2936 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2937 FD_CLOEXEC for /proc/self/maps.
2939 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2940 FD_CLOEXEC for /proc/meminfo.
2942 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2945 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2946 FD_CLOEXEC for given file.
2948 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2950 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2951 FD_CLOEXEC for /etc/hosts.
2952 (_gethtent): Likewise.
2954 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2956 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2957 cancellation and set FD_CLOEXEC for /etc/netgroup.
2959 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2960 reading /etc/publickey.
2962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2963 allow cancellation when reading /etc/group.
2965 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2967 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2969 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2970 when using data file.
2972 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2974 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2975 (write_nis_obj): Use "c" and "e" in fopen.
2977 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2979 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2981 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2983 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2985 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2988 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2990 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2992 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2994 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2995 file parsing and set FD_CLOEXEC.
2997 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2999 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3001 2011-11-14 Andreas Schwab <schwab@redhat.com>
3003 * malloc/arena.c (arena_get2): Don't call reused_arena when
3004 _int_new_arena failed.
3006 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3008 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3009 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3014 to compile strcasecmp and strncasecmp.
3015 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3016 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3018 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3020 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3023 locale-defines.sym to gen-as-const-headers.
3024 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3025 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3027 to compile strcasecmp and strncasecmp.
3028 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3029 strcasecmp_l and strncasecmp_l.
3030 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3031 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3032 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3034 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3035 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3036 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3037 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3038 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3039 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3040 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3042 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3044 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3045 result of SYSDEP_GETTIME_CPU to retval.
3046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3047 parameter list to macro. Remove trailing semicolon. Adjust users.
3049 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3052 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3056 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3057 from unused variable.
3059 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3061 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3064 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3067 * sunrpc/rpc_prot.c (rejected): Fix case value.
3069 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3070 unsigned long long int to avoid warnings in shift.
3072 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3074 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3078 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3081 * nis/nis_table.c (nis_list): Use variable of correct type for
3082 result of __follow_path call.
3084 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3087 of math functions ceil, trunc, floor, round, and sqrt, when
3088 avaliable on the platform.
3089 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3091 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3092 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3093 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3095 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3097 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3100 2011-11-11 Roland McGrath <roland@hack.frob.com>
3102 * include/unistd.h: Fix __readlink return type.
3103 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3105 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3107 * stdlib/ucontext.h: Undo last change for makecontext.
3109 2011-11-11 Andreas Schwab <schwab@redhat.com>
3111 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3113 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3114 * setjmp/setjmp.h: Mark functions as non-leaf.
3115 * setjmp/bits/setjmp2.h: Likewise.
3116 * stdlib/ucontext.h: Likewise.
3118 2011-11-10 Andreas Schwab <schwab@redhat.com>
3120 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3121 (reused_arena): Don't check arena limit.
3122 (arena_get2): Atomically check arena limit.
3124 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3126 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3127 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3132 2011-11-07 Andreas Schwab <schwab@redhat.com>
3134 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3135 handler when locking.
3137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3138 Fix size of allocated buffer.
3140 2011-11-04 Andreas Schwab <schwab@redhat.com>
3143 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3144 declarations for long double functions.
3145 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3147 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3149 2011-11-03 Andreas Schwab <schwab@redhat.com>
3151 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3154 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3157 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3159 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3161 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3163 * include/alloca.h (stackinfo_alloca_round): Define.
3164 (extend_alloca): Use it.
3165 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3166 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3169 * scripts/check-local-headers.sh: Ignore libaudit.h.
3171 * nscd/Makefile (extra-objs): Make recursively expanded.
3173 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3175 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3178 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3179 * posix/tst-rfc3484-2.c: Likewise.
3180 * posix/tst-rfc3484-3.c: Likewise.
3182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3184 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3186 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3187 process_vm_writev from libc using GLIBC_2.15 version.
3189 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3191 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3193 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3196 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3199 * nss/getent.c (initgroups_keys): Show error message in case no group
3202 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3203 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3204 __bump_nl_timestamp.
3205 * nscd/connections (nscd_init): When host database is served open
3206 netlink socket and request notification about configuration changes.
3207 (main_loop_poll): Track netlink file descriptor and bump timestamp
3208 in case data becomes available.
3209 (main_loop_epoll): Likewise.
3210 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3211 (database_pers_head): Add extra_data fileds.
3212 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3214 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3217 in6ai data, call __free_in6ai.
3218 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3220 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3221 interface information. Reuse previous data if netlink timestamp
3223 (__bump_nl_timestamp): New function.
3224 (__free_in6ai): New function.
3226 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3229 close_not_cancel_no_status here.
3230 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3232 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3235 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3238 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3239 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3240 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3242 2011-07-03 Andreas Jaeger <aj@suse.de>
3245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3246 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3247 * math/libm-test.inc (sin_test): Add test case.
3249 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3252 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3253 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3255 * elf/chroot_canon.c (chroot_canon): Cleanups.
3257 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3260 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3261 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3263 * string/test-strchr.c: Make usable for strchrnul testing.
3264 * string/test-strchrnul.c: New file.
3265 * string/Makefile (strop-tests): Add strchrnul.
3267 * po/it.po: Update from translation team.
3268 * po/es.po: Likewise.
3270 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3273 the three constants needed as parameters. Drop the others.
3274 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3275 __m128i_strloadu_tolower.
3276 Create and initialize variable zero and use it in all the places
3277 where _mm_setzero_si128 was used.
3279 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3280 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3281 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3284 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3287 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3288 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3289 __mpranred, __mptan.
3290 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3291 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3292 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3293 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3294 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3295 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3297 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3300 2011-10-28 Andreas Schwab <schwab@redhat.com>
3302 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3304 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3307 wide char related routines to wcsmbs subdir.
3309 2011-10-27 Andreas Schwab <schwab@redhat.com>
3312 * misc/sys/cdefs.h (__THROWNL): Define.
3313 * posix/unistd.h: Use __THREADNL instead of __THREAD
3314 for memory synchronization functions.
3316 2011-10-26 Roland McGrath <roland@hack.frob.com>
3319 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3321 * manual/stdio.texi (Obstack Streams): Node removed.
3323 2011-10-26 Andreas Schwab <schwab@redhat.com>
3325 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3329 * math/math_private.h (math_force_eval): Allow non-addressable
3331 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3333 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3341 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3344 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3345 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3347 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3348 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3349 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3350 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3351 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3352 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3353 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3355 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3356 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3357 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3358 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3361 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3362 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3363 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3365 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3367 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3368 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3371 place. Use VEX encoding when compiling for AVX.
3373 2011-10-25 Andreas Schwab <schwab@redhat.com>
3375 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3378 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3380 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3382 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3383 useless if() expression.
3384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3393 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3395 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3398 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3399 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3400 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3404 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3406 2011-10-25 Andreas Schwab <schwab@redhat.com>
3408 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3412 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3414 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3415 .text section. Avoid duplicate constants.
3416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3425 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3426 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3428 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3429 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3430 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3439 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3440 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3441 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3442 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3443 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3445 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3447 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3448 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3449 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3450 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3451 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3452 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3453 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3454 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3455 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3462 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3464 * sysdeps/x86_64/dla.h: Move to ...
3465 * sysdeps/x86_64/fpu/dla.h: ...here.
3466 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3467 situations. Use __builtin_fma only for gcc 4.6 and up.
3469 * config.make.in: Add have-mfma4 entry.
3470 * configure.in: Substitute libc_cv_cc_fma4.
3471 * math/Makefile (dbl-only-routines): Add sincostab.
3472 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3473 Use __sincostab not sincos.
3474 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3481 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3482 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3483 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3484 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3487 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3489 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3490 define aliases when function name is a macro.
3491 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3492 sysdeps/ieee754/dbl-64/sincos.tbl.
3493 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3494 fma4-enabled routines.
3495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3496 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3497 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3498 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3501 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3505 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3507 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3508 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3510 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3511 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3512 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3513 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3515 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3522 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3526 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3537 2011-10-24 Andreas Schwab <schwab@redhat.com>
3539 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3541 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3545 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3549 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3550 Remove unused variable magic_bits.
3551 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3553 * string/strnlen.c: Define and use STRNLEN macro.
3554 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3555 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3557 * wcsmbs/wcslen.c: Define and use WCSLEN.
3558 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3559 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3560 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3561 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3562 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3563 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3566 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3569 strnlen-sse2-no-bsf.
3570 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3573 Add strnlen support.
3574 (USE_AS_STRNLEN): New macro.
3575 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3577 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3578 * sysdeps/x86_64/wcslen.S: New file.
3580 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3583 XMM-moves are used for copying on small sizes.
3585 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3587 * wcsmbs/Makefile (strop-tests): Add wcschr.
3588 * wcsmbs/test-wcschr.c: New file.
3589 * string/test-strchr.c: Update.
3593 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3595 * wcsmbs/Makefile (strop-tests): Add wcslen.
3596 * wcsmbs/test-wcslen.c: New file.
3597 * string/test-strlen.c: Update.
3601 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3603 * po/it.po: Update from translation team.
3605 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3607 * sysdeps/x86_64/wcscmp.S: Update.
3608 Fix wrong comparison semantics.
3609 wcscmp shall use signed comparison not unsigned.
3610 Don't use substraction to avoid overflow bug.
3611 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3612 * wcsmbc/wcscmp.c: Likewise.
3613 * string/test-strcmp.c: Likewise.
3614 Add new tests to check cases with negative values.
3616 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3618 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3619 * sysdeps/x86_64/dla.h: ...here. New file.
3620 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3630 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3633 __ynl_finite aliases.
3635 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3639 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3641 [DLA_FMA] (EMULV): Use DLA_FMA.
3642 [DLA_FMA] (MUL12): Use EMULV.
3643 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3644 that are not needed.
3645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3653 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3655 * math/s_nan.c: Undef __nan.
3656 * math/s_nanf.c: Undef __nanf.
3657 * math/s_nanl.c: Undef __nanl.
3658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3661 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3663 * math/s_catan.c: Add branch predictions.
3664 * math/s_catanf.c: Likewise.
3665 * math/s_catanh.c: Likewise.
3666 * math/s_catanhf.c: Likewise.
3667 * math/s_catanhl.c: Likewise.
3668 * math/s_catanl.c: Likewise.
3669 * math/s_cexp.c: Likewise.
3670 * math/s_cexpf.c: Likewise.
3671 * math/s_cexpl.c: Likewise.
3672 * math/s_clog.c: Likewise.
3673 * math/s_clog10.c: Likewise.
3674 * math/s_clog10f.c: Likewise.
3675 * math/s_clog10l.c: Likewise.
3676 * math/s_clogf.c: Likewise.
3677 * math/s_clogl.c: Likewise.
3678 * math/s_csqrt.c: Likewise.
3679 * math/s_csqrtf.c: Likewise.
3680 * math/s_csqrtl.c: Likewise.
3681 * math/s_ctanf.c: Likewise.
3682 * math/s_ctanh.c: Likewise.
3683 * math/s_ctanhf.c: Likewise.
3684 * math/s_ctanhl.c: Likewise.
3685 * math/s_ctanl.c: Likewise.
3687 * math/math_private.h: Define __nan, __nanf, __nanl.
3688 * math/s_cacosh.c: Include <math_private.h>.
3689 * math/s_cacoshl.c: Likewise.
3690 * math/s_casinh.c: Likewise.
3691 * math/s_casinhf.c: Likewise.
3692 * math/s_casinhl.c: Likewise.
3693 * math/s_ccos.c: Rely entire on ccosh.
3694 * math/s_ccosf.c: Rely entire on ccoshf.
3695 * math/s_ccosl.c: Rely entirely on ccoshl.
3696 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3697 Remove tests for FE_INVALID.
3698 * math/s_ccoshf.c: Likewise.
3699 * math/s_ccoshl.c: Likewise.
3700 * math/s_csin.c: Likewise.
3701 * math/s_csinf.c: Likewise.
3702 * math/s_csinh.c Likewise.
3703 * math/s_csinhf.c: Likewise.
3704 * math/s_csinhl.c: Likewise.
3705 * math/s_csinl.c: Likewise.
3706 * math/s_ctan.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3708 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3711 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3714 compilation problems.
3716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3719 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3721 * sysdeps/i386/configure.in: Test for -mfma4 option.
3722 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3723 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3724 COMMON_CPUID_INDEX_80000001.
3725 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3726 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3727 use it if FMA3 is not supported.
3728 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3730 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3733 2011-10-20 Andreas Schwab <schwab@redhat.com>
3736 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3737 it would create a cycle with a link time dependency.
3739 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3741 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3743 * string/Makefile (strop-tests): Add rawmemchr.
3744 * string/test-rawmemchr.c: New file.
3746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3748 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3749 when compiling str{,n}casecmp and when AVX is available. Hook up
3750 new optimized code in initializers.
3752 2011-10-19 Andreas Schwab <schwab@redhat.com>
3754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3755 __feraiseexcept instead of feraiseexcept.
3757 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3759 * math/math_private.h: Define defaults for libc_fetestexcept and
3761 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3762 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3763 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3764 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3766 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3767 libc_fetestexcept and libc_feupdateenv.
3769 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3770 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3771 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3772 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3773 libc_feholdexcept_setround.
3775 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3776 Add s_nearbyint-c and s_nearbyintf-c.
3777 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3780 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3782 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3784 * math/math_private.h: Define defaults for libc_fegetround,
3785 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3786 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3787 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3788 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3789 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3792 Remove comments and hacks for old compiler versions.
3793 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3794 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3797 2011-10-18 Andreas Schwab <schwab@redhat.com>
3799 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3800 (__feraiseexcept_renamed): Add __NTH.
3801 (feraiseexcept): Add __NTH. Rename local variables to fix
3802 namespace violations.
3804 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3810 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3811 recently added interfaces.
3812 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3814 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3815 about macro parameter expansion.
3817 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3818 __NO_MATH_INLINES is defined. Cleanups.
3820 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3821 and __floorf is target has SSE4.1.
3822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3823 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3827 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3831 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3833 2011-10-17 Andreas Schwab <schwab@redhat.com>
3835 * misc/sys/cdefs.h: Fix last change.
3837 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3840 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3842 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3844 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3853 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3854 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3856 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3857 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3859 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3861 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3862 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3865 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3867 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3868 ceil, ceilf, floor, floorf.
3870 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3871 Perform IRELATIVE relocations last.
3873 * elf/do-rel.h: Add another parameter nrelative, replacing the
3874 local variable with the same name. Change name of the function
3875 to end in Rel or Rela (uppercase).
3876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3877 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3878 elf_dynamic_do_##reloc function.
3880 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3882 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3883 is sufficient, at least on modern CPUs.
3885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3887 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3890 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3892 * math/bits/math-finite.h: Add entries for exp.
3893 * math/e_expl.c: Add __*_finite alias.
3894 * sysdeps/i386/fpu/e_exp.S: Likewise.
3895 * sysdeps/i386/fpu/e_expf.S: Likewise.
3896 * sysdeps/i386/fpu/e_expl.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3905 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3906 is sufficient, at least on modern CPUs.
3908 * ctype/ctype-info.c (__ctype_init): Define.
3909 * include/ctype.h (__ctype_init): Declare.
3910 (__ctype_b_loc): The variable is always initialized.
3911 (__ctype_toupper_loc): Likewise.
3912 (__ctype_tolower_loc): Likewise.
3913 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3914 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3916 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3918 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3920 * configure.in: Also look in $cxxmachine/include for C++ system
3923 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3925 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3926 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3927 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3928 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3930 (USE_AS_WMEMCMP): New macro.
3932 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3933 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3934 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3935 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3937 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3938 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3939 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3940 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3941 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3943 (USE_AS_WMEMCMP): New macro.
3944 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3945 * sysdeps/string/test-memcmp.c: Update.
3948 * wcsmbs/wmemcmp.c: Update.
3949 (WMEMCMP): New macro.
3952 2011-10-12 Andreas Jaeger <aj@suse.de>
3955 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3957 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3959 * libio/iofwide.c (do_length): Avoid warning.
3961 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3963 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3965 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3967 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3968 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3969 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3970 * sysdeps/i386/i686/fpu/e_log.S: New file.
3971 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3972 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3974 * ctype/ctype.h: Add support for inlined isXXX functions when
3977 2011-10-14 Andreas Schwab <schwab@redhat.com>
3979 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3983 2011-10-13 Roland McGrath <roland@hack.frob.com>
3986 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3988 2011-10-13 Andreas Schwab <schwab@redhat.com>
3990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3991 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3994 * sysdeps/x86_64/memrchr.S: Check for zero size.
3996 * string/stratcliff.c: Add memrchr tests.
3998 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4001 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4002 rawmemchr-sse2 rawmemchr-sse2-bsf.
4003 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4004 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4005 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4006 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4007 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4008 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4009 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4010 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4012 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4013 * string/memrchr.c (MEMRCHR): New macro.
4015 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4017 Add integration with gcc's -ffinite-math-only and optimize wrapper
4019 * Versions.def: Define GLIBC_2.15 version for libm.
4020 * math/Makefile (headers): Add bits/math-finite.h.
4021 * math/bits/math-finite.h: New file.
4022 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4023 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4024 * math/e_acoshl.c: Add __*_finite alias.
4025 * math/e_acosl.c: Likewise.
4026 * math/e_asinl.c: Likewise.
4027 * math/e_atan2l.c: Likewise.
4028 * math/e_atanhl.c: Likewise.
4029 * math/e_coshl.c: Likewise.
4030 * math/e_exp10.c: Likewise.
4031 * math/e_exp10f.c: Likewise.
4032 * math/e_exp10l.c: Likewise.
4033 * math/e_exp2l.c: Likewise.
4034 * math/e_fmodl.c: Likewise.
4035 * math/e_gammal_r.c: Likewise.
4036 * math/e_hypotl.c: Likewise.
4037 * math/e_j0l.c: Likewise.
4038 * math/e_j1l.c: Likewise.
4039 * math/e_jnl.c: Likewise.
4040 * math/e_lgammal_r.c: Likewise.
4041 * math/e_log10l.c: Likewise.
4042 * math/e_log2l.c: Likewise.
4043 * math/e_logl.c: Likewise.
4044 * math/e_powl.c: Likewise.
4045 * math/e_sinhl.c: Likewise.
4046 * math/e_sqrtl.c: Likewise.
4047 * math/e_scalb.c: Completely rewritten and optimized.
4048 * math/e_scalbf.c: Likewise.
4049 * math/e_scalbl.c: Likewise.
4050 * math/w_acos.c: Likewise.
4051 * math/w_acosf.c: Likewise.
4052 * math/w_acosl.c: Likewise.
4053 * math/w_acosh.c: Likewise.
4054 * math/w_acoshf.c: Likewise.
4055 * math/w_acoshl.c: Likewise.
4056 * math/w_asin.c: Likewise.
4057 * math/w_asinf.c: Likewise.
4058 * math/w_asinl.c: Likewise.
4059 * math/w_atan2.c: Likewise.
4060 * math/w_atan2f.c: Likewise.
4061 * math/w_atan2l.c: Likewise.
4062 * math/w_atanh.c: Likewise.
4063 * math/w_atanhf.c: Likewise.
4064 * math/w_atanhl.c: Likewise.
4065 * math/w_exp10.c: Likewise.
4066 * math/w_exp10f.c: Likewise.
4067 * math/w_exp10l.c: Likewise.
4068 * math/w_fmod.c: Likewise.
4069 * math/w_fmodf.c: Likewise.
4070 * math/w_fmodl.c: Likewise.
4071 * math/w_j0.c: Likewise.
4072 * math/w_j0f.c: Likewise.
4073 * math/w_j0l.c: Likewise.
4074 * math/w_j1.c: Likewise.
4075 * math/w_j1f.c: Likewise.
4076 * math/w_j1l.c: Likewise.
4077 * math/w_jn.c: Likewise.
4078 * math/w_jnf.c: Likewise.
4079 * math/w_log.c: Likewise.
4080 * math/w_logf.c: Likewise.
4081 * math/w_logl.c: Likewise.
4082 * math/w_log10.c: Likewise.
4083 * math/w_log10f.c: Likewise.
4084 * math/w_log10l.c: Likewise.
4085 * math/w_log2.c: Likewise.
4086 * math/w_log2f.c: Likewise.
4087 * math/w_log2l.c: Likewise.
4088 * math/w_pow.c: Likewise.
4089 * math/w_powf.c: Likewise.
4090 * math/w_powl.c: Likewise.
4091 * math/w_remainder.c: Likewise.
4092 * math/w_remainderf.c: Likewise.
4093 * math/w_remainderl.c: Likewise.
4094 * math/w_scalb.c: Likewise.
4095 * math/w_scalbf.c: Likewise.
4096 * math/w_scalbl.c: Likewise.
4097 * math/w_sqrt.c: Likewise.
4098 * math/w_sqrtf.c: Likewise.
4099 * math/w_sqrtl.c: Likewise.
4100 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4101 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4103 * math/math_private.h: Declare __kernel_standard_f.
4104 * math/w_cosh.c: Remove cruft and optimize a bit.
4105 * math/w_coshf.c: Likewise.
4106 * math/w_coshl.c: Likewise.
4107 * math/w_exp2.c: Likewise.
4108 * math/w_exp2f.c: Likewise.
4109 * math/w_exp2l.c: Likewise.
4110 * math/w_hypot.c: Likewise.
4111 * math/w_hypotf.c: Likewise.
4112 * math/w_hypotl.c: Likewise.
4113 * math/w_lgamma.c: Likewise.
4114 * math/w_lgamma_r.c: Likewise.
4115 * math/w_lgammaf.c: Likewise.
4116 * math/w_lgammaf_r.c: Likewise.
4117 * math/w_lgammal.c: Likewise.
4118 * math/w_lgammal_r.c: Likewise.
4119 * math/w_sinh.c: Likewise.
4120 * math/w_sinhf.c: Likewise.
4121 * math/w_sinhl.c: Likewise.
4122 * math/w_tgamma.c: Likewise.
4123 * math/w_tgammaf.c: Likewise.
4124 * math/w_tgammal.c: Likewise.
4125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4127 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4128 Minor optimizations. Pretty printing. Remove cruft.
4129 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4130 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4132 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4133 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4134 * sysdeps/i386/fpu/e_asin.S: Likewise.
4135 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4136 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4137 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4138 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4139 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4142 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4143 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4144 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4145 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4146 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4147 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4148 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4149 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4150 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4151 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4152 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4153 * sysdeps/i386/fpu/e_log.S: Likewise.
4154 * sysdeps/i386/fpu/e_log10.S: Likewise.
4155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4157 * sysdeps/i386/fpu/e_log2.S: Likewise.
4158 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4160 * sysdeps/i386/fpu/e_logf.S: Likewise.
4161 * sysdeps/i386/fpu/e_logl.S: Likewise.
4162 * sysdeps/i386/fpu/e_pow.S: Likewise.
4163 * sysdeps/i386/fpu/e_powf.S: Likewise.
4164 * sysdeps/i386/fpu/e_powl.S: Likewise.
4165 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4166 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4167 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4171 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4172 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4173 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4203 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4205 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4208 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4209 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4210 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4211 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4267 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4268 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4269 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4270 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4271 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4272 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4273 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4274 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4275 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4276 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4277 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4282 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4284 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4285 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4286 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4287 (__isnanf): Likewise.
4288 (__isinf_ns): Likewise.
4289 (__isinf_nsf): Likewise.
4290 (__finite): Likewise.
4291 (__finitef): Likewise.
4292 (__ieee754_sqrt): Define as macro.
4293 (__ieee754_sqrtf): Define as macro.
4294 (__ieee754_sqrtl): Define as macro.
4295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4297 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4298 __FINITE_MATH_ONLY__ consistent.
4299 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4301 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4303 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4308 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4310 * po/ja.po: Update from translation team.
4312 2011-10-08 Roland McGrath <roland@hack.frob.com>
4314 * locale/programs/locarchive.c (prepare_address_space): New function.
4315 (create_archive, enlarge_archive, open_archive): Use it.
4317 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4318 inside [SHARED], where it is used.
4320 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4322 * nss/getent.c (netgroup_keys): Remove unused variable.
4323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4325 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4327 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4331 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4333 * math/Makefile (libm-calls): Add s_isinf_ns.
4334 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4335 * math/multc3.c: Likewise.
4336 * math/s_casin.c: Likewise.
4337 * math/s_casinf.c: Likewise.
4338 * math/s_casinl.c: Likewise.
4339 * math/s_ccos.c: Likewise.
4340 * math/s_ccosf.c: Likewise.
4341 * math/s_ccosl.c: Likewise.
4342 * math/s_ctan.c: Likewise.
4343 * math/s_ctanf.c: Likewise.
4344 * math/s_ctanh.c: Likewise.
4345 * math/s_ctanhf.c: Likewise.
4346 * math/s_ctanhl.c: Likewise.
4347 * math/s_ctanl.c: Likewise.
4348 * math/w_fmod.c: Likewise.
4349 * math/w_fmodf.c: Likewise.
4350 * math/w_fmodl.c: Likewise.
4351 * math/w_remainder.c: Likewise.
4352 * math/w_remainderf.c: Likewise.
4353 * math/w_remainderl.c: Likewise.
4354 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4355 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4358 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4359 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4360 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4361 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4363 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4365 * stdio-common/printf_fphex.c: Likewise.
4366 * stdio-common/printf_size.c: Likewise.
4368 * math/e_exp10.c: Include math_private.h using <...> not "...".
4369 * math/e_exp10f.c: Likewise.
4370 * math/e_exp10l.c: Likewise.
4371 * math/e_exp2l.c: Likewise.
4372 * math/e_j0l.c: Likewise.
4373 * math/e_j1l.c: Likewise.
4374 * math/e_jnl.c: Likewise.
4375 * math/e_lgammal_r.c: Likewise.
4376 * math/e_rem_pio2l.c: Likewise.
4377 * math/e_scalb.c: Likewise.
4378 * math/e_scalbf.c: Likewise.
4379 * math/e_scalbl.c: Likewise.
4380 * math/k_cosl.c: Likewise.
4381 * math/k_sinl.c: Likewise.
4382 * math/k_tanl.c: Likewise.
4383 * math/s_cacoshf.c: Likewise.
4384 * math/s_catan.c: Likewise.
4385 * math/s_catanf.c: Likewise.
4386 * math/s_catanh.c: Likewise.
4387 * math/s_catanhf.c: Likewise.
4388 * math/s_catanhl.c: Likewise.
4389 * math/s_catanl.c: Likewise.
4390 * math/s_ccosh.c: Likewise.
4391 * math/s_ccoshf.c: Likewise.
4392 * math/s_ccoshl.c: Likewise.
4393 * math/s_cexp.c: Likewise.
4394 * math/s_cexpf.c: Likewise.
4395 * math/s_cexpl.c: Likewise.
4396 * math/s_clog.c: Likewise.
4397 * math/s_clog10.c: Likewise.
4398 * math/s_clog10f.c: Likewise.
4399 * math/s_clog10l.c: Likewise.
4400 * math/s_clogf.c: Likewise.
4401 * math/s_clogl.c: Likewise.
4402 * math/s_csin.c: Likewise.
4403 * math/s_csinf.c: Likewise.
4404 * math/s_csinh.c: Likewise.
4405 * math/s_csinhf.c: Likewise.
4406 * math/s_csinhl.c: Likewise.
4407 * math/s_csinl.c: Likewise.
4408 * math/s_csqrt.c: Likewise.
4409 * math/s_csqrtf.c: Likewise.
4410 * math/s_csqrtl.c: Likewise.
4411 * math/s_ctan.c: Likewise.
4412 * math/s_ctanf.c: Likewise.
4413 * math/s_ctanh.c: Likewise.
4414 * math/s_ctanhf.c: Likewise.
4415 * math/s_ctanhl.c: Likewise.
4416 * math/s_ctanl.c: Likewise.
4417 * math/s_ldexp.c: Likewise.
4418 * math/s_ldexpf.c: Likewise.
4419 * math/s_ldexpl.c: Likewise.
4420 * math/s_significand.c: Likewise.
4421 * math/s_significandf.c: Likewise.
4422 * math/s_significandl.c: Likewise.
4423 * math/w_acos.c: Likewise.
4424 * math/w_acosf.c: Likewise.
4425 * math/w_acosh.c: Likewise.
4426 * math/w_acoshf.c: Likewise.
4427 * math/w_acoshl.c: Likewise.
4428 * math/w_acosl.c: Likewise.
4429 * math/w_asin.c: Likewise.
4430 * math/w_asinf.c: Likewise.
4431 * math/w_asinl.c: Likewise.
4432 * math/w_atan2.c: Likewise.
4433 * math/w_atan2f.c: Likewise.
4434 * math/w_atan2l.c: Likewise.
4435 * math/w_atanh.c: Likewise.
4436 * math/w_atanhf.c: Likewise.
4437 * math/w_atanhl.c: Likewise.
4438 * math/w_cosh.c: Likewise.
4439 * math/w_coshf.c: Likewise.
4440 * math/w_coshl.c: Likewise.
4441 * math/w_dremf.c: Likewise.
4442 * math/w_exp10.c: Likewise.
4443 * math/w_exp10f.c: Likewise.
4444 * math/w_exp10l.c: Likewise.
4445 * math/w_exp2.c: Likewise.
4446 * math/w_exp2f.c: Likewise.
4447 * math/w_fmod.c: Likewise.
4448 * math/w_fmodf.c: Likewise.
4449 * math/w_fmodl.c: Likewise.
4450 * math/w_hypot.c: Likewise.
4451 * math/w_hypotf.c: Likewise.
4452 * math/w_hypotl.c: Likewise.
4453 * math/w_j0.c: Likewise.
4454 * math/w_j0f.c: Likewise.
4455 * math/w_j0l.c: Likewise.
4456 * math/w_j1.c: Likewise.
4457 * math/w_j1f.c: Likewise.
4458 * math/w_j1l.c: Likewise.
4459 * math/w_jn.c: Likewise.
4460 * math/w_jnf.c: Likewise.
4461 * math/w_jnl.c: Likewise.
4462 * math/w_lgamma.c: Likewise.
4463 * math/w_lgamma_r.c: Likewise.
4464 * math/w_lgammaf.c: Likewise.
4465 * math/w_lgammaf_r.c: Likewise.
4466 * math/w_lgammal.c: Likewise.
4467 * math/w_lgammal_r.c: Likewise.
4468 * math/w_log.c: Likewise.
4469 * math/w_log10.c: Likewise.
4470 * math/w_log10f.c: Likewise.
4471 * math/w_log10l.c: Likewise.
4472 * math/w_log2.c: Likewise.
4473 * math/w_log2f.c: Likewise.
4474 * math/w_log2l.c: Likewise.
4475 * math/w_logf.c: Likewise.
4476 * math/w_logl.c: Likewise.
4477 * math/w_pow.c: Likewise.
4478 * math/w_powf.c: Likewise.
4479 * math/w_powl.c: Likewise.
4480 * math/w_remainder.c: Likewise.
4481 * math/w_remainderf.c: Likewise.
4482 * math/w_remainderl.c: Likewise.
4483 * math/w_scalb.c: Likewise.
4484 * math/w_scalbf.c: Likewise.
4485 * math/w_scalbl.c: Likewise.
4486 * math/w_sinh.c: Likewise.
4487 * math/w_sinhf.c: Likewise.
4488 * math/w_sinhl.c: Likewise.
4489 * math/w_sqrt.c: Likewise.
4490 * math/w_sqrtf.c: Likewise.
4491 * math/w_sqrtl.c: Likewise.
4492 * math/w_tgamma.c: Likewise.
4493 * math/w_tgammaf.c: Likewise.
4494 * math/w_tgammal.c: Likewise.
4496 * po/ja.po: Update from translation team.
4498 2011-09-29 Andreas Jaeger <aj@suse.de>
4501 * sunrpc/netname.c (netname2host): Fix logic.
4505 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4507 * math/w_remainder.c (__remainder): Likewise.
4508 * math/w_remainderf.c (__remainderf): Likewise.
4509 * math/libm-test.inc (remainder_test): Add test cases.
4511 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4513 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4516 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4518 * string/test-memcmp.c: Avoid unncessary #defines.
4519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4521 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4523 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4524 Use new sse2 version for core i3 - i7 as it's faster
4526 (bit_Prefer_PMINUB_for_stringop): New.
4527 * sysdeps/x86_64/rawmemchr.S: Update.
4528 Replace with faster SSE2 version.
4529 * sysdeps/x86_64/memrchr.S: New file.
4530 * sysdeps/x86_64/memchr.S: Update.
4531 Replace with faster SSE2 version.
4533 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4535 * elf/dl-load.c (lose): Add cast to avoid warning.
4537 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4539 * po/ca.po: Update from translation team.
4541 * inet/getnetgrent_r.c: Hook up nscd.
4542 * nscd/Makefile (routines): Add nscd_netgroup.
4543 (nscd-modules): Add netgroupcache.
4544 (CFLAGS-netgroupcache.c): Define.
4545 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4546 (cache_search): Add const to second parameter.
4547 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4549 (dbs): Add netgrdb entry.
4550 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4551 (verify_persistent_db): Handle netgrdb.
4552 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4553 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4555 (netgroup_response_header): Define.
4556 (innetgroup_response_header): Define.
4557 (datahead): Add netgroup_response_header and innetgroup_response_header
4559 * nscd/nscd.conf: Add entries for netgroup cache.
4560 * nscd/nscd.h (dbtype): Add netgrdb.
4561 (_PATH_NSCD_NETGROUP_DB): Define.
4562 (netgroup_iov_disabled): Declare.
4563 (xmalloc, xcalloc, xrealloc): Move declarations here.
4564 (cache_search): Adjust prototype.
4565 Add netgroup-related prototypes.
4566 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4567 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4568 (__nscd_innetgr): Declare.
4569 * nscd/selinux.c (perms): Use access_vector_t as element type and
4570 add netgroup-related initializers.
4571 * nscd/netgroupcache.c: New file.
4572 * nscd/nscd_netgroup.c: New file.
4573 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4574 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4575 For four parameters use innetgr.
4576 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4577 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4578 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4579 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4581 * nscd/connections.c (register_traced_file): Don't register file
4582 for disabled databases.
4584 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4586 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4588 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4589 from tree and freeing node.
4591 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4593 * nss/nsswitch.c (__nss_database_lookup): Handle
4594 nss_parse_service_list out of memory case.
4596 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4598 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4601 2011-10-04 Andreas Schwab <schwab@redhat.com>
4603 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4604 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4606 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4607 elf_machine_rela, elf_machine_lazy_rel.
4608 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4609 (ELF_DYNAMIC_DO_REL): Likewise.
4610 (ELF_DYNAMIC_DO_RELA): Likewise.
4611 (ELF_DYNAMIC_RELOCATE): Likewise.
4612 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4613 to ELF_DYNAMIC_DO_REL.
4614 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4615 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4616 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4619 skip_ifunc, don't call ifunc function if non-zero.
4620 (elf_machine_rela): Likewise.
4621 (elf_machine_lazy_rel): Likewise.
4622 (elf_machine_lazy_rela): Likewise.
4623 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4624 (elf_machine_lazy_rel): Likewise.
4625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4627 (elf_machine_lazy_rel): Likewise.
4628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4630 (elf_machine_lazy_rel): Likewise.
4631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4632 (elf_machine_lazy_rel): Likewise.
4633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4634 (elf_machine_lazy_rel): Likewise.
4635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4636 (elf_machine_lazy_rel): Likewise.
4637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4638 (elf_machine_lazy_rel): Likewise.
4639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4640 (elf_machine_lazy_rel): Likewise.
4641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4642 (elf_machine_lazy_rel): Likewise.
4644 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4646 * nss/nss_files/files-init.c (_nss_files_init): Use static
4647 initialization for all the *_traced_file variables.
4649 2011-09-28 Andreas Schwab <schwab@redhat.com>
4651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4653 2011-09-27 Roland McGrath <roland@hack.frob.com>
4656 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4658 2011-09-27 Andreas Schwab <schwab@redhat.com>
4660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4661 Reread the line before reparsing it.
4663 2011-09-26 Andreas Schwab <schwab@redhat.com>
4665 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4667 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4668 Maxim Kuvyrkov <maxim@codesourcery.com>
4669 Joseph Myers <joseph@codesourcery.com>
4671 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4672 if needed for __stack_chk_guard.
4674 2011-09-19 Roland McGrath <roland@hack.frob.com>
4676 * sysdeps/posix/spawni.c (script_execute): Always define it.
4677 It will be optimized away if unused.
4678 (maybe_script_execute): New function.
4679 (__spawni): Call it.
4681 * Makerules: Don't include tls.make.
4682 (config-tls): Always set to thread.
4683 * tls.make.c: File removed.
4685 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4687 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4688 * config.make.in (CPPFLAGS-config): New substituted variable.
4690 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4692 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4695 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4696 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4698 2011-09-15 Roland McGrath <roland@hack.frob.com>
4700 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4701 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4703 (CALL_FAIL): Likewise.
4704 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4705 (CALL_FAIL): Macro removed.
4706 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4708 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4710 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4711 for __FINITE_MATH_ONLY__ == 1.
4713 2011-09-15 Andreas Schwab <schwab@redhat.com>
4715 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4716 __ieee754_sqrt instead of sqrt.
4717 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4718 __ieee754_sqrtf instead of sqrtf.
4719 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4720 __floorf instead of floorf.
4721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4722 __floorf, __truncf instead of floorf, truncf.
4724 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4726 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4728 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4729 __extern_always_inline.
4730 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4733 2011-09-14 Andreas Schwab <schwab@redhat.com>
4735 * elf/rtld.c (dl_main): Also relocate in dependency order when
4736 doing symbol dependency testing.
4738 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4741 Always define `refsym'.
4743 2011-09-13 Andreas Schwab <schwab@redhat.com>
4745 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4746 (__FD_ELT): Renamed from __FDELT.
4747 * misc/bits/select2.h (__FD_ELT): Likewise.
4748 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4749 __FD_MASK instead of __FDELT, __FDMASK.
4750 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4752 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4755 * elf/Makefile (gen-ldd): Fix pattern.
4757 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4758 (init_tls): Likewise.
4760 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4764 2011-09-12 Andreas Schwab <schwab@redhat.com>
4766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4767 `struct cmsghdr *' instead of `void *'.
4768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4771 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4773 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4775 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4778 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4780 * configure.in: Remove --with-tls option.
4781 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4782 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4783 out in case it is missing.
4784 * sysdeps/ia64/elf/configure.in: Likewise.
4785 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4786 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4787 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4788 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4789 * sysdeps/sh/elf/configure.in: Likewise.
4790 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4792 * sysdeps/x86_64/elf/configure.in: Likewise.
4793 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4794 * sysdeps/mach/hurd/tls.h: Likewise.
4797 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4800 * configure.in: Fix use of AC_INIT.
4802 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4804 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4806 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4808 * malloc/hooks.c: Likewise.
4811 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4812 variables statically.
4813 (narenas): Initialize.
4814 (list_lock): Initialize.
4815 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4816 initializtion of main_arena and list_lock. Small cleanups.
4817 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4818 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4819 Add initializers to main_arena and mp_.
4820 (malloc_state): Remove pagesize member. Change all users to use
4823 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4824 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4825 is always initialized.
4827 * malloc/malloc.c: Removed unused configurations and dead code.
4828 * malloc/arena.c: Likewise.
4829 * malloc/hooks.c: Likewise.
4830 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4832 * include/tls.h: Removed. USE___THREAD must always be defined.
4833 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4834 * elf/dl-libc.c: Likewise.
4835 * elf/dl-tsd.c: Likewise.
4836 * include/errno.h: Likewise.
4837 * include/netdb.h: Likewise.
4838 * include/resolv.h: Likewise.
4839 * inet/herrno-loc.c: Likewise.
4840 * inet/herrno.c: Likewise.
4841 * malloc/arena.c: Likewise.
4842 * malloc/hooks.c: Likewise.
4843 * malloc/malloc.c: Likewise.
4844 * resolv/res-state.c: Likewise.
4845 * resolv/res_libc.c: Likewise.
4846 * sysdeps/i386/dl-machine.h: Likewise.
4847 * sysdeps/ia64/dl-machine.h: Likewise.
4848 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4850 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4851 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4852 * sysdeps/sh/dl-machine.h: Likewise.
4853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4855 * sysdeps/unix/i386/sysdep.S: Likewise.
4856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4857 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4867 * sysdeps/x86_64/dl-machine.h: Likewise.
4868 * tls.make.c: Likewise.
4870 * configure.in: Remove --with-__thread option. Make tests for
4871 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4872 tls_model attribute fail if no support is available. Remove
4874 * Makeconfig: Adjust for dropped configure option. All features are
4876 * Makerules: Likewise.
4877 * Versions.def: Likewise.
4878 * argp/argp-fmtstream.c: Likewise.
4879 * argp/argp-fmtstream.h: Likewise.
4880 * argp/argp-help.c: Likewise.
4881 * assert/assert.c: Likewise.
4882 * config.h.in: Likewise.
4883 * config.make.in: Likewise.
4884 * configure: Likewise.
4885 * configure.in: Likewise.
4886 * csu/Versions: Likewise.
4887 * csu/init.c: Likewise.
4888 * elf/tst-audit2.c: Likewise.
4889 * elf/tst-tls10.c: Likewise.
4890 * elf/tst-tls10.h: Likewise.
4891 * elf/tst-tls11.c: Likewise.
4892 * elf/tst-tls12.c: Likewise.
4893 * elf/tst-tls14.c: Likewise.
4894 * elf/tst-tlsmod11.c: Likewise.
4895 * elf/tst-tlsmod12.c: Likewise.
4896 * elf/tst-tlsmod13.c: Likewise.
4897 * elf/tst-tlsmod13a.c: Likewise.
4898 * elf/tst-tlsmod14a.c: Likewise.
4899 * elf/tst-tlsmod15b.c: Likewise.
4900 * elf/tst-tlsmod16a.c: Likewise.
4901 * elf/tst-tlsmod16b.c: Likewise.
4902 * elf/tst-tlsmod7.c: Likewise.
4903 * elf/tst-tlsmod8.c: Likewise.
4904 * elf/tst-tlsmod9.c: Likewise.
4905 * gmon/gmon.c: Likewise.
4906 * grp/fgetgrent_r.c: Likewise.
4907 * grp/putgrent.c: Likewise.
4908 * hurd/fopenport.c: Likewise.
4909 * include/libc-symbols.h: Likewise.
4910 * include/tls.h: Likewise.
4911 * intl/gettextP.h: Likewise.
4912 * intl/loadinfo.h: Likewise.
4913 * locale/global-locale.c: Likewise.
4914 * locale/localeinfo.h: Likewise.
4915 * mach/devstream.c: Likewise.
4916 * malloc/arena.c: Likewise.
4917 * malloc/set-freeres.c: Likewise.
4918 * misc/err.c: Likewise.
4919 * misc/getttyent.c: Likewise.
4920 * misc/mntent_r.c: Likewise.
4921 * posix/getopt.c: Likewise.
4922 * posix/wordexp.c: Likewise.
4923 * pwd/fgetpwent_r.c: Likewise.
4924 * resolv/Versions: Likewise.
4925 * resolv/res_hconf.c: Likewise.
4926 * shadow/fgetspent_r.c: Likewise.
4927 * shadow/putspent.c: Likewise.
4928 * stdio-common/printf_fphex.c: Likewise.
4929 * stdio-common/tmpfile.c: Likewise.
4930 * stdlib/abort.c: Likewise.
4931 * stdlib/fmtmsg.c: Likewise.
4932 * sunrpc/auth_unix.c: Likewise.
4933 * sunrpc/clnt_perr.c: Likewise.
4934 * sunrpc/clnt_tcp.c: Likewise.
4935 * sunrpc/clnt_udp.c: Likewise.
4936 * sunrpc/clnt_unix.c: Likewise.
4937 * sunrpc/openchild.c: Likewise.
4938 * sunrpc/svc_simple.c: Likewise.
4939 * sunrpc/svc_tcp.c: Likewise.
4940 * sunrpc/svc_udp.c: Likewise.
4941 * sunrpc/svc_unix.c: Likewise.
4942 * sunrpc/xdr.c: Likewise.
4943 * sunrpc/xdr_array.c: Likewise.
4944 * sunrpc/xdr_rec.c: Likewise.
4945 * sunrpc/xdr_ref.c: Likewise.
4946 * sunrpc/xdr_stdio.c: Likewise.
4948 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4950 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4952 2011-07-03 Andreas Jaeger <aj@suse.de>
4954 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4955 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4956 regenerate with gen-libm-tests.pl.
4958 2010-05-12 Petr Baudis <pasky@suse.cz>
4961 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4962 around j0() zero points by switching to j1().
4963 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4968 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4975 Patch in part by Pavel Roskin <proski@gnu.org>.
4978 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4980 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4981 Free memory block if necessary.
4984 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4985 be NULL. Don't lock in this case.
4987 2011-09-09 Roland McGrath <roland@hack.frob.com>
4989 * elf/elf.h (ELFOSABI_GNU): New macro.
4990 (ELFOSABI_LINUX): Define to that.
4992 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4994 * string/strncat.c (strncat): Undef the symbol in case it has been
4995 defined in bits/string.h.
4997 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4999 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5001 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5004 2011-08-17 Andreas Jaeger <aj@suse.de>
5006 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5008 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5009 Ian Lance Taylor <iant@google.com>
5011 * math/libm-test.inc (lround_test): New testcase.
5012 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5014 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5016 * Makefile: Remove support for automatic cvs check-ins.
5017 * Makerules: Likewise.
5018 * config.make.in: Likewise.
5019 * configure.in: Likewise.
5020 * intl/Makefile: Likewise.
5021 * locale/Makefile: Likewise.
5022 * po/Makefile: Likewise.
5023 * posix/Makefile: Likewise.
5024 * sysdeps/gnu/Makefile: Likewise.
5025 * sysdeps/mach/hurd/Makefile: Likewise.
5026 * sysdeps/sparc/sparc32/Makefile: Likewise.
5029 * posix/Makefile (bug-regex32-ENV): Define.
5030 Patch by John Stanley <jpsinthemix@verizon.net>.
5032 * misc/Makefile (headers): Add bits/select2.h.
5033 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5034 * misc/bits/select2.h: New file.
5035 * include/bits/select2.h: New file.
5036 * debug/Makefile (routines): Add fdelt_chk.
5037 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5038 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5040 * debug/fdelt_chk.c: New file.
5042 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5043 * wcsmbs/test-wmemcmp.c: Likewise.
5044 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5045 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5047 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5049 * string/Makefile (strop-tests): Add memcmp.
5050 * string/test-wmemcmp.c: New file.
5051 * string/test-memcmp.c: Add wmemcmp support.
5053 2011-09-08 Roland McGrath <roland@hack.frob.com>
5056 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5059 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5060 garbage value in a __mach_port_mod_refs call in the cases of the
5061 task-self and thread-self ports.
5063 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5065 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5067 2011-09-08 Andreas Schwab <schwab@redhat.com>
5069 * elf/dl-load.c (lose): Check for non-null L.
5071 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5073 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5075 * elf/dl-libc.c (dlerror_run): Pass back error code from
5079 * elf/dl-load.c (lose): Free l_origin if it is valid.
5081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5088 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5090 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5092 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5093 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5096 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5097 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5098 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5099 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5100 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5101 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5103 2011-08-15 Alan Modra <amodra@gmail.com>
5106 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5107 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5108 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5109 ppc_mcount to static-only-routines.
5110 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5112 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5113 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5115 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5118 for finite and infinity parameters.
5120 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5123 and add nop instructions for throughput optimization.
5124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5126 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5129 aligned copy for power7 with vector-scalar instructions.
5130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5132 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5137 2011-09-07 Andreas Schwab <schwab@redhat.com>
5140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5143 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5146 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5147 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5148 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5151 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5154 Forgot to demangle the pointer.
5156 * sysdeps/i386/sysdep.h: Define atom_text_section.
5157 * sysdeps/x86_64/sysdep.h: Likewise.
5158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5159 section with atom_text_section.
5160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5168 already be defined. Change to take two parameters and don't assign
5169 result to variable. Adjust all users.
5170 Define INTERNAL_GETTIME if not already defined.
5171 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5174 HAVE_CLOCK_GETTIME_VSYSCALL.
5175 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5178 gettimeofday vsyscall, just use time.
5180 2011-09-06 Andreas Schwab <schwab@redhat.com>
5182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5185 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5187 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5191 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5193 syscall if possible.
5195 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5197 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5198 e_ident. Don't pass to find_mapsXX.
5199 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5201 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5204 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5205 * sysdeps/x86_64/multiarch/strchr.S: Update.
5206 Check bit_slow_BSF bit.
5207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5211 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5214 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5217 (__spawni): Change last parameter to be flag. Test
5218 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5219 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5220 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5221 * posix/spawni.c: Likewise.
5222 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5223 * posix/spawnp.c: Likewise. Change normal version to use
5224 SPAWN_XFLAGS_USE_PATH.
5225 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5226 SPAWN_XFLAGS_TRY_SHELL.
5229 * posix/glob.h: Remove gcc 1.x support.
5232 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5234 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5237 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5239 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5240 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5241 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5243 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5246 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5248 * sysdeps/x86_64/wcscmp.S: New file.
5250 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5251 wcscmp-c wcscmp-sse2
5252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5253 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5254 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5255 * wcsmbs/wcscmp.c: Allow renaming.
5257 2011-09-05 David S. Miller <davem@davemloft.net>
5259 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5260 stack slot, rather than the struct return pointer slot.
5261 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5262 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5266 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5268 * po/ja.po: Update from translation team.
5271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5272 kernel in 64-bit binaries.
5274 2011-09-01 David S. Miller <davem@davemloft.net>
5276 * elf/elf.h (HWCAP_SPARC_*): Move to..
5277 * sysdeps/sparc/sysdep.h: this new file and add new values.
5278 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5279 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5280 _DL_HWCAP_COUNT to 24.
5281 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5283 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5284 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5285 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5287 instead of magic constants.
5288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5290 2011-08-31 David S. Miller <davem@davemloft.net>
5292 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5294 Reimplement to do errno handling inline.
5295 (SYSCALL_ERROR_HANDLER): New macro.
5296 (__SYSCALL_STRING): Do not do errno handling in asm.
5297 (__CLONE_SYSCALL_STRING): Delete.
5298 (__INTERNAL_SYSCALL_STRING): Delete.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5300 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5301 (PSEUDO): Reimplement to do errno handling inline.
5302 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5303 (SYSCALL_ERROR_HANDLER): New macro.
5304 (__SYSCALL_STRING): Do not do errno handling in asm.
5305 (__CLONE_SYSCALL_STRING): Delete.
5306 (__INTERNAL_SYSCALL_STRING): Delete.
5307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5308 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5310 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5311 (inline_syscall*): Add 'err' argument.
5312 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5313 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5314 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5315 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5317 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5320 2011-08-30 Andreas Schwab <schwab@redhat.com>
5322 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5324 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5326 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5329 2011-08-24 David S. Miller <davem@davemloft.net>
5331 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5333 2011-08-24 Andreas Schwab <schwab@redhat.com>
5335 * elf/Makefile: Add rules to build and run unload8 test.
5336 * elf/unload8.c: New file.
5337 * elf/unload8mod1.c: New file.
5338 * elf/unload8mod1x.c: New file.
5339 * elf/unload8mod2.c: New file.
5340 * elf/unload8mod3.c: New file.
5342 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5345 2011-08-23 David S. Miller <davem@davemloft.net>
5347 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5348 subtract stack bias.
5349 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5350 %sp not %fp in calculations.
5351 (_JMPBUF_UNWINDS_ADJ): Likewise.
5353 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5354 (aio_suspend): Call it to force an exception region around the
5355 AIO_MISC_WAIT() invocation.
5357 2011-08-23 Andreas Schwab <schwab@redhat.com>
5359 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5362 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5364 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5366 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5368 (Elf64_FuncDesc): Remove.
5370 2011-08-22 David S. Miller <davem@davemloft.net>
5372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5373 sigaltstack check, add missing cfi directives.
5374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5375 missing cfi directives, and sigaltstack handling.
5377 2011-08-16 Andreas Schwab <schwab@redhat.com>
5380 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5381 object is seen twice.
5382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5384 * elf/Makefile (distribute): Add tst-initorder2.c.
5385 (tests): Add tst-initorder2.
5386 (modules-names): Add tst-initorder2a tst-initorder2b
5387 tst-initorder2c tst-initorder2d. Add rules to build them.
5388 ($(objpfx)tst-initorder2.out): New rule.
5389 * elf/tst-initorder2.c: New file.
5390 * elf/tst-initorder2.exp: New file.
5392 2011-08-22 Andreas Schwab <schwab@redhat.com>
5394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5396 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5397 dependencies back to end of function.
5399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5402 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5405 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5407 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5408 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5409 of __vdso_gettimeofday.
5410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5411 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5413 (_libc_vdso_platform_setup): Remove initialization of
5414 __vdso_gettimeofday and __vdso_time.
5416 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5418 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5420 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5423 * elf/dl-open.c (add_to_global): Report additions to the global scope
5424 for LD_DEBUG=scopes.
5425 (dl_open_worker): Also print scope of newly loaded dependencies.
5426 (_dl_show_scope): Indicate if there is no scope.
5429 * stdio-common/Makefile (tests): Add bug24.
5430 * stdio-common/bug24.c: New file.
5432 2011-08-19 Andreas Jaeger <aj@suse.de>
5435 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5436 non-existant file when using close-on-exec mode.
5438 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5441 the very first instruction.
5443 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5444 the CFI state in the end.
5445 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5446 inclusion of dl-trampoline.h.
5447 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5449 2011-08-19 Andreas Schwab <schwab@redhat.com>
5451 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5452 expectations for long double.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5455 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5457 2011-08-14 David S. Miller <davem@davemloft.net>
5459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5460 artificual limit depends upon the system page size.
5462 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5464 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5465 * resolv/Makefile: Define CFLAGS-libresolv.
5467 2011-08-17 Andreas Schwab <schwab@redhat.com>
5469 * nss/makedb.c (compute_tables): Make variables used in nested
5472 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5474 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5475 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5476 if buffer was too small.
5478 * elf/pldd.c (main): Attach to all threads in the process.
5479 Rewrite /proc handling to use *at functions.
5481 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5483 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5484 specifies first scope to show.
5485 (dl_open_worker): Update callers. Move printing scope of new
5486 object to before the relocation.
5487 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5488 * sysdeps/generic/ldsodefs.h: Update declaration.
5490 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5491 string for the scope number.
5493 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5495 * nscd/servicescache.c (cache_addserv): Make sure written is always
5498 2011-08-14 Roland McGrath <roland@hack.frob.com>
5500 * sysdeps/i386/i486/bits/atomic.h
5501 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5502 statement expression, so as to suppress "set but not used" warning.
5503 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5505 * string/strncat.c (STRNCAT): Use prototype definition.
5507 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5508 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5510 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5511 (localedef-modules): Add localedef.
5512 (locale-modules): Add locale.
5514 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5515 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5518 2011-08-14 David S. Miller <davem@davemloft.net>
5520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5521 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5523 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5525 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5526 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5527 * elf/rtld.c (dl_main): Set l_name of vDSO.
5528 Call _dl_show_scope when DL_DEBUG_SCOPES.
5529 (process_dl_debug): Recognize scopes flag and also set it for all.
5530 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5531 Declare _dl_show_scope.
5533 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5534 (do_dlopen): Pass caller_dlopen to dl_open.
5535 (__libc_dlopen_mode): Initialize caller_dlopen.
5537 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5538 of libc. Make tolower call locale-independent. Optimize a bit by
5539 using isdigit instead of isalnum.
5540 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5542 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5544 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5545 was a dependency or dynamically loaded.
5547 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5549 * intl/l10nflist.c: Allow architecture-specific pop function.
5550 * sysdeps/x86_64/l10nflist.c: New file.
5552 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5555 2011-08-10 Andreas Schwab <schwab@redhat.com>
5557 * include/dirent.h: Add libc_hidden_proto for scandirat and
5558 scandirat64. Don't declare __scandirat64.
5559 * dirent/scandirat.c: Add libc_hidden_def.
5560 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5561 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5563 2011-08-10 David S. Miller <davem@davemloft.net>
5565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5571 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5573 * Versions.def [libc]: Add GLIBC_2.15.
5574 * dirent/Makefile (routines): Add scandirat and scandirat64.
5575 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5577 * dirent/dirent.h: Declare scandirat and scandirat64.
5578 * dirent/scandirat.c: New file.
5579 * dirent/scandirat64.c: New file.
5580 * sysdeps/wordsize-64/scandirat.c: New file.
5581 * sysdeps/wordsize-64/scandirat64.c: New file.
5582 * dirent/opendir.c: Define opendirat.
5583 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5585 * dirent/scandir64.c: Adjust for scandir.c change.
5586 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5587 __scandirat64, and __scandir_cancel_handler.
5588 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5589 additional parameter and use openat instead of open (outside of ld.so).
5590 Add new __opendir as wrapper around __opendirat.
5591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5592 here without requiring old scandirat implementation.
5594 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5596 * dirent/scandir.c (cancel_handler): Renamed to
5597 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5598 defined. Adjust users.
5599 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5602 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5604 * string/test-string.h (IMPL): Use __STRING to expand name and then
5607 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5610 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5612 * string/Makefile: Update.
5613 (strop-tests): Append strncat.
5614 * string/test-wcscmp.c: New file.
5615 New comprehensive test for wcscmp.
5616 * string/test-strcmp.c: Update.
5619 2011-07-22 Andreas Schwab <schwab@redhat.com>
5621 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5624 2011-07-26 Andreas Schwab <schwab@redhat.com>
5626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5627 encoding to ACE if AI_IDN.
5629 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5632 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5634 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5637 Fix overflow bug in strncat.
5638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5640 * string/test-strncat.c: Update.
5641 Add new tests for checking overflow bugs.
5643 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5646 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5647 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5648 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5650 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5651 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5652 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5653 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5656 (USE_AS_STRCAT): Define.
5657 Add strcat and strncat support.
5658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5660 2011-07-25 Andreas Schwab <schwab@redhat.com>
5662 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5663 __n bigger than INT_MAX+1.
5664 (__strncmp_g): Likewise.
5666 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5668 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5669 * libio/stido.h: Likewise.
5671 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5676 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5683 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5688 (_dl_x86_64_save_sse): Likewise.
5690 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5694 (_dl_x86_64_save_sse): Likewise.
5696 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5698 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5700 2011-07-21 Andreas Schwab <schwab@redhat.com>
5702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5704 (_dl_x86_64_save_sse): Use correct AVX check.
5706 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5709 bug in strncpy/strncat.
5710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5712 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5714 * string/tester.c (test_strcat): Add tests for different alignments
5715 of source and destination.
5716 (test_strncat): Likewise.
5718 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5721 * posix/glob.c (glob): Check passed in values before using them in
5722 expressions to avoid some overflows.
5723 (glob_in_dir): Likewise.
5726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5727 check for AVX enablement so that we don't crash with old kernels and
5729 * elf/tst-audit4.c: Add same checks here.
5730 * elf/tst-audit6.c: Likewise.
5732 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5734 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5736 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5738 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5740 * po/cs.po: Update from translation team.
5741 * po/bg.po: Likewise.
5743 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5745 * misc/sys/cdefs.h: Add support for const attribute.
5746 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5747 to gnu_dev_{major,minor,makedev} functions.
5749 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5751 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5753 2011-07-20 Andreas Schwab <schwab@redhat.com>
5755 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5758 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5761 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5762 register in order to avoid conflicts with the soft frame pointer
5763 being held in r11 when necessary.
5764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5765 (INTERNAL_VSYSCALL_NCS): Likewise.
5767 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5769 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5770 * elf/dl-fini.c (_dl_fini): Adjust caller.
5771 * elf/dl-close.c (_dl_close_worker): Likewise.
5772 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5774 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5776 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5777 "aux_cache->nlibs < 0".
5779 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5780 in the reload-count case.
5782 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5785 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5786 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5787 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5788 * sysdeps/x86_64/multiarch/strcat.S: New file.
5789 * sysdeps/x86_64/multiarch/strncat.S: New file.
5790 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5791 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5792 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5793 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5795 (USE_AS_STRCAT): Define.
5796 Add strcat and strncat support.
5797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5799 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5800 * string/strncat.c: Update.
5801 (USE_AS_STRNCAT): Define.
5802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5803 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5805 * sysdeps/x86_64/multiarch/init-arch.h
5806 (bit_Prefer_PMINUB_for_stringop): New.
5807 (index_Prefer_PMINUB_for_stringop): Likewise.
5808 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5809 bit_Prefer_PMINUB_for_stringop.
5811 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5813 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5815 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5816 of casting of buffer.
5817 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5818 buffer32 and buffer64.
5819 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5820 writes instead of casting of buffer.
5821 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5823 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5826 2011-07-19 Andreas Schwab <schwab@redhat.com>
5828 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5830 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5832 * nscd/nscd.c (termination_handler): Don't do anything for a database
5833 if it has not yet been initialized.
5835 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5837 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5839 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5841 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5843 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5845 * po/nl.po: Update from translation team.
5846 * po/sv.po: Likewise.
5848 2011-07-16 Roland McGrath <roland@hack.frob.com>
5850 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5851 now disallowed by GCC.
5853 * configure.in (use-default-link): Default to yes if a test -shared
5854 link meets our qualifications.
5855 * configure: Regenerated.
5857 * config.make.in (output-format): New variable.
5858 * configure.in: Check for ld --print-output-format support.
5859 * configure: Regenerated.
5860 * Makerules ($(common-objpfx)format.lds)
5861 [$(output-format) != unknown]: Just use $(output-format),
5862 instead of the linker-script munging.
5864 2011-07-14 Roland McGrath <roland@hack.frob.com>
5866 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5867 of $(common-objpfx)shlib.lds.
5868 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5870 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5871 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5873 * configure.in (-z relro check): Adjust test code to add a large
5874 writable data section after it.
5875 * configure: Regenerated.
5877 2011-07-11 Roland McGrath <roland@hack.frob.com>
5879 * configure.in (-z relro check): Fix test code to make the variable
5881 * configure: Regenerated.
5883 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5885 * nscd/nscd.h (struct traced_file): Define.
5886 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5887 elements. Add traced_files.
5888 (inotify_fd): Declare.
5889 (register_traced_file): Declare.
5890 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5891 (inotify_fd): Export.
5892 (resolv_conf_descr): Remove.
5893 (nscd_init): Move inotify descriptor creation to main.
5894 Don't register files for notification here.
5895 (register_traced_file): New function.
5896 (invalidate_cache): Don't use reset_res to determine whether to call
5897 res_init, go through the list of registered files.
5898 (main_loop_poll): The inotify descriptors are now stored in the
5899 structures for the traced files.
5900 (main_loop_epoll): Likewise
5901 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5902 to __nss_disable_nscd.
5903 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5904 for a database anymore. Check the records for all the registered
5906 * nss/Makefile (libnss_files-routines): Add files-init.
5907 (libnss_db-routines): Add db-init.
5908 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5909 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5910 * nss/nss_db/db-init.c: New file.
5911 * nss/nss_files/files-init.c: New file.
5912 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5913 __nss_lookup_function.
5914 (__nss_lookup_function): Call nss_load_library.
5915 (nss_load_all_libraries): New function.
5916 (__nss_disable_nscd): Take parameter with callback function for files
5917 to register. Set is_nscd. Load all the DSOs for the NSS modules
5918 used for the cached services.
5919 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5920 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5921 options for features to all the files in nscd.
5923 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5925 2011-07-10 Roland McGrath <roland@hack.frob.com>
5927 * csu/elf-init.c (__libc_csu_init): Comment typo.
5929 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5931 * po/pl.po: Update from translation team.
5932 * po/ja.po: Likewise.
5933 * po/ru.po: Likewise.
5934 * po/ko.po: Likewise.
5935 * po/fr.po: Likewise.
5937 2011-07-09 Roland McGrath <roland@hack.frob.com>
5939 * configure.in (.ctors/.dtors header and trailer check):
5940 Use an empirical test on a built program.
5941 * configure: Regenerated.
5943 * configure.in (-z relro check): Use an empirical test on a built DSO.
5944 Detect, but do not require, on ia64.
5945 * configure: Regenerated.
5947 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5948 Update tests that use readelf to use $READELF instead.
5949 * configure: Regenerated.
5951 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5953 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5954 if the result is not used.
5956 2011-07-05 Andreas Jaeger <aj@suse.de>
5959 * stdlib/tst-strtod.c: Add testcase.
5961 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5963 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5964 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5965 The latter has a higher limit. Take additional parameter to pass to
5967 (__pathconf): Pass file to __statfs_link_max.
5968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5970 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5974 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5978 (__statfs_filesize_max): Likewise.
5979 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5981 2011-07-05 Andreas Jaeger <aj@suse.de>
5983 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5985 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5987 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5989 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5992 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5994 * Makefile (strop-tests): Add strncat.
5995 * string/test-strncat.c: New file.
5997 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5999 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6001 2011-06-21 Andreas Jaeger <aj@suse.de>
6003 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6004 Copy rule from iconvdata/Makefile.
6006 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6009 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6010 but no long options are defined, just return 'W'.
6012 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6015 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6017 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6019 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6021 (innetgr): Likewise.
6023 2011-07-05 Roland McGrath <roland@hack.frob.com>
6025 * config.make.in (install_root): Default to $(DESTDIR).
6027 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6031 2011-07-02 Roland McGrath <roland@hack.frob.com>
6033 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6035 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6036 containing directory rather than embedding absolute directory names.
6038 * scripts/check-local-headers.sh: Rewritten using awk.
6039 Match by word, not by line. Print error messages for matches.
6040 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6042 * Makerules [shlib-lds-flags empty]:
6043 ($(common-objpfx)libc_pic.opts): New target.
6044 ($(common-objpfx)libc_pic.os.clean): New target.
6045 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6047 * config.make.in (OBJCOPY): New variable.
6048 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6049 * configure: Regenerated.
6051 * config.make.in (use-default-link): New variable.
6052 * configure.in (use_default_link): Grok --with-default-link to set it.
6053 * configure: Regenerated.
6054 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6055 (shlib-lds, shlib-lds-flags): Define to empty.
6057 * Makerules (shlib-lds): New variable.
6058 (shlib-lds-flags): New variable.
6059 (build-shlib, build-moduile, build-module-asneeded): Use it.
6060 ($(common-objpfx)libc.so): Use $(shlib-lds).
6061 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6064 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6065 DT_FLAGS/DT_FLAGS_1 with zero flags.
6067 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6068 linker script munging.
6070 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6072 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6074 * crypt/sha512.c (sha512_process_block): Perform total addition using
6075 128-bit if possible.
6076 (__sha512_finish_ctx): Likewise.
6077 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6079 * crypt/sha256.c (SWAP64): Define.
6080 (sha256_process_block): Perform total addition using 64-bit if
6082 (__sha256_finish_ctx): Likewise.
6084 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6086 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6088 * nscd/hstcache.c (cache_addhst): Likewise.
6089 * nscd/grpcache.c (cache_addgr): Likewise.
6090 * nscd/aicache.c (addhstaiX): Likewise
6091 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6093 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6095 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6097 * nscd/hstcache.c (cache_addhst): Likewise.
6098 * nscd/grpcache.c (cache_addgr): Likewise.
6099 * nscd/aicache.c (addhstaiX): Likewise
6101 2011-07-01 Andreas Schwab <schwab@redhat.com>
6103 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6104 domain only when needed.
6106 2011-06-30 Andreas Schwab <schwab@redhat.com>
6108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6111 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6113 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6114 are re-adding the entry.
6115 * nscd/servicescache.c (cache_addserv): Likewise.
6117 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6119 * sysdeps/generic/dl-irel.h: fix protection against multiple
6121 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6123 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6126 * malloc/memusage.sh: Fix quoting in message.
6127 * debug/xtrace.sh: Likewise.
6129 * configure.in: Remove support for --experimental-malloc option, make
6131 * config.make.in: Likewise.
6132 * malloc/Makefile: Likewise.
6134 2011-06-27 Andreas Schwab <schwab@redhat.com>
6136 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6137 two-byte characters.
6139 2011-06-27 Roland McGrath <roland@hack.frob.com>
6141 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6142 AC_CACHE_CHECK invocation.
6143 * configure: Regenerated.
6145 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6147 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6150 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6151 bit from old_res_options.
6153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6155 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6156 value type for setfct.
6158 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6161 __gettimeofday instead of gettimeofday.
6163 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6165 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6167 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6174 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6177 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6178 strcpy-sse2-unaligned strncpy-sse2-unaligned
6179 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6180 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6181 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6182 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6183 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6186 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6187 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6188 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6189 (STRCPY): Support SSE2 and SSSE3 versions.
6191 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6195 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6196 kernels which artificially limit size of requests.
6198 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6201 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6202 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6203 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6204 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6205 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6206 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6207 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6210 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6211 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6212 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6213 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6214 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6216 Enable unaligned load optimization for Intel Core i3, i5 and i7
6218 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6220 (index_Fast_Unaligned_Load): Define.
6221 (HAS_FAST_UNALIGNED_LOAD): Define.
6223 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6225 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6227 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6231 until it is clear that the information is realy needed.
6232 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6234 2011-06-22 Andreas Schwab <schwab@redhat.com>
6236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6238 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6241 /sys/devices/system/cpu/online if it is usable.
6243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6244 reading the information from the /proc filesystem to once a second.
6246 2011-06-21 Andreas Jaeger <aj@suse.de>
6248 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6249 NULL after inclusion of kernel headers.
6251 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6253 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6254 calls to internal_setent.
6257 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6258 addresses using gethostbyname4_r ignore IPv4 addresses.
6260 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6261 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6263 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6265 2011-06-20 David S. Miller <davem@davemloft.net>
6267 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6269 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6271 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6273 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6274 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6275 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6276 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6277 * sysdeps/x86_64/dl-irel.h: Likewise.
6279 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6280 * elf/dl-sym.c: Likewise.
6282 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6284 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6285 need to dereference resplen2.
6287 2011-06-14 Andreas Schwab <schwab@redhat.com>
6289 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6291 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6293 * Makeconfig: Define vardbdir and inst_vardbdir.
6294 * nss/Makefile: Add rules to install db-Makefile.
6296 * nss/nss_db/db-XXX.c: Cleanup.
6298 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6299 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6301 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6302 * nss/makedb.c: Implement -g option to specify that value strings
6303 are generated and should not be added to table iterated over for
6305 * nss/nss_db/db-initgroups.c: New file.
6307 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6310 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6311 (internal_getgrouplist): Adjust to name change.
6312 Update use_initgroups_entry if this is not the first call.
6313 * nss/databases.def: Add initgroups entry.
6315 * nss/makedb.c (compute_tables): Check result of multiple hash table
6316 sizes to minimize maximum chain length.
6318 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6320 * Versions.def: Add entry for libnss_db.
6321 * shlib-versions: Likewise.
6322 * nss/Makefile: Add rules to build libnss_db.
6323 * nss/Versions: Add libnss_db information. Organize libnss_files
6325 * nss/db-Makefile: Add gshadow support. Change rules for the new
6326 makedb progra. Some minor improvements to generate smaller files.
6327 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6329 * nss/makedb.c: ...here.
6330 Improve database format to be smaller and require less memory at
6332 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6334 * nss/nss_db/db-netgrp.c: Likewise.
6335 * nss/nss_db/db-open.c: Likewise.
6336 * nss/nss_files/flies-XXX.x: Adjust comments.
6337 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6338 * nss/nss_files/files-grp.c: Likewise.
6339 * nss/nss_files/files-hosts.c: Likewise.
6340 * nss/nss_files/files-network.c: Likewise.
6341 * nss/nss_files/files-proto.c: Likewise.
6342 * nss/nss_files/files-pwd.c: Likewise.
6343 * nss/nss_files/files-rpc.c: Likewise.
6344 * nss/nss_files/files-service.c: Likewise.
6345 * nss/nss_files/files-sgrp.c: Likewise.
6346 * nss/nss_files/files-spwd.c: Likewise.
6347 * nss/nss_db/db-alias.c: Removed.
6348 * nss/nss_db/dummy-db.h: Removed.
6350 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6352 * nss/makedb.c: Rewritten to not use database library.
6353 * nss/Makefile: Update to build new makedb program.
6355 2011-06-14 Andreas Jaeger <aj@suse.de>
6357 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6360 2011-06-10 Andreas Schwab <schwab@redhat.com>
6362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6365 2011-06-10 Roland McGrath <roland@hack.frob.com>
6367 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6368 * elf/Makefile ($(objpfx)ld.so): Likewise.
6370 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6371 Don't list ld.so twice in dependencies.
6373 * posix/bug-regex31.c: Include <stdlib.h>.
6375 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6377 * nis/nss_compat/compat-spwd.c
6378 (getspent_next_nss_netgr): Remove unused variable.
6379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6381 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6382 nonmembers" output to use the right array.
6384 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6386 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6388 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6389 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6390 * catgets/gencat.c (read_input_file): Likewise.
6391 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6393 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6394 variable definition inside #if's controlling its use.
6396 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6400 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6402 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6405 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6407 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6408 * configure: Regenerated.
6410 * Makerules: Revert last change.
6411 * elf/Makefile: Likewise.
6413 2011-06-09 Roland McGrath <roland@hack.frob.com>
6415 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6416 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6417 (reloc-link): Likewise.
6419 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6421 * elf/Makefile: Add rules to build pldd.
6422 * elf/pldd.c: New file.
6423 * elf/pldd-xx.c: New file.
6425 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6427 * version.h: Update for 2.15 development version.
6429 2011-06-07 David S. Miller <davem@davemloft.net>
6431 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6434 elf_machine_lazy_rel): Likewise.
6435 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6437 elf_machine_lazy_rel): Likewise.
6438 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6439 dl_hwcap via passed in argument.
6440 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6443 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6445 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6447 2011-06-06 Roland McGrath <roland@hack.frob.com>
6450 * manual/fdl-1.1.texi: New file, verbatim from:
6451 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6452 * manual/lgpl-2.1.texi: New file, verbatim from:
6453 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6454 * manual/Makefile (licenses): New variable, list those new file names.
6456 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6458 * manual/fdl.texi: File removed.
6459 * manual/lesser.texi: File removed.
6460 * manual/libc.texinfo (Copying, Documentation License):
6461 Use new @include file names, put @appendix directive before @include.
6463 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6466 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6467 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6468 (mq_open): Add __NTH.
6470 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6473 Assume Intel Core i3/i5/i7 processor if AVX is available.
6475 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6480 2011-05-31 Andreas Schwab <schwab@redhat.com>
6482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6483 memory. Use alloca_account. Fix memory leak when retrying.
6485 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6487 * version.h (RELEASE): Bump for 2.14 release.
6488 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6490 * config.make.in (RANLIB): Remove entry.
6492 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6494 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6495 (libc.pot): Work around missing support for .ksh extension in xgettext.
6498 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6499 if both request failed.
6500 (send_dg): In case of server errors clear resplen or *resplen2.
6503 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6504 when there are multiple maps.
6505 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6506 (_dl_fini): Remove test here.
6508 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6510 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6513 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6514 bit from old_res_options.
6515 (gaih_inet): Likewise.
6518 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6521 * resolv/res_init.c (res_setoptions): Make the code more compact.
6524 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6528 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6530 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6533 * malloc/malloc.h: Declare malloc hook variables as volatile.
6535 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6539 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6540 raise in the comment.
6541 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6543 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6545 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6548 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6549 grow the buffers more if it already has to be sufficient.
6550 (build_wcs_upper_buffer): Likewise.
6551 * posix/regexec.c (check_matching): Likewise.
6552 (clean_state_log_if_needed): Likewise.
6553 (extend_buffers): Don't enlarge buffers beyond size of the input
6555 Patches mostly by Emil Wojak <emil@wojak.eu>.
6556 * posix/bug-regex32.c: New file.
6557 * posix/Makefile (tests): Add bug-regex32.
6559 * locale/findlocale.c (_nl_find_locale): Return right away if
6560 _nl_explode_name failed.
6561 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6563 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6565 * debug/xtrace.sh: Unify messages.
6566 * malloc/memusage.sh: Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6570 time symbol from vDSO. Substitute with vsyscall if not available.
6571 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6575 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6576 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6577 Add sendmmsg and internal_sendmmsg.
6578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6579 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6582 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6583 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6586 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6589 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6590 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6596 * iconvdata/Makefile (tests): Add bug-iconv9.
6597 * iconvdata/bug-iconv9.c: New file.
6599 2011-05-27 Andreas Schwab <schwab@redhat.com>
6602 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6604 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6607 (struct user_regs_struct): Change intcs field back to cs.
6609 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6611 * po/ja.po: Update from translation team.
6613 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6616 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6617 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6619 2011-05-20 Andreas Schwab <schwab@redhat.com>
6621 * stdlib/longlong.h: Update from GCC.
6623 2011-05-23 Andreas Schwab <schwab@redhat.com>
6625 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6627 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6629 (__sysconf): Pass it down.
6631 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6634 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6637 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6638 add in in __libc_use_alloca calls. Adjust callers.
6639 (glob): Use malloc in some situations.
6641 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6642 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6645 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6647 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6648 and CLOCK_BOOTTIME_ALARM.
6651 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6654 * string/_strerror.c (__strerror_r): Print negative errors as signed
6658 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6659 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6660 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6662 * configure.in: Fix typo in redirection and correct removal of test
6666 * locale/setlocale.c (new_composite_name): Fix test to check for
6667 identical name of all categories.
6670 * libio/filedoalloc.c (local_isatty): New function.
6671 (_IO_file_doallocate): Use local_isatty.
6672 * stdio-common/perror.c (perror): In case a new stream is used
6673 forward the stream error.
6674 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6677 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6682 * include/alloca.h (extend_alloca_account): Define.
6685 * posix/regex.h: Fix comments with documentation of user-accessible
6686 fields after compilation and describe correct free'ing of pattern
6687 after re_compile_pattern.
6688 Patch by Reuben Thomas <rrt@sc3d.org>.
6690 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6692 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6693 and -mno-altivec to prevent the compiler from using Altivec and/or
6694 VSX instructions when the corresponding registers are not available.
6696 2011-05-19 Andreas Schwab <schwab@redhat.com>
6698 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6700 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6702 * libio/freopen.c (freopen): Use __dup2, not dup2.
6703 * libio/freopen64.c (freopen64): Likewise.
6705 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6708 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6709 * math/Makefile (tests): Add test-powl.
6710 (CFLAGS-test-powl.c): Define.
6711 * math/test-powl.c: New file.
6713 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6715 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6717 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6720 * iconvdata/gb18030.c: Update to GB18020-2005.
6722 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6724 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6725 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6726 Patch by Aharon Robbins <arnold@skeeve.com>.
6729 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6733 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6737 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6738 point to strings before performing equality test for error_one_per_line
6742 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6746 (struct user_fpregs_struct): Avoid __uint*_t types.
6749 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6750 symbol info. Use it instead of calling _dl_addr locally.
6751 (lock_and_info): New function.
6752 (tr_freehook): Call lock_and_info and pass symbol info as additional
6753 parameter to tr_where.
6754 (tr_mallochook): Likewise.
6755 (tr_reallochook): Likewise.
6756 (tr_memalignhook): Likewise.
6758 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6759 used and couldn't be at all thread-safe.
6761 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6763 * libio/freopen.c (freopen): Don't close old file descriptor
6764 before the new one is opened. Instead dup the new file descriptor
6765 to the old one after the new stream is created.
6766 * libio/freopen64.c (freopen64): Likewise.
6767 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6768 * libio/fileops.c (_IO_new_file_close_it): Handle new
6769 _IO_FLAGS2_NOCLOSE flag.
6770 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6771 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6772 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6773 _IO_FLAGS2_NOCLOSE flag.
6774 * include/unistd.h: Add hidden_proto for dup3.
6776 * io/dup3.c: Define hidden symbol.
6777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6780 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6781 when an incomplete long option is used.
6782 * posix/tst-getopt_long1.c: New file.
6783 * posix/Makefile (tests): Add tst-getopt_long1.
6786 * scripts/config.guess: Update from autoconf-2.68.
6787 * scripts/config.sub: Likewise.
6790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6792 (has_cpuclock): ...this. New function.
6793 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6794 macro here based on has_cpuclock code.
6797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6798 First byte (not low byte) is now always NUL.
6799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6802 Use non-cancelable interfaces.
6805 * locale/iso-639.def: Add entry for Sorani.
6808 * include/stdlib.h: Move include protection to the right place.
6809 Define abort_msg_s. Declare __abort_msg with it.
6810 * stdlib/abort.c (__abort_msg): Adjust type.
6811 * assert/assert.c (__assert_fail_base): New function. Majority
6812 of code from __assert_fail. Allocate memory for __abort_msg with
6814 (__assert_fail): Now call __assert_fail_base.
6815 * assert/assert-perr.c: Remove bulk of implementation. Use
6817 * include/assert.hL Declare __assert_fail_base.
6818 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6820 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6822 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6826 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6827 until all modules are registered in the DTV.
6828 * elf/Makefile: Add rules to build and run tst-tls19.
6829 * elf/tst-tls19.c: New file.
6830 * elf/tst-tls19mod1.c: New file.
6831 * elf/tst-tls19mod2.c: New file.
6832 * elf/tst-tls19mod3.c: New file.
6833 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6836 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6840 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6841 two-byte sequence errors.
6842 * iconvdata/Makefile (tests): Add bug-iconv8.
6843 * iconvdata/bug-iconv8.c: New file.
6846 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6849 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6852 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6853 (dummy_getcfa): New function.
6854 (init): Get _Unwind_GetCFA address, use dummy if not found.
6855 (backtrace_helper): In recursion check, also check whether CFA changes.
6856 (__backtrace): Completely initialize arg.
6858 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6859 storing incomplete byte sequence in state object. Avoid testing for
6860 guaranteed too small input if we know there is enough data available.
6862 2011-05-11 Andreas Schwab <schwab@redhat.com>
6864 * Makeconfig (+link-pie): Indent.
6865 * Rules (binaries-pie): Define if $(have-fpie) and
6867 (binaries-shared): Also filter out $(binaries-pie).
6868 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6869 * nscd/Makefile (others-pie): Add nscd.
6870 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6871 ($(objpfx)nscd): Remove command override.
6872 * login/Makefile (others-pie): Add pt_chown.
6873 ($(objpfx)pt_chown): Remove command override.
6874 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6875 remove command overrides.
6877 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6879 * libio/tst_putwc.c: Fix error messages.
6882 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6883 currently writing and seek to current position when not.
6884 * libio/Makefile (tests): Add bug-fclose1.
6885 * libio/bug-fclose1.c: New file.
6887 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6890 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6891 don't set DF_1_NODELETE here.
6892 (do_lookup_x): When entering new entry test for copy relocation
6893 and if necessary set DF_1_NODELETE flag.
6894 * elf/tst-unique4.cc: New file.
6895 * elf/tst-unique4.h: New file.
6896 * elf/tst-unique4lib.cc: New file.
6897 * elf/Makefile: Add rules to build and run tst-unique4.
6898 Patch by Piotr Bury <pbury@goahead.com>.
6900 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6903 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6906 * misc/mntent_r.c (addmntent): Flush the stream after the output
6909 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6910 (is_trusted_path_normalize): Skip initial colon. Append slash
6911 to empty buffer. Duplicate is_trusted_path code but allow
6912 constructed patch to be prefix.
6913 (is_dst): Allow $ORIGIN followed by /.
6914 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6915 Correct testing of result of is_trusted_path_normalize
6916 (decompose_rpath): Fix warning.
6918 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6921 * grp/initgroups.c (internal_getgrouplist): When we found the service
6922 list through the initgroups entry in nsswitch.conf do not always
6923 continue on a successful lookup. Don't always use the
6924 __nss_group_database value if it is set.
6925 * nss/nsswitch.conf (initgroups): Change action for successful db
6926 lookup to continue for compatibility.
6928 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6931 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6933 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6935 * iconvdata/tst-tables.sh: Likewise.
6936 * iconvdata/cp770.c: New file.
6937 * iconvdata/cp771.c: New file.
6938 * iconvdata/cp772.c: New file.
6939 * iconvdata/cp773.c: New file.
6940 * iconvdata/cp774.c: New file.
6941 * iconvdata/testdata/CP770: New file.
6942 * iconvdata/testdata/CP770..UTF8: New file.
6943 * iconvdata/testdata/CP771: New file.
6944 * iconvdata/testdata/CP771..UTF8: New file.
6945 * iconvdata/testdata/CP772: New file.
6946 * iconvdata/testdata/CP772..UTF8: New file.
6947 * iconvdata/testdata/CP773: New file.
6948 * iconvdata/testdata/CP773..UTF8: New file.
6949 * iconvdata/testdata/CP774: New file.
6950 * iconvdata/testdata/CP774..UTF8: New file.
6952 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6954 * iconvdata/gen-8bit-gap.sh: Likewise.
6955 * iconvdata/gen-8bit.sh: Likewise.
6957 * locale/iso-639.def: Add ary entry.
6960 * locale/C-translit.h.in: Add U20A1 transliteration.
6963 * locale/iso-639.def: Add wae entry.
6964 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6967 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6971 * locale/C-translit.h.in: Add entry for U20B9.
6972 Patch by pravin.d.s@gmail.com.
6974 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6977 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6978 ENAMETOOLONG use generic getcwd.
6979 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6980 in rtld. Use *stat64.
6981 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6982 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6983 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6984 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6985 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6986 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6987 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6989 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6990 * dirent/rewinddir.c: Add libc_hidden_def.
6991 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6992 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6994 * include/dirent.h (__alloc_dir): Add flags parameter.
6995 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6996 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6998 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6999 from fdopendir if O_CLOEXEC is already set.
7001 2011-03-15 Alan Modra <amodra@gmail.com>
7003 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7004 l_tls_firstbyte_offset non-zero. Save padding offset in
7005 l_tls_firstbyte_offset for later use.
7006 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7007 freeing static tls block.
7009 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7011 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7012 where #ifdef was intended. The intent is to prevent ARG_MAX from
7013 being defined by the kernel headers.
7015 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7018 * resolv/resolv.h: Define RES_NOTLDQUERY.
7019 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7020 no-tld-query and set RES_NOTLDQUERY.
7021 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7022 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7023 modern BIND to search name as TLD unless forbidden.
7025 2011-05-07 Petr Baudis <pasky@suse.cz>
7026 Ulrich Drepper <drepper@gmail.com>
7029 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7030 (is_trusted_path): ...to here.
7031 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7032 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7033 using is_trusted_path_normalize() in setuid scripts.
7035 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7038 __BEGIN/__END_DECLS.
7040 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7043 NSS_STATUS_NOTFOUND if no record was found.
7045 2011-05-05 Andreas Schwab <schwab@redhat.com>
7047 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7048 (headers-not-in-tirpc): Remove rpc/netdb.h
7049 * resolv/netdb.h: Revert last change.
7051 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7053 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7054 circular dependency between libgcc.a and libc.a.
7056 2011-05-05 Andreas Schwab <schwab@redhat.com>
7058 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7059 * nis/Makefile: Don't install rpcsvc/*.
7060 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7061 instead of <rpc/types.h>.
7062 (MAXHOSTNAMELEN): Define.
7064 2011-05-03 Andreas Schwab <schwab@redhat.com>
7066 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7068 2011-04-28 Maciej Babinski <mbabinski@google.com>
7071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7072 gethostbyname4_r when IPv6 results are possible.
7074 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7077 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7078 _PC_PIPE_BUF handling.
7080 2011-04-30 Bruno Haible <bruno@clisp.org>
7083 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7084 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7086 * inet/getnameinfo.c (getnameinfo): Likewise.
7088 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7090 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7091 to groups setting in database lookup.
7092 * nss/nsswitch.conf: Add initgroups entry.
7094 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7097 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7099 Patch by Eric Blake <eblake@redhat.com>.
7101 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7103 * sunrpc/Makefile (need-export-routines): Add svc_run.
7104 (routines): Remove svc_run.
7105 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7106 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7107 * sunrpc/svc_run.c (svc_run): Likewise.
7108 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7110 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7113 problem in reallocation in last patch.
7115 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7117 * sunrpc/Makefile: Move inclusion of Rules.
7119 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7121 * nss/nss_files/files-initgroups.c: New file.
7122 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7123 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7124 _nss_files_initgroups_dyn.
7126 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7128 * elf/elf.h (R_ARM_IRELATIVE): Define.
7130 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7132 * po/ru.po: Update from translation team.
7134 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7136 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7139 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7142 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7143 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7148 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7156 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7159 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7161 * stdlib/bug-getcontext.c: New file.
7162 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7164 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7166 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7167 instructions into .machine "z9-109".
7168 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7169 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7171 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7173 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7174 between environment variables and auxiliary vector.
7176 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7178 * Makefile: Add rules to build linkobj/libc.so.
7179 * include/libc-symbols.h: Define libc_hidden_nolink.
7180 * include/rpc/auth.h: Mark functions which are to be hidden.
7181 * include/rpc/auth_des.h: Likewise.
7182 * include/rpc/auth_unix.h: Likewise.
7183 * include/rpc/clnt.h: Likewise.
7184 * include/rpc/des_crypt.h: Likewise.
7185 * include/rpc/key_prot.h: Likewise.
7186 * include/rpc/pmap_clnt.h: Likewise.
7187 * include/rpc/pmap_prot.h: Likewise.
7188 * include/rpc/pmap_rmt.h: Likewise.
7189 * include/rpc/rpc_msg.h: Likewise.
7190 * include/rpc/svc.h: Likewise.
7191 * include/rpc/svc_auth.h: Likewise.
7192 * include/rpc/xdr.h: Likewise.
7193 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7194 * nss/Makefile: Likewise.
7195 * sunrpc/Makefile: Don't install headers. Build library with normal
7196 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7197 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7198 for the compat linking library. Remove use of INTDEF/INTUSE.
7199 * sunrpc/auth_none.c: Likewise.
7200 * sunrpc/auth_unix.c: Likewise.
7201 * sunrpc/authdes_prot.c: Likewise.
7202 * sunrpc/authuxprot.c: Likewise.
7203 * sunrpc/clnt_gen.c: Likewise.
7204 * sunrpc/clnt_perr.c: Likewise.
7205 * sunrpc/clnt_raw.c: Likewise.
7206 * sunrpc/clnt_simp.c: Likewise.
7207 * sunrpc/clnt_tcp.c: Likewise.
7208 * sunrpc/clnt_udp.c: Likewise.
7209 * sunrpc/clnt_unix.c: Likewise.
7210 * sunrpc/des_crypt.c: Likewise.
7211 * sunrpc/des_soft.c: Likewise.
7212 * sunrpc/get_myaddr.c: Likewise.
7213 * sunrpc/key_call.c: Likewise.
7214 * sunrpc/key_prot.c: Likewise.
7215 * sunrpc/netname.c: Likewise.
7216 * sunrpc/pm_getmaps.c: Likewise.
7217 * sunrpc/pm_getport.c: Likewise.
7218 * sunrpc/pmap_clnt.c: Likewise.
7219 * sunrpc/pmap_prot.c: Likewise.
7220 * sunrpc/pmap_prot2.c: Likewise.
7221 * sunrpc/pmap_rmt.c: Likewise.
7222 * sunrpc/publickey.c: Likewise.
7223 * sunrpc/rpc_cmsg.c: Likewise.
7224 * sunrpc/rpc_common.c: Likewise.
7225 * sunrpc/rpc_dtable.c: Likewise.
7226 * sunrpc/rpc_prot.c: Likewise.
7227 * sunrpc/rpc_thread.c: Likewise.
7228 * sunrpc/rtime.c: Likewise.
7229 * sunrpc/svc.c: Likewise.
7230 * sunrpc/svc_auth.c: Likewise.
7231 * sunrpc/svc_authux.c: Likewise.
7232 * sunrpc/svc_raw.c: Likewise.
7233 * sunrpc/svc_run.c: Likewise.
7234 * sunrpc/svc_simple.c: Likewise.
7235 * sunrpc/svc_tcp.c: Likewise.
7236 * sunrpc/svc_udp.c: Likewise.
7237 * sunrpc/svc_unix.c: Likewise.
7238 * sunrpc/svcauth_des.c: Likewise.
7239 * sunrpc/xcrypt.c: Likewise.
7240 * sunrpc/xdr.c: Likewise.
7241 * sunrpc/xdr_array.c: Likewise.
7242 * sunrpc/xdr_float.c: Likewise.
7243 * sunrpc/xdr_intXX_t.c: Likewise.
7244 * sunrpc/xdr_mem.c: Likewise.
7245 * sunrpc/xdr_rec.c: Likewise.
7246 * sunrpc/xdr_ref.c: Likewise.
7247 * sunrpc/xdr_sizeof.c: Likewise.
7248 * sunrpc/xdr_stdio.c: Likewise.
7250 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7253 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7254 * sysdeps/ia64/dl-tls.h: Likewise.
7255 * sysdeps/powerpc/dl-tls.h: Likewise.
7256 * sysdeps/s390/dl-tls.h: Likewise.
7257 * sysdeps/sh/dl-tls.h: Likewise.
7258 * sysdeps/sparc/dl-tls.h: Likewise.
7259 * sysdeps/x86_64/dl-tls.h: Likewise.
7260 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7262 2011-03-14 Andreas Schwab <schwab@redhat.com>
7264 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7265 rpath element also skip the following colon.
7266 (expand_dynamic_string_token): Add is_path parameter and pass
7267 down to DL_DST_REQUIRED and _dl_dst_substitute.
7268 (decompose_rpath): Call expand_dynamic_string_token with
7269 non-zero is_path. Ignore empty rpaths.
7270 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7273 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7278 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7281 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7282 Patch by Filipe David Manana <fdmanana@apache.org>.
7284 2011-04-07 Andreas Schwab <schwab@redhat.com>
7286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7287 Maintain aligned stack.
7288 (CHECK_RSP): Remove unused macro.
7290 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7292 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7295 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7297 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7299 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7301 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7304 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7305 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7306 * sysdeps/x86_64/memmove.c: New file.
7307 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7308 (memcpy): Renamed to ...
7309 (__new_memcpy): This.
7310 (memcpy): Provide GLIBC_2_14 memcpy.
7311 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7312 (memcpy): Provide GLIBC_2_2_5 memcpy.
7314 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7317 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7319 2011-03-30 Andreas Schwab <schwab@redhat.com>
7321 * misc/syncfs.c: New file.
7322 * misc/Makefile (routines): Add syncfs.
7323 * posix/unistd.h: Declare syncfs.
7324 * sysdeps/unix/syscalls.list: Add syncfs.
7326 2011-04-01 Andreas Schwab <schwab@redhat.com>
7328 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7335 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7338 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7342 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7348 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7349 sync_file_range.c with -fexceptions.
7350 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7351 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7352 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7353 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7354 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7355 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7357 sync_file_range as cancellation point
7358 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7359 now a wrapper around __call_sync_file_range with cancellation handling.
7360 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7362 function name to __call_sync_file_range.
7363 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7364 Add call_sync_file_range.
7366 2011-04-01 Andreas Schwab <schwab@redhat.com>
7368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7371 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7373 * iconv/iconv.h: Fix typo in comment.
7374 * io/fcntl.h: Likewise.
7375 * libio/stdio.h: Likewise.
7376 * posix/spawn.h: Likewise.
7377 * posix/unistd.h: Likewise.
7378 * stdlib/stdlib.h: Likewise.
7379 * time/time.h: Likewise.
7380 * wcsmbs/wchar.h: Likewise.
7382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7383 open_by_handle): Add.
7384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7385 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7386 Augment a few comments.
7387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7392 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7395 * io/fcntl.h (AT_EMPTY_PATH): Define.
7397 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7399 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7400 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7401 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7403 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7404 * Versions.def: Add GLIBC_2.14.
7405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7408 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7414 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7417 * string/test-strncmp.c (do_page_test): New function.
7419 (test_main): Call check2.
7420 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7422 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7426 Handle cache information in CPU leaf 4.
7427 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7429 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7432 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7433 character representation.
7434 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7436 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7438 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7439 END(__isnan) to END(__isnanf) to match function entry point/label
7440 EALIGN(__isnanf,...).
7442 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7444 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7446 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7449 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7450 copy from the symbol referenced in the relocation to initialize the
7452 Patch by Piotr Bury <pbury@goahead.com>.
7453 * elf/Makefile: Add rules to build and tst-unique3.
7454 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7455 * elf/tst-unique3.cc: New file.
7456 * elf/tst-unique3.h: New file.
7457 * elf/tst-unique3lib.cc: New file.
7458 * elf/tst-unique3lib2.cc: New file.
7460 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7462 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7464 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7465 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7468 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7470 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7471 to-be-loaded object along a path to loader is ld.so.
7473 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7474 Ulrich Drepper <drepper@gmail.com>
7476 * sysdeps/x86_64/memset.S: After aligning destination, code
7477 branches to different locations depending on the value of
7478 misalignment, when multiarch is enabled. Fix this.
7480 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7482 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7483 Set _x86_64_preferred_memory_instruction for AMD processsors.
7484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7485 Set bit_Prefer_SSE_for_memop for AMD processors.
7487 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7489 * libio/fmemopen.c (fmemopen): Optimize a bit.
7491 2011-03-03 Andreas Schwab <schwab@redhat.com>
7493 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7495 2011-03-03 Roland McGrath <roland@redhat.com>
7497 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7499 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7501 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7502 __bzero_ultra1 instead of __memset_ultra1.
7504 2011-02-23 Andreas Schwab <schwab@redhat.com>
7505 Ulrich Drepper <drepper@gmail.com>
7508 * include/link.h (struct link_map): Add l_orig_initfini.
7509 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7510 returning unsuccessfully.
7511 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7512 close of a file loaded at startup, restore the original l_initfini
7514 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7515 list, store the pointer.
7516 * elf/Makefile ($(objpfx)noload-mem): New rule.
7517 (noload-ENV): Define.
7518 (tests): Add $(objpfx)noload-mem.
7519 * elf/noload.c: Include <memcheck.h>.
7520 (main): Call mtrace. Close all opened handles.
7522 2011-02-17 Andreas Schwab <schwab@redhat.com>
7525 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7526 dependencies are missing.
7528 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7530 Fix __if_freereq crash: Unlike the generic version which uses free,
7532 * sysdeps/mach/hurd/ifreq.h: New file.
7534 2011-01-27 Petr Baudis <pasky@suse.cz>
7535 Ulrich Drepper <drepper@gmail.com>
7538 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7540 * stdio-common/bug23.c: New file.
7541 * stdio-common/Makefile (tests): Add bug23.
7543 2010-09-28 Andreas Schwab <schwab@redhat.com>
7544 Ulrich Drepper <drepper@gmail.com>
7547 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7548 before performing relro protection. At old place add assertion
7549 to make sure nothing changed.
7551 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7552 Glauber de Oliveira Costa <glommer@gmail.com>
7554 * elf/elf.h: Add new ARM TLS relocs.
7556 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7559 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7561 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7563 * sysdeps/wordsize-64/tst-writev.c: New file.
7565 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7567 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7568 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7569 insns in _dl_start to prevent a TOC reference before relocs are
7572 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7575 * Makeconfig: Remove RANLIB definition.
7576 * Makerules: Don't use RANLIB.
7577 * aclocal.m4: Remove ranlib test.
7578 * configure.in: No need to check for ranlib.
7579 * elf/rtld-Rules: Don't use RANLIB.
7581 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7583 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7585 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7586 inclusion protection macro.
7588 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7589 SIGRTMIN and SIGRTMAX and print information in that case only when
7590 SIGRTMIN is defined.
7592 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7594 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7595 arginfo fn returning -1.
7597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7598 and thousands string is zero terminated.
7600 2011-02-03 Andreas Schwab <schwab@redhat.com>
7602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7603 sysdeps/unix/sysv/linux/bits/socket.h.
7605 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7607 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7608 (__CPU_COUNT): Remove old macros.
7609 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7610 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7611 (__CPU_ALLOC, __CPU_FREE): Add macros.
7612 (__sched_cpualloc, __sched_cpufree): Add declarations.
7614 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7616 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7617 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7618 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7619 (readdhstai): Return value of addhstaiX call.
7620 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7621 (addgrbyX): Return value returned by cache_addgr.
7622 (readdgrbyname): Return value returned by addgrbyX.
7623 (readdgrbygid): Likewise.
7624 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7625 (addpwbyX): Return value returned by cache_addpw.
7626 (readdpwbyname): Return value returned by addhstbyX.
7627 (readdpwbyuid): Likewise.
7628 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7629 (addservbyX): Return value returned by cache_addserv.
7630 (readdservbyname): Return value returned by addservbyX:
7631 (readdservbyport): Likewise.
7632 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7633 (addhstbyX): Return value returned by cache_addhst.
7634 (readdhstbyname): Return value returned by addhstbyX.
7635 (readdhstbyaddr): Likewise.
7636 (readdhstbynamev6): Likewise.
7637 (readdhstbyaddrv6): Likewise.
7638 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7639 (readdinitgroups): Return value returned by addinitgroupsX.
7640 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7641 (prune_cache): Keep track of timeout value of re-added entries.
7642 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7643 * nscd/nscd.h: Adjust prototypes of readd* functions.
7645 2011-02-04 Roland McGrath <roland@redhat.com>
7647 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7648 (nis_stats): Likewise.
7649 * nis/nis_modify.c (nis_modify): Likewise.
7650 * nis/nis_remove.c (nis_remove): Likewise.
7651 * nis/nis_add.c (nis_add): Likewise.
7653 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7655 * posix/fnmatch_loop.c: Add some consts.
7657 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7659 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7662 * config.make.in (config-cflags-novzeroupper): Define.
7663 * configure.in: Substitute libc_cv_cc_novzeroupper.
7664 * elf/Makefile (AVX-CFLAGS): Define.
7665 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7666 (CFLAGS-tst-auditmod4a.c): Likewise.
7667 (CFLAGS-tst-auditmod4b.c): Likewise.
7668 (CFLAGS-tst-auditmod6b.c): Likewise.
7669 (CFLAGS-tst-auditmod6c.c): Likewise.
7670 (CFLAGS-tst-auditmod7b.c): Likewise.
7671 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7673 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7675 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7676 function to the callback.
7677 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7679 2011-02-02 Andreas Schwab <schwab@redhat.com>
7681 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7684 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7687 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7689 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7691 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7694 * elf/Makefile: Add rules to build and run new test.
7695 * elf/tst-initorder.c: New file.
7696 * elf/tst-initorder.exp: New file.
7697 * elf/tst-initordera1.c: New file.
7698 * elf/tst-initordera2.c: New file.
7699 * elf/tst-initordera3.c: New file.
7700 * elf/tst-initordera4.c: New file.
7701 * elf/tst-initorderb1.c: New file.
7702 * elf/tst-initorderb2.c: New file.
7703 * elf/tst-order-a1.c: New file.
7704 * elf/tst-order-a2.c: New file.
7705 * elf/tst-order-a3.c: New file.
7706 * elf/tst-order-a4.c: New file.
7707 * elf/tst-order-b1.c: New file.
7708 * elf/tst-order-b2.c: New file.
7709 * elf/tst-order-main.c: New file.
7710 New test case by George Gensure <werkt0@gmail.com>.
7712 2010-10-01 Andreas Schwab <schwab@redhat.com>
7714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7715 decoding ACE if AI_CANONIDN.
7717 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7719 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7721 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7723 * version.h (RELEASE): Bump for 2.13 release.
7724 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7726 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7730 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7733 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7737 * posix/getconf.c: Update copyright year.
7738 * catgets/gencat.c: Likewise.
7739 * csu/version.c: Likewise.
7740 * debug/catchsegv.sh: Likewise.
7741 * debug/xtrace.sh: Likewise.
7742 * elf/ldconfig.c: Likewise.
7743 * elf/ldd.bash.in: Likewise.
7744 * elf/sprof.c (print_version): Likewise.
7745 * iconv/iconv_prog.c: Likewise.
7746 * iconv/iconvconfig.c: Likewise.
7747 * locale/programs/locale.c: Likewise.
7748 * locale/programs/localedef.c: Likewise.
7749 * malloc/memusage.sh: Likewise.
7750 * malloc/mtrace.pl: Likewise.
7751 * nscd/nscd.c (print_version): Likewise.
7752 * nss/getent.c: Likewise.
7754 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7755 PF_CAIF, and PF_ALG.
7756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7758 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7760 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7761 (modules-names): Use them.
7762 (ifunc-test-modules, ifunc-pie-tests): Define.
7763 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7764 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7765 (test-extras): Likewise.
7766 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7767 $(compile-command.c).
7768 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7769 (all-built-dso): Define.
7770 (check-textrel.out, check-execstack.out): Depend on it.
7772 * configure.in: Don't override --enable-multi-arch.
7774 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7777 * nscd/hstcache.c (tryagain): Define.
7778 (cache_addhst): Return tryagain not notfound for temporary errors.
7779 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7782 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7786 to make the syscall.
7787 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7790 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7791 and fall back to matching as normal character if the string ends before
7792 the matching ']' is found. This is what POSIX requires.
7793 * posix/testfnm.c: Adjust test result.
7794 * posix/globtest.sh: Adjust test result. Add new test.
7795 * posix/tst-fnmatch.input: Likewise.
7796 * posix/tst-fnmatch2.c: Add new test.
7798 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7800 * elf/Makefile (check-execstack): Revert last change. Depend on
7802 (check-execstack.h): New target.
7803 (generated): Add check-execstack.h.
7804 * elf/check-execstack.c: Include "check-execstack.h".
7805 (main): Revert last change.
7806 (handle_file): Return zero if GNU_STACK is absent and
7807 DEFAULT_STACK_PERMS doesn't include PF_X.
7809 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7811 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7812 in child fails because the descriptor is already closed.
7813 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7814 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7818 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7822 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7823 temporary buffer used to handle multi lookups locally.
7824 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7826 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7828 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7831 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7833 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7836 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7839 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7840 characters. When rounding increased number of integer digits recompute
7842 * stdio-common/tst-grouping.c: New file.
7843 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7845 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7847 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7848 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7850 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7852 * bits/select.h: Likewise.
7854 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7856 * po/ja.po: Update from translation team.
7858 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7861 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7862 implementation just like for lxstat, fxstatat, et al.
7864 2010-12-27 Jim Meyering <meyering@redhat.com>
7867 * posix/regexec.c (build_trtable): Return failure indication upon
7868 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7870 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7873 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7874 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7879 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7882 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7883 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7885 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7887 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7888 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7889 script has SORT_BY_INIT_PRIORITY.
7890 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7891 NO_CTORS_DTORS_SECTIONS is defined.
7892 * elf/soinit.c: Likewise.
7893 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7894 NO_CTORS_DTORS_SECTIONS is defined.
7895 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7896 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7897 * sysdeps/sh/init-first.c: Likewise.
7898 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7900 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7902 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7903 always use the slow path.
7905 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7907 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7908 similar rule which adds the sysdep directories to the header search in
7909 order to pick up the correct platform stackinfo.h.
7910 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7911 perform test if it is, otherwise return successfully without testing.
7912 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7913 DEFAULT_STACK_PERMS define in stackinfo.h.
7914 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7915 defined in stackinfo.h.
7916 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7917 DEFAULT_STACK_PERMS defined in stackinfo.h.
7918 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7919 * sysdeps/ia64/stackinfo.h: Likewise.
7920 * sysdeps/s390/stackinfo.h: Likewise.
7921 * sysdeps/sh/stackinfo.h: Likewise.
7922 * sysdeps/sparc/stackinfo.h: Likewise.
7923 * sysdeps/x86_64/stackinfo.h: Likewise.
7924 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7925 PF_X for powerpc64. Retain PF_X for powerpc32.
7927 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7929 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7931 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7932 GETDENTS_64BIT_ALIGNED.
7934 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7936 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7938 2010-12-10 Andreas Schwab <schwab@redhat.com>
7940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7944 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7946 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7947 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7949 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7952 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7955 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7957 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7959 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7961 * po/it.po: Update from translation team.
7963 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7968 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7970 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7972 2010-11-24 Andreas Schwab <schwab@redhat.com>
7974 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7976 (gaih_getanswer_slice): Likewise.
7978 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7982 2010-05-31 Petr Baudis <pasky@suse.cz>
7985 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7986 silently even in the chroot mode.
7988 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7991 last patch a bit. Pretty printing
7993 2010-05-31 Petr Baudis <pasky@suse.cz>
7996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7997 initialization of skip_initgroups_dyn.
7999 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8001 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8004 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8006 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8008 2010-11-11 Andreas Schwab <schwab@redhat.com>
8010 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8011 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8012 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8013 ($(objpfx)tst-fnmatch-mem): New rule.
8014 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8015 * posix/tst-fnmatch.c (main): Call mtrace.
8017 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8020 Support Intel processor model 6 and model 0x2c.
8022 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8027 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8030 * string/test-strncasecmp.c (check_result): New function.
8031 (do_one_test): Use it.
8032 (check1): New function.
8033 (test_main): Use it.
8034 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8035 Support strcasecmp and strncasecmp.
8037 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8040 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8043 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8045 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8049 * sysdeps/x86_64/multiarch/bzero.S: New file.
8050 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8051 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8052 * sysdeps/x86_64/multiarch/memset.S: New file.
8053 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8055 Set bit_Prefer_SSE_for_memop for Intel processors.
8056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8058 (index_Prefer_SSE_for_memop): Define.
8059 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8061 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8066 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8069 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8070 (__x86_64_raw_data_cache_size_half): Likewise.
8071 (__x86_64_raw_shared_cache_size): Likewise.
8072 (__x86_64_raw_shared_cache_size_half): Likewise.
8074 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8075 (__x86_64_raw_data_cache_size_half): Likewise.
8076 (__x86_64_raw_shared_cache_size): Likewise.
8077 (__x86_64_raw_shared_cache_size_half): Likewise.
8078 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8079 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8080 and __x86_64_raw_shared_cache_size_half. Round
8081 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8082 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8083 to multiple of 256 bytes.
8085 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8089 of inacessible symlinks. Verify result of symlink before returning it.
8090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8091 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8093 2010-10-28 Erich Ritz <erichritz@gmail.com>
8095 * math/math.h (isinf): Fix typo in comment.
8097 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8099 * po/da.po: Update from translation team.
8101 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8103 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8104 is added to the list.
8106 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8107 Ulrich Drepper <drepper@gmail.com>
8109 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8110 the global list here. Move code to...
8111 (_dl_add_to_namespace_list): ...here. New function.
8112 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8113 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8114 * elf/dl-load.c (lose): Don't remove the element from the list.
8115 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8116 (_dl_map_object): Likewise.
8118 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8121 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8122 into all bytes of SSE register.
8123 Patch by Richard Li <richardpku@gmail.com>.
8125 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8128 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8131 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8133 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8134 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8135 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8141 2010-10-22 Andreas Schwab <schwab@redhat.com>
8143 * include/dlfcn.h (__RTLD_SECURE): Define.
8144 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8145 mode & __RTLD_SECURE instead.
8146 (open_path): Rename preloaded parameter to secure.
8147 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8148 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8149 * elf/dl-deps.c (openaux): Likewise.
8150 * elf/rtld.c (struct map_args): Remove is_preloaded.
8151 (map_doit): Don't use it.
8152 (dl_main): Likewise.
8153 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8154 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8156 2010-09-09 Andreas Schwab <schwab@redhat.com>
8158 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8159 (sysd-rules-targets): Remove duplicates.
8160 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8161 rtld-%.$o dependency.
8163 2010-10-18 Andreas Schwab <schwab@redhat.com>
8165 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8166 _dl_map_object do it.
8168 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8170 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8171 fast fma builtins, define the macros in the C99 standard.
8172 (FP_FAST_FMAF): Likewise.
8173 (FP_FAST_FMAL): Likewise.
8174 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8176 * bits/mathdef.h: Update copyright year.
8177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8179 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8181 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8182 builtins, define the macros in the C99 standard.
8183 (FP_FAST_FMAF): Likewise.
8184 (FP_FAST_FMAL): Likewise.
8185 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8187 (FP_FAST_FMAF): Likewise.
8189 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8192 * math/libm-test.inc (fma_test): Some new testcases.
8193 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8194 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8195 y and infinite z. Do multiplication by C already in long double.
8196 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8198 y and infinite z. Do bitwise or of inexact bit into u.d.
8199 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8200 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8201 * sysdeps/i386/fpu/s_fma.S: Removed.
8202 * sysdeps/i386/fpu/s_fmal.S: Removed.
8204 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8207 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8209 computation is not scheduled after fetestexcept. Fix value
8210 of minimum denormal long double.
8212 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8215 * math/libm-test.inc (fma_test): Add some more tests.
8216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8219 2010-10-15 Andreas Schwab <schwab@redhat.com>
8221 * scripts/data/localplt-s390-linux-gnu.data: New file.
8222 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8224 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8227 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8228 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8230 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8232 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8234 if one of x and y is very large and the other is subnormal.
8235 * sysdeps/s390/fpu/s_fmaf.c: New file.
8236 * sysdeps/s390/fpu/s_fma.c: New file.
8237 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8238 * sysdeps/powerpc/fpu/s_fma.S: New file.
8239 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8240 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8241 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8243 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8246 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8249 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8250 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8251 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8252 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8253 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8256 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8259 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8260 * posix/bug-regex31.input: Add test case.
8262 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8264 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8265 * posix/bug-regex31.input: New file.
8268 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8269 (parse_sub_exp): Fix last change, use postorder.
8271 * posix/bug-regex31.c: New file.
8272 * posix/Makefile: Add rules to build and run bug-regex31.
8274 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8277 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8280 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8281 to have entries in sys_siglist.
8284 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8287 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8290 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8291 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8292 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8293 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8294 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8295 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8296 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8297 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8298 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8299 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8300 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8301 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8302 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8303 * math/ftestexcept.c (fetestexcept): Likewise.
8304 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8305 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8306 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8307 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8308 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8309 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8312 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8315 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8318 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8320 * string/bug-strstr1.c: New file.
8321 * string/Makefile: Add rules to build and run bug-strstr1.
8323 2010-10-05 Eric Blake <eblake@redhat.com>
8326 * string/str-two-way.h (two_way_long_needle): Always clear memory
8327 when skipping input due to the shift table.
8329 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8332 * malloc/mcheck.c: Handle large requests.
8335 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8336 for strncmp and strncasecmp.
8337 * string/stratcliff.c: Add tests for strcmp and strncmp.
8338 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8340 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8342 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8345 2010-09-30 Andreas Jaeger <aj@suse.de>
8347 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8348 (CGROUP_SUPER_MAGIC): Define.
8349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8350 Handle btrfs and cgroup file systems.
8351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8354 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8356 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8357 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8359 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8362 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8363 trying to locate the ELF header.
8365 2010-09-27 Andreas Schwab <schwab@redhat.com>
8368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8369 Mask out sign-bit copies when constructing f_fsid.
8371 2010-09-24 Petr Baudis <pasky@suse.cz>
8373 * debug/stack_chk_fail_local.c: Add missing licence exception.
8374 * debug/warning-nop.c: Likewise.
8376 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8379 implementing getdents64 using getdents syscall, set d_type if
8380 __ASSUME_GETDENTS32_D_TYPE.
8382 2010-09-16 Andreas Schwab <schwab@redhat.com>
8384 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8385 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8387 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8390 * posix/unistd.h: Undo change of feature selection for ftruncate from
8393 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8395 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8398 2010-09-20 Andreas Schwab <schwab@redhat.com>
8400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8404 2010-09-14 Andreas Schwab <schwab@redhat.com>
8406 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8407 variables after CHECK_SP call.
8408 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8410 2010-09-13 Andreas Schwab <schwab@redhat.com>
8411 Ulrich Drepper <drepper@redhat.com>
8413 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8414 re-relocationg ld.so.
8415 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8416 _dl_init_paths call.
8417 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8420 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8422 * resolv/res_init.c (__res_vinit): Count the default server we added.
8424 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8425 Ulrich Drepper <drepper@redhat.com>
8428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8429 (____longjmp_chk): Use %ebx for saving value across system call.
8432 2010-09-06 Andreas Schwab <schwab@redhat.com>
8434 * manual/Makefile: Don't mix pattern rules with normal rules.
8436 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8438 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8440 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8441 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8442 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8443 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8447 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8450 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8451 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8453 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8455 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8456 * sysdeps/x86_64/addmul_1.S: Likewise.
8457 * sysdeps/x86_64/lshift.S: Likewise.
8458 * sysdeps/x86_64/mul_1.S: Likewise.
8459 * sysdeps/x86_64/rshift.S: Likewise.
8460 * sysdeps/x86_64/sub_n.S: Likewise.
8461 * sysdeps/x86_64/submul_1.S: Likewise.
8463 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8465 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8466 Define __sched_param instead of SCHED_* and sched_param when
8467 <bits/sched.h> is included with __need_schedparam defined.
8468 * bits/sched.h [__need_schedparam]
8469 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8470 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8471 (__defined_schedparam): Define to 1.
8472 (__sched_param): New structure, identical to sched_param.
8473 (__need_schedparam): Undefine.
8475 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8478 (epoll_create1): Declare.
8480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8482 2010-08-31 Andreas Schwab <schwab@redhat.com>
8485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8486 shifting retval into place.
8488 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8490 * nis/rpcsvc/nis.h: Update copyright notice.
8491 * nis/rpcsvc/nis.x: Likewise.
8492 * nis/rpcsvc/nis_callback.h: Likewise.
8493 * nis/rpcsvc/nis_callback.x: Likewise.
8494 * nis/rpcsvc/nis_object.x: Likewise.
8495 * nis/rpcsvc/nis_tags.h: Likewise.
8496 * nis/rpcsvc/yp.h: Likewise.
8497 * nis/rpcsvc/yp.x: Likewise.
8498 * nis/rpcsvc/ypupd.h: Likewise.
8499 * nis/yp_xdr.c: Likewise.
8500 * nis/ypupdate_xdr.c: Likewise.
8502 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8503 mainly the body of pmap_getport. Add parameters to specify timeouts.
8504 (pmap_getport): Use __libc_rpc_getport.
8505 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8506 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8507 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8509 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8514 2010-08-27 Roland McGrath <roland@redhat.com>
8516 * sysdeps/i386/i686/multiarch/Makefile
8517 (CFLAGS-varshift.c): New variable.
8519 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8521 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8522 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8526 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8528 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8530 * sysdeps/x86_64/strlen.S: Unroll the loop.
8531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8532 strlen-sse2 strlen-sse2-bsf.
8533 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8534 __strlen_no_bsf if bit_Slow_BSF is set.
8535 (__strlen_sse42): Removed.
8536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8537 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8539 2010-08-25 Roland McGrath <roland@redhat.com>
8541 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8542 * sysdeps/x86_64/multiarch/varshift.c: New file.
8543 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8544 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8545 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8548 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8551 strlen-sse2 strlen-sse2-bsf.
8552 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8553 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8554 (__strlen_sse2): Removed.
8555 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8558 bit_Slow_BSF for Atom.
8559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8560 (index_Slow_BSF): Define.
8561 (HAS_SLOW_BSF): Define.
8563 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8566 * resolv/res_init.c (__res_vinit): When no server address at all
8567 is given default to loopback.
8569 2010-08-24 Roland McGrath <roland@redhat.com>
8571 * configure.in: Remove config-name.h generation.
8572 * configure: Regenerated.
8573 * config-name.in: File removed.
8574 * scripts/config-uname.sh: New file.
8575 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8576 ($(objdir)config-name.h): New target.
8578 * sunrpc/rpc_parse.h: Avoid nested comment.
8580 2010-08-24 Richard Henderson <rth@redhat.com>
8581 Ulrich Drepper <drepper@redhat.com>
8582 H.J. Lu <hongjiu.lu@intel.com>
8584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8586 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8587 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8588 _mm_alignr_epi8 with _mm_loadu_si128.
8589 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8590 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8591 (__m128i_shift_right): Removed.
8592 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8593 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8594 * sysdeps/x86_64/multiarch/varshift.h: New file.
8595 * sysdeps/x86_64/multiarch/varshift.S: New file.
8597 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8599 * configure.in: Move assembler checks to before sysdep dir checking.
8601 2010-08-20 Petr Baudis <pasky@suse.cz>
8603 * LICENSES: Sync the sunrpc license.
8605 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8607 * sunrpc/auth_des.c: Update copyright notice once again.
8608 * sunrpc/auth_none.c: Likewise.
8609 * sunrpc/auth_unix.c: Likewise.
8610 * sunrpc/authdes_prot.c: Likewise.
8611 * sunrpc/authuxprot.c: Likewise.
8612 * sunrpc/bindrsvprt.c: Likewise.
8613 * sunrpc/clnt_gen.c: Likewise.
8614 * sunrpc/clnt_perr.c: Likewise.
8615 * sunrpc/clnt_raw.c: Likewise.
8616 * sunrpc/clnt_simp.c: Likewise.
8617 * sunrpc/clnt_tcp.c: Likewise.
8618 * sunrpc/clnt_udp.c: Likewise.
8619 * sunrpc/clnt_unix.c: Likewise.
8620 * sunrpc/des_crypt.c: Likewise.
8621 * sunrpc/des_soft.c: Likewise.
8622 * sunrpc/get_myaddr.c: Likewise.
8623 * sunrpc/getrpcport.c: Likewise.
8624 * sunrpc/key_call.c: Likewise.
8625 * sunrpc/key_prot.c: Likewise.
8626 * sunrpc/openchild.c: Likewise.
8627 * sunrpc/pm_getmaps.c: Likewise.
8628 * sunrpc/pm_getport.c: Likewise.
8629 * sunrpc/pmap_clnt.c: Likewise.
8630 * sunrpc/pmap_prot.c: Likewise.
8631 * sunrpc/pmap_prot2.c: Likewise.
8632 * sunrpc/pmap_rmt.c: Likewise.
8633 * sunrpc/rpc/auth.h: Likewise.
8634 * sunrpc/rpc/auth_unix.h: Likewise.
8635 * sunrpc/rpc/clnt.h: Likewise.
8636 * sunrpc/rpc/des_crypt.h: Likewise.
8637 * sunrpc/rpc/key_prot.h: Likewise.
8638 * sunrpc/rpc/netdb.h: Likewise.
8639 * sunrpc/rpc/pmap_clnt.h: Likewise.
8640 * sunrpc/rpc/pmap_prot.h: Likewise.
8641 * sunrpc/rpc/pmap_rmt.h: Likewise.
8642 * sunrpc/rpc/rpc.h: Likewise.
8643 * sunrpc/rpc/rpc_des.h: Likewise.
8644 * sunrpc/rpc/rpc_msg.h: Likewise.
8645 * sunrpc/rpc/svc.h: Likewise.
8646 * sunrpc/rpc/svc_auth.h: Likewise.
8647 * sunrpc/rpc/types.h: Likewise.
8648 * sunrpc/rpc/xdr.h: Likewise.
8649 * sunrpc/rpc_clntout.c: Likewise.
8650 * sunrpc/rpc_cmsg.c: Likewise.
8651 * sunrpc/rpc_common.c: Likewise.
8652 * sunrpc/rpc_cout.c: Likewise.
8653 * sunrpc/rpc_dtable.c: Likewise.
8654 * sunrpc/rpc_hout.c: Likewise.
8655 * sunrpc/rpc_main.c: Likewise.
8656 * sunrpc/rpc_parse.c: Likewise.
8657 * sunrpc/rpc_parse.h: Likewise.
8658 * sunrpc/rpc_prot.c: Likewise.
8659 * sunrpc/rpc_sample.c: Likewise.
8660 * sunrpc/rpc_scan.c: Likewise.
8661 * sunrpc/rpc_scan.h: Likewise.
8662 * sunrpc/rpc_svcout.c: Likewise.
8663 * sunrpc/rpc_tblout.c: Likewise.
8664 * sunrpc/rpc_util.c: Likewise.
8665 * sunrpc/rpc_util.h: Likewise.
8666 * sunrpc/rpcinfo.c: Likewise.
8667 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8668 * sunrpc/rpcsvc/key_prot.x: Likewise.
8669 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8670 * sunrpc/rpcsvc/mount.x: Likewise.
8671 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8672 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8673 * sunrpc/rpcsvc/rex.x: Likewise.
8674 * sunrpc/rpcsvc/rstat.x: Likewise.
8675 * sunrpc/rpcsvc/rusers.x: Likewise.
8676 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8677 * sunrpc/rpcsvc/spray.x: Likewise.
8678 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8679 * sunrpc/rtime.c: Likewise.
8680 * sunrpc/svc.c: Likewise.
8681 * sunrpc/svc_auth.c: Likewise.
8682 * sunrpc/svc_authux.c: Likewise.
8683 * sunrpc/svc_raw.c: Likewise.
8684 * sunrpc/svc_run.c: Likewise.
8685 * sunrpc/svc_simple.c: Likewise.
8686 * sunrpc/svc_tcp.c: Likewise.
8687 * sunrpc/svc_udp.c: Likewise.
8688 * sunrpc/svc_unix.c: Likewise.
8689 * sunrpc/svcauth_des.c: Likewise.
8690 * sunrpc/xcrypt.c: Likewise.
8691 * sunrpc/xdr.c: Likewise.
8692 * sunrpc/xdr_array.c: Likewise.
8693 * sunrpc/xdr_float.c: Likewise.
8694 * sunrpc/xdr_mem.c: Likewise.
8695 * sunrpc/xdr_rec.c: Likewise.
8696 * sunrpc/xdr_ref.c: Likewise.
8697 * sunrpc/xdr_sizeof.c: Likewise.
8698 * sunrpc/xdr_stdio.c: Likewise.
8700 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8703 2010-08-19 Andreas Schwab <schwab@redhat.com>
8705 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8707 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8709 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8711 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8712 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8713 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8714 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8715 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8716 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8718 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8719 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8721 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8722 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8724 2010-07-26 Anton Blanchard <anton@samba.org>
8726 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8727 * malloc/arena.c (heap_trim): Likewise.
8729 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8731 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8734 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8736 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8738 * sysdeps/i386/elf/Makefile: New file.
8740 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8742 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8747 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8749 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8751 * sysdeps/multiarch/strcmp.S: Likewise.
8753 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8755 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8756 strncase_l-nonascii.
8757 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8758 Add strncase_l-ssse3.
8759 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8760 * sysdeps/x86_64/strcmp.S: Likewise.
8761 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8762 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8763 * sysdeps/x86_64/strncase.S: New file.
8764 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8765 * sysdeps/x86_64/strncase_l.S: New file.
8766 * string/Makefile (strop-tests): Add strncasecmp.
8767 * string/test-strncasecmp.c: New file.
8769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8772 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8773 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8775 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8777 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8779 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8781 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8785 2010-05-01 Alan Modra <amodra@gmail.com>
8787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8788 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8789 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8790 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8791 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8792 tidying. Don't tail-call __sigjmp_save for static lib.
8793 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8795 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8796 (CALL_MCOUNT): Add eh info, and nop after bl.
8797 (TAIL_CALL_SYSCALL_ERROR): New macro.
8798 (PSEUDO_RET): Use it.
8799 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8800 Correct save location of integer regs and cr.
8801 (_dl_profile_resolve): Correct cr save location. Delete nops
8802 after bl when SHARED. Reduce cfi size a little by better
8803 placement of cfi directives.
8804 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8805 make a stack frame. Instead use parm save area as a temp.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8807 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8809 Don't make a stack frame for parent, use parm save area.
8810 Increase child stack frame to 112 bytes. Don't save unused reg,
8811 and adjust reg usage. Set up cfi on error recovery and
8812 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8814 (__makecontext): Add dummy nop after jump to exit.
8815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8816 Use correct parm save area and cr save, reduce stack frame.
8817 Correct cfi for possible PSEUDO_RET frame setup.
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8819 Branch to local label emitted by PSEUDO_RET rather than
8822 2010-08-12 Andreas Schwab <schwab@redhat.com>
8825 * locale/programs/locale.c (print_assignment): New function.
8826 (show_locale_vars): Use it.
8828 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8830 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8832 (struct statfs64): Likewise.
8833 (_STATFS_F_FLAGS): Define.
8834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8835 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8836 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8837 (ST_VALID): Define locally.
8838 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8839 __statvfs_getflags, use the provided value.
8840 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8841 __ASSUME_STATFS_F_FLAGS.
8843 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8847 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8848 fanotify_mask for GLIBC_2.13.
8849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8850 fanotify_init and fanotify_mark.
8851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8852 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8856 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8857 prlimit64 for GLIBC_2.13.
8858 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8863 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8864 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8868 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8871 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8872 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8874 * nss/Makefile: Add rules to build and run tst-nss-test1.
8875 * shlib-versions: Add entry for libnss_test1.
8876 * nss/nss_test1.c: New file.
8877 * nss/tst-nss-test1.c: New file.
8879 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8880 (__nss_configure_lookup): Set appropriate entry in
8881 __nss_configure_lookup to true.
8882 * nss/nsswitch.h: Define enum with indeces of databases in
8883 databases and __nss_database_custom arrays. Declare
8884 __nss_database_custom.
8885 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8886 to avoid using nscd when custom rules are installed.
8887 * nss/getXXbyYY_r.c: Likewise.
8888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8890 * nss/nss_files/files-parse.c: Whitespace fixes.
8892 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8895 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8896 * posix/fnmatch_loop.c: Likewise.
8898 2010-07-17 Andi Kleen <ak@linux.intel.com>
8900 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8901 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8902 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8903 * Versions.def [GLIBC_2.13]: Add.
8905 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8908 Also fail if tpwd after pwuid call is NULL.
8910 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8912 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8913 when converting to ms.
8915 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8917 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8918 EOPNOTSUPP errors with ENOTTY.
8919 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8920 EOPNOTSUPP errors with ENOTTY.
8922 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8924 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8925 Add strcasecmp_l-ssse3.
8926 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8928 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8929 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8930 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8932 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8934 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8936 * string/Makefile (strop-tests): Add strcasecmp.
8937 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8938 strcasecmp_l-nonascii.
8939 (gen-as-const-headers): Add locale-defines.sym.
8940 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8941 * sysdeps/x86_64/strcasecmp.S: New file.
8942 * sysdeps/x86_64/strcasecmp_l.S: New file.
8943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8944 * sysdeps/x86_64/locale-defines.sym: New file.
8945 * string/test-strcasecmp.c: New file.
8947 * string/test-strcasestr.c: Test both ends of the range of characters.
8948 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8950 2010-07-29 Roland McGrath <roland@redhat.com>
8953 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8955 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8957 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8960 2010-07-27 Andreas Schwab <schwab@redhat.com>
8962 * manual/memory.texi (Malloc Tunable Parameters): Document
8965 2010-07-26 Roland McGrath <roland@redhat.com>
8968 * configure.in (-fgnu89-inline check): Set and substitute
8969 gnu89_inline, not libc_cv_gnu89_inline.
8970 * configure: Regenerated.
8971 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8973 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8975 * string/test-strnlen.c: New file.
8976 * string/Makefile (strop-tests): Add strnlen.
8977 * string/tester.c (test_strnlen): Add a few more test cases.
8978 * string/tst-strlen.c: Better error reporting.
8980 * sysdeps/x86_64/strnlen.S: New file.
8982 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8984 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8985 lower-latency instructions.
8987 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8989 * string/test-strcasestr.c: New file.
8990 * string/test-strstr.c: New file.
8991 * string/Makefile (strop-tests): Add strstr and strcasestr.
8992 * string/str-two-way.h: Don't undefine MAX.
8993 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8995 2010-07-21 Andreas Schwab <schwab@redhat.com>
8997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8998 strcasestr-nonascii.
8999 (CFLAGS-strcasestr-nonascii.c): Define.
9000 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9002 Remove unused attribute.
9004 2010-07-20 Roland McGrath <roland@redhat.com>
9006 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9007 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9008 ld.so.cache was broken. With it, there is no way to disable dsocaps
9009 like LD_HWCAP_MASK can disable hwcaps.
9011 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9013 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9015 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9017 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9019 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9020 __strcasestr_sse42_nonascii.
9021 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9022 strcasestr-nonascii.c.
9023 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9025 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9028 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9032 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9037 2010-07-06 Andreas Schwab <schwab@redhat.com>
9040 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9043 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9046 _PC_PIPE_BUF using F_GETPIPE_SZ.
9048 2010-07-05 Roland McGrath <roland@redhat.com>
9050 * manual/arith.texi (Rounding Functions): Fix rint description
9051 implicit in round description.
9053 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9055 * elf/Makefile: Fix linking for a few tests to make recent linker
9058 2010-06-30 Andreas Schwab <schwab@redhat.com>
9060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9061 $(common-objpfx)libc_nonshared.a.
9063 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9065 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9066 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9067 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9068 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9069 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9071 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9072 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9087 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9088 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9089 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9090 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9091 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9092 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9093 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9094 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9095 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9096 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9097 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9098 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9114 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9116 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9117 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9118 * string/memmove.c (memmove): Renamed to ...
9119 (MEMMOVE): ...this. Default to memmove.
9120 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9121 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9124 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9125 mempcpy-ssse3-back memmove-ssse3-back.
9126 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9129 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9130 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9131 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9132 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9133 * sysdeps/x86_64/multiarch/memmove.c: New file.
9134 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9135 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9136 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9137 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9141 (index_Fast_Copy_Backward): Define.
9142 (HAS_ARCH_FEATURE): Define.
9143 (HAS_FAST_REP_STRING): Define.
9144 (HAS_FAST_COPY_BACKWARD): Define.
9146 2010-06-21 Andreas Schwab <schwab@redhat.com>
9148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9149 Restore proper fallback handling.
9151 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9154 * posix/group_member.c (__group_member): Correct checking loop.
9156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9157 OOM in getpwuid_r correctly. Return error number when the caller
9158 should return, otherwise -1.
9159 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9160 call returning > 0 value.
9161 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9163 2010-06-07 Andreas Schwab <schwab@redhat.com>
9165 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9166 libc_nonshared.a from targets in modules-names.
9168 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9170 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9173 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9180 2010-06-02 Andreas Schwab <schwab@redhat.com>
9182 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9184 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9195 2010-06-14 Roland McGrath <roland@redhat.com>
9197 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9199 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9201 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9202 __REDIRECT followed by __THROW.
9203 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9204 * posix/getopt.h (getopt): Likewise.
9206 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9208 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9209 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9210 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9212 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9213 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9215 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9219 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9223 Properly check family and model.
9225 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9229 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9231 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9233 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9235 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9238 2010-05-19 Andreas Schwab <schwab@redhat.com>
9240 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9243 2010-05-21 Andreas Schwab <schwab@redhat.com>
9245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9246 and internal_recvmmsg.
9247 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9248 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9249 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9250 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9252 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9256 2010-05-20 Andreas Schwab <schwab@redhat.com>
9258 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9260 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9262 POWER7 optimizations.
9263 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9264 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9266 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9268 * version.h: Update for 2.13 development version.
9270 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9272 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9273 exceptions. Return 0.
9275 2010-05-07 Roland McGrath <roland@redhat.com>
9277 * elf/ldconfig.c (main): Add a const.
9279 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9281 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9282 (args_options): Add no-idn option.
9283 (ahosts_keys_int): Add idn_flags to ai_flags.
9284 (parse_option): Handle 'i' option to clear idn_flags.
9286 * malloc/malloc.c (_int_free): Possible race in the most recently
9287 added check. Only act on the data if no current modification
9290 See ChangeLog.17 for earlier changes.