]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove __GNU_LIBRARY__ conditionals from rpcgen.
[thirdparty/glibc.git] / ChangeLog
1 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2
3 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4 * sunrpc/rpc_main.c: Likewise.
5 * sunrpc/rpc_svcout.c: Likewise.
6
7 2012-03-09 David S. Miller <davem@davemloft.net>
8
9 * include/math_private.h: New file.
10
11 2012-03-09 Joseph Myers <joseph@codesourcery.com>
12
13 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
16 from <bits/socket_type.h>.
17 (enum __socket_type): Don't define here.
18 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20 bits/socket_type.h.
21
22 [BZ #13566]
23 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24 checking __USE_GNU.
25
26 * Makerules ($(inst_includedir)/%.h): New rule.
27 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28 (install-others): Remove variable setting.
29 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30
31 2012-03-08 Richard Henderson <rth@twiddle.net>
32
33 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34 from macro to inline function; merge with the
35 !__LIBC_INTERNAL_MATH_INLINES version.
36 (__ieee754_sqrtf): Likewise.
37
38 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39 to inline function.
40 (__rintf, __floor, __floorf): Likewise.
41
42 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43 macro to inline function.
44 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45
46 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47 not <math/math_private.h>.
48
49 2012-03-08 David S. Miller <davem@davemloft.net>
50
51 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52 copyright year.
53 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54
55 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56
57 * resolv/gai_misc.c (handle_requests): Fix struct timespec
58 normalization.
59 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61
62 2012-03-08 Ulrich Drepper <drepper@gmail.com>
63
64 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
65 be defined individually, they must be defined as a block. Define
66 S for printing a string instead of hidint the different by using a
67 macro for adding the 'l'.
68 * stdio-common/tst-fphex-wide.c: Adjust.
69
70 2012-03-07 Marek Polacek <polacek@redhat.com>
71
72 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73
74 2012-03-08 Marek Polacek <polacek@redhat.com>
75
76 [BZ #13806]
77 * stdio-common/Makefile (tests): Add tst-fphex-wide.
78 * stdio-common/tst-fphex.c: Define a few macros to make the
79 test reusable. Use them.
80 * stdio-common/tst-fphex-wide.c: New file.
81
82 2012-03-08 Joseph Myers <joseph@codesourcery.com>
83
84 [BZ #6911]
85 * manual/macros.texi (gnusystems): New macro.
86 (nongnusystems): Likewise.
87 (gnulinuxhurdsystems): Likewise.
88 (gnuhurdsystems): Likewise..
89 (gnulinuxsystems): Likewise.
90 * manual/charset.texi: Use new macros or @theglibc{} to refer to
91 variants of the GNU system, not "GNU system".
92 * manual/conf.texi: Likewise.
93 * manual/errno.texi: Likewise. Update example of errno macro
94 expansion.
95 * manual/filesys.texi: Likewise.
96 (getumask): Document as specific to GNU/Hurd.
97 * manual/install.texi: Likewise. Reword some references to
98 GNU/Linux.
99 * manual/intro.texi: Likewise.
100 * manual/io.texi: Likewise.
101 (File Name Portability): Detail which constraints are inapplicable
102 to all GNU systems and which are only inapplicable to GNU/Hurd.
103 * manual/job.texi: Likewise.
104 * manual/llio.texi: Likewise.
105 (O_NOCTTY): Document as present on GNU/Linux.
106 * manual/maint.texi: Likewise.
107 * manual/memory.texi: Likewise.
108 * manual/pattern.texi: Likewise.
109 * manual/pipe.texi: Likewise.
110 * manual/process.texi: Likewise.
111 * manual/resource.texi: Likewise.
112 (RUSAGE_CHILDREN): Remove statement about specifying a particular
113 child on GNU/Hurd.
114 * manual/setjmp.texi: Likewise.
115 * manual/signal.texi: Likewise.
116 * manual/startup.texi: Likewise.
117 * manual/stdio.texi: Likewise.
118 * manual/terminal.texi: Likewise.
119 (ONLCR): Document as POSIX.
120 (OXTABS): Document availability on GNU/Linux as XTABS.
121 (ONOEOT): Document availability separately from other bits.
122 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
123 * manual/time.texi: Likewise.
124 * manual/users.texi: Likewise.
125 * INSTALL: Regenerated.
126 * sysdeps/gnu/errlist.c: Regenerated.
127
128 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
129 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
130 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
131 puts.
132 * configure: Regenerated.
133
134 2012-03-07 Joseph Myers <joseph@codesourcery.com>
135
136 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
137 default includes instead of AC_HEADER_CHECK.
138 * sysdeps/i386/configure: Regenerated.
139
140 [BZ #10716]
141 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
142 * math/s_cacoshf.c (__cacoshf): Likewise.
143 * math/s_cacoshl.c (__cacoshl): Likewise.
144 * math/s_casinh.c (__casinh): Set signs of result from argument.
145 * math/s_casinhf.c (__casinhf): Likewise.
146 * math/s_casinhl.c (__casinhl): Likewise.
147 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
148 (casinh_test): Add more tests.
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
151
152 2012-03-07 Ulrich Drepper <drepper@gmail.com>
153
154 * po/zh_TW.po: Update from translation team.
155
156 * login/Makefile (distribute): Remove variable.
157 * catgets/Makefile: Likewise.
158 * mach/Makefile: Likewise.
159 * malloc/Makefile: Likewise.
160 * misc/Makefile: Likewise.
161 * iconv/Makefile: Likewise.
162 * nscd/Makefile: Likewise.
163 * hurd/Makefile: Likewise.
164 * manual/Makefile: Likewise.
165 * locale/Makefile: Likewise.
166 * intl/Makefile: Likewise.
167 * conform/Makefile: Likewise.
168 * nss/Makefile: Likewise.
169 * time/Makefile: Likewise.
170 * soft-fp/Makefile: Likewise.
171 * dirent/Makefile: Likewise.
172 * gmon/Makefile: Likewise.
173 * po/Makefile: Likewise.
174 * rt/Makefile: Likewise.
175 * socket/Makefile: Likewise.
176 * math/Makefile: Likewise.
177 * signal/Makefile: Likewise.
178 * debug/Makefile: Likewise.
179 * elf/Makefile: Likewise.
180 * timezone/Makefile: Likewise.
181 * stdlib/Makefile: Likewise.
182 * iconvdata/Makefile: Likewise.
183 * sunrpc/Makefile: Likewise.
184 * io/Makefile: Likewise.
185 * argp/Makefile: Likewise.
186 * inet/Makefile: Likewise.
187 * hesiod/Makefile: Likewise.
188 * grp/Makefile: Likewise.
189 * csu/Makefile: Likewise.
190 * wctype/Makefile: Likewise.
191 * crypt/Makefile: Likewise.
192 * libio/Makefile: Likewise.
193 * string/Makefile: Likewise.
194 * nis/Makefile: Likewise.
195 * resolv/Makefile: Likewise.
196 * stdio-common/Makefile: Likewise.
197 * wcsmbs/Makefile: Likewise.
198 * dlfcn/Makefile: Likewise.
199 * posix/Makefile: Likewise.
200
201 * timezone/Makefile: Don't install timezone files, just the programs
202 and scripts.
203
204 2012-03-06 Ulrich Drepper <drepper@gmail.com>
205
206 * nss/databases.def: Add missing gshadow entry.
207
208 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
209
210 2012-03-06 Marek Polacek <polacek@redhat.com>
211
212 [BZ #13726]
213 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
214 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
215 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
216 * stdio-common/tst-long-dbl-fphex.c: New file.
217
218 2012-03-06 David S. Miller <davem@davemloft.net>
219
220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
221 (set_obp_int): New function.
222 (get_obp_int): New function.
223 (__get_clockfreq_via_dev_openprom): Likewise.
224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
225 Avoid unused variable warnings on 'val' and use builtin_expect.
226 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
227 __builtin_expect.
228 (INLINE_CLONE_SYSCALL): Likewise.
229
230 2012-03-05 David S. Miller <davem@davemloft.net>
231
232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
233
234 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
235
236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
237
238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
239 only for |x| >= 40.
240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
241
242 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
243
244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
245 Replace gettimeofday with __vdso_gettimeofday.
246
247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
248 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
249 __vdso_clock_gettime and __vdso_getcpu.
250
251 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
252 time with __vdso_time.
253
254 2012-03-05 Joseph Myers <joseph@codesourcery.com>
255
256 * manual/lang.texi (size_t): Note types to which size_t may be
257 equivalent with the GNU C Library, but do not describe when
258 differences between them are significant.
259
260 2012-03-05 Andreas Jaeger <aj@suse.de>
261
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263
264 2012-03-05 Joseph Myers <joseph@codesourcery.com>
265
266 [BZ #3976]
267 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
268 (__ieee754_pow): Save and restore rounding mode and use
269 round-to-nearest for main computations.
270 * math/libm-test.inc (pow_test_tonearest): New function.
271 (pow_test_towardzero): Likewise.
272 (pow_test_downward): Likewise.
273 (pow_test_upward): Likewise.
274 (main): Call the new functions.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
277
278 [BZ #3976]
279 * math/libm-test.inc (cosh_test_tonearest): New function.
280 (cosh_test_towardzero): Likewise.
281 (cosh_test_downward): Likewise.
282 (cosh_test_upward): Likewise.
283 (sinh_test_tonearest): Likewise.
284 (sinh_test_towardzero): Likewise.
285 (sinh_test_downward): Likewise.
286 (sinh_test_upward): Likewise.
287 (main): Call the new functions.
288 * sysdeps/i386/fpu/libm-test-ulps: Update.
289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
290
291 2012-03-05 Tom de Vries <tom@codesourcery.com>
292
293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
294 default stack guard is set in last bytes.
295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
296
297 2012-03-05 Kees Cook <keescook@chromium.org>
298
299 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
300
301 [BZ #13656]
302 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
303 possibly allocate from heap instead of stack.
304 * stdio-common/bug-vfprintf-nargs.c: New file.
305 * stdio-common/Makefile (tests): Add nargs overflow test.
306
307 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
308
309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
310
311 2012-03-03 Marek Polacek <polacek@redhat.com>
312
313 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
314 * math/math_private.h: Likewise.
315 * stdlib/tst-strtod.c: Likewise.
316 * sysdeps/i386/i486/bits/atomic.h: Likewise.
317 * sysdeps/x86_64/bits/atomic.h: Likewise.
318
319 2012-03-02 David S. Miller <davem@davemloft.net>
320
321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
325 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
326 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
327 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
328 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
329
330 2012-03-02 Roland McGrath <roland@hack.frob.com>
331
332 [BZ #13792]
333 * manual/examples/README: New file, says the example source files
334 can be used under GPL>=2.
335 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
336 line containing just "*/".
337 * manual/examples/add.c: Add copyright header (GPL>=2).
338 * manual/examples/argp-ex1.c: Likewise.
339 * manual/examples/argp-ex2.c: Likewise.
340 * manual/examples/argp-ex3.c: Likewise.
341 * manual/examples/argp-ex4.c: Likewise.
342 * manual/examples/atexit.c: Likewise.
343 * manual/examples/db.c: Likewise.
344 * manual/examples/dir.c: Likewise.
345 * manual/examples/dir2.c: Likewise.
346 * manual/examples/execinfo.c: Likewise.
347 * manual/examples/filecli.c: Likewise.
348 * manual/examples/filesrv.c: Likewise.
349 * manual/examples/fmtmsgexpl.c: Likewise.
350 * manual/examples/genpass.c: Likewise.
351 * manual/examples/inetcli.c: Likewise.
352 * manual/examples/inetsrv.c: Likewise.
353 * manual/examples/isockad.c: Likewise.
354 * manual/examples/longopt.c: Likewise.
355 * manual/examples/memopen.c: Likewise.
356 * manual/examples/memstrm.c: Likewise.
357 * manual/examples/mkfsock.c: Likewise.
358 * manual/examples/mkisock.c: Likewise.
359 * manual/examples/mygetpass.c: Likewise.
360 * manual/examples/pipe.c: Likewise.
361 * manual/examples/popen.c: Likewise.
362 * manual/examples/rprintf.c: Likewise.
363 * manual/examples/search.c: Likewise.
364 * manual/examples/select.c: Likewise.
365 * manual/examples/setjmp.c: Likewise.
366 * manual/examples/sigh1.c: Likewise.
367 * manual/examples/sigusr.c: Likewise.
368 * manual/examples/stpcpy.c: Likewise.
369 * manual/examples/strdupa.c: Likewise.
370 * manual/examples/strftim.c: Likewise.
371 * manual/examples/strncat.c: Likewise.
372 * manual/examples/subopt.c: Likewise.
373 * manual/examples/swapcontext.c: Likewise.
374 * manual/examples/termios.c: Likewise.
375 * manual/examples/testopt.c: Likewise.
376 * manual/examples/testpass.c: Likewise.
377 * manual/examples/timeval_subtract.c: Likewise.
378
379 [BZ #13792]
380 * manual/time.texi (Elapsed Time): Move timeval_subtract example
381 function to ...
382 * manual/timeval_subtract.c.texi: ... here, new file.
383
384 2012-03-02 David S. Miller <davem@davemloft.net>
385
386 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
387
388 2012-03-02 Joseph Myers <joseph@codesourcery.com>
389
390 [BZ #3976]
391 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
392 (__sin): Save and restore rounding mode and use round-to-nearest
393 for all computations.
394 (__cos): Save and restore rounding mode and use round-to-nearest
395 for all computations.
396 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
397 <fenv.h>.
398 (tan): Save and restore rounding mode and use round-to-nearest for
399 all computations.
400 * math/libm-test.inc (cos_test_tonearest): New function.
401 (cos_test_towardzero): Likewise.
402 (cos_test_downward): Likewise.
403 (cos_test_upward): Likewise.
404 (sin_test_tonearest): Likewise.
405 (sin_test_towardzero): Likewise.
406 (sin_test_downward): Likewise.
407 (sin_test_upward): Likewise.
408 (tan_test_tonearest): Likewise.
409 (tan_test_towardzero): Likewise.
410 (tan_test_downward): Likewise.
411 (tan_test_upward): Likewise.
412 (main): Call the new functions.
413 * sysdeps/i386/fpu/libm-test-ulps: Update.
414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415
416 [BZ #10135]
417 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
418 small n, then large n, before computing and testing k+n.
419 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
421 Likewise.
422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
423 Likewise.
424 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
425 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
427 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
432 * math/libm-test.inc (scalbn_test): Add more tests.
433 (scalbln_test): Likewise.
434
435 * manual/filesys.texi (mode_t): Describe constraints on size and
436 signedness, not exact equivalence to a particular type.
437 (ino_t): Likewise.
438 (ino64_t): Likewise.
439 (dev_t): Likewise.
440 (nlink_t): Likewise.
441 (blkcnt_t): Likewise.
442 (blkcnt64_t): Likewise.
443 * manual/llio.texi (off_t): Likewise.
444
445 [BZ #3976]
446 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
447 (__ieee754_exp): Save and restore rounding mode and use
448 round-to-nearest for all computations.
449 * math/libm-test.inc (exp_test_tonearest): New function.
450 (exp_test_towardzero): Likewise.
451 (exp_test_downward): Likewise.
452 (exp_test_upward): Likewise.
453 (main): Call the new functions.
454 * sysdeps/i386/fpu/libm-test-ulps: Update.
455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
456
457 2012-03-01 Chris Demetriou <cgd@google.com>
458
459 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
460 have predictable order.
461
462 2012-03-01 David S. Miller <davem@davemloft.net>
463
464 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
465
466 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
467 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
468 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
469 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
470
471 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
472 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
473 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
475 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
476 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
477 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
478 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
479 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
480
481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
482
483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
484 * sysdeps/sparc/fpu/libm-test-ulps: to here.
485 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
486
487 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
488 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
489 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
490 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
491 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
494 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
495 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
496 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
497 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
503 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
504 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
505 * sysdeps/sparc/elf/configure: Regenerated.
506
507 2012-03-01 Joseph Myers <joseph@codesourcery.com>
508
509 * configure.in (AS, LD): Require binutils 2.20 or later.
510 * configure: Regenerated.
511 * manual/install.texi (Tools for Compilation): Give binutils 2.20
512 as required minimum version.
513 * INSTALL: Regenerated.
514
515 [BZ #2541]
516 [BZ #4108]
517 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
518 before squaring exponent.
519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
520 bottom long double and 27 bits of top long double before squaring
521 exponent.
522 * math/libm-test.inc (erfc_test): Add more tests.
523 * sysdeps/i386/fpu/libm-test-ulps: Update.
524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
526
527 2012-03-01 Kai Tietz <ktietz@redhat.com>
528
529 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
530 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
531 containing bit-fields.
532 * soft-fp/extended.h (_FP_UNION_E): Likewise.
533 * soft-fp/single.h (_FP_UNION_S): Likewise.
534 * soft-fp/double.h (_FP_UNION_D): Likewise.
535
536 2012-02-29 Joseph Myers <joseph@codesourcery.com>
537
538 [BZ #13786]
539 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
540 not include ../strcmp.S.
541 [USE_AS_STRNCASECMP_L]: Likewise.
542 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
543 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
544 * sysdeps/i386/i686/multiarch/strncase_l-c.c
545 (__strncasecmp_l_ia32): Define as alias to
546 __strncasecmp_l_nonascii.
547
548 [BZ #5794]
549 * math/libm-test.inc (expm1_test): Add test for bug 5794.
550 * sysdeps/i386/fpu/libm-test-ulps: Update.
551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552
553 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
555
556 2012-02-29 Jeff Law <law@redhat.com>
557
558 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
559 out of bounds read.
560
561 2012-02-29 Marek Polacek <polacek@redhat.com>
562
563 [BZ #13706]
564 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
565 * elf/Makefile: Add rules to run tst-unused-dep.out.
566
567 2012-02-28 David S. Miller <davem@davemloft.net>
568
569 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
570 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
573 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
574 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
575
576 2012-02-29 Joseph Myers <joseph@codesourcery.com>
577
578 * math/libm-test.inc (llround_test): Move one test from
579 lround_test. Use TEST_f_L in moved test.
580 (lround_test): Move misplaced test to llround_test. Add testcase
581 from bug 2561.
582
583 2012-02-28 Ulrich Drepper <drepper@gmail.com>
584
585 * sysdeps/x86_64/fpu/e_expf.S: New file.
586 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
587
588 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
589
590 [BZ #13637]
591 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
592 of remain_len that may cause incomplete multi-byte character and
593 false match.
594 * posix/bug-regex33.c: New file.
595 * posix/Makefile (tests): Add bug-regex33.
596
597 2012-02-28 Joseph Myers <joseph@codesourcery.com>
598
599 * manual/macros.texi: New file.
600 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
601 * manual/libc.texinfo: Include macros.texi.
602 * manual/creatute.texi: Likewise.
603 * manual/install.texi: Likewise.
604 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
605 @glibcadj{} in references to the GNU C Library.
606 * manual/charset.texi: Likewise.
607 * manual/conf.texi: Likewise.
608 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
609 when not using those macros.
610 * manual/creature.texi: Likewise.
611 * manual/crypt.texi: Likewise.
612 * manual/errno.texi: Likewise.
613 * manual/filesys.texi: Likewise.
614 * manual/header.texi: Likewise.
615 * manual/install.texi: Likewise.
616 * manual/intro.texi: Likewise.
617 * manual/io.texi: Likewise.
618 * manual/job.texi: Likewise.
619 * manual/lang.texi: Likewise.
620 * manual/libc.texiinfo: Likewise.
621 * manual/llio.texi: Likewise.
622 * manual/locale.texi: Likewise.
623 * manual/maint.texi: Likewise.
624 * manual/math.texi: Likewise.
625 * manual/memory.texi: Likewise.
626 * manual/message.texi: Likewise.
627 * manual/nss.texi: Likewise.
628 * manual/pattern.texi: Likewise.
629 * manual/process.texi: Likewise.
630 * manual/resource.texi: Likewise.
631 * manual/search.texi: Likewise.
632 * manual/setjmp.texi: Likewise.
633 * manual/signal.texi: Likewise.
634 * manual/socket.texi: Likewise.
635 * manual/startup.texi: Likewise.
636 * manual/stdio.texi: Likewise.
637 * manual/string.texi: Likewise.
638 * manual/sysinfo.texi: Likewise.
639 * manual/syslog.texi: Likewise.
640 * manual/terminal.texi: Likewise.
641 * manual/time.texi: Likewise.
642 * manual/users.texi: Likewise.
643 * INSTALL: Regenerated.
644 * NOTES: Regenerated.
645 * sysdeps/gnu/errlist.c: Regenerated.
646
647 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
648
649 * include/dirent.h: Include <dirstream.h> before
650 <dirent/dirent.h>.
651
652 2012-02-28 David S. Miller <davem@davemloft.net>
653
654 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
655 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
656 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
657 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
658
659 2012-02-27 David S. Miller <davem@davemloft.net>
660
661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
663 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
664 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
665
666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
667 frame pointer instead of stack pointer relative arg slot.
668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
671
672 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
673
674 [BZ #3992]
675 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
676
677 2012-02-27 David S. Miller <davem@davemloft.net>
678
679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
685 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
687
688 2012-02-27 Joseph Myers <joseph@codesourcery.com>
689
690 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
691 later. Allow versions 5-9.
692 * configure: Regenerated.
693 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
694 required minimum version and 4.6 as recommended version. Do not
695 mention bugs in GCC 2.7 and 2.8.
696 * INSTALL: Regenerated.
697
698 2012-02-27 David S. Miller <davem@davemloft.net>
699
700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
704 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
705 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
706 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
707 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
708
709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
710 manipulate bits before adding and subtracting TWO112[sx].
711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
712
713 2012-02-27 Roland McGrath <roland@hack.frob.com>
714
715 [BZ #13775]
716 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
717 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
718 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
719 being in POSIX, because they are in 1003.1-2008.
720
721 * rt/tst-aio.c: Include <fcntl.h>.
722 * rt/tst-aio7.c: Likewise.
723 * rt/tst-aio64.c: Likewise.
724
725 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
726
727 2012-02-27 Joseph Myers <joseph@codesourcery.com>
728
729 * manual/install.texi (--with-headers): Describe headers as
730 interface headers, not private headers.
731 (Specific advice for GNU/Linux systems): Describe use of headers
732 from "make headers_install", not private headers from older
733 kernels.
734 * INSTALL: Regenerated.
735 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
736 Change to 2.6.19.
737 * sysdeps/unix/sysv/linux/configure: Regenerated.
738
739 * manual/llio.texi (fclean): Remove documentation.
740
741 * manual/Makefile (libc-texi-generated): New variable. Include
742 version.texi.
743 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
744 $(libc-texi-generated), not duplicated list of files.
745 (version.texi, stamp-version): New rules.
746 (realclean): Remove $(libc-texi-generated), not individual files
747 from that list. Do not remove dir-add.texinfo.
748 * manual/libc.texinfo: Comment out uses of edition numbers and
749 references to printed manual. Remove last-updated dates.
750 (EDITION): Comment out.
751 (ISBN): Likewise.
752 (VERSION, UPDATED): Remove.
753 (version.texi): Include.
754
755 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
756
757 * sysdeps/posix/spawni.c: Include <signal.h>.
758 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
759 * sysdeps/pthread/aio_fsync.c: Likewise.
760
761 2012-02-26 Ulrich Drepper <drepper@gmail.com>
762
763 * conform/Makefile (tests): Run only when not cross-compiling and
764 when fast-check is not defined.
765
766 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
767 * conform/data/limits.h-data: Fixes for POSIX2008.
768 * conform/run-conformtest.sh: Run all tests.
769 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
770 headers.
771 * include/bits/dlfcn.h: Likewise.
772 * include/langinfo.h: Likewise.
773 * include/monetary.h: Likewise.
774 * include/sys/poll.h: Likewise.
775
776 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
777 for __USE_GNU.
778 * posix/spawn.h: Define __need_sigset_t.
779 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
780 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
781 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
782 to get sigevent_t only.
783 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
784 only for __USE_GNU.
785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
786 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
787 process_vm_writev only for __USE_GNU.
788 * termios/termios.h: Declare tcgetsid also for POSIX2008.
789
790 * conform/Makefile: For now ignore errors from run-conformtest.
791 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
792 POSIX to avoid namespace pollution. Don't prepend headers.
793 * conform/data/aio.h-data: Fixes for POSIX testing.
794 * conform/data/fcntl.h-data: Likewise.
795 * conform/data/glob.h-data: Likewise.
796 * conform/data/grp.h-data: Likewise.
797 * conform/data/pthread.h-data: Likewise.
798 * conform/data/pwd.h-data: Likewise.
799 * conform/data/signal.h-data: Likewise.
800 * conform/data/spawn.h-data: Likewise.
801 * conform/data/stdio.h-data: Likewise.
802 * conform/data/stdlib.h-data: Likewise.
803 * conform/data/stropts.h-data: Likewise.
804 * conform/data/sys/mman.h-data: Likewise.
805 * conform/data/sys/stat.h-data: Likewise.
806 * conform/data/sys/types.h-data: Likewise.
807 * conform/data/sys/wait.h-data: Likewise.
808 * conform/data/time.h-data: Likewise.
809 * conform/data/unistd.h-data: Likewise.
810 * conform/data/utime.h-data: Likewise.
811
812 * io/sys/stat.h: fchmod was always in POSIX.
813 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
814 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
815 * rt/aio.h: Define __need_timespec before including <time.h>.
816 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
817 struct. Add forward declaration of pthread_attr_t and use it in
818 sigevent.
819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
821 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
822 always remove CLK_TCK definition.
823
824 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
825
826 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
827
828 2012-02-25 Ulrich Drepper <drepper@gmail.com>
829
830 * conform/run-conformtest.sh: New file.
831 * conform/Makefile: Run run-conformtest for tests.
832 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
833 support.
834
835 * conform/data/uchar.h-data: New file.
836 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
837 * conform/data/arpa/inet.h-data: Likewise.
838 * conform/data/assert.h-data: Likewise.
839 * conform/data/complex.h-data: Likewise.
840 * conform/data/cpio.h-data: Likewise.
841 * conform/data/ctype.h-data: Likewise.
842 * conform/data/dirent.h-data: Likewise.
843 * conform/data/dlfcn.h-data: Likewise.
844 * conform/data/errno.h-data: Likewise.
845 * conform/data/fcntl.h-data: Likewise.
846 * conform/data/float.h-data: Likewise.
847 * conform/data/fmtmsg.h-data: Likewise.
848 * conform/data/fnmatch.h-data: Likewise.
849 * conform/data/ftw.h-data: Likewise.
850 * conform/data/glob.h-data: Likewise.
851 * conform/data/grp.h-data: Likewise.
852 * conform/data/iconv.h-data: Likewise.
853 * conform/data/inttypes.h-data: Likewise.
854 * conform/data/langinfo.h-data: Likewise.
855 * conform/data/libgen.h-data: Likewise.
856 * conform/data/limits.h-data: Likewise.
857 * conform/data/locale.h-data: Likewise.
858 * conform/data/math.h-data: Likewise.
859 * conform/data/monetary.h-data: Likewise.
860 * conform/data/mqueue.h-data: Likewise.
861 * conform/data/ndbm.h-data: Likewise.
862 * conform/data/net/if.h-data: Likewise.
863 * conform/data/netdb.h-data: Likewise.
864 * conform/data/netinet/in.h-data: Likewise.
865 * conform/data/nl_types.h-data: Likewise.
866 * conform/data/poll.h-data: Likewise.
867 * conform/data/pthread.h-data: Likewise.
868 * conform/data/pwd.h-data: Likewise.
869 * conform/data/regex.h-data: Likewise.
870 * conform/data/sched.h-data: Likewise.
871 * conform/data/search.h-data: Likewise.
872 * conform/data/semaphore.h-data: Likewise.
873 * conform/data/setjmp.h-data: Likewise.
874 * conform/data/signal.h-data: Likewise.
875 * conform/data/spawn.h-data: Likewise.
876 * conform/data/stdarg.h-data: Likewise.
877 * conform/data/stdio.h-data: Likewise.
878 * conform/data/stdlib.h-data: Likewise.
879 * conform/data/string.h-data: Likewise.
880 * conform/data/strings.h-data: Likewise.
881 * conform/data/stropts.h-data: Likewise.
882 * conform/data/sys/ipc.h-data: Likewise.
883 * conform/data/sys/mman.h-data: Likewise.
884 * conform/data/sys/msg.h-data: Likewise.
885 * conform/data/sys/resource.h-data: Likewise.
886 * conform/data/sys/select.h-data: Likewise.
887 * conform/data/sys/sem.h-data: Likewise.
888 * conform/data/sys/shm.h-data: Likewise.
889 * conform/data/sys/socket.h-data: Likewise.
890 * conform/data/sys/stat.h-data: Likewise.
891 * conform/data/sys/statvfs.h-data: Likewise.
892 * conform/data/sys/time.h-data: Likewise.
893 * conform/data/sys/timeb.h-data: Likewise.
894 * conform/data/sys/times.h-data: Likewise.
895 * conform/data/sys/types.h-data: Likewise.
896 * conform/data/sys/uio.h-data: Likewise.
897 * conform/data/sys/un.h-data: Likewise.
898 * conform/data/sys/utsname.h-data: Likewise.
899 * conform/data/sys/wait.h-data: Likewise.
900 * conform/data/syslog.h-data: Likewise.
901 * conform/data/tar.h-data: Likewise.
902 * conform/data/termios.h-data: Likewise.
903 * conform/data/utime.h-data: Likewise.
904 * conform/data/utmpx.h-data: Likewise.
905 * conform/data/varargs.h-data: Likewise.
906 * conform/data/wchar.h-data: Likewise.
907 * conform/data/wctype.h-data: Likewise.
908 * conform/data/wordexp.h-data: Likewise.
909
910 * include/stropts.h: New file.
911 * include/uchar.h: New file.
912 * include/aio.h: Changes to allow conformtest.pl to use the headers.
913 * include/assert.h: Likewise.
914 * include/ctype.h: Likewise.
915 * include/dirent.h: Likewise.
916 * include/dlfcn.h: Likewise.
917 * include/fcntl.h: Likewise.
918 * include/fnmatch.h: Likewise.
919 * include/glob.h: Likewise.
920 * include/grp.h: Likewise.
921 * include/libio.h: Likewise.
922 * include/locale.h: Likewise.
923 * include/math.h: Likewise.
924 * include/net/if.h: Likewise.
925 * include/netdb.h: Likewise.
926 * include/netinet/in.h: Likewise.
927 * include/pthread.h: Likewise.
928 * include/pwd.h: Likewise.
929 * include/regex.h: Likewise.
930 * include/sched.h: Likewise.
931 * include/search.h: Likewise.
932 * include/setjmp.h: Likewise.
933 * include/signal.h: Likewise.
934 * include/stdio.h: Likewise.
935 * include/stdlib.h: Likewise.
936 * include/string.h: Likewise.
937 * include/sys/cdefs.h: Likewise.
938 * include/sys/mman.h: Likewise.
939 * include/sys/msg.h: Likewise.
940 * include/sys/resource.h: Likewise.
941 * include/sys/select.h: Likewise.
942 * include/sys/socket.h: Likewise.
943 * include/sys/stat.h: Likewise.
944 * include/sys/statvfs.h: Likewise.
945 * include/sys/time.h: Likewise.
946 * include/sys/times.h: Likewise.
947 * include/sys/uio.h: Likewise.
948 * include/sys/utsname.h: Likewise.
949 * include/sys/wait.h: Likewise.
950 * include/termios.h: Likewise.
951 * include/time.h: Likewise.
952 * include/ulimit.h: Likewise.
953 * include/unistd.h: Likewise.
954 * include/utime.h: Likewise.
955 * include/wchar.h: Likewise.
956 * include/wctype.h: Likewise.
957 * include/wordexp.h: Likewise.
958
959 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
960
961 * time/time.h: TIME_UTC must be a macro.
962 Make timespec_get available for ISO C11 only as well.
963
964 2012-02-24 Ulrich Drepper <drepper@gmail.com>
965
966 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
967 Reported by Peng Haitao <penght@cn.fujitsu.com>.
968
969 2012-02-24 Joseph Myers <joseph@codesourcery.com>
970
971 * configure.in: Use -o not -a in test for unsupported multi-arch.
972
973 2012-02-24 Joseph Myers <joseph@codesourcery.com>
974
975 * manual/texinfo.tex: Update to version 2012-01-19.16.
976
977 2012-02-24 Joseph Myers <joseph@codesourcery.com>
978
979 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
980
981 2012-02-24 Roland McGrath <roland@hack.frob.com>
982
983 [BZ #13738]
984 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
985 * manual/fdl-1.3.texi: New file.
986 * manual/fdl-1.1.texi: File removed.
987
988 [BZ #13738]
989 * manual/libc.texinfo (FDL_VERSION): New @set.
990 Use it for mention of FDL in cover text.
991 (Documentation License): Use it in @include file name.
992
993 2012-02-22 Joseph Myers <joseph@codesourcery.com>
994 Roland McGrath <roland@hack.frob.com>
995
996 [BZ #5461]
997 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
998 not LONG_LONG_MAX and LONG_LONG_MIN.
999 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1000 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1001 name.
1002 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1003
1004 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #2547]
1007 [BZ #11365]
1008 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1009 manipulate bits before adding and subtracting TWO23[sx].
1010 * math/libm-test.inc (nearbyint_test): Add more tests.
1011
1012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1013
1014 [BZ #2548]
1015 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1016 bits before adding and subtracting TWO23[sx].
1017 * math/libm-test.inc (rint_test): Add more tests.
1018 (rint_test_tonearest): Likewise.
1019 (rint_test_towardzero): Likewise.
1020 (rint_test_downward): Likewise.
1021 (rint_test_upward: Likewise.
1022
1023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1024
1025 [BZ #10110]
1026 * include/stdc-predef.h: New file. Extracted from features.h.
1027 * include/features.h: Include stdc-predef.h.
1028 * Makefile (headers): Add stdc-predef.h.
1029 * CONFORMANCE (Compiler limitations): Update.
1030
1031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1032
1033 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1034
1035 2012-02-21 David S. Miller <davem@davemloft.net>
1036
1037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1038 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1039
1040 2012-02-20 David S. Miller <davem@davemloft.net>
1041
1042 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1043 using a normal save/restore sequence, rather than allocating a
1044 dummy stack frame just to store a frame pointer and restore.
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1046
1047 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1048
1049 * manual/install.texi: Fix stray word in line-wrapped comment.
1050
1051 2012-02-20 David S. Miller <davem@davemloft.net>
1052
1053 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1054 both binutils and gcc support GOTDATA.
1055
1056 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1057 "rd %pc" in the PIC register setup sequences.
1058
1059 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1060 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1061 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1062 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1063 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1068 (SYSCALL_ERROR_HANDLER): Likewise.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1072 (SYSCALL_ERROR_HANDLER): Likewise.
1073
1074 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1075 (HAVE_GCC_GOTDATA): New.
1076 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1077 relocation support in both binutils and gcc.
1078 * sysdeps/sparc/elf/configure: Regenerate.
1079
1080 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1081 * sysdeps/sparc/sparc32/elf/configure: Delete.
1082 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1083 * sysdeps/sparc/sparc64/elf/configure: Delete.
1084 * sysdeps/sparc/elf/configure.in: New file.
1085 * sysdeps/sparc/elf/configure: Generate.
1086
1087 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
1088 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
1089 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1090 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
1091 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
1092
1093 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1094
1095 * manual/install.texi: Do not mention specific glibc version
1096 numbers.
1097 * manual/libc.texinfo (VERSION, UPDATED): Update.
1098 (@copying): Use @copyright{} and range of years.
1099
1100 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1101
1102 [BZ #13695]
1103 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
1104 [crti.S not in sysdirs] (generated): Do not append.
1105 [crti.S not in sysdirs] (omit-deps): Likewise.
1106 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
1107 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
1108 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
1109 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
1110 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
1111 Likewise.
1112 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
1113 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
1114 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
1115 * csu/defs.awk: Remove file.
1116 * sysdeps/generic/initfini.c: Likewise.
1117 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
1118 variable.
1119 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
1120 Likewise.
1121
1122 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1123
1124 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
1125 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
1126 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
1127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
1128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1129 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
1130 <bits/epoll.h>.
1131 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
1132 (__EPOLL_PACKED): Define to empty if not defined by
1133 <bits/epoll.h>.
1134 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
1135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1136 bits/epoll.h.
1137
1138 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1139
1140 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
1141 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
1142 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
1143 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
1144 <bits/timerfd.h>.
1145 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
1146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1147 bits/timerfd.h.
1148
1149 2012-02-20 Joseph Myers <joseph@codesourcery.com>
1150
1151 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
1152 in C locale.
1153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1154 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157
1158 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
1159
1160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1162
1163 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
1164
1165 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
1166 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
1167 defined.
1168 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
1169 Likewise.
1170 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
1171 entry for 2.16.
1172
1173 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
1174
1175 * math/w_acos.c: Use non-signaling floating-point comparisons.
1176 * math/w_acosf.c: Likewise.
1177 * math/w_acosh.c: Likewise.
1178 * math/w_acoshf.c: Likewise.
1179 * math/w_acoshl.c: Likewise.
1180 * math/w_acosl.c: Likewise.
1181 * math/w_asin.c: Likewise.
1182 * math/w_asinf.c: Likewise.
1183 * math/w_asinl.c: Likewise.
1184 * math/w_atanh.c: Likewise.
1185 * math/w_atanhf.c: Likewise.
1186 * math/w_atanhl.c: Likewise.
1187 * math/w_exp2.c: Likewise.
1188 * math/w_exp2f.c: Likewise.
1189 * math/w_exp2l.c: Likewise.
1190 * math/w_j0.c: Likewise.
1191 * math/w_j0f.c: Likewise.
1192 * math/w_j0l.c: Likewise.
1193 * math/w_j1.c: Likewise.
1194 * math/w_j1f.c: Likewise.
1195 * math/w_j1l.c: Likewise.
1196 * math/w_jn.c: Likewise.
1197 * math/w_jnf.c: Likewise.
1198 * math/w_log.c: Likewise.
1199 * math/w_log10.c: Likewise.
1200 * math/w_log10f.c: Likewise.
1201 * math/w_log10l.c: Likewise.
1202 * math/w_log2.c: Likewise.
1203 * math/w_log2f.c: Likewise.
1204 * math/w_log2l.c: Likewise.
1205 * math/w_logf.c: Likewise.
1206 * math/w_logl.c: Likewise.
1207 * math/w_sqrt.c: Likewise.
1208 * math/w_sqrtf.c: Likewise.
1209 * math/w_sqrtl.c: Likewise.
1210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1213 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1214 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1215
1216 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #9739]
1219 * manual/string.texi (strnlen): Use correct parameter name in
1220 equivalent expression.
1221
1222 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1223
1224 [BZ #11174]
1225 * manual/users.texi (seteuid): Consistently use neweuid for
1226 argument name.
1227
1228 2012-02-19 Joseph Myers <joseph@codesourcery.com>
1229
1230 [BZ #13704]
1231 * manual/nss.texi (Services in the NSS configuration): Correct
1232 list of services in example configuration file.
1233
1234 2012-02-19 Nick Bowler <nbowler@draconx.ca>
1235
1236 [BZ #11322]
1237 * manual/arith.texi: Remove statements about negative zero
1238 behaving identically to zero.
1239
1240 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #5993]
1243 * manual/install.texi: Do not document upgrading from libc5.
1244
1245 2012-02-18 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #4596]
1248 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
1249
1250 2012-02-18 David S. Miller <davem@davemloft.net>
1251
1252 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
1253 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
1254 %o7 across the call.
1255 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
1256 instead.
1257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
1258 SETUP_PIC_REG_LEAF.
1259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1260 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
1261 * sysdeps/sparc/crtn.S: Likewise.
1262
1263 2012-02-17 Ulrich Drepper <drepper@gmail.com>
1264
1265 * aout/Makefile: Remove.
1266
1267 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
1268
1269 [BZ #13058]
1270 * manual/examples/argp-ex1.c (main): Format definition in GNU
1271 style.
1272 * manual/examples/argp-ex2.c (main): Likewise.
1273 * manual/examples/argp-ex3.c (main): Likewise.
1274 * manual/examples/argp-ex4.c (main): Likewise.
1275 * manual/examples/longopt.c (main): Use new-style prototype
1276 definition.
1277 * manual/examples/strncat.c (main): Specify return type and use
1278 (void) for arguments.
1279 * manual/examples/subopt.c (main): Use char **argv argument.
1280
1281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1282
1283 [BZ #5077]
1284 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
1285 rounding modes.
1286
1287 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
1288
1289 [BZ #6907]
1290 * manual/string.texi (strchr): Change when strchrnul is
1291 recommended.
1292
1293 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
1294
1295 [BZ #174]
1296 * manual/locale.texi (setlocale): Document LOCPATH.
1297
1298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1299
1300 [BZ #10210]
1301 * manual/process.texi (execle): Move @dots{} before last argument.
1302
1303 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1304
1305 [BZ #12047]
1306 * manual/charset.texi (Generic Charset Conversion): Fix typo
1307 (LC_TYPE -> LC_CTYPE).
1308
1309 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1310
1311 [BZ #5805]
1312 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1313 (scalbnf): Likewise.
1314 (scalbnl): Likewise.
1315 (scalbln): Likewise.
1316 (scalblnf): Likewise.
1317 (scalblnl): Likewise.
1318 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1319 (vwarnx): Likewise.
1320 (verr): Likewise.
1321 (verrx): Likewise.
1322 * manual/filesys.texi (telldir): Use braces around return type.
1323 * manual/llio.texi (mmap): Add space after comma.
1324 (mmap64): Likewise.
1325 * manual/math.texi (jn): Use @var{} on parameter names.
1326 (jnf): Likewise.
1327 (jnl): Likewise.
1328 (yn): Likewise.
1329 (ynf): Likewise.
1330 (ynl): Likewise.
1331 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1332 line.
1333 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1334 "...".
1335 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1336 (sched_get_priority_max): Likewise.
1337 * manual/signal.texi (sigvec): Add space after comma.
1338 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1339 names.
1340 (if_indextoname): Likewise.
1341 (if_freenameindex): Likewise.
1342 (sendto): Use ',' instead of '.' in prototype.
1343 * manual/startup.texi (syscall): Use @dots{} instead of literal
1344 "...".
1345 * manual/stdio.texi (__fpending): Separate initial words of
1346 paragraph from @deftypefun line.
1347 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1348 "...".
1349 (vsyslog): Use @var{} on parameter names.
1350 * manual/terminal.texi (stty): Use @var{} on parameter names.
1351 * manual/users.texi (getutmp): Use @var{} on parameter names.
1352 (getutmpx): Likewise.
1353
1354 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1355
1356 [BZ #6884]
1357 * manual/stdio.texi (fopen): Fix typos in description of
1358 ",ccs=STRING".
1359
1360 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1361
1362 [BZ #4026]
1363 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1364 get clock_id definition.
1365
1366 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1367
1368 [BZ #4822]
1369 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1370 (madvise): Cast every argument to void on its own.
1371
1372 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1373
1374 [BZ #9902]
1375 * manual/startup.texi (Exit Status): Fix typo.
1376
1377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #10140]
1380 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1381 * manual/examples/argp-ex2.c: Likewise.
1382 * manual/examples/argp-ex3.c: Likewise.
1383
1384 2012-02-16 Richard Henderson <rth@redhat.com>
1385
1386 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1387 * sysdeps/s390/s390-32/initfini.c: Remove.
1388 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1389 * sysdeps/s390/s390-64/initfini.c: Remove.
1390
1391 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1392
1393 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1394 compiler output for sysdeps/generic/initfini.c.
1395 * sysdeps/sh/elf/initfini.c: Remove file.
1396
1397 2012-02-16 David S. Miller <davem@davemloft.net>
1398
1399 [BZ #11494]
1400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1401
1402 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1403 * sysdeps/sparc/crti.S: New file.
1404 * sysdeps/sparc/crtn.S: New file.
1405 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1406 * sysdeps/sparc/sparc64/Makefile: Likewise.
1407
1408 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1409
1410 [BZ #3335]
1411 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1412
1413 2012-02-15 Roland McGrath <roland@hack.frob.com>
1414
1415 [BZ #4822]
1416 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1417
1418 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1419 (write, read, close): Likewise.
1420 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1421
1422 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1423
1424 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1425 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1426 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1427 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1428 <bits/signalfd.h>.
1429 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1431 bits/signalfd.h.
1432
1433 2012-02-14 Marek Polacek <polacek@redhat.com>
1434
1435 * sysdeps/x86_64/crti.S: New file.
1436 * sysdeps/x86_64/crtn.S: New file.
1437 * sysdeps/x86_64/elf/initfini.c: Remove file.
1438
1439 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1440
1441 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1442 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1444 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1445 <bits/inotify.h>.
1446 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1448 bits/inotify.h.
1449
1450 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1451
1452 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1453 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1455 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1456 <bits/eventfd.h>.
1457 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1459 bits/eventfd.h.
1460
1461 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1462
1463 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1464 __feraiseexcept instead of feraiseexcept.
1465
1466 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1467 nanosleep invocations.
1468 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1469 strings, and add error checking for a nanosleep invocations.
1470
1471 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1472
1473 Replace FSF snail mail address with URLs, as per GNU coding standards.
1474 Most of the snail mail addresses were wrong anyway, and omitting
1475 them makes the source code easier to maintain. Almost all of the
1476 changes are to license notices and to locale LC_IDENTIFICATION
1477 addresses, except for this one:
1478 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1479 not its snail mail address.
1480
1481 2012-02-09 Richard Henderson <rth@twiddle.net>
1482
1483 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1484 of kernel-features.h.
1485
1486 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1487
1488 2012-02-08 Marek Polacek <polacek@redhat.com>
1489
1490 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1491 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1492 * sysdeps/gnu/_G_config.h: Likewise.
1493 * sysdeps/generic/_G_config.h: Likewise.
1494
1495 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1496
1497 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1498 tests.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500
1501 * sysdeps/powerpc/powerpc32/crti.S: New file.
1502 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1503 * sysdeps/powerpc/powerpc64/crti.S: New file.
1504 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1505
1506 * Makeconfig (have-initfini): Don't set.
1507 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1508 * configure.in (nopic_initfini): Don't substitute.
1509 * config.h.in (HAVE_INITFINI): Don't #undef.
1510 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1511 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1512
1513 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1514
1515 Support crti.S and crtn.S provided directly by architectures.
1516 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1517 [crti.S in sysdirs] (omit-deps): Likewise.
1518 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1519 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1520 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1521 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1522 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1523 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1524 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1525 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1526 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1527 compiler output for sysdeps/generic/initfini.c.
1528 * sysdeps/i386/elf/Makefile: Remove file.
1529 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1530
1531 2012-02-07 Marek Polacek <polacek@redhat.com>
1532
1533 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1534 * sysdeps/gnu/_G_config.h: Likewise.
1535 * sysdeps/mach/hurd/_G_config.h: Likewise.
1536
1537 2012-02-07 Marek Polacek <polacek@redhat.com>
1538
1539 * math/Makefile (tests): Add tst-CMPLX2.
1540 * math/tst-CMPLX2.c: New file.
1541
1542 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1543
1544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1545
1546 * math/libm-test.inc (jn_test): Add missing L suffix.
1547
1548 2012-02-06 Marek Polacek <polacek@redhat.com>
1549
1550 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1551 * sysdeps/i386/fpu/e_powf.S: Likewise.
1552 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1554 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1555 * sysdeps/i386/fpu/e_pow.S: Likewise.
1556 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1557 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1558 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1559 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1560 * sysdeps/i386/fpu/e_log2.S: Likewise.
1561 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1563 * sysdeps/i386/fpu/e_powl.S: Likewise.
1564 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1565 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1566 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1567 * sysdeps/i386/fpu/e_logl.S: Likewise.
1568 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1569 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1570 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1571 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1572 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1573 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1574 * sysdeps/i386/fpu/e_log.S: Likewise.
1575 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1576 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1577 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1578 * sysdeps/i386/fpu/e_logf.S: Likewise.
1579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1580 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1581 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1582 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1584 * sysdeps/i386/fpu/e_log10.S: Likewise.
1585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1590 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1591 * sysdeps/i386/asm-syntax.h: Likewise.
1592 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1593 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1594 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1595 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1596 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1598 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1599 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1601 * sysdeps/powerpc/sysdep.h: Likewise.
1602 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1604
1605 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1606
1607 [BZ #411]
1608 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1609
1610 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1611
1612 * sysdeps/i386/sysdep.h: Include <features.h>.
1613 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1614 version.
1615
1616 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1617
1618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1619 Define.
1620 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1621 LOAD_PIC_REG_STR.
1622
1623 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1624
1625 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1626 (SETUP_PIC_REG): Use GET_PC_THUNK.
1627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1628 macro.
1629
1630 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1631
1632 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1633 for non-PIC compilation.
1634 (SETUP_PIC_REG): Add .p2align directive.
1635 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1636 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1637 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1638 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1641 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1643 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1644 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1645 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1646 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1647 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1648 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1649 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1652 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1653 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1654 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1657 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1658 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1661 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1663 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1664 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1665 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1668 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1669 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1670 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1671 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1672 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1673 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1674 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1675 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1676
1677 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1678
1679 * math/tst-CMPLX.c: Include <stdio.h>.
1680
1681 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1682
1683 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1684 float.
1685 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1686 * sysdeps/sparc/bits/mathdef.h: Likewise.
1687
1688 2012-01-31 Marek Polacek <polacek@redhat.com>
1689
1690 * libio/libio.h: Don't define _PARAMS.
1691 * locale/programs/config.h: Don't define PARAMS.
1692 * stdlib/strtol_l.c: Likewise.
1693 (__strtol_l): Remove PARAMS from the prototype.
1694
1695 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1696
1697 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1698 names. Just use the correct names. Remove unnecessary wrapper
1699 functions.
1700 * malloc/arena.c: Likewise.
1701 * malloc/hooks.c: Likewise.
1702
1703 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1704 ARENA_TEST says not to. Simplify test for creation of a new arena.
1705 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1706
1707 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1708
1709 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1710 into tail calls.
1711 (update_get_addr): New function.
1712 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1713 GET_ADDR_MODULE parameter.
1714
1715 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1716
1717 * crypt/cert.c: Remove __STDC__ conditionals.
1718 * crypt/crypt-entry.c: Likewise.
1719 * crypt/crypt_util.c: Likewise.
1720 * libio/filedoalloc.c: Likewise.
1721 * libio/fileops.c: Likewise.
1722 * libio/genops.c: Likewise.
1723 * libio/iofclose.c: Likewise.
1724 * libio/iofdopen.c: Likewise.
1725 * libio/iofopen.c: Likewise.
1726 * libio/iofopen64.c: Likewise.
1727 * libio/iogetdelim.c: Likewise.
1728 * libio/iopopen.c: Likewise.
1729 * libio/obprintf.c: Likewise.
1730 * libio/oldfileops.c: Likewise.
1731 * libio/oldiofclose.c: Likewise.
1732 * libio/oldiofdopen.c: Likewise.
1733 * libio/oldiofopen.c: Likewise.
1734 * libio/oldiopopen.c: Likewise.
1735 * libio/wfiledoalloc.c: Likewise.
1736 * libio/wgenops.c: Likewise.
1737 * locale/programs/xmalloc.c: Likewise.
1738 * misc/syslog.c: Likewise.
1739 * stdio-common/xbug.c: Likewise.
1740 * string/memchr.c: Likewise.
1741 * string/memcmp.c: Likewise.
1742 * string/memrchr.c: Likewise.
1743 * string/rawmemchr.c: Likewise.
1744 * sysdeps/posix/getcwd.c: Likewise.
1745 * time/strftime_l.c: Likewise.
1746
1747 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1748
1749 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1750 * config.make.in (config-cflags-sse2avx): Define.
1751 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1752 Fix typo.
1753
1754 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1755
1756 * scripts/config.guess: Update from upstream config git repository.
1757 * scripts/config.sub: Likewise.
1758
1759 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1760
1761 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1762 (EM_NUM): Update.
1763 (R_TILEPRO_*, R_TILEGX_*): New macros.
1764
1765 * scripts/firstversions.awk: Fix bug in version range handling.
1766
1767 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1768
1769 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1770
1771 * include/sys/epoll.h: New file.
1772 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1773 libc_hidden_def.
1774
1775 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1776
1777 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1778 Avoid unnecessary __WORDSIZE == 64 test.
1779 (fmaxf): Use VEX format if possible.
1780 (fmax): Likewise.
1781 (fminf): Likewise.
1782 (fmin): Likewise.
1783
1784 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1785 * math/math_private.h: Remove libc_fegetround* and
1786 libc_fesetround*.
1787 * sysdeps/i386/configure.in: Check for -msse2avx.
1788 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1789 also if SSE2AVX is defined.
1790 Remove libc_fegetround* and libc_fesetround*.
1791 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1792 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1794 of HAS_YMM_USABLE.
1795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1800
1801 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1802
1803 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1804
1805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1806 size is not set.
1807 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1808
1809 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1810
1811 [BZ #13618]
1812 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1813 relocation.
1814 * Makeconfig (libm): Define.
1815 * elf/Makefile: Add rules to build and run tst-relsort1.
1816 * elf/tst-relsort1.c: New file.
1817 * elf/tst-relsort1mod1.c: New file.
1818 * elf/tst-relsort1mod2.c: New file.
1819
1820 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1821
1822 * math/s_ldexp.c: Remove __STDC__ conditionals.
1823 * math/s_ldexpf.c: Likewise.
1824 * math/s_ldexpl.c: Likewise.
1825 * math/s_nextafter.c: Likewise.
1826 * math/s_nexttowardf.c: Likewise.
1827 * math/s_significand.c: Likewise.
1828 * math/s_significandf.c: Likewise.
1829 * math/s_significandl.c: Likewise.
1830 * math/w_jnl.c: Likewise.
1831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1850 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1851 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1852 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1857 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1858 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1859 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1862 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1863 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1864 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1865 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1867 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1868 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1869 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1870 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1871 * sysdeps/ieee754/k_standard.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1951 * sysdeps/ieee754/s_matherr.c: Likewise.
1952 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1956
1957 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1958
1959 * crypt/md5.h: Remove __STDC__ conditionals.
1960 * libio/libioP.h: Likewise.
1961 * locale/programs/config.h: Likewise.
1962 * sysdeps/generic/sysdep.h: Likewise.
1963 * sysdeps/i386/asm-syntax.h: Likewise.
1964 * sysdeps/s390/asm-syntax.h: Likewise.
1965 * sysdeps/unix/sysdep.h: Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1968
1969 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1970
1971 * libio/libio.h: Remove __STDC__ conditionals.
1972 * malloc/obstack.h: Likewise.
1973 * math/complex.h: Likewise.
1974 * math/math.h: Likewise.
1975 * sysdeps/generic/_G_config.h: Likewise.
1976 * sysdeps/gnu/_G_config.h: Likewise.
1977 * sysdeps/mach/hurd/_G_config.h: Likewise.
1978 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1979 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1980 * sysdeps/sparc/bits/mathdef.h: Likewise.
1981
1982 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1983
1984 [BZ #13583]
1985 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1986 Clean up HAS_* macros.
1987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1988 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1989 possible.
1990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1991 HAS_AVX.
1992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1993 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1995 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1997
1998 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1999
2000 * elf/tst-unique3.cc (gets): Remove declaration.
2001 * elf/tst-unique3lib.cc (gets): Likewise.
2002 * elf/tst-unique3lib2.cc (gets): Likewise.
2003 * elf/tst-unique4.cc (gets): Likewise.
2004
2005 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2006
2007 * include/stdio.h: Add C++ protection. Add gets declarations and
2008 definitions.
2009 * debug/tst-chk1.c: Don't declare gets here.
2010 * stdio-common/tst-gets.c: Likewise.
2011
2012 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2013
2014 * posix/glob: Remove directory.
2015
2016 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2017
2018 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2019
2020 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2021
2022 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2023 of the non-standard EPFNOSUPPORT.
2024
2025 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2026
2027 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2028 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2029 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2030
2031 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2032
2033 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2034
2035 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2036
2037 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2038 transient errors.
2039 * nscd/grpcache.c (cache_addgr): Likewise.
2040 * nscd/hstcache.c (cache_addhst): Likewise.
2041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2042 * nscd/pwdcache.c (cache_addpw): Likewise.
2043 * nscd/servicescache.c (cache_addserv): Likewise.
2044
2045 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2046
2047 * malloc/malloc.c: Various cleanups.
2048 * malloc/hooks.c: Likewise.
2049
2050 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2051 * stdlib/bug-fmtmsg1.c: New file.
2052
2053 * stdlib/fmtmsg.c (init): Add missing unlock.
2054 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2055
2056 2012-01-12 Marek Polacek <polacek@redhat.com>
2057
2058 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2059 and _GNU_SOURCE.
2060
2061 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2062
2063 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2064 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2065 macro to ensure uniqueness of label name.
2066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2068
2069 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2070
2071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2072
2073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2074 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2077
2078 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2079
2080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2081
2082 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2083 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2084 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2085
2086 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
2087
2088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
2089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
2092
2093 * math/bits/math-finite.h: Add ldexp support.
2094
2095 2012-01-10 Marek Polacek <polacek@redhat.com>
2096
2097 * locale/programs/localedef.h (show_archive_content): Add noreturn
2098 attribute.
2099
2100 2012-01-09 Ulrich Drepper <drepper@gmail.com>
2101
2102 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
2103
2104 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2105
2106 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
2107
2108 * io/Makefile (headers): Add bits/poll2.h.
2109
2110 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
2111
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
2113 typo #include statement.
2114
2115 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2116
2117 * include/sys/cdefs.h: Define __attribute_alloc_size.
2118 * catgets/gencat.c: Add alloc_size attribute and apply consistently
2119 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2120 * elf/pldd.c: Likewise.
2121 * iconv/iconv_charmap.c: Likewise.
2122 * iconv/iconvconfig.c: Likewise.
2123 * iconv/strtab.c: Likewise.
2124 * locale/programs/locale.c: Likewise.
2125 * locale/programs/localedef.h: Likewise.
2126 * locale/programs/simple-hash.c: Likewise.
2127 * nscd/nscd.h: Likewise.
2128 * nss/makedb.c: Likewise.
2129 * sysdeps/generic/ldconfig.h: Likewise.
2130 * locale/programs/localedef.c: Remove xmalloc prototype.
2131 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
2132
2133 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2134
2135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
2136 appropriate.
2137
2138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
2139
2140 * math/Makefile (tests): Add tst-CMPLX.
2141 * math/tst-CMPLX.c: New file.
2142
2143 * math/complex.h (CMPLXL): Fix typo.
2144
2145 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
2146 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
2147 GLIBC_2.16.
2148 * debug/tst-chk1.c: Add poll and ppoll tests.
2149 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
2150 * include/sys/poll.h: Add hidden proto for ppoll.
2151 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
2152 * sysdeps/mach/hurd/ppoll.c: Likewise.
2153 * io/ppoll.c: Likewise.
2154 * debug/poll_chk.c: New file.
2155 * debug/ppoll_chk.c: New file.
2156 * include/bits/poll2.h: New file.
2157 * io/bits/poll2.h: New file.
2158
2159 [BZ #1350]
2160 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
2161
2162 * configure.in: static is always set to yes. Remove.
2163 * config.make.in: Don't set build-static.
2164 * Makeconfig: Remove use of build-static.
2165 * dlfcn/Makefile: Likewise.
2166 * elf/Makefile: Likewise.
2167 * math/Makefile: Likewise.
2168 * misc/Makefile: Likewise.
2169 * nptl/Makefile: Likewise.
2170 * sysdeps/mach/hurd/Makefile: Likewise.
2171
2172 * configure.in: PWD_P is not used anymore.
2173 * config.make.in: Remove PWD_P entry.
2174
2175 * configure.in: Remove last remnants of RANLIB.
2176 No need to check for signed size_t anymore.
2177 Don't set libc_commonpagesize and libc_relro_required here for Alpha
2178 and IA-64.
2179 Remove __builtin_expect test because we require at least gcc 3.4.
2180 * aclocal.m4: Likewise.
2181
2182 * wcsmbs/mbrtoc16.c: Implement using towc function.
2183 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
2184 * wcsmbs/wcsmbsload.c: Likewise.
2185 * iconv/gconv_simple.c: Likewise.
2186 * iconv/gconv_int.h: Likewise.
2187 * iconv/gconv_builtin.h: Likewise.
2188 * iconv/iconv_prog.c: Remove CHAR16 handling.
2189
2190 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
2191
2192 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
2193
2194 * configure.in: Remove --with-elf and --enable-bounded options.
2195 Dont set base_machine for ia64. More non-ELF conditions removed.
2196 Remove testing and setting of leading underscore information.
2197 * config.make.in (build-bounded): Set to no.
2198 * config.h.in: Remove NO_UNDERSCORES entry.
2199 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
2200 them.
2201 * csu/start.c: Remove !NO_UNDERSCORE code.
2202 * locale/localeinfo.h: Likewise.
2203 * sysdeps/generic/machine-gmon.h: Likewise.
2204 * sysdeps/generic/sysdep.h: Likewise.
2205 * sysdeps/i386/sysdep.h: Likewise.
2206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2207 * sysdeps/mach/sysdep.h: Likewise.
2208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2210 * sysdeps/sh/sysdep.h: Likewise.
2211 * sysdeps/sparc/sparc32/alloca.S: Likewise.
2212 * sysdeps/unix/i386/sysdep.S: Likewise.
2213 * sysdeps/unix/sparc/start.c: Likewise.
2214 * sysdeps/unix/sparc/sysdep.S: Likewise.
2215 * sysdeps/unix/sparc/sysdep.h: Likewise.
2216 * sysdeps/unix/start.c: Likewise.
2217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2218 * sysdeps/x86_64/sysdep.h: Likewise.
2219
2220 2012-01-07 Ulrich Drepper <drepper@gmail.com>
2221
2222 [BZ #13553]
2223 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
2224 for non-gcc.
2225 * argp/argp-fmtstream.h: Use const instead __const.
2226 * argp/argp.h: Likewise.
2227 * assert/assert.h: Likewise.
2228 * bits/fenv.h: Likewise.
2229 * bits/sched.h: Likewise.
2230 * bits/sigset.h: Likewise.
2231 * bits/sigthread.h: Likewise.
2232 * catgets/nl_types.h: Likewise.
2233 * conform/data/pthread.h-data: Likewise.
2234 * crypt/crypt-private.h: Likewise.
2235 * crypt/crypt.h: Likewise.
2236 * crypt/crypt_util.c: Likewise.
2237 * ctype/ctype.h: Likewise.
2238 * debug/execinfo.h: Likewise.
2239 * debug/mbsnrtowcs_chk.c: Likewise.
2240 * debug/mbsrtowcs_chk.c: Likewise.
2241 * debug/wcsnrtombs_chk.c: Likewise.
2242 * debug/wcsrtombs_chk.c: Likewise.
2243 * debug/wcstombs_chk.c: Likewise.
2244 * dirent/dirent.h: Likewise.
2245 * dlfcn/dlfcn.h: Likewise.
2246 * elf/neededtest4.c: Likewise.
2247 * grp/grp.h: Likewise.
2248 * gshadow/gshadow.h: Likewise.
2249 * iconv/gconv.h: Likewise.
2250 * iconv/gconv_int.h: Likewise.
2251 * iconv/gconv_simple.c: Likewise.
2252 * iconv/iconv.h: Likewise.
2253 * iconv/loop.c: Likewise.
2254 * iconv/skeleton.c: Likewise.
2255 * include/aio.h: Likewise.
2256 * include/aliases.h: Likewise.
2257 * include/argz.h: Likewise.
2258 * include/arpa/inet.h: Likewise.
2259 * include/assert.h: Likewise.
2260 * include/dirent.h: Likewise.
2261 * include/dlfcn.h: Likewise.
2262 * include/execinfo.h: Likewise.
2263 * include/fcntl.h: Likewise.
2264 * include/fenv.h: Likewise.
2265 * include/glob.h: Likewise.
2266 * include/grp.h: Likewise.
2267 * include/libintl.h: Likewise.
2268 * include/mntent.h: Likewise.
2269 * include/netdb.h: Likewise.
2270 * include/pwd.h: Likewise.
2271 * include/rpc/netdb.h: Likewise.
2272 * include/sched.h: Likewise.
2273 * include/search.h: Likewise.
2274 * include/shadow.h: Likewise.
2275 * include/signal.h: Likewise.
2276 * include/stdio.h: Likewise.
2277 * include/stdlib.h: Likewise.
2278 * include/string.h: Likewise.
2279 * include/sys/socket.h: Likewise.
2280 * include/sys/stat.h: Likewise.
2281 * include/sys/statfs.h: Likewise.
2282 * include/sys/statvfs.h: Likewise.
2283 * include/sys/syslog.h: Likewise.
2284 * include/sys/time.h: Likewise.
2285 * include/sys/uio.h: Likewise.
2286 * include/time.h: Likewise.
2287 * include/unistd.h: Likewise.
2288 * include/utmp.h: Likewise.
2289 * include/wchar.h: Likewise.
2290 * include/wctype.h: Likewise.
2291 * inet/aliases.h: Likewise.
2292 * inet/arpa/inet.h: Likewise.
2293 * inet/netinet/ether.h: Likewise.
2294 * inet/netinet/in.h: Likewise.
2295 * intl/libintl.h: Likewise.
2296 * io/bits/fcntl2.h: Likewise.
2297 * io/fcntl.h: Likewise.
2298 * io/ftw.h: Likewise.
2299 * io/sys/poll.h: Likewise.
2300 * io/sys/stat.h: Likewise.
2301 * io/sys/statfs.h: Likewise.
2302 * io/sys/statvfs.h: Likewise.
2303 * io/utime.h: Likewise.
2304 * libio/bits/stdio.h: Likewise.
2305 * libio/bits/stdio2.h: Likewise.
2306 * libio/libio.h: Likewise.
2307 * libio/libioP.h: Likewise.
2308 * libio/stdio.h: Likewise.
2309 * locale/lc-ctype.c: Likewise.
2310 * locale/locale.h: Likewise.
2311 * login/utmp.h: Likewise.
2312 * malloc/arena.c: Likewise.
2313 * malloc/malloc.c: Likewise.
2314 * malloc/malloc.h: Likewise.
2315 * malloc/mcheck.c: Likewise.
2316 * malloc/mtrace.c: Likewise.
2317 * math/bits/mathcalls.h: Likewise.
2318 * math/fenv.h: Likewise.
2319 * math/math_private.h: Likewise.
2320 * misc/bits/error.h: Likewise.
2321 * misc/bits/syslog.h: Likewise.
2322 * misc/err.h: Likewise.
2323 * misc/error.h: Likewise.
2324 * misc/fstab.h: Likewise.
2325 * misc/mntent.h: Likewise.
2326 * misc/regexp.h: Likewise.
2327 * misc/search.h: Likewise.
2328 * misc/sgtty.h: Likewise.
2329 * misc/sys/mman.h: Likewise.
2330 * misc/sys/syslog.h: Likewise.
2331 * misc/sys/uio.h: Likewise.
2332 * misc/sys/xattr.h: Likewise.
2333 * misc/ttyent.h: Likewise.
2334 * nis/rpcsvc/ypclnt.h: Likewise.
2335 * nss/nss.h: Likewise.
2336 * posix/bits/unistd.h: Likewise.
2337 * posix/fnmatch.h: Likewise.
2338 * posix/glob.h: Likewise.
2339 * posix/sched.h: Likewise.
2340 * posix/spawn.h: Likewise.
2341 * posix/sys/wait.h: Likewise.
2342 * posix/unistd.h: Likewise.
2343 * posix/wordexp.h: Likewise.
2344 * pwd/pwd.h: Likewise.
2345 * resolv/netdb.h: Likewise.
2346 * resource/sys/resource.h: Likewise.
2347 * rt/aio.h: Likewise.
2348 * rt/bits/mqueue2.h: Likewise.
2349 * rt/mqueue.h: Likewise.
2350 * shadow/shadow.h: Likewise.
2351 * signal/signal.h: Likewise.
2352 * socket/send.c: Likewise.
2353 * socket/sendto.c: Likewise.
2354 * socket/sys/socket.h: Likewise.
2355 * stdio-common/printf.h: Likewise.
2356 * stdlib/bits/stdlib.h: Likewise.
2357 * stdlib/fmtmsg.h: Likewise.
2358 * stdlib/monetary.h: Likewise.
2359 * stdlib/stdlib.h: Likewise.
2360 * stdlib/ucontext.h: Likewise.
2361 * streams/stropts.h: Likewise.
2362 * string/argz.h: Likewise.
2363 * string/bits/string2.h: Likewise.
2364 * string/string.h: Likewise.
2365 * string/strings.h: Likewise.
2366 * sunrpc/rpc/auth.h: Likewise.
2367 * sunrpc/rpc/auth_des.h: Likewise.
2368 * sunrpc/rpc/clnt.h: Likewise.
2369 * sunrpc/rpc/netdb.h: Likewise.
2370 * sunrpc/rpc/pmap_clnt.h: Likewise.
2371 * sunrpc/rpc/xdr.h: Likewise.
2372 * sysdeps/generic/inttypes.h: Likewise.
2373 * sysdeps/generic/net/if.h: Likewise.
2374 * sysdeps/generic/sys/swap.h: Likewise.
2375 * sysdeps/gnu/net/if.h: Likewise.
2376 * sysdeps/gnu/utmpx.h: Likewise.
2377 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2378 * sysdeps/i386/i486/bits/string.h: Likewise.
2379 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2380 * sysdeps/s390/bits/string.h: Likewise.
2381 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2382 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2383 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2384 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2385 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2386 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2387 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2388 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2389 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2390 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2391 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2392 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2393 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2395 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2396 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2397 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2402 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2403 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2404 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2405 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2406 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2407 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2409 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2411 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2412 * sysvipc/sys/ipc.h: Likewise.
2413 * sysvipc/sys/msg.h: Likewise.
2414 * sysvipc/sys/sem.h: Likewise.
2415 * sysvipc/sys/shm.h: Likewise.
2416 * termios/termios.h: Likewise.
2417 * time/sys/time.h: Likewise.
2418 * time/time.h: Likewise.
2419 * wcsmbs/bits/wchar2.h: Likewise.
2420 * wcsmbs/uchar.h: Likewise.
2421 * wcsmbs/wchar.h: Likewise.
2422 * wctype/wctype.h: Likewise.
2423
2424 [BZ #13551]
2425 * Makeconfig: Remove all but ELF support including AIX support.
2426 * Makerules: Likewise.
2427 * config.h.in: Likewise.
2428 * config.make.in: Likewise.
2429 * configure: Likewise.
2430 * configure.in: Likewise.
2431 * csu/Makefile: Likewise.
2432 * csu/version.c: Likewise.
2433 * debug/Makefile: Likewise.
2434 * dlfcn/Makefile: Likewise.
2435 * elf/Makefile: Likewise.
2436 * extra-lib.mk: Likewise.
2437 * iconv/Makefile: Likewise.
2438 * include/libc-symbols.h: Likewise.
2439 * include/shlib-compat.h: Likewise.
2440 * resolv/Makefile: Likewise.
2441 * resolv/res_libc.c: Likewise.
2442 * rt/Makefile: Likewise.
2443 * sysdeps/i386/asm-syntax.h: Likewise.
2444 * sysdeps/i386/sysdep.h: Likewise.
2445 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2446 * sysdeps/mach/sysdep.h: Likewise.
2447 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2448 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2449 * sysdeps/s390/asm-syntax.h: Likewise.
2450 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2452 * sysdeps/sh/sysdep.h: Likewise.
2453 * sysdeps/unix/sparc/sysdep.h: Likewise.
2454 * sysdeps/wordsize-32/divdi3.c: Likewise.
2455 * sysdeps/x86_64/sysdep.h: Likewise.
2456
2457 * argp/Versions: Remove _argp_unlock_xxx.
2458
2459 [BZ #13559]
2460 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2461 * abilist/libBrokenLocale.abilist: Likewise.
2462 * abilist/libanl.abilist: Likewise.
2463 * abilist/libc.abilist: Likewise.
2464 * abilist/libcrypt.abilist: Likewise.
2465 * abilist/libdl.abilist: Likewise.
2466 * abilist/libm.abilist: Likewise.
2467 * abilist/libnsl.abilist: Likewise.
2468 * abilist/libpthread.abilist: Likewise.
2469 * abilist/libresolv.abilist: Likewise.
2470 * abilist/librt.abilist: Likewise.
2471 * abilist/libthread_db.abilist: Likewise.
2472 * abilist/libutil.abilist: Likewise.
2473 * abilist/libnss_db.abilist: New file.
2474
2475 * scripts/abilist.awk: Add support for indirect functions.
2476
2477 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2478
2479 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2480
2481 * shlib-versions: Remove entries for ports architectures.
2482
2483 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2484 files in ports.
2485 * elf/stackguard-macros.h: Remove support for IA-64.
2486 * elf/tst-auditmod1.c: Likewise.
2487 * sysdeps/generic/ldsodefs.h: Likewise.
2488
2489 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2490 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2491 configure files.
2492
2493 [BZ #13552]
2494 * configure.in: Remove --enable-omitfp support.
2495 * FAQ.in: Adjust.
2496 * config.make.in: Likewise.
2497 * Makeconfig: Likewise.
2498 * manual/install.texi: Likewise.
2499
2500 In case anyone cares, the IA-64 architecture could move to ports.
2501 * sysdeps/ia64/*: Removed.
2502 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2503 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2504
2505 [BZ #13555]
2506 * configure.in: Remove entries for unsupported architectures.
2507
2508 [BZ #13533]
2509 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2510 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2511 routines.
2512 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2513 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2514 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2515 fall back to using wcrtomb.
2516 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2517 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2518 renaming.
2519 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2520 * wcsmbs/tst-c16c32-1.c: New file.
2521
2522 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2523 local variable.
2524
2525 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2526
2527 * elf/tst-unique3.cc: Add explicit declaration of gets.
2528 * elf/tst-unique3lib.cc: Likewise.
2529 * elf/tst-unique3lib2.cc: Likewise.
2530 * elf/tst-unique4.cc: Likewise.
2531
2532 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2533
2534 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2535
2536 [BZ #13566]
2537 * assert/assert.h (static_assert): Don't define for C++.
2538 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2539 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2540
2541 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2542
2543 * iconv/loop.c (single loop): Fix assertion in storing of
2544 remaining bytes.
2545
2546 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2547
2548 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2549
2550 * posix/getconf.c: Update copyright year.
2551 * nss/getent.c: Likewise.
2552 * nss/makedb.c: Likewise.
2553 * iconv/iconvconfig.c: Likewise.
2554 * iconv/iconv_prog.c: Likewise.
2555 * elf/ldconfig.c: Likewise.
2556 * elf/pldd.c: Likewise.
2557 * elf/sotruss.ksh: Likewise.
2558 * catgets/gencat.c: Likewise.
2559 * csu/version.c: Likewise.
2560 * elf/ldd.bash.in: Likewise.
2561 * elf/sprof.c (print_version): Likewise.
2562 * locale/programs/locale.c: Likewise.
2563 * locale/programs/localedef.c: Likewise.
2564 * login/programs/pt_chown.c: Likewise.
2565 * nscd/nscd.c (print_version): Likewise.
2566 * debug/xtrace.sh: Likewise.
2567 * malloc/memusage.sh: Likewise.
2568 * malloc/mtrace.pl: Likewise.
2569 * debug/catchsegv.sh: Likewise.
2570
2571 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2572
2573 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2574 pure attribute.
2575
2576 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2577
2578 [BZ #13533]
2579 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2580 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2581 transformations.
2582 * iconv/gconv_int.h: Likewise.
2583 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2584 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2585 from libc for GLIBC_2.16.
2586 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2587 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2588 * wcsmbs/uchar.h: Really define mbstate_t.
2589 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2590 * wcsmbs/c16rtomb.c: New file.
2591 * wcsmbs/mbrtoc16.c: New file.
2592 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2593 for C/POSIX locale.
2594 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2595 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2596
2597 * wcsmbs/wchar.h: Add missing __restrict.
2598
2599 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2600
2601 [BZ #13532]
2602 * time/Makefile (routines): Add timespec_get.
2603 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2604 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2605 timespec for ISO C11.
2606 * time/timespec_get.c: New file.
2607 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2608 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2609
2610 [BZ #13531]
2611 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2612 * stdlib/stdlib.h: Declare aligned_alloc.
2613 * Versions.def: Add GLIBC_2.16 for libc.
2614 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2615
2616 [BZ 13527]
2617 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2618 ISO C11.
2619
2620 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2621 code.
2622
2623 [BZ #13528]
2624 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2625
2626 [BZ #13529]
2627 * assert/assert.h (static_assert): Define.
2628
2629 * version.h: Update for 2.16 development version.
2630
2631 [BZ #13526]
2632 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2633 _ISOC11_SOURCE.
2634
2635 * version.h (RELEASE): Bump for 2.15 release.
2636 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2637
2638 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2639 Patch by Marek Polacek <mpolacek@redhat.com>.
2640
2641 * bits/byteswap.h: Protect long long constants with __extension__.
2642 * sysdeps/i386/bits/byteswap.h: Likewise.
2643 * sysdeps/ia64/bits/byteswap.h: Likewise.
2644 * sysdeps/s390/bits/byteswap.h: Likewise.
2645 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2646
2647 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2648
2649 [BZ #13540]
2650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2651 destination buffer.
2652 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2653
2654 2011-12-23 Marek Polacek <polacek@redhat.com>
2655
2656 * elf/dl-addr.c (determine_info): Add inline keyword.
2657 * elf/tst-auditmod4b.c (check_avx): Likewise.
2658 * elf/tst-auditmod6b.c (check_avx): Likewise.
2659 * elf/tst-auditmod6c.c (check_avx): Likewise.
2660 * elf/tst-auditmod7b.c (check_avx): Likewise.
2661
2662 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2663
2664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2665 !__SSE_MATH__.
2666
2667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2668
2669 [BZ #13540]
2670 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2671 processing for last bytes.
2672
2673 2011-08-06 Bruno Haible <bruno@clisp.org>
2674
2675 [BZ #13061]
2676 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2677 U+0385, not to U+1FEE.
2678
2679 [BZ #13062]
2680 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2681 entry for U+00A5 U+0301.
2682
2683 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2684
2685 [BZ #13166]
2686 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2687 buffer for the output is too small.
2688
2689 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2690 optimization.
2691
2692 [BZ #13185]
2693 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2694 SSE flags if possible.
2695
2696 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2697
2698 [BZ #13540]
2699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2700 processing for last bytes.
2701
2702 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2703
2704 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2705 (syscall-list-default-options, syscall-list-default-condition)
2706 (syscall-list-includes): Define.
2707 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2708 list of ABIs and options and #if conditions for each ABI. Do not
2709 handle common syscalls between ABIs specially.
2710 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2711 Remove.
2712 (syscall-list-variants, syscall-list-32bit-options)
2713 (syscall-list-32bit-condition, syscall-list-64bit-options)
2714 (syscall-list-64bit-condition): Define.
2715 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2716 (syscall-list-variants, syscall-list-32bit-options)
2717 (syscall-list-32bit-condition, syscall-list-64bit-options)
2718 (syscall-list-64bit-condition): Define.
2719 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2720 Remove.
2721 (syscall-list-variants, syscall-list-32bit-options)
2722 (syscall-list-32bit-condition, syscall-list-64bit-options)
2723 (syscall-list-64bit-condition): Define.
2724 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2725 Remove.
2726 (syscall-list-variants, syscall-list-32bit-options)
2727 (syscall-list-32bit-condition, syscall-list-64bit-options)
2728 (syscall-list-64bit-condition): Define.
2729
2730 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2731
2732 * locale/iso-639.def: Add brx entry.
2733
2734 [BZ #13328]
2735 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2736 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2737
2738 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2739 __feraiseexcept_renamed.
2740
2741 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2742
2743 [BZ #13538]
2744 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2745 EPOLLET with unsigned values.
2746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2748
2749 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2750 to large cancellation.
2751 * math/s_cacoshf.c: Likewise.
2752 * math/s_cacoshl.c: Likewise.
2753
2754 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2755
2756 [BZ #13305]
2757 [BZ #12786]
2758 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2759 * math/s_cacoshf.c: Likewise.
2760 * math/s_cacoshl.c: Likewise.
2761
2762 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2763
2764 [BZ #13439]
2765 * iconv/gconv.h: Define __GCONV_SWAP.
2766 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2767 * iconvdata/utf-16.c: Likewise.
2768 * iconvdata/utf-32.c: Likewise.
2769
2770 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2771
2772 [BZ #13524]
2773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2774 numerator after shifting it by one limb.
2775
2776 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2777
2778 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2779 under [__USE_EXTERN_INLINES].
2780
2781 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2782
2783 [BZ #13446]
2784 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2785
2786 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2787
2788 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2789 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2790 optimized code.
2791 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2792 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2793 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2794 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2795 for strncasecmp/strncasecmp_l compilation.
2796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2797 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2798
2799 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2800
2801 [BZ #13484]
2802 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2803 of __asm__.
2804
2805 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2806
2807 [BZ #13506]
2808 * time/tzfile.c (__tzfile_read): Check values from file header.
2809
2810 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2811
2812 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2813 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2814 * powerpc/powerpc32/dl-start.S: Likewise.
2815 * powerpc/powerpc32/elf/start.S: Likewise.
2816 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2817 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2818 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2819 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2820 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2821 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2822 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2823 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2824 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2825 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2826 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2827 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2828 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2829 * powerpc/powerpc32/memset.S: Likewise.
2830 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2831 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2832 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2833 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2834 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2835 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2836 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2837 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2838 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2839 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2840 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2841 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2842 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2843
2844 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2845
2846 * math/libm-test.inc: Added more nearbyint tests.
2847 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2851
2852 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2853
2854 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2855 FD_CLOEXEC.
2856
2857 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2858
2859 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2860 Add wcscpy-ssse3 wcscpy-c.
2861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2862 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2863 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2864 * sysdeps/x86_64/wcschr.S: New file.
2865 * sysdeps/x86_64/wcsrchr.S: New file.
2866 * string/test-strcmp.c: Remove checking of wcscmp function for
2867 wrong alignments.
2868 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2869 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2870 wcsrchr-sse2 wcsrchr-c.
2871 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2872 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2873 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2874 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2875 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2876 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2877 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2878 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2880 * wcsmbc/wcschr.c (WCSCHR): New macro.
2881
2882 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2883
2884 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2885 * wcsmbs/test-wcsrchr.c: New file.
2886 * string/test-strrchr.c: Add wcsrchr support.
2887 (WIDE): New macro.
2888 * wcsmbs/test-wcscpy.c: New file.
2889 * string/test-strcpy.c: Add wcscpy support.
2890 (WIDE): New macro.
2891
2892 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2893
2894 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2895 the inner loop.
2896
2897 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2898
2899 [BZ #13472]
2900 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2901
2902 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2903
2904 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2905 Minor optimizations.
2906
2907 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2908 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2909 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2910
2911 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2912
2913 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2914 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2915 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2916 for gcc to avoid warnings.
2917 * inet/Makefile (tests): Add tst-checks.
2918 * inet/tst-checks.c: New file.
2919
2920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2921 warning.
2922
2923 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2924 __wmemcmp_sse2.
2925
2926 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2927 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2928
2929 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2930
2931 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2932
2933 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2934 problem.
2935
2936 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2937
2938 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2939
2940 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2941 conditional on GCC version.
2942 (__arch_compare_and_exchange_val_8_acq)
2943 (__arch_compare_and_exchange_val_16_acq)
2944 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2945 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2946 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2947
2948 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2949
2950 * sysdeps/sh/backtrace.c: New file.
2951
2952 2011-12-02 Andreas Schwab <schwab@redhat.com>
2953
2954 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2955 parenthesis.
2956
2957 2011-12-01 Andreas Schwab <schwab@redhat.com>
2958
2959 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2960 falling back to utime.
2961
2962 2011-11-30 Andreas Schwab <schwab@redhat.com>
2963
2964 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2965 expectations for float.
2966
2967 2011-11-29 Andreas Schwab <schwab@redhat.com>
2968
2969 * locale/weight.h (findidx): Add parameter len.
2970 * locale/weightwc.h (findidx): Likewise.
2971 * posix/fnmatch_loop.c (FCT): Adjust caller.
2972 * posix/regcomp.c (build_equiv_class): Likewise.
2973 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2974 * posix/regexec.c (check_node_accept_bytes): Likewise.
2975 * string/strcoll_l.c (STRCOLL): Likewise.
2976 * string/strxfrm_l.c (STRXFRM): Likewise.
2977
2978 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2979
2980 * Makefile.in: Remove CVSOPT handling.
2981 * configure.in: Remove use of AC_REVISION.
2982 * iconvdata/Makefile (distribute): No need to filter out CVS.
2983 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2984 handling.
2985
2986 2011-11-16 Andreas Schwab <schwab@redhat.com>
2987
2988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2989 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2990 [USE_AS_STRNCASECMP_L]: Likewise.
2991 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2992 NO_TLS_DIRECT_SEG_REFS.
2993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2994 Fix argument offsets for non-PIC.
2995 [USE_AS_STRNCASECMP_L]: Likewise.
2996 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2997 NO_TLS_DIRECT_SEG_REFS.
2998
2999 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3000
3001 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3002 O_CLOEXEC.
3003 * locale/loadlocale.c (_nl_load_locale): Likewise.
3004
3005 2011-11-15 Andreas Schwab <schwab@redhat.com>
3006
3007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3008 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3010 (SYSCALL_GETTIME): Set errno on error.
3011
3012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3013 count references to noai6ai_cached.
3014
3015 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3016
3017 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3018
3019 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3020 FD_CLOEXEC for /proc/self/maps.
3021
3022 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3023 FD_CLOEXEC for /proc/meminfo.
3024
3025 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3026 gai.conf.
3027
3028 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3029 FD_CLOEXEC for given file.
3030
3031 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3032
3033 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3034 FD_CLOEXEC for /etc/hosts.
3035 (_gethtent): Likewise.
3036
3037 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3038
3039 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3040 cancellation and set FD_CLOEXEC for /etc/netgroup.
3041
3042 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3043 reading /etc/publickey.
3044
3045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3046 allow cancellation when reading /etc/group.
3047
3048 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3049 cancellation.
3050 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3051
3052 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3053 when using data file.
3054
3055 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3056
3057 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3058 (write_nis_obj): Use "c" and "e" in fopen.
3059
3060 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3061
3062 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3063
3064 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3065
3066 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3067
3068 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3069 locale.alias.
3070
3071 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3072
3073 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3074
3075 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3076
3077 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3078 file parsing and set FD_CLOEXEC.
3079
3080 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3081
3082 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3083
3084 2011-11-14 Andreas Schwab <schwab@redhat.com>
3085
3086 * malloc/arena.c (arena_get2): Don't call reused_arena when
3087 _int_new_arena failed.
3088
3089 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3090
3091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
3092 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
3093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
3094 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
3097 to compile strcasecmp and strncasecmp.
3098 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
3099 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
3100
3101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
3102
3103 2011-11-13 Ulrich Drepper <drepper@gmail.com>
3104
3105 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
3106 locale-defines.sym to gen-as-const-headers.
3107 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
3108 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
3109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
3110 to compile strcasecmp and strncasecmp.
3111 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
3112 strcasecmp_l and strncasecmp_l.
3113 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
3114 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
3115 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
3116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
3117 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
3118 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
3119 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
3120 * sysdeps/i386/i686/multiarch/strncase.S: New file.
3121 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
3122 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
3123 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
3124
3125 2011-11-12 Ulrich Drepper <drepper@gmail.com>
3126
3127 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
3128 result of SYSDEP_GETTIME_CPU to retval.
3129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
3130 parameter list to macro. Remove trailing semicolon. Adjust users.
3131
3132 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
3133 variable.
3134
3135 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
3136 mantissa words.
3137 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
3138
3139 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
3140 from unused variable.
3141
3142 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
3143 DWARF definitions.
3144 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
3145 for assembling.
3146
3147 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
3148 over namespaces.
3149
3150 * sunrpc/rpc_prot.c (rejected): Fix case value.
3151
3152 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
3153 unsigned long long int to avoid warnings in shift.
3154
3155 * posix/regex_internal.c (re_string_reconstruct): Actually use result
3156 of use of trans.
3157 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
3158 variable tmp.
3159
3160 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
3161 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3162 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3163
3164 * nis/nis_table.c (nis_list): Use variable of correct type for
3165 result of __follow_path call.
3166
3167 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168
3169 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
3170 of math functions ceil, trunc, floor, round, and sqrt, when
3171 avaliable on the platform.
3172 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
3173 name clash.
3174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3177
3178 2011-10-30 Marek Polacek <mpolacek@redhat.com>
3179
3180 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
3181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3182
3183 2011-11-11 Roland McGrath <roland@hack.frob.com>
3184
3185 * include/unistd.h: Fix __readlink return type.
3186 Reported by Chris Metcalf <cmetcalf@tilera.com>.
3187
3188 2011-11-11 Ulrich Drepper <drepper@gmail.com>
3189
3190 * stdlib/ucontext.h: Undo last change for makecontext.
3191
3192 2011-11-11 Andreas Schwab <schwab@redhat.com>
3193
3194 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
3195
3196 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
3197 * setjmp/setjmp.h: Mark functions as non-leaf.
3198 * setjmp/bits/setjmp2.h: Likewise.
3199 * stdlib/ucontext.h: Likewise.
3200
3201 2011-11-10 Andreas Schwab <schwab@redhat.com>
3202
3203 * malloc/arena.c (_int_new_arena): Don't increment narenas.
3204 (reused_arena): Don't check arena limit.
3205 (arena_get2): Atomically check arena limit.
3206
3207 2011-11-08 Ulrich Drepper <drepper@gmail.com>
3208
3209 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
3210 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
3211
3212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
3213 instructions.
3214
3215 2011-11-07 Andreas Schwab <schwab@redhat.com>
3216
3217 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
3218 handler when locking.
3219
3220 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3221 Fix size of allocated buffer.
3222
3223 2011-11-04 Andreas Schwab <schwab@redhat.com>
3224
3225 [BZ #10103]
3226 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
3227 declarations for long double functions.
3228 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
3229
3230 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
3231
3232 2011-11-03 Andreas Schwab <schwab@redhat.com>
3233
3234 * nscd/nscd.c (main): Don't start AVC thread until credentials are
3235 installed.
3236
3237 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
3238 is disabled.
3239
3240 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
3241
3242 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
3243
3244 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
3245
3246 * include/alloca.h (stackinfo_alloca_round): Define.
3247 (extend_alloca): Use it.
3248 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
3249 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
3250 here.
3251
3252 * scripts/check-local-headers.sh: Ignore libaudit.h.
3253
3254 * nscd/Makefile (extra-objs): Make recursively expanded.
3255
3256 2011-11-01 Ulrich Drepper <drepper@gmail.com>
3257
3258 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
3259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3260
3261 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
3262 * posix/tst-rfc3484-2.c: Likewise.
3263 * posix/tst-rfc3484-3.c: Likewise.
3264
3265 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3266 process_vm_writev.
3267 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
3268 process_vm_writev.
3269 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
3270 process_vm_writev from libc using GLIBC_2.15 version.
3271
3272 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
3273
3274 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3275
3276 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
3277 stack usage.
3278
3279 2011-10-31 Ulrich Drepper <drepper@gmail.com>
3280
3281 [BZ #13367]
3282 * nss/getent.c (initgroups_keys): Show error message in case no group
3283 names are given.
3284
3285 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
3286 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
3287 __bump_nl_timestamp.
3288 * nscd/connections (nscd_init): When host database is served open
3289 netlink socket and request notification about configuration changes.
3290 (main_loop_poll): Track netlink file descriptor and bump timestamp
3291 in case data becomes available.
3292 (main_loop_epoll): Likewise.
3293 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
3294 (database_pers_head): Add extra_data fileds.
3295 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
3296 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
3297 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3298 Adjust caller.
3299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3300 in6ai data, call __free_in6ai.
3301 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3302 Add -DHAVE_NETLINK.
3303 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3304 interface information. Reuse previous data if netlink timestamp
3305 is not changed.
3306 (__bump_nl_timestamp): New function.
3307 (__free_in6ai): New function.
3308
3309 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3310
3311 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3312 close_not_cancel_no_status here.
3313 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3314
3315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3316
3317 [BZ #13276]
3318 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3319 return value.
3320
3321 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3322 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3323 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3324
3325 2011-07-03 Andreas Jaeger <aj@suse.de>
3326
3327 [BZ #10709]
3328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3329 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3330 * math/libm-test.inc (sin_test): Add test case.
3331
3332 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3333
3334 [BZ #13337]
3335 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3336 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3337
3338 * elf/chroot_canon.c (chroot_canon): Cleanups.
3339
3340 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3341
3342 [BZ #13335]
3343 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3344 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3345
3346 * string/test-strchr.c: Make usable for strchrnul testing.
3347 * string/test-strchrnul.c: New file.
3348 * string/Makefile (strop-tests): Add strchrnul.
3349
3350 * po/it.po: Update from translation team.
3351 * po/es.po: Likewise.
3352
3353 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3354
3355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3356 the three constants needed as parameters. Drop the others.
3357 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3358 __m128i_strloadu_tolower.
3359 Create and initialize variable zero and use it in all the places
3360 where _mm_setzero_si128 was used.
3361
3362 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3363 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3364 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3365 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3366 anymore.
3367 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3368 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3369 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3370 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3371 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3372 __mpranred, __mptan.
3373 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3374 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3375 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3376 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3377 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3378 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3379 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3380 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3382
3383 2011-10-28 Andreas Schwab <schwab@redhat.com>
3384
3385 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3386 redefine if SHARED.
3387 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3388
3389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3390 wide char related routines to wcsmbs subdir.
3391
3392 2011-10-27 Andreas Schwab <schwab@redhat.com>
3393
3394 [BZ #13344]
3395 * misc/sys/cdefs.h (__THROWNL): Define.
3396 * posix/unistd.h: Use __THREADNL instead of __THREAD
3397 for memory synchronization functions.
3398
3399 2011-10-26 Roland McGrath <roland@hack.frob.com>
3400
3401 [BZ #13349]
3402 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3403 doesn't exist.
3404 * manual/stdio.texi (Obstack Streams): Node removed.
3405
3406 2011-10-26 Andreas Schwab <schwab@redhat.com>
3407
3408 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3411
3412 * math/math_private.h (math_force_eval): Allow non-addressable
3413 arguments.
3414 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3415
3416 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3417
3418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3419 file is not needed.
3420
3421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3428 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3429 Add AVX variants.
3430 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3431 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3432 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3433 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3434 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3436 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3437 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3438 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3439 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3440 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3441 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3443 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3444 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3445 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3446 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3447 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3448 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3449
3450 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3451 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3452
3453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3454 place. Use VEX encoding when compiling for AVX.
3455
3456 2011-10-25 Andreas Schwab <schwab@redhat.com>
3457
3458 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3459 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3460
3461 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3462
3463 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3464
3465 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3466 useless if() expression.
3467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3468 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3469 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3476 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3477 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3478 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3479 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3481 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3483 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3486
3487 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3488
3489 2011-10-25 Andreas Schwab <schwab@redhat.com>
3490
3491 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3492 condition.
3493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3494
3495 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3496
3497 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3498 .text section. Avoid duplicate constants.
3499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3501 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3509 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3511 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3514 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3516 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3523 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3524 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3525 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3526 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3530 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3532 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3533 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3534 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3535 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3537 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3538 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3540 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3541 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3543 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3544
3545 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3546
3547 * sysdeps/x86_64/dla.h: Move to ...
3548 * sysdeps/x86_64/fpu/dla.h: ...here.
3549 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3550 situations. Use __builtin_fma only for gcc 4.6 and up.
3551
3552 * config.make.in: Add have-mfma4 entry.
3553 * configure.in: Substitute libc_cv_cc_fma4.
3554 * math/Makefile (dbl-only-routines): Add sincostab.
3555 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3556 Use __sincostab not sincos.
3557 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3558 name is a macro.
3559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3563 using __copysign.
3564 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3565 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3566 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3567 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3568 and __inv.
3569 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3570 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3571 __copysign.
3572 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3573 define aliases when function name is a macro.
3574 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3575 sysdeps/ieee754/dbl-64/sincos.tbl.
3576 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3577 fma4-enabled routines.
3578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3579 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3580 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3581 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3583 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3585 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3587 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3588 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3590 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3591 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3593 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3594 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3595 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3596 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3598 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3599 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3605 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3606 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3607 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3608
3609 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3610 rename.
3611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3619
3620 2011-10-24 Andreas Schwab <schwab@redhat.com>
3621
3622 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3623
3624 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3625
3626 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3627
3628 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3629 prediction.
3630 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3631
3632 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3633 Remove unused variable magic_bits.
3634 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3635
3636 * string/strnlen.c: Define and use STRNLEN macro.
3637 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3638 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3640 * wcsmbs/wcslen.c: Define and use WCSLEN.
3641 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3642 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3643 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3644 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3645 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3646 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3648
3649 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3650
3651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3652 strnlen-sse2-no-bsf.
3653 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3655 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3656 Add strnlen support.
3657 (USE_AS_STRNLEN): New macro.
3658 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3660 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3661 * sysdeps/x86_64/wcslen.S: New file.
3662
3663 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3664
3665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3666 XMM-moves are used for copying on small sizes.
3667
3668 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3669
3670 * wcsmbs/Makefile (strop-tests): Add wcschr.
3671 * wcsmbs/test-wcschr.c: New file.
3672 * string/test-strchr.c: Update.
3673 Add wcschr support.
3674 (WIDE): New macro.
3675
3676 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3677
3678 * wcsmbs/Makefile (strop-tests): Add wcslen.
3679 * wcsmbs/test-wcslen.c: New file.
3680 * string/test-strlen.c: Update.
3681 Add wcslen support.
3682 (WIDE): New macro.
3683
3684 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3685
3686 * po/it.po: Update from translation team.
3687
3688 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3689
3690 * sysdeps/x86_64/wcscmp.S: Update.
3691 Fix wrong comparison semantics.
3692 wcscmp shall use signed comparison not unsigned.
3693 Don't use substraction to avoid overflow bug.
3694 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3695 * wcsmbc/wcscmp.c: Likewise.
3696 * string/test-strcmp.c: Likewise.
3697 Add new tests to check cases with negative values.
3698
3699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3700
3701 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3702 * sysdeps/x86_64/dla.h: ...here. New file.
3703 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3712
3713 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3716 __ynl_finite aliases.
3717
3718 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3719
3720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3721
3722 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3723 define DLA_FMA.
3724 [DLA_FMA] (EMULV): Use DLA_FMA.
3725 [DLA_FMA] (MUL12): Use EMULV.
3726 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3727 that are not needed.
3728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3735
3736 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3737
3738 * math/s_nan.c: Undef __nan.
3739 * math/s_nanf.c: Undef __nanf.
3740 * math/s_nanl.c: Undef __nanl.
3741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3742 "math_private.h".
3743
3744 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3745
3746 * math/s_catan.c: Add branch predictions.
3747 * math/s_catanf.c: Likewise.
3748 * math/s_catanh.c: Likewise.
3749 * math/s_catanhf.c: Likewise.
3750 * math/s_catanhl.c: Likewise.
3751 * math/s_catanl.c: Likewise.
3752 * math/s_cexp.c: Likewise.
3753 * math/s_cexpf.c: Likewise.
3754 * math/s_cexpl.c: Likewise.
3755 * math/s_clog.c: Likewise.
3756 * math/s_clog10.c: Likewise.
3757 * math/s_clog10f.c: Likewise.
3758 * math/s_clog10l.c: Likewise.
3759 * math/s_clogf.c: Likewise.
3760 * math/s_clogl.c: Likewise.
3761 * math/s_csqrt.c: Likewise.
3762 * math/s_csqrtf.c: Likewise.
3763 * math/s_csqrtl.c: Likewise.
3764 * math/s_ctanf.c: Likewise.
3765 * math/s_ctanh.c: Likewise.
3766 * math/s_ctanhf.c: Likewise.
3767 * math/s_ctanhl.c: Likewise.
3768 * math/s_ctanl.c: Likewise.
3769
3770 * math/math_private.h: Define __nan, __nanf, __nanl.
3771 * math/s_cacosh.c: Include <math_private.h>.
3772 * math/s_cacoshl.c: Likewise.
3773 * math/s_casinh.c: Likewise.
3774 * math/s_casinhf.c: Likewise.
3775 * math/s_casinhl.c: Likewise.
3776 * math/s_ccos.c: Rely entire on ccosh.
3777 * math/s_ccosf.c: Rely entire on ccoshf.
3778 * math/s_ccosl.c: Rely entirely on ccoshl.
3779 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3780 Remove tests for FE_INVALID.
3781 * math/s_ccoshf.c: Likewise.
3782 * math/s_ccoshl.c: Likewise.
3783 * math/s_csin.c: Likewise.
3784 * math/s_csinf.c: Likewise.
3785 * math/s_csinh.c Likewise.
3786 * math/s_csinhf.c: Likewise.
3787 * math/s_csinhl.c: Likewise.
3788 * math/s_csinl.c: Likewise.
3789 * math/s_ctan.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3791 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3792 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3793
3794 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3795
3796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3797 compilation problems.
3798
3799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3800 __builtin_expect.
3801
3802 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3803
3804 * sysdeps/i386/configure.in: Test for -mfma4 option.
3805 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3806 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3807 COMMON_CPUID_INDEX_80000001.
3808 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3809 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3810 use it if FMA3 is not supported.
3811 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3812
3813 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3814 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3815
3816 2011-10-20 Andreas Schwab <schwab@redhat.com>
3817
3818 [BZ #12892]
3819 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3820 it would create a cycle with a link time dependency.
3821
3822 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3823
3824 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3825 instruction.
3826 * string/Makefile (strop-tests): Add rawmemchr.
3827 * string/test-rawmemchr.c: New file.
3828
3829 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3830 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3831 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3832 when compiling str{,n}casecmp and when AVX is available. Hook up
3833 new optimized code in initializers.
3834
3835 2011-10-19 Andreas Schwab <schwab@redhat.com>
3836
3837 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3838 __feraiseexcept instead of feraiseexcept.
3839
3840 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3841
3842 * math/math_private.h: Define defaults for libc_fetestexcept and
3843 libc_feupdateenv.
3844 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3845 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3846 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3847 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3849 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3850 libc_fetestexcept and libc_feupdateenv.
3851
3852 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3853 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3854 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3855 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3856 libc_feholdexcept_setround.
3857
3858 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3859 Add s_nearbyint-c and s_nearbyintf-c.
3860 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3861 nearbyintf inlines.
3862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3863 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3864 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3865 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3866
3867 * math/math_private.h: Define defaults for libc_fegetround,
3868 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3869 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3870 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3871 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3872 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3873 standard functions.
3874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3875 Remove comments and hacks for old compiler versions.
3876 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3877 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3878 libc_feholdexceptl.
3879
3880 2011-10-18 Andreas Schwab <schwab@redhat.com>
3881
3882 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3883 (__feraiseexcept_renamed): Add __NTH.
3884 (feraiseexcept): Add __NTH. Rename local variables to fix
3885 namespace violations.
3886
3887 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3888
3889 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3890
3891 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3892
3893 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3894 recently added interfaces.
3895 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3896
3897 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3898 about macro parameter expansion.
3899
3900 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3901 __NO_MATH_INLINES is defined. Cleanups.
3902
3903 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3904 and __floorf is target has SSE4.1.
3905 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3906 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3909
3910 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3911 name.
3912 (floorf): Likewise.
3913
3914 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3915
3916 2011-10-17 Andreas Schwab <schwab@redhat.com>
3917
3918 * misc/sys/cdefs.h: Fix last change.
3919
3920 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3921 database lookup.
3922
3923 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3924
3925 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3926
3927 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3928 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3934 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3935 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3936 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3937 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3938 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3939 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3940 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3941 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3942 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3943 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3944 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3946 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3947 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3948 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3949
3950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3951 ceil, ceilf, floor, floorf.
3952
3953 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3954 Perform IRELATIVE relocations last.
3955
3956 * elf/do-rel.h: Add another parameter nrelative, replacing the
3957 local variable with the same name. Change name of the function
3958 to end in Rel or Rela (uppercase).
3959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3960 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3961 elf_dynamic_do_##reloc function.
3962
3963 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3964
3965 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3966 is sufficient, at least on modern CPUs.
3967
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3969
3970 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3971 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3972
3973 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3974 __expl_finite.
3975 * math/bits/math-finite.h: Add entries for exp.
3976 * math/e_expl.c: Add __*_finite alias.
3977 * sysdeps/i386/fpu/e_exp.S: Likewise.
3978 * sysdeps/i386/fpu/e_expf.S: Likewise.
3979 * sysdeps/i386/fpu/e_expl.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3985 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3987
3988 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3989 is sufficient, at least on modern CPUs.
3990
3991 * ctype/ctype-info.c (__ctype_init): Define.
3992 * include/ctype.h (__ctype_init): Declare.
3993 (__ctype_b_loc): The variable is always initialized.
3994 (__ctype_toupper_loc): Likewise.
3995 (__ctype_tolower_loc): Likewise.
3996 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3997 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3998
3999 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4000
4001 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4002
4003 * configure.in: Also look in $cxxmachine/include for C++ system
4004 headers.
4005
4006 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4007
4008 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4009 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4010 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4011 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4013 (USE_AS_WMEMCMP): New macro.
4014 Fixing indents.
4015 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4016 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4017 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4018 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4020 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4021 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4022 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4023 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4024 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4026 (USE_AS_WMEMCMP): New macro.
4027 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4028 * sysdeps/string/test-memcmp.c: Update.
4029 Fix simple_wmemcmp.
4030 Add new tests.
4031 * wcsmbs/wmemcmp.c: Update.
4032 (WMEMCMP): New macro.
4033 Fix overflow bug.
4034
4035 2011-10-12 Andreas Jaeger <aj@suse.de>
4036
4037 [BZ #13268]
4038 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4039
4040 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4041
4042 * libio/iofwide.c (do_length): Avoid warning.
4043
4044 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4045
4046 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4047
4048 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4049
4050 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4051 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4052 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4053 * sysdeps/i386/i686/fpu/e_log.S: New file.
4054 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4055 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4056
4057 * ctype/ctype.h: Add support for inlined isXXX functions when
4058 compiling C++ code.
4059
4060 2011-10-14 Andreas Schwab <schwab@redhat.com>
4061
4062 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4063
4064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4065
4066 2011-10-13 Roland McGrath <roland@hack.frob.com>
4067
4068 [BZ #13291]
4069 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4070
4071 2011-10-13 Andreas Schwab <schwab@redhat.com>
4072
4073 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4074 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4075 feraiseexcept.
4076
4077 * sysdeps/x86_64/memrchr.S: Check for zero size.
4078
4079 * string/stratcliff.c: Add memrchr tests.
4080
4081 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4082
4083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4084 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4085 rawmemchr-sse2 rawmemchr-sse2-bsf.
4086 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4087 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
4088 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
4089 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
4090 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
4091 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
4092 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
4093 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
4094 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
4095 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
4096 * string/memrchr.c (MEMRCHR): New macro.
4097
4098 2011-10-12 Ulrich Drepper <drepper@gmail.com>
4099
4100 Add integration with gcc's -ffinite-math-only and optimize wrapper
4101 functions in libm.
4102 * Versions.def: Define GLIBC_2.15 version for libm.
4103 * math/Makefile (headers): Add bits/math-finite.h.
4104 * math/bits/math-finite.h: New file.
4105 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
4106 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
4107 * math/e_acoshl.c: Add __*_finite alias.
4108 * math/e_acosl.c: Likewise.
4109 * math/e_asinl.c: Likewise.
4110 * math/e_atan2l.c: Likewise.
4111 * math/e_atanhl.c: Likewise.
4112 * math/e_coshl.c: Likewise.
4113 * math/e_exp10.c: Likewise.
4114 * math/e_exp10f.c: Likewise.
4115 * math/e_exp10l.c: Likewise.
4116 * math/e_exp2l.c: Likewise.
4117 * math/e_fmodl.c: Likewise.
4118 * math/e_gammal_r.c: Likewise.
4119 * math/e_hypotl.c: Likewise.
4120 * math/e_j0l.c: Likewise.
4121 * math/e_j1l.c: Likewise.
4122 * math/e_jnl.c: Likewise.
4123 * math/e_lgammal_r.c: Likewise.
4124 * math/e_log10l.c: Likewise.
4125 * math/e_log2l.c: Likewise.
4126 * math/e_logl.c: Likewise.
4127 * math/e_powl.c: Likewise.
4128 * math/e_sinhl.c: Likewise.
4129 * math/e_sqrtl.c: Likewise.
4130 * math/e_scalb.c: Completely rewritten and optimized.
4131 * math/e_scalbf.c: Likewise.
4132 * math/e_scalbl.c: Likewise.
4133 * math/w_acos.c: Likewise.
4134 * math/w_acosf.c: Likewise.
4135 * math/w_acosl.c: Likewise.
4136 * math/w_acosh.c: Likewise.
4137 * math/w_acoshf.c: Likewise.
4138 * math/w_acoshl.c: Likewise.
4139 * math/w_asin.c: Likewise.
4140 * math/w_asinf.c: Likewise.
4141 * math/w_asinl.c: Likewise.
4142 * math/w_atan2.c: Likewise.
4143 * math/w_atan2f.c: Likewise.
4144 * math/w_atan2l.c: Likewise.
4145 * math/w_atanh.c: Likewise.
4146 * math/w_atanhf.c: Likewise.
4147 * math/w_atanhl.c: Likewise.
4148 * math/w_exp10.c: Likewise.
4149 * math/w_exp10f.c: Likewise.
4150 * math/w_exp10l.c: Likewise.
4151 * math/w_fmod.c: Likewise.
4152 * math/w_fmodf.c: Likewise.
4153 * math/w_fmodl.c: Likewise.
4154 * math/w_j0.c: Likewise.
4155 * math/w_j0f.c: Likewise.
4156 * math/w_j0l.c: Likewise.
4157 * math/w_j1.c: Likewise.
4158 * math/w_j1f.c: Likewise.
4159 * math/w_j1l.c: Likewise.
4160 * math/w_jn.c: Likewise.
4161 * math/w_jnf.c: Likewise.
4162 * math/w_log.c: Likewise.
4163 * math/w_logf.c: Likewise.
4164 * math/w_logl.c: Likewise.
4165 * math/w_log10.c: Likewise.
4166 * math/w_log10f.c: Likewise.
4167 * math/w_log10l.c: Likewise.
4168 * math/w_log2.c: Likewise.
4169 * math/w_log2f.c: Likewise.
4170 * math/w_log2l.c: Likewise.
4171 * math/w_pow.c: Likewise.
4172 * math/w_powf.c: Likewise.
4173 * math/w_powl.c: Likewise.
4174 * math/w_remainder.c: Likewise.
4175 * math/w_remainderf.c: Likewise.
4176 * math/w_remainderl.c: Likewise.
4177 * math/w_scalb.c: Likewise.
4178 * math/w_scalbf.c: Likewise.
4179 * math/w_scalbl.c: Likewise.
4180 * math/w_sqrt.c: Likewise.
4181 * math/w_sqrtf.c: Likewise.
4182 * math/w_sqrtl.c: Likewise.
4183 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
4184 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
4185 used.
4186 * math/math_private.h: Declare __kernel_standard_f.
4187 * math/w_cosh.c: Remove cruft and optimize a bit.
4188 * math/w_coshf.c: Likewise.
4189 * math/w_coshl.c: Likewise.
4190 * math/w_exp2.c: Likewise.
4191 * math/w_exp2f.c: Likewise.
4192 * math/w_exp2l.c: Likewise.
4193 * math/w_hypot.c: Likewise.
4194 * math/w_hypotf.c: Likewise.
4195 * math/w_hypotl.c: Likewise.
4196 * math/w_lgamma.c: Likewise.
4197 * math/w_lgamma_r.c: Likewise.
4198 * math/w_lgammaf.c: Likewise.
4199 * math/w_lgammaf_r.c: Likewise.
4200 * math/w_lgammal.c: Likewise.
4201 * math/w_lgammal_r.c: Likewise.
4202 * math/w_sinh.c: Likewise.
4203 * math/w_sinhf.c: Likewise.
4204 * math/w_sinhl.c: Likewise.
4205 * math/w_tgamma.c: Likewise.
4206 * math/w_tgammaf.c: Likewise.
4207 * math/w_tgammal.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4210 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
4211 Minor optimizations. Pretty printing. Remove cruft.
4212 * sysdeps/i386/fpu/e_acosf.S: Likewise.
4213 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4216 * sysdeps/i386/fpu/e_acosl.c: Likewise.
4217 * sysdeps/i386/fpu/e_asin.S: Likewise.
4218 * sysdeps/i386/fpu/e_asinf.S: Likewise.
4219 * sysdeps/i386/fpu/e_atan2.S: Likewise.
4220 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
4221 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
4222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4224 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4225 * sysdeps/i386/fpu/e_exp10.S: Likewise.
4226 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
4227 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
4228 * sysdeps/i386/fpu/e_exp2.S: Likewise.
4229 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
4230 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
4231 * sysdeps/i386/fpu/e_fmod.S: Likewise.
4232 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
4233 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
4234 * sysdeps/i386/fpu/e_hypot.S: Likewise.
4235 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
4236 * sysdeps/i386/fpu/e_log.S: Likewise.
4237 * sysdeps/i386/fpu/e_log10.S: Likewise.
4238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4240 * sysdeps/i386/fpu/e_log2.S: Likewise.
4241 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4242 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4243 * sysdeps/i386/fpu/e_logf.S: Likewise.
4244 * sysdeps/i386/fpu/e_logl.S: Likewise.
4245 * sysdeps/i386/fpu/e_pow.S: Likewise.
4246 * sysdeps/i386/fpu/e_powf.S: Likewise.
4247 * sysdeps/i386/fpu/e_powl.S: Likewise.
4248 * sysdeps/i386/fpu/e_remainder.S: Likewise.
4249 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
4250 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
4251 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4252 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4253 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4254 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
4255 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
4256 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4278 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4281 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4282 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4283 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4284 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4285 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4286 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4288 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4289 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4291 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4292 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4293 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4294 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4295 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4296 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4297 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4298 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4342 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4345 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4350 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4351 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4352 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4353 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4354 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4355 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4356 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4357 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4358 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4359 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4360 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4365 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4367 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4368 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4369 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4370 (__isnanf): Likewise.
4371 (__isinf_ns): Likewise.
4372 (__isinf_nsf): Likewise.
4373 (__finite): Likewise.
4374 (__finitef): Likewise.
4375 (__ieee754_sqrt): Define as macro.
4376 (__ieee754_sqrtf): Define as macro.
4377 (__ieee754_sqrtl): Define as macro.
4378 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4379 inlined copy.
4380 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4381 __FINITE_MATH_ONLY__ consistent.
4382 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4383
4384 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4385
4386 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4387 of rawmemchr.
4388
4389 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4390
4391 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4392
4393 * po/ja.po: Update from translation team.
4394
4395 2011-10-08 Roland McGrath <roland@hack.frob.com>
4396
4397 * locale/programs/locarchive.c (prepare_address_space): New function.
4398 (create_archive, enlarge_archive, open_archive): Use it.
4399
4400 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4401 inside [SHARED], where it is used.
4402
4403 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4404
4405 * nss/getent.c (netgroup_keys): Remove unused variable.
4406 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4407
4408 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4409
4410 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4411 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4413 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4414 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4415 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4416 * math/Makefile (libm-calls): Add s_isinf_ns.
4417 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4418 * math/multc3.c: Likewise.
4419 * math/s_casin.c: Likewise.
4420 * math/s_casinf.c: Likewise.
4421 * math/s_casinl.c: Likewise.
4422 * math/s_ccos.c: Likewise.
4423 * math/s_ccosf.c: Likewise.
4424 * math/s_ccosl.c: Likewise.
4425 * math/s_ctan.c: Likewise.
4426 * math/s_ctanf.c: Likewise.
4427 * math/s_ctanh.c: Likewise.
4428 * math/s_ctanhf.c: Likewise.
4429 * math/s_ctanhl.c: Likewise.
4430 * math/s_ctanl.c: Likewise.
4431 * math/w_fmod.c: Likewise.
4432 * math/w_fmodf.c: Likewise.
4433 * math/w_fmodl.c: Likewise.
4434 * math/w_remainder.c: Likewise.
4435 * math/w_remainderf.c: Likewise.
4436 * math/w_remainderl.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4438 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4441 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4442 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4443 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4444 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4445
4446 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4447 of the number.
4448 * stdio-common/printf_fphex.c: Likewise.
4449 * stdio-common/printf_size.c: Likewise.
4450
4451 * math/e_exp10.c: Include math_private.h using <...> not "...".
4452 * math/e_exp10f.c: Likewise.
4453 * math/e_exp10l.c: Likewise.
4454 * math/e_exp2l.c: Likewise.
4455 * math/e_j0l.c: Likewise.
4456 * math/e_j1l.c: Likewise.
4457 * math/e_jnl.c: Likewise.
4458 * math/e_lgammal_r.c: Likewise.
4459 * math/e_rem_pio2l.c: Likewise.
4460 * math/e_scalb.c: Likewise.
4461 * math/e_scalbf.c: Likewise.
4462 * math/e_scalbl.c: Likewise.
4463 * math/k_cosl.c: Likewise.
4464 * math/k_sinl.c: Likewise.
4465 * math/k_tanl.c: Likewise.
4466 * math/s_cacoshf.c: Likewise.
4467 * math/s_catan.c: Likewise.
4468 * math/s_catanf.c: Likewise.
4469 * math/s_catanh.c: Likewise.
4470 * math/s_catanhf.c: Likewise.
4471 * math/s_catanhl.c: Likewise.
4472 * math/s_catanl.c: Likewise.
4473 * math/s_ccosh.c: Likewise.
4474 * math/s_ccoshf.c: Likewise.
4475 * math/s_ccoshl.c: Likewise.
4476 * math/s_cexp.c: Likewise.
4477 * math/s_cexpf.c: Likewise.
4478 * math/s_cexpl.c: Likewise.
4479 * math/s_clog.c: Likewise.
4480 * math/s_clog10.c: Likewise.
4481 * math/s_clog10f.c: Likewise.
4482 * math/s_clog10l.c: Likewise.
4483 * math/s_clogf.c: Likewise.
4484 * math/s_clogl.c: Likewise.
4485 * math/s_csin.c: Likewise.
4486 * math/s_csinf.c: Likewise.
4487 * math/s_csinh.c: Likewise.
4488 * math/s_csinhf.c: Likewise.
4489 * math/s_csinhl.c: Likewise.
4490 * math/s_csinl.c: Likewise.
4491 * math/s_csqrt.c: Likewise.
4492 * math/s_csqrtf.c: Likewise.
4493 * math/s_csqrtl.c: Likewise.
4494 * math/s_ctan.c: Likewise.
4495 * math/s_ctanf.c: Likewise.
4496 * math/s_ctanh.c: Likewise.
4497 * math/s_ctanhf.c: Likewise.
4498 * math/s_ctanhl.c: Likewise.
4499 * math/s_ctanl.c: Likewise.
4500 * math/s_ldexp.c: Likewise.
4501 * math/s_ldexpf.c: Likewise.
4502 * math/s_ldexpl.c: Likewise.
4503 * math/s_significand.c: Likewise.
4504 * math/s_significandf.c: Likewise.
4505 * math/s_significandl.c: Likewise.
4506 * math/w_acos.c: Likewise.
4507 * math/w_acosf.c: Likewise.
4508 * math/w_acosh.c: Likewise.
4509 * math/w_acoshf.c: Likewise.
4510 * math/w_acoshl.c: Likewise.
4511 * math/w_acosl.c: Likewise.
4512 * math/w_asin.c: Likewise.
4513 * math/w_asinf.c: Likewise.
4514 * math/w_asinl.c: Likewise.
4515 * math/w_atan2.c: Likewise.
4516 * math/w_atan2f.c: Likewise.
4517 * math/w_atan2l.c: Likewise.
4518 * math/w_atanh.c: Likewise.
4519 * math/w_atanhf.c: Likewise.
4520 * math/w_atanhl.c: Likewise.
4521 * math/w_cosh.c: Likewise.
4522 * math/w_coshf.c: Likewise.
4523 * math/w_coshl.c: Likewise.
4524 * math/w_dremf.c: Likewise.
4525 * math/w_exp10.c: Likewise.
4526 * math/w_exp10f.c: Likewise.
4527 * math/w_exp10l.c: Likewise.
4528 * math/w_exp2.c: Likewise.
4529 * math/w_exp2f.c: Likewise.
4530 * math/w_fmod.c: Likewise.
4531 * math/w_fmodf.c: Likewise.
4532 * math/w_fmodl.c: Likewise.
4533 * math/w_hypot.c: Likewise.
4534 * math/w_hypotf.c: Likewise.
4535 * math/w_hypotl.c: Likewise.
4536 * math/w_j0.c: Likewise.
4537 * math/w_j0f.c: Likewise.
4538 * math/w_j0l.c: Likewise.
4539 * math/w_j1.c: Likewise.
4540 * math/w_j1f.c: Likewise.
4541 * math/w_j1l.c: Likewise.
4542 * math/w_jn.c: Likewise.
4543 * math/w_jnf.c: Likewise.
4544 * math/w_jnl.c: Likewise.
4545 * math/w_lgamma.c: Likewise.
4546 * math/w_lgamma_r.c: Likewise.
4547 * math/w_lgammaf.c: Likewise.
4548 * math/w_lgammaf_r.c: Likewise.
4549 * math/w_lgammal.c: Likewise.
4550 * math/w_lgammal_r.c: Likewise.
4551 * math/w_log.c: Likewise.
4552 * math/w_log10.c: Likewise.
4553 * math/w_log10f.c: Likewise.
4554 * math/w_log10l.c: Likewise.
4555 * math/w_log2.c: Likewise.
4556 * math/w_log2f.c: Likewise.
4557 * math/w_log2l.c: Likewise.
4558 * math/w_logf.c: Likewise.
4559 * math/w_logl.c: Likewise.
4560 * math/w_pow.c: Likewise.
4561 * math/w_powf.c: Likewise.
4562 * math/w_powl.c: Likewise.
4563 * math/w_remainder.c: Likewise.
4564 * math/w_remainderf.c: Likewise.
4565 * math/w_remainderl.c: Likewise.
4566 * math/w_scalb.c: Likewise.
4567 * math/w_scalbf.c: Likewise.
4568 * math/w_scalbl.c: Likewise.
4569 * math/w_sinh.c: Likewise.
4570 * math/w_sinhf.c: Likewise.
4571 * math/w_sinhl.c: Likewise.
4572 * math/w_sqrt.c: Likewise.
4573 * math/w_sqrtf.c: Likewise.
4574 * math/w_sqrtl.c: Likewise.
4575 * math/w_tgamma.c: Likewise.
4576 * math/w_tgammaf.c: Likewise.
4577 * math/w_tgammal.c: Likewise.
4578
4579 * po/ja.po: Update from translation team.
4580
4581 2011-09-29 Andreas Jaeger <aj@suse.de>
4582
4583 [BZ #13179]
4584 * sunrpc/netname.c (netname2host): Fix logic.
4585
4586 [BZ #6779]
4587 [BZ #6783]
4588 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4589 correctly.
4590 * math/w_remainder.c (__remainder): Likewise.
4591 * math/w_remainderf.c (__remainderf): Likewise.
4592 * math/libm-test.inc (remainder_test): Add test cases.
4593
4594 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4595
4596 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4597 sdiv_qrnnd.
4598
4599 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4600
4601 * string/test-memcmp.c: Avoid unncessary #defines.
4602 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4603
4604 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4605
4606 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4607 Use new sse2 version for core i3 - i7 as it's faster
4608 than sse42 version.
4609 (bit_Prefer_PMINUB_for_stringop): New.
4610 * sysdeps/x86_64/rawmemchr.S: Update.
4611 Replace with faster SSE2 version.
4612 * sysdeps/x86_64/memrchr.S: New file.
4613 * sysdeps/x86_64/memchr.S: Update.
4614 Replace with faster SSE2 version.
4615
4616 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4617
4618 * elf/dl-load.c (lose): Add cast to avoid warning.
4619
4620 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4621
4622 * po/ca.po: Update from translation team.
4623
4624 * inet/getnetgrent_r.c: Hook up nscd.
4625 * nscd/Makefile (routines): Add nscd_netgroup.
4626 (nscd-modules): Add netgroupcache.
4627 (CFLAGS-netgroupcache.c): Define.
4628 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4629 (cache_search): Add const to second parameter.
4630 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4631 INNETGR.
4632 (dbs): Add netgrdb entry.
4633 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4634 (verify_persistent_db): Handle netgrdb.
4635 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4636 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4637 GETFDNETGR.
4638 (netgroup_response_header): Define.
4639 (innetgroup_response_header): Define.
4640 (datahead): Add netgroup_response_header and innetgroup_response_header
4641 elements.
4642 * nscd/nscd.conf: Add entries for netgroup cache.
4643 * nscd/nscd.h (dbtype): Add netgrdb.
4644 (_PATH_NSCD_NETGROUP_DB): Define.
4645 (netgroup_iov_disabled): Declare.
4646 (xmalloc, xcalloc, xrealloc): Move declarations here.
4647 (cache_search): Adjust prototype.
4648 Add netgroup-related prototypes.
4649 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4650 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4651 (__nscd_innetgr): Declare.
4652 * nscd/selinux.c (perms): Use access_vector_t as element type and
4653 add netgroup-related initializers.
4654 * nscd/netgroupcache.c: New file.
4655 * nscd/nscd_netgroup.c: New file.
4656 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4657 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4658 For four parameters use innetgr.
4659 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4660 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4661 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4662 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4663
4664 * nscd/connections.c (register_traced_file): Don't register file
4665 for disabled databases.
4666
4667 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4668
4669 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4670
4671 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4672 from tree and freeing node.
4673
4674 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4675
4676 * nss/nsswitch.c (__nss_database_lookup): Handle
4677 nss_parse_service_list out of memory case.
4678
4679 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4680
4681 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4682 out of memory case.
4683
4684 2011-10-04 Andreas Schwab <schwab@redhat.com>
4685
4686 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4687 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4688 pass it down.
4689 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4690 elf_machine_rela, elf_machine_lazy_rel.
4691 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4692 (ELF_DYNAMIC_DO_REL): Likewise.
4693 (ELF_DYNAMIC_DO_RELA): Likewise.
4694 (ELF_DYNAMIC_RELOCATE): Likewise.
4695 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4696 to ELF_DYNAMIC_DO_REL.
4697 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4698 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4699 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4700 elf_machine_rela.
4701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4702 skip_ifunc, don't call ifunc function if non-zero.
4703 (elf_machine_rela): Likewise.
4704 (elf_machine_lazy_rel): Likewise.
4705 (elf_machine_lazy_rela): Likewise.
4706 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4707 (elf_machine_lazy_rel): Likewise.
4708 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4709 Likewise.
4710 (elf_machine_lazy_rel): Likewise.
4711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4712 Likewise.
4713 (elf_machine_lazy_rel): Likewise.
4714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4715 (elf_machine_lazy_rel): Likewise.
4716 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4717 (elf_machine_lazy_rel): Likewise.
4718 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4719 (elf_machine_lazy_rel): Likewise.
4720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4721 (elf_machine_lazy_rel): Likewise.
4722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4723 (elf_machine_lazy_rel): Likewise.
4724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4725 (elf_machine_lazy_rel): Likewise.
4726
4727 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4728
4729 * nss/nss_files/files-init.c (_nss_files_init): Use static
4730 initialization for all the *_traced_file variables.
4731
4732 2011-09-28 Andreas Schwab <schwab@redhat.com>
4733
4734 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4735
4736 2011-09-27 Roland McGrath <roland@hack.frob.com>
4737
4738 [BZ #13226]
4739 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4740
4741 2011-09-27 Andreas Schwab <schwab@redhat.com>
4742
4743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4744 Reread the line before reparsing it.
4745
4746 2011-09-26 Andreas Schwab <schwab@redhat.com>
4747
4748 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4749
4750 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4751 Maxim Kuvyrkov <maxim@codesourcery.com>
4752 Joseph Myers <joseph@codesourcery.com>
4753
4754 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4755 if needed for __stack_chk_guard.
4756
4757 2011-09-19 Roland McGrath <roland@hack.frob.com>
4758
4759 * sysdeps/posix/spawni.c (script_execute): Always define it.
4760 It will be optimized away if unused.
4761 (maybe_script_execute): New function.
4762 (__spawni): Call it.
4763
4764 * Makerules: Don't include tls.make.
4765 (config-tls): Always set to thread.
4766 * tls.make.c: File removed.
4767
4768 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4769
4770 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4771 * config.make.in (CPPFLAGS-config): New substituted variable.
4772
4773 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4774
4775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4776
4777 [BZ #13192]
4778 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4779 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4780
4781 2011-09-15 Roland McGrath <roland@hack.frob.com>
4782
4783 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4784 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4786 (CALL_FAIL): Likewise.
4787 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4788 (CALL_FAIL): Macro removed.
4789 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4790
4791 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4792
4793 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4794 for __FINITE_MATH_ONLY__ == 1.
4795
4796 2011-09-15 Andreas Schwab <schwab@redhat.com>
4797
4798 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4799 __ieee754_sqrt instead of sqrt.
4800 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4801 __ieee754_sqrtf instead of sqrtf.
4802 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4803 __floorf instead of floorf.
4804 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4805 __floorf, __truncf instead of floorf, truncf.
4806
4807 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4808
4809 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4810
4811 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4812 __extern_always_inline.
4813 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4814 32-bit.
4815
4816 2011-09-14 Andreas Schwab <schwab@redhat.com>
4817
4818 * elf/rtld.c (dl_main): Also relocate in dependency order when
4819 doing symbol dependency testing.
4820
4821 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4822
4823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4824 Always define `refsym'.
4825
4826 2011-09-13 Andreas Schwab <schwab@redhat.com>
4827
4828 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4829 (__FD_ELT): Renamed from __FDELT.
4830 * misc/bits/select2.h (__FD_ELT): Likewise.
4831 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4832 __FD_MASK instead of __FDELT, __FDMASK.
4833 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4834 Likewise.
4835 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4836 Likewise.
4837
4838 * elf/Makefile (gen-ldd): Fix pattern.
4839
4840 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4841 (init_tls): Likewise.
4842
4843 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4844
4845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4846
4847 2011-09-12 Andreas Schwab <schwab@redhat.com>
4848
4849 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4850 `struct cmsghdr *' instead of `void *'.
4851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4852 Likewise.
4853
4854 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4855
4856 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4857 if non-absolute.
4858 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4859 ldd_rewrite_script.
4860
4861 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4862
4863 * configure.in: Remove --with-tls option.
4864 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4865 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4866 out in case it is missing.
4867 * sysdeps/ia64/elf/configure.in: Likewise.
4868 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4869 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4870 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4871 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4872 * sysdeps/sh/elf/configure.in: Likewise.
4873 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4874 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4875 * sysdeps/x86_64/elf/configure.in: Likewise.
4876 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4877 * sysdeps/mach/hurd/tls.h: Likewise.
4878
4879 [BZ #13067]
4880 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4881
4882 [BZ #13090]
4883 * configure.in: Fix use of AC_INIT.
4884
4885 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4886
4887 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4888
4889 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4890 __set_errno.
4891 * malloc/hooks.c: Likewise.
4892
4893 [BZ #11929]
4894 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4895 variables statically.
4896 (narenas): Initialize.
4897 (list_lock): Initialize.
4898 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4899 initializtion of main_arena and list_lock. Small cleanups.
4900 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4901 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4902 Add initializers to main_arena and mp_.
4903 (malloc_state): Remove pagesize member. Change all users to use
4904 GLRO(dl_pagesize).
4905
4906 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4907 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4908 is always initialized.
4909
4910 * malloc/malloc.c: Removed unused configurations and dead code.
4911 * malloc/arena.c: Likewise.
4912 * malloc/hooks.c: Likewise.
4913 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4914
4915 * include/tls.h: Removed. USE___THREAD must always be defined.
4916 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4917 * elf/dl-libc.c: Likewise.
4918 * elf/dl-tsd.c: Likewise.
4919 * include/errno.h: Likewise.
4920 * include/netdb.h: Likewise.
4921 * include/resolv.h: Likewise.
4922 * inet/herrno-loc.c: Likewise.
4923 * inet/herrno.c: Likewise.
4924 * malloc/arena.c: Likewise.
4925 * malloc/hooks.c: Likewise.
4926 * malloc/malloc.c: Likewise.
4927 * resolv/res-state.c: Likewise.
4928 * resolv/res_libc.c: Likewise.
4929 * sysdeps/i386/dl-machine.h: Likewise.
4930 * sysdeps/ia64/dl-machine.h: Likewise.
4931 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4932 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4933 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4934 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4935 * sysdeps/sh/dl-machine.h: Likewise.
4936 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4937 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4938 * sysdeps/unix/i386/sysdep.S: Likewise.
4939 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4940 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4945 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4949 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4950 * sysdeps/x86_64/dl-machine.h: Likewise.
4951 * tls.make.c: Likewise.
4952
4953 * configure.in: Remove --with-__thread option. Make tests for
4954 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4955 tls_model attribute fail if no support is available. Remove
4956 USE_IN_LIBIO.
4957 * Makeconfig: Adjust for dropped configure option. All features are
4958 now mandatory.
4959 * Makerules: Likewise.
4960 * Versions.def: Likewise.
4961 * argp/argp-fmtstream.c: Likewise.
4962 * argp/argp-fmtstream.h: Likewise.
4963 * argp/argp-help.c: Likewise.
4964 * assert/assert.c: Likewise.
4965 * config.h.in: Likewise.
4966 * config.make.in: Likewise.
4967 * configure: Likewise.
4968 * configure.in: Likewise.
4969 * csu/Versions: Likewise.
4970 * csu/init.c: Likewise.
4971 * elf/tst-audit2.c: Likewise.
4972 * elf/tst-tls10.c: Likewise.
4973 * elf/tst-tls10.h: Likewise.
4974 * elf/tst-tls11.c: Likewise.
4975 * elf/tst-tls12.c: Likewise.
4976 * elf/tst-tls14.c: Likewise.
4977 * elf/tst-tlsmod11.c: Likewise.
4978 * elf/tst-tlsmod12.c: Likewise.
4979 * elf/tst-tlsmod13.c: Likewise.
4980 * elf/tst-tlsmod13a.c: Likewise.
4981 * elf/tst-tlsmod14a.c: Likewise.
4982 * elf/tst-tlsmod15b.c: Likewise.
4983 * elf/tst-tlsmod16a.c: Likewise.
4984 * elf/tst-tlsmod16b.c: Likewise.
4985 * elf/tst-tlsmod7.c: Likewise.
4986 * elf/tst-tlsmod8.c: Likewise.
4987 * elf/tst-tlsmod9.c: Likewise.
4988 * gmon/gmon.c: Likewise.
4989 * grp/fgetgrent_r.c: Likewise.
4990 * grp/putgrent.c: Likewise.
4991 * hurd/fopenport.c: Likewise.
4992 * include/libc-symbols.h: Likewise.
4993 * include/tls.h: Likewise.
4994 * intl/gettextP.h: Likewise.
4995 * intl/loadinfo.h: Likewise.
4996 * locale/global-locale.c: Likewise.
4997 * locale/localeinfo.h: Likewise.
4998 * mach/devstream.c: Likewise.
4999 * malloc/arena.c: Likewise.
5000 * malloc/set-freeres.c: Likewise.
5001 * misc/err.c: Likewise.
5002 * misc/getttyent.c: Likewise.
5003 * misc/mntent_r.c: Likewise.
5004 * posix/getopt.c: Likewise.
5005 * posix/wordexp.c: Likewise.
5006 * pwd/fgetpwent_r.c: Likewise.
5007 * resolv/Versions: Likewise.
5008 * resolv/res_hconf.c: Likewise.
5009 * shadow/fgetspent_r.c: Likewise.
5010 * shadow/putspent.c: Likewise.
5011 * stdio-common/printf_fphex.c: Likewise.
5012 * stdio-common/tmpfile.c: Likewise.
5013 * stdlib/abort.c: Likewise.
5014 * stdlib/fmtmsg.c: Likewise.
5015 * sunrpc/auth_unix.c: Likewise.
5016 * sunrpc/clnt_perr.c: Likewise.
5017 * sunrpc/clnt_tcp.c: Likewise.
5018 * sunrpc/clnt_udp.c: Likewise.
5019 * sunrpc/clnt_unix.c: Likewise.
5020 * sunrpc/openchild.c: Likewise.
5021 * sunrpc/svc_simple.c: Likewise.
5022 * sunrpc/svc_tcp.c: Likewise.
5023 * sunrpc/svc_udp.c: Likewise.
5024 * sunrpc/svc_unix.c: Likewise.
5025 * sunrpc/xdr.c: Likewise.
5026 * sunrpc/xdr_array.c: Likewise.
5027 * sunrpc/xdr_rec.c: Likewise.
5028 * sunrpc/xdr_ref.c: Likewise.
5029 * sunrpc/xdr_stdio.c: Likewise.
5030
5031 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5032
5033 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5034
5035 2011-07-03 Andreas Jaeger <aj@suse.de>
5036
5037 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5038 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5039 regenerate with gen-libm-tests.pl.
5040
5041 2010-05-12 Petr Baudis <pasky@suse.cz>
5042
5043 [BZ #11589]
5044 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5045 around j0() zero points by switching to j1().
5046 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5050
5051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5052
5053 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5054 instead of 0.
5055 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5056 instead of 0. .
5057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5058 Patch in part by Pavel Roskin <proski@gnu.org>.
5059
5060 [BZ #13138]
5061 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5062 realloc.
5063 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5064 Free memory block if necessary.
5065
5066 [BZ #12847]
5067 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5068 be NULL. Don't lock in this case.
5069
5070 2011-09-09 Roland McGrath <roland@hack.frob.com>
5071
5072 * elf/elf.h (ELFOSABI_GNU): New macro.
5073 (ELFOSABI_LINUX): Define to that.
5074
5075 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5076
5077 * string/strncat.c (strncat): Undef the symbol in case it has been
5078 defined in bits/string.h.
5079
5080 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5081
5082 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5083
5084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5085 link map.
5086
5087 2011-08-17 Andreas Jaeger <aj@suse.de>
5088
5089 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
5090
5091 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5092 Ian Lance Taylor <iant@google.com>
5093
5094 * math/libm-test.inc (lround_test): New testcase.
5095 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
5096
5097 2011-09-08 Ulrich Drepper <drepper@gmail.com>
5098
5099 * Makefile: Remove support for automatic cvs check-ins.
5100 * Makerules: Likewise.
5101 * config.make.in: Likewise.
5102 * configure.in: Likewise.
5103 * intl/Makefile: Likewise.
5104 * locale/Makefile: Likewise.
5105 * po/Makefile: Likewise.
5106 * posix/Makefile: Likewise.
5107 * sysdeps/gnu/Makefile: Likewise.
5108 * sysdeps/mach/hurd/Makefile: Likewise.
5109 * sysdeps/sparc/sparc32/Makefile: Likewise.
5110
5111 [BZ #13118]
5112 * posix/Makefile (bug-regex32-ENV): Define.
5113 Patch by John Stanley <jpsinthemix@verizon.net>.
5114
5115 * misc/Makefile (headers): Add bits/select2.h.
5116 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
5117 * misc/bits/select2.h: New file.
5118 * include/bits/select2.h: New file.
5119 * debug/Makefile (routines): Add fdelt_chk.
5120 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
5121 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
5122 FD_ISSET.
5123 * debug/fdelt_chk.c: New file.
5124
5125 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
5126 * wcsmbs/test-wmemcmp.c: Likewise.
5127 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
5128 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
5129
5130 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5131
5132 * string/Makefile (strop-tests): Add memcmp.
5133 * string/test-wmemcmp.c: New file.
5134 * string/test-memcmp.c: Add wmemcmp support.
5135
5136 2011-09-08 Roland McGrath <roland@hack.frob.com>
5137
5138 [BZ #13153]
5139 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
5140 2011-07-19 change.
5141
5142 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
5143 garbage value in a __mach_port_mod_refs call in the cases of the
5144 task-self and thread-self ports.
5145
5146 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5147
5148 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
5149
5150 2011-09-08 Andreas Schwab <schwab@redhat.com>
5151
5152 * elf/dl-load.c (lose): Check for non-null L.
5153
5154 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5155
5156 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
5157
5158 * elf/dl-libc.c (dlerror_run): Pass back error code from
5159 dl_catch_error.
5160
5161 [BZ #13123]
5162 * elf/dl-load.c (lose): Free l_origin if it is valid.
5163
5164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
5165 names.
5166 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5169 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5170 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5171 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
5172
5173 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5174
5175 * sysdeps/powerpc/fpu/e_hypot.c: New file.
5176 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
5177 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
5178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
5179 * sysdeps/powerpc/fpu/k_cosf.c: New file.
5180 * sysdeps/powerpc/fpu/k_sinf.c: New file.
5181 * sysdeps/powerpc/fpu/s_cosf.c: New file.
5182 * sysdeps/powerpc/fpu/s_sinf.c: New file.
5183 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
5184 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
5185
5186 2011-08-15 Alan Modra <amodra@gmail.com>
5187
5188 [BZ #13092]
5189 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
5190 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
5191 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
5192 ppc_mcount to static-only-routines.
5193 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
5194 __mcount_internal.
5195 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
5196 __mcount_internal with usual JUMPTARGET. Remove useless nop.
5197
5198 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
5199
5200 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
5201 for finite and infinity parameters.
5202
5203 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5204
5205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
5206 and add nop instructions for throughput optimization.
5207 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5208
5209 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
5210
5211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
5212 aligned copy for power7 with vector-scalar instructions.
5213 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5214
5215 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
5216
5217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
5218 AVX check.
5219
5220 2011-09-07 Andreas Schwab <schwab@redhat.com>
5221
5222 [BZ #13144]
5223 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
5224 last change.
5225
5226 2011-09-07 Ulrich Drepper <drepper@gmail.com>
5227
5228 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5229 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
5230 syscall wrapper around clock_gettime in __vdso_clock_gettime.
5231 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
5232 clock_gettime.
5233
5234 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5235
5236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
5237 Forgot to demangle the pointer.
5238
5239 * sysdeps/i386/sysdep.h: Define atom_text_section.
5240 * sysdeps/x86_64/sysdep.h: Likewise.
5241 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
5242 section with atom_text_section.
5243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5247 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
5248
5249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
5250 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
5251 already be defined. Change to take two parameters and don't assign
5252 result to variable. Adjust all users.
5253 Define INTERNAL_GETTIME if not already defined.
5254 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
5255 call.
5256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
5257 HAVE_CLOCK_GETTIME_VSYSCALL.
5258 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
5259
5260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
5261 gettimeofday vsyscall, just use time.
5262
5263 2011-09-06 Andreas Schwab <schwab@redhat.com>
5264
5265 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
5266 <errno.h>.
5267
5268 2011-09-06 Ulrich Drepper <drepper@gmail.com>
5269
5270 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
5271 syscall on x86-64.
5272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
5273 syscall.
5274 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
5276 syscall if possible.
5277
5278 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5279
5280 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
5281 e_ident. Don't pass to find_mapsXX.
5282 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
5283
5284 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5285
5286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5287 strchr-sse2-no-bsf strrchr-sse2-no-bsf
5288 * sysdeps/x86_64/multiarch/strchr.S: Update.
5289 Check bit_slow_BSF bit.
5290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5291 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
5292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
5293
5294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5295
5296 [BZ #13134]
5297 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5298 before glibc 2.15.
5299 (tryshell): Define.
5300 (__spawni): Change last parameter to be flag. Test
5301 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5302 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5303 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5304 * posix/spawni.c: Likewise.
5305 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5306 * posix/spawnp.c: Likewise. Change normal version to use
5307 SPAWN_XFLAGS_USE_PATH.
5308 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5309 SPAWN_XFLAGS_TRY_SHELL.
5310
5311 [BZ #13150]
5312 * posix/glob.h: Remove gcc 1.x support.
5313
5314 [BZ #13068]
5315 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5316
5317 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5318
5319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5320 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5321 strrchr-sse2-bsf
5322 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5323 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5326 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5327 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5328
5329 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5330
5331 * sysdeps/x86_64/wcscmp.S: New file.
5332
5333 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5334 wcscmp-c wcscmp-sse2
5335 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5336 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5338 * wcsmbs/wcscmp.c: Allow renaming.
5339
5340 2011-09-05 David S. Miller <davem@davemloft.net>
5341
5342 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5343 stack slot, rather than the struct return pointer slot.
5344 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5345 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5348
5349 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5350
5351 * po/ja.po: Update from translation team.
5352
5353 [BZ #13144]
5354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5355 kernel in 64-bit binaries.
5356
5357 2011-09-01 David S. Miller <davem@davemloft.net>
5358
5359 * elf/elf.h (HWCAP_SPARC_*): Move to..
5360 * sysdeps/sparc/sysdep.h: this new file and add new values.
5361 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5362 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5363 _DL_HWCAP_COUNT to 24.
5364 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5365 entries.
5366 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5367 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5368 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5370 instead of magic constants.
5371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5372
5373 2011-08-31 David S. Miller <davem@davemloft.net>
5374
5375 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5377 Reimplement to do errno handling inline.
5378 (SYSCALL_ERROR_HANDLER): New macro.
5379 (__SYSCALL_STRING): Do not do errno handling in asm.
5380 (__CLONE_SYSCALL_STRING): Delete.
5381 (__INTERNAL_SYSCALL_STRING): Delete.
5382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5383 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5384 (PSEUDO): Reimplement to do errno handling inline.
5385 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5386 (SYSCALL_ERROR_HANDLER): New macro.
5387 (__SYSCALL_STRING): Do not do errno handling in asm.
5388 (__CLONE_SYSCALL_STRING): Delete.
5389 (__INTERNAL_SYSCALL_STRING): Delete.
5390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5391 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5392 i386.
5393 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5394 (inline_syscall*): Add 'err' argument.
5395 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5396 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5397 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5398 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5399
5400 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5402
5403 2011-08-30 Andreas Schwab <schwab@redhat.com>
5404
5405 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5406
5407 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5408
5409 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5410 directive.
5411
5412 2011-08-24 David S. Miller <davem@davemloft.net>
5413
5414 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5415
5416 2011-08-24 Andreas Schwab <schwab@redhat.com>
5417
5418 * elf/Makefile: Add rules to build and run unload8 test.
5419 * elf/unload8.c: New file.
5420 * elf/unload8mod1.c: New file.
5421 * elf/unload8mod1x.c: New file.
5422 * elf/unload8mod2.c: New file.
5423 * elf/unload8mod3.c: New file.
5424
5425 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5426 it wasn't used.
5427
5428 2011-08-23 David S. Miller <davem@davemloft.net>
5429
5430 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5431 subtract stack bias.
5432 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5433 %sp not %fp in calculations.
5434 (_JMPBUF_UNWINDS_ADJ): Likewise.
5435
5436 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5437 (aio_suspend): Call it to force an exception region around the
5438 AIO_MISC_WAIT() invocation.
5439
5440 2011-08-23 Andreas Schwab <schwab@redhat.com>
5441
5442 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5443 backslash.
5444
5445 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5446
5447 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5448 protection macro.
5449 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5450 and <dl-machine.h>.
5451 (Elf64_FuncDesc): Remove.
5452
5453 2011-08-22 David S. Miller <davem@davemloft.net>
5454
5455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5456 sigaltstack check, add missing cfi directives.
5457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5458 missing cfi directives, and sigaltstack handling.
5459
5460 2011-08-16 Andreas Schwab <schwab@redhat.com>
5461
5462 [BZ #11724]
5463 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5464 object is seen twice.
5465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5466
5467 * elf/Makefile (distribute): Add tst-initorder2.c.
5468 (tests): Add tst-initorder2.
5469 (modules-names): Add tst-initorder2a tst-initorder2b
5470 tst-initorder2c tst-initorder2d. Add rules to build them.
5471 ($(objpfx)tst-initorder2.out): New rule.
5472 * elf/tst-initorder2.c: New file.
5473 * elf/tst-initorder2.exp: New file.
5474
5475 2011-08-22 Andreas Schwab <schwab@redhat.com>
5476
5477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5478
5479 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5480 dependencies back to end of function.
5481
5482 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5483 $(elfobjdir)/ld.so.
5484
5485 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5486
5487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5488 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5490 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5491 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5492 of __vdso_gettimeofday.
5493 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5494 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5495 attribute_hidden.
5496 (_libc_vdso_platform_setup): Remove initialization of
5497 __vdso_gettimeofday and __vdso_time.
5498
5499 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5500
5501 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5502 and fgetc_unlocked.
5503 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5504 getc_unlocked.
5505
5506 * elf/dl-open.c (add_to_global): Report additions to the global scope
5507 for LD_DEBUG=scopes.
5508 (dl_open_worker): Also print scope of newly loaded dependencies.
5509 (_dl_show_scope): Indicate if there is no scope.
5510
5511 [BZ #13114]
5512 * stdio-common/Makefile (tests): Add bug24.
5513 * stdio-common/bug24.c: New file.
5514
5515 2011-08-19 Andreas Jaeger <aj@suse.de>
5516
5517 [BZ #13114]
5518 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5519 non-existant file when using close-on-exec mode.
5520
5521 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5522
5523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5524 the very first instruction.
5525
5526 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5527 the CFI state in the end.
5528 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5529 inclusion of dl-trampoline.h.
5530 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5531
5532 2011-08-19 Andreas Schwab <schwab@redhat.com>
5533
5534 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5535 expectations for long double.
5536
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5538 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5539
5540 2011-08-14 David S. Miller <davem@davemloft.net>
5541
5542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5543 artificual limit depends upon the system page size.
5544
5545 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5546
5547 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5548 * resolv/Makefile: Define CFLAGS-libresolv.
5549
5550 2011-08-17 Andreas Schwab <schwab@redhat.com>
5551
5552 * nss/makedb.c (compute_tables): Make variables used in nested
5553 function static.
5554
5555 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5556
5557 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5558 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5559 if buffer was too small.
5560
5561 * elf/pldd.c (main): Attach to all threads in the process.
5562 Rewrite /proc handling to use *at functions.
5563
5564 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5565
5566 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5567 specifies first scope to show.
5568 (dl_open_worker): Update callers. Move printing scope of new
5569 object to before the relocation.
5570 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5571 * sysdeps/generic/ldsodefs.h: Update declaration.
5572
5573 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5574 string for the scope number.
5575
5576 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5577
5578 * nscd/servicescache.c (cache_addserv): Make sure written is always
5579 initialized.
5580
5581 2011-08-14 Roland McGrath <roland@hack.frob.com>
5582
5583 * sysdeps/i386/i486/bits/atomic.h
5584 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5585 statement expression, so as to suppress "set but not used" warning.
5586 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5587
5588 * string/strncat.c (STRNCAT): Use prototype definition.
5589
5590 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5591 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5592 -Iprograms here.
5593 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5594 (localedef-modules): Add localedef.
5595 (locale-modules): Add locale.
5596
5597 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5598 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5599 to avoid a warning.
5600
5601 2011-08-14 David S. Miller <davem@davemloft.net>
5602
5603 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5604 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5605
5606 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5607
5608 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5609 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5610 * elf/rtld.c (dl_main): Set l_name of vDSO.
5611 Call _dl_show_scope when DL_DEBUG_SCOPES.
5612 (process_dl_debug): Recognize scopes flag and also set it for all.
5613 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5614 Declare _dl_show_scope.
5615
5616 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5617 (do_dlopen): Pass caller_dlopen to dl_open.
5618 (__libc_dlopen_mode): Initialize caller_dlopen.
5619
5620 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5621 of libc. Make tolower call locale-independent. Optimize a bit by
5622 using isdigit instead of isalnum.
5623 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5624
5625 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5626
5627 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5628 was a dependency or dynamically loaded.
5629
5630 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5631
5632 * intl/l10nflist.c: Allow architecture-specific pop function.
5633 * sysdeps/x86_64/l10nflist.c: New file.
5634
5635 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5636 classification.
5637
5638 2011-08-10 Andreas Schwab <schwab@redhat.com>
5639
5640 * include/dirent.h: Add libc_hidden_proto for scandirat and
5641 scandirat64. Don't declare __scandirat64.
5642 * dirent/scandirat.c: Add libc_hidden_def.
5643 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5644 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5645
5646 2011-08-10 David S. Miller <davem@davemloft.net>
5647
5648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5649 enum.
5650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5653
5654 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5655
5656 * Versions.def [libc]: Add GLIBC_2.15.
5657 * dirent/Makefile (routines): Add scandirat and scandirat64.
5658 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5659 GLIBC_2.15.
5660 * dirent/dirent.h: Declare scandirat and scandirat64.
5661 * dirent/scandirat.c: New file.
5662 * dirent/scandirat64.c: New file.
5663 * sysdeps/wordsize-64/scandirat.c: New file.
5664 * sysdeps/wordsize-64/scandirat64.c: New file.
5665 * dirent/opendir.c: Define opendirat.
5666 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5667 using scandirat.
5668 * dirent/scandir64.c: Adjust for scandir.c change.
5669 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5670 __scandirat64, and __scandir_cancel_handler.
5671 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5672 additional parameter and use openat instead of open (outside of ld.so).
5673 Add new __opendir as wrapper around __opendirat.
5674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5675 here without requiring old scandirat implementation.
5676
5677 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5678
5679 * dirent/scandir.c (cancel_handler): Renamed to
5680 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5681 defined. Adjust users.
5682 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5684
5685 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5686
5687 * string/test-string.h (IMPL): Use __STRING to expand name and then
5688 stringify it.
5689
5690 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5691 of cleanups.
5692
5693 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5694
5695 * string/Makefile: Update.
5696 (strop-tests): Append strncat.
5697 * string/test-wcscmp.c: New file.
5698 New comprehensive test for wcscmp.
5699 * string/test-strcmp.c: Update.
5700 (WIDE): New define.
5701
5702 2011-07-22 Andreas Schwab <schwab@redhat.com>
5703
5704 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5705 line.
5706
5707 2011-07-26 Andreas Schwab <schwab@redhat.com>
5708
5709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5710 encoding to ACE if AI_IDN.
5711
5712 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5713
5714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5715 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5716
5717 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5718
5719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5720 Fix overflow bug in strncat.
5721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5722
5723 * string/test-strncat.c: Update.
5724 Add new tests for checking overflow bugs.
5725
5726 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5727
5728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5729 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5730 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5731 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5733 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5734 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5735 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5736 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5737
5738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5739 (USE_AS_STRCAT): Define.
5740 Add strcat and strncat support.
5741 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5742
5743 2011-07-25 Andreas Schwab <schwab@redhat.com>
5744
5745 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5746 __n bigger than INT_MAX+1.
5747 (__strncmp_g): Likewise.
5748
5749 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5750
5751 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5752 * libio/stido.h: Likewise.
5753
5754 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5755 (AF_NFC): Define.
5756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5757 (AF_NFC): Define.
5758
5759 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5762 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5764
5765 [BZ #13021]
5766 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5767 installed.
5768
5769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5770 typo.
5771 (_dl_x86_64_save_sse): Likewise.
5772
5773 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5774
5775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5776 OSXSAVE.
5777 (_dl_x86_64_save_sse): Likewise.
5778
5779 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5780
5781 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5782
5783 2011-07-21 Andreas Schwab <schwab@redhat.com>
5784
5785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5786 change.
5787 (_dl_x86_64_save_sse): Use correct AVX check.
5788
5789 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5790
5791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5792 bug in strncpy/strncat.
5793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5794
5795 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5796
5797 * string/tester.c (test_strcat): Add tests for different alignments
5798 of source and destination.
5799 (test_strncat): Likewise.
5800
5801 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5802
5803 [BZ #12852]
5804 * posix/glob.c (glob): Check passed in values before using them in
5805 expressions to avoid some overflows.
5806 (glob_in_dir): Likewise.
5807
5808 [BZ #13007]
5809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5810 check for AVX enablement so that we don't crash with old kernels and
5811 new hardware.
5812 * elf/tst-audit4.c: Add same checks here.
5813 * elf/tst-audit6.c: Likewise.
5814
5815 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5816
5817 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5818
5819 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5820
5821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5822
5823 * po/cs.po: Update from translation team.
5824 * po/bg.po: Likewise.
5825
5826 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5827
5828 * misc/sys/cdefs.h: Add support for const attribute.
5829 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5830 to gnu_dev_{major,minor,makedev} functions.
5831
5832 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5833
5834 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5835
5836 2011-07-20 Andreas Schwab <schwab@redhat.com>
5837
5838 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5839 strlen results.
5840
5841 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5842
5843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5844 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5845 register in order to avoid conflicts with the soft frame pointer
5846 being held in r11 when necessary.
5847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5848 (INTERNAL_VSYSCALL_NCS): Likewise.
5849
5850 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5851
5852 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5853 * elf/dl-fini.c (_dl_fini): Adjust caller.
5854 * elf/dl-close.c (_dl_close_worker): Likewise.
5855 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5856
5857 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5858
5859 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5860 "aux_cache->nlibs < 0".
5861
5862 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5863 in the reload-count case.
5864
5865 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5866
5867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5868 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5869 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5870 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5871 * sysdeps/x86_64/multiarch/strcat.S: New file.
5872 * sysdeps/x86_64/multiarch/strncat.S: New file.
5873 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5874 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5875 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5876 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5878 (USE_AS_STRCAT): Define.
5879 Add strcat and strncat support.
5880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5882 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5883 * string/strncat.c: Update.
5884 (USE_AS_STRNCAT): Define.
5885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5886 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5887 and i7.
5888 * sysdeps/x86_64/multiarch/init-arch.h
5889 (bit_Prefer_PMINUB_for_stringop): New.
5890 (index_Prefer_PMINUB_for_stringop): Likewise.
5891 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5892 bit_Prefer_PMINUB_for_stringop.
5893
5894 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5895
5896 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5897 buffer64.
5898 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5899 of casting of buffer.
5900 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5901 buffer32 and buffer64.
5902 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5903 writes instead of casting of buffer.
5904 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5905 buffer32.
5906 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5907 casting of buffer.
5908
5909 2011-07-19 Andreas Schwab <schwab@redhat.com>
5910
5911 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5912
5913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5914
5915 * nscd/nscd.c (termination_handler): Don't do anything for a database
5916 if it has not yet been initialized.
5917
5918 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5919
5920 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5921
5922 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5923
5924 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5925
5926 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5927
5928 * po/nl.po: Update from translation team.
5929 * po/sv.po: Likewise.
5930
5931 2011-07-16 Roland McGrath <roland@hack.frob.com>
5932
5933 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5934 now disallowed by GCC.
5935
5936 * configure.in (use-default-link): Default to yes if a test -shared
5937 link meets our qualifications.
5938 * configure: Regenerated.
5939
5940 * config.make.in (output-format): New variable.
5941 * configure.in: Check for ld --print-output-format support.
5942 * configure: Regenerated.
5943 * Makerules ($(common-objpfx)format.lds)
5944 [$(output-format) != unknown]: Just use $(output-format),
5945 instead of the linker-script munging.
5946
5947 2011-07-14 Roland McGrath <roland@hack.frob.com>
5948
5949 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5950 of $(common-objpfx)shlib.lds.
5951 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5952
5953 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5954 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5955
5956 * configure.in (-z relro check): Adjust test code to add a large
5957 writable data section after it.
5958 * configure: Regenerated.
5959
5960 2011-07-11 Roland McGrath <roland@hack.frob.com>
5961
5962 * configure.in (-z relro check): Fix test code to make the variable
5963 truly const.
5964 * configure: Regenerated.
5965
5966 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5967
5968 * nscd/nscd.h (struct traced_file): Define.
5969 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5970 elements. Add traced_files.
5971 (inotify_fd): Declare.
5972 (register_traced_file): Declare.
5973 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5974 (inotify_fd): Export.
5975 (resolv_conf_descr): Remove.
5976 (nscd_init): Move inotify descriptor creation to main.
5977 Don't register files for notification here.
5978 (register_traced_file): New function.
5979 (invalidate_cache): Don't use reset_res to determine whether to call
5980 res_init, go through the list of registered files.
5981 (main_loop_poll): The inotify descriptors are now stored in the
5982 structures for the traced files.
5983 (main_loop_epoll): Likewise
5984 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5985 to __nss_disable_nscd.
5986 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5987 for a database anymore. Check the records for all the registered
5988 files instead.
5989 * nss/Makefile (libnss_files-routines): Add files-init.
5990 (libnss_db-routines): Add db-init.
5991 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5992 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5993 * nss/nss_db/db-init.c: New file.
5994 * nss/nss_files/files-init.c: New file.
5995 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5996 __nss_lookup_function.
5997 (__nss_lookup_function): Call nss_load_library.
5998 (nss_load_all_libraries): New function.
5999 (__nss_disable_nscd): Take parameter with callback function for files
6000 to register. Set is_nscd. Load all the DSOs for the NSS modules
6001 used for the cached services.
6002 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6004 options for features to all the files in nscd.
6005
6006 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6007
6008 2011-07-10 Roland McGrath <roland@hack.frob.com>
6009
6010 * csu/elf-init.c (__libc_csu_init): Comment typo.
6011
6012 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6013
6014 * po/pl.po: Update from translation team.
6015 * po/ja.po: Likewise.
6016 * po/ru.po: Likewise.
6017 * po/ko.po: Likewise.
6018 * po/fr.po: Likewise.
6019
6020 2011-07-09 Roland McGrath <roland@hack.frob.com>
6021
6022 * configure.in (.ctors/.dtors header and trailer check):
6023 Use an empirical test on a built program.
6024 * configure: Regenerated.
6025
6026 * configure.in (-z relro check): Use an empirical test on a built DSO.
6027 Detect, but do not require, on ia64.
6028 * configure: Regenerated.
6029
6030 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6031 Update tests that use readelf to use $READELF instead.
6032 * configure: Regenerated.
6033
6034 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6035
6036 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6037 if the result is not used.
6038
6039 2011-07-05 Andreas Jaeger <aj@suse.de>
6040
6041 [BZ#9696]
6042 * stdlib/tst-strtod.c: Add testcase.
6043
6044 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6045
6046 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6047 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6048 The latter has a higher limit. Take additional parameter to pass to
6049 the new function.
6050 (__pathconf): Pass file to __statfs_link_max.
6051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6052 __statfs_link_max.
6053 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6054 __statfs_link_max.
6055
6056 [BZ #12868]
6057 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6058 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6059 Handle Lustre.
6060 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6061 (__statfs_filesize_max): Likewise.
6062 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6063
6064 2011-07-05 Andreas Jaeger <aj@suse.de>
6065
6066 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6067
6068 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6069
6070 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6071 `status' variable.
6072 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6073 Likewise.
6074
6075 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 * Makefile (strop-tests): Add strncat.
6078 * string/test-strncat.c: New file.
6079
6080 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6081
6082 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6083
6084 2011-06-21 Andreas Jaeger <aj@suse.de>
6085
6086 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6087 Copy rule from iconvdata/Makefile.
6088
6089 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6090
6091 [BZ #12922]
6092 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
6093 but no long options are defined, just return 'W'.
6094
6095 2011-06-22 Marek Polacek <mpolacek@redhat.com>
6096
6097 [BZ #9696]
6098 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
6099
6100 2011-07-06 Ulrich Drepper <drepper@gmail.com>
6101
6102 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
6103 netgroups to read.
6104 (innetgr): Likewise.
6105
6106 2011-07-05 Roland McGrath <roland@hack.frob.com>
6107
6108 * config.make.in (install_root): Default to $(DESTDIR).
6109
6110 2011-07-05 Ulrich Drepper <drepper@gmail.com>
6111
6112 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
6113
6114 2011-07-02 Roland McGrath <roland@hack.frob.com>
6115
6116 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
6117
6118 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
6119 containing directory rather than embedding absolute directory names.
6120
6121 * scripts/check-local-headers.sh: Rewritten using awk.
6122 Match by word, not by line. Print error messages for matches.
6123 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
6124
6125 * Makerules [shlib-lds-flags empty]:
6126 ($(common-objpfx)libc_pic.opts): New target.
6127 ($(common-objpfx)libc_pic.os.clean): New target.
6128 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
6129
6130 * config.make.in (OBJCOPY): New variable.
6131 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
6132 * configure: Regenerated.
6133
6134 * config.make.in (use-default-link): New variable.
6135 * configure.in (use_default_link): Grok --with-default-link to set it.
6136 * configure: Regenerated.
6137 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
6138 (shlib-lds, shlib-lds-flags): Define to empty.
6139
6140 * Makerules (shlib-lds): New variable.
6141 (shlib-lds-flags): New variable.
6142 (build-shlib, build-moduile, build-module-asneeded): Use it.
6143 ($(common-objpfx)libc.so): Use $(shlib-lds).
6144 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
6145 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
6146
6147 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
6148 DT_FLAGS/DT_FLAGS_1 with zero flags.
6149
6150 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
6151 linker script munging.
6152
6153 2011-07-02 Ulrich Drepper <drepper@gmail.com>
6154
6155 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
6156 as 128-bit value.
6157 * crypt/sha512.c (sha512_process_block): Perform total addition using
6158 128-bit if possible.
6159 (__sha512_finish_ctx): Likewise.
6160 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
6161 as 64-bit value.
6162 * crypt/sha256.c (SWAP64): Define.
6163 (sha256_process_block): Perform total addition using 64-bit if
6164 possible.
6165 (__sha256_finish_ctx): Likewise.
6166
6167 2011-07-01 Ulrich Drepper <drepper@gmail.com>
6168
6169 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
6170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6171 * nscd/hstcache.c (cache_addhst): Likewise.
6172 * nscd/grpcache.c (cache_addgr): Likewise.
6173 * nscd/aicache.c (addhstaiX): Likewise
6174 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
6175
6176 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
6177
6178 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
6179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6180 * nscd/hstcache.c (cache_addhst): Likewise.
6181 * nscd/grpcache.c (cache_addgr): Likewise.
6182 * nscd/aicache.c (addhstaiX): Likewise
6183
6184 2011-07-01 Andreas Schwab <schwab@redhat.com>
6185
6186 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
6187 domain only when needed.
6188
6189 2011-06-30 Andreas Schwab <schwab@redhat.com>
6190
6191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
6192 is always restored.
6193
6194 2011-06-29 Ulrich Drepper <drepper@gmail.com>
6195
6196 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
6197 are re-adding the entry.
6198 * nscd/servicescache.c (cache_addserv): Likewise.
6199
6200 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
6201
6202 * sysdeps/generic/dl-irel.h: fix protection against multiple
6203 inclusions.
6204 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
6205
6206 2011-06-28 Ulrich Drepper <drepper@gmail.com>
6207
6208 [BZ #12935]
6209 * malloc/memusage.sh: Fix quoting in message.
6210 * debug/xtrace.sh: Likewise.
6211
6212 * configure.in: Remove support for --experimental-malloc option, make
6213 it the default.
6214 * config.make.in: Likewise.
6215 * malloc/Makefile: Likewise.
6216
6217 2011-06-27 Andreas Schwab <schwab@redhat.com>
6218
6219 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
6220 two-byte characters.
6221
6222 2011-06-27 Roland McGrath <roland@hack.frob.com>
6223
6224 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
6225 AC_CACHE_CHECK invocation.
6226 * configure: Regenerated.
6227
6228 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
6229
6230 2011-06-27 Ulrich Drepper <drepper@gmail.com>
6231
6232 [BZ #12350]
6233 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
6234 bit from old_res_options.
6235
6236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
6237
6238 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
6239 value type for setfct.
6240
6241 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
6242
6243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6244 __gettimeofday instead of gettimeofday.
6245
6246 2011-06-26 Ulrich Drepper <drepper@gmail.com>
6247
6248 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
6249
6250 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
6251
6252 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
6253
6254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
6255 info.
6256
6257 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6258
6259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6260 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6261 strcpy-sse2-unaligned strncpy-sse2-unaligned
6262 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
6263 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
6264 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
6265 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
6266 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
6267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
6268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
6269 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
6270 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
6271 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
6272 (STRCPY): Support SSE2 and SSSE3 versions.
6273
6274 2011-06-24 Ulrich Drepper <drepper@gmail.com>
6275
6276 [BZ #12874]
6277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
6278 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
6279 kernels which artificially limit size of requests.
6280
6281 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
6282
6283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6284 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
6285 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
6286 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
6287 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
6288 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
6289 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
6290 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
6291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
6292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
6293 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
6294 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
6295 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
6296 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
6297 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6299 Enable unaligned load optimization for Intel Core i3, i5 and i7
6300 processors.
6301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6302 Define.
6303 (index_Fast_Unaligned_Load): Define.
6304 (HAS_FAST_UNALIGNED_LOAD): Define.
6305
6306 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6307
6308 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6309
6310 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6311
6312 [BZ #12907]
6313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6314 until it is clear that the information is realy needed.
6315 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6316
6317 2011-06-22 Andreas Schwab <schwab@redhat.com>
6318
6319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6320
6321 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6322
6323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6324 /sys/devices/system/cpu/online if it is usable.
6325
6326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6327 reading the information from the /proc filesystem to once a second.
6328
6329 2011-06-21 Andreas Jaeger <aj@suse.de>
6330
6331 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6332 NULL after inclusion of kernel headers.
6333
6334 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6335
6336 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6337 calls to internal_setent.
6338
6339 [BZ #12885]
6340 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6341 addresses using gethostbyname4_r ignore IPv4 addresses.
6342
6343 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6344 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6345
6346 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6347
6348 2011-06-20 David S. Miller <davem@davemloft.net>
6349
6350 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6351 inclusions.
6352 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6353
6354 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6355 (elf_irel): Use it.
6356 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6357 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6358 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6359 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6360 * sysdeps/x86_64/dl-irel.h: Likewise.
6361
6362 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6363 * elf/dl-sym.c: Likewise.
6364
6365 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6366
6367 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6368 need to dereference resplen2.
6369
6370 2011-06-14 Andreas Schwab <schwab@redhat.com>
6371
6372 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6373
6374 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6375
6376 * Makeconfig: Define vardbdir and inst_vardbdir.
6377 * nss/Makefile: Add rules to install db-Makefile.
6378
6379 * nss/nss_db/db-XXX.c: Cleanup.
6380
6381 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6382 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6383 GLIBC_PRIVATE.
6384 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6385 * nss/makedb.c: Implement -g option to specify that value strings
6386 are generated and should not be added to table iterated over for
6387 get*ent calls.
6388 * nss/nss_db/db-initgroups.c: New file.
6389
6390 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6391 interface.
6392
6393 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6394 (internal_getgrouplist): Adjust to name change.
6395 Update use_initgroups_entry if this is not the first call.
6396 * nss/databases.def: Add initgroups entry.
6397
6398 * nss/makedb.c (compute_tables): Check result of multiple hash table
6399 sizes to minimize maximum chain length.
6400
6401 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6402
6403 * Versions.def: Add entry for libnss_db.
6404 * shlib-versions: Likewise.
6405 * nss/Makefile: Add rules to build libnss_db.
6406 * nss/Versions: Add libnss_db information. Organize libnss_files
6407 entries better.
6408 * nss/db-Makefile: Add gshadow support. Change rules for the new
6409 makedb progra. Some minor improvements to generate smaller files.
6410 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6411 here from...
6412 * nss/makedb.c: ...here.
6413 Improve database format to be smaller and require less memory at
6414 runtime.
6415 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6416 db anymore.
6417 * nss/nss_db/db-netgrp.c: Likewise.
6418 * nss/nss_db/db-open.c: Likewise.
6419 * nss/nss_files/flies-XXX.x: Adjust comments.
6420 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6421 * nss/nss_files/files-grp.c: Likewise.
6422 * nss/nss_files/files-hosts.c: Likewise.
6423 * nss/nss_files/files-network.c: Likewise.
6424 * nss/nss_files/files-proto.c: Likewise.
6425 * nss/nss_files/files-pwd.c: Likewise.
6426 * nss/nss_files/files-rpc.c: Likewise.
6427 * nss/nss_files/files-service.c: Likewise.
6428 * nss/nss_files/files-sgrp.c: Likewise.
6429 * nss/nss_files/files-spwd.c: Likewise.
6430 * nss/nss_db/db-alias.c: Removed.
6431 * nss/nss_db/dummy-db.h: Removed.
6432
6433 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6434
6435 * nss/makedb.c: Rewritten to not use database library.
6436 * nss/Makefile: Update to build new makedb program.
6437
6438 2011-06-14 Andreas Jaeger <aj@suse.de>
6439
6440 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6441 memset declaration.
6442
6443 2011-06-10 Andreas Schwab <schwab@redhat.com>
6444
6445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6446 tmpbuf.
6447
6448 2011-06-10 Roland McGrath <roland@hack.frob.com>
6449
6450 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6451 * elf/Makefile ($(objpfx)ld.so): Likewise.
6452
6453 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6454 Don't list ld.so twice in dependencies.
6455
6456 * posix/bug-regex31.c: Include <stdlib.h>.
6457
6458 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6459
6460 * nis/nss_compat/compat-spwd.c
6461 (getspent_next_nss_netgr): Remove unused variable.
6462 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6463
6464 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6465 nonmembers" output to use the right array.
6466
6467 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6468
6469 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6470
6471 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6472 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6473 * catgets/gencat.c (read_input_file): Likewise.
6474 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6475
6476 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6477 variable definition inside #if's controlling its use.
6478
6479 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6480
6481 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6482
6483 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6484
6485 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6486 unreachable code.
6487
6488 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6489
6490 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6491 * configure: Regenerated.
6492
6493 * Makerules: Revert last change.
6494 * elf/Makefile: Likewise.
6495
6496 2011-06-09 Roland McGrath <roland@hack.frob.com>
6497
6498 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6499 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6500 (reloc-link): Likewise.
6501
6502 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6503
6504 * elf/Makefile: Add rules to build pldd.
6505 * elf/pldd.c: New file.
6506 * elf/pldd-xx.c: New file.
6507
6508 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6509
6510 * version.h: Update for 2.15 development version.
6511
6512 2011-06-07 David S. Miller <davem@davemloft.net>
6513
6514 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6515 ifuncs.
6516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6517 elf_machine_lazy_rel): Likewise.
6518 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6520 elf_machine_lazy_rel): Likewise.
6521 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6522 dl_hwcap via passed in argument.
6523 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6524 Likewise.
6525
6526 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6527
6528 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6529
6530 2011-06-06 Roland McGrath <roland@hack.frob.com>
6531
6532 [BZ #12849]
6533 * manual/fdl-1.1.texi: New file, verbatim from:
6534 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6535 * manual/lgpl-2.1.texi: New file, verbatim from:
6536 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6537 * manual/Makefile (licenses): New variable, list those new file names.
6538 (texis): Use it.
6539 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6540
6541 * manual/fdl.texi: File removed.
6542 * manual/lesser.texi: File removed.
6543 * manual/libc.texinfo (Copying, Documentation License):
6544 Use new @include file names, put @appendix directive before @include.
6545
6546 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6547
6548 [BZ #12841]
6549 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6550 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6551 (mq_open): Add __NTH.
6552
6553 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6556 Assume Intel Core i3/i5/i7 processor if AVX is available.
6557
6558 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6559
6560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6561 typo.
6562
6563 2011-05-31 Andreas Schwab <schwab@redhat.com>
6564
6565 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6566 memory. Use alloca_account. Fix memory leak when retrying.
6567
6568 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6569
6570 * version.h (RELEASE): Bump for 2.14 release.
6571 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6572
6573 * config.make.in (RANLIB): Remove entry.
6574
6575 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6576
6577 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6578 (libc.pot): Work around missing support for .ksh extension in xgettext.
6579
6580 [BZ #12684]
6581 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6582 if both request failed.
6583 (send_dg): In case of server errors clear resplen or *resplen2.
6584
6585 [BZ #12454]
6586 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6587 when there are multiple maps.
6588 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6589 (_dl_fini): Remove test here.
6590
6591 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6592
6593 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6594
6595 [BZ #12350]
6596 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6597 bit from old_res_options.
6598 (gaih_inet): Likewise.
6599
6600 [BZ #11099]
6601 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6602 as signed.
6603
6604 * resolv/res_init.c (res_setoptions): Make the code more compact.
6605
6606 [BZ #11558]
6607 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6608 set RES_USEVC.
6609
6610 [BZ #11634]
6611 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6612
6613 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6614
6615 [BZ #11781]
6616 * malloc/malloc.h: Declare malloc hook variables as volatile.
6617
6618 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6619 in last patch.
6620
6621 [BZ #11799]
6622 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6623 raise in the comment.
6624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6626 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6627
6628 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6629
6630 [BZ #12811]
6631 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6632 grow the buffers more if it already has to be sufficient.
6633 (build_wcs_upper_buffer): Likewise.
6634 * posix/regexec.c (check_matching): Likewise.
6635 (clean_state_log_if_needed): Likewise.
6636 (extend_buffers): Don't enlarge buffers beyond size of the input
6637 buffer.
6638 Patches mostly by Emil Wojak <emil@wojak.eu>.
6639 * posix/bug-regex32.c: New file.
6640 * posix/Makefile (tests): Add bug-regex32.
6641
6642 * locale/findlocale.c (_nl_find_locale): Return right away if
6643 _nl_explode_name failed.
6644 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6645
6646 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6647
6648 * debug/xtrace.sh: Unify messages.
6649 * malloc/memusage.sh: Likewise.
6650
6651 [BZ #12813]
6652 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6653 time symbol from vDSO. Substitute with vsyscall if not available.
6654 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6655 __vdso_time.
6656
6657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6658 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6659 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6660 Add sendmmsg and internal_sendmmsg.
6661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6662 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6664
6665 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6666 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6668
6669 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6670
6671 [BZ #12813]
6672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6673 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6674 available.
6675 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6676 __vdso_getcpu.
6677
6678 [BZ #12814]
6679 * iconvdata/Makefile (tests): Add bug-iconv9.
6680 * iconvdata/bug-iconv9.c: New file.
6681
6682 2011-05-27 Andreas Schwab <schwab@redhat.com>
6683
6684 [BZ #12814]
6685 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6686
6687 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6688
6689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6690 (struct user_regs_struct): Change intcs field back to cs.
6691
6692 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6693
6694 * po/ja.po: Update from translation team.
6695
6696 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6697
6698 [BZ #12795]
6699 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6701
6702 2011-05-20 Andreas Schwab <schwab@redhat.com>
6703
6704 * stdlib/longlong.h: Update from GCC.
6705
6706 2011-05-23 Andreas Schwab <schwab@redhat.com>
6707
6708 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6709 parameter name.
6710 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6711 Add parameter name.
6712 (__sysconf): Pass it down.
6713
6714 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6715
6716 [BZ #12671]
6717 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6718 some situations.
6719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6720 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6721 add in in __libc_use_alloca calls. Adjust callers.
6722 (glob): Use malloc in some situations.
6723
6724 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6725 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6726 pltexit.
6727
6728 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6729
6730 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6731 and CLOCK_BOOTTIME_ALARM.
6732
6733 [BZ #12782]
6734 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6735 is returned.
6736
6737 * string/_strerror.c (__strerror_r): Print negative errors as signed
6738 numbers.
6739
6740 [BZ #12777]
6741 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6742 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6743 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6744
6745 * configure.in: Fix typo in redirection and correct removal of test
6746 files in two cases.
6747
6748 [BZ #12788]
6749 * locale/setlocale.c (new_composite_name): Fix test to check for
6750 identical name of all categories.
6751
6752 [BZ #12792]
6753 * libio/filedoalloc.c (local_isatty): New function.
6754 (_IO_file_doallocate): Use local_isatty.
6755 * stdio-common/perror.c (perror): In case a new stream is used
6756 forward the stream error.
6757 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6758 error flag.
6759
6760 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6761
6762 [BZ #11869]
6763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6764 alloca.
6765 * include/alloca.h (extend_alloca_account): Define.
6766
6767 [BZ #11857]
6768 * posix/regex.h: Fix comments with documentation of user-accessible
6769 fields after compilation and describe correct free'ing of pattern
6770 after re_compile_pattern.
6771 Patch by Reuben Thomas <rrt@sc3d.org>.
6772
6773 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6774
6775 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6776 and -mno-altivec to prevent the compiler from using Altivec and/or
6777 VSX instructions when the corresponding registers are not available.
6778
6779 2011-05-19 Andreas Schwab <schwab@redhat.com>
6780
6781 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6782
6783 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6784
6785 * libio/freopen.c (freopen): Use __dup2, not dup2.
6786 * libio/freopen64.c (freopen64): Likewise.
6787
6788 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 [BZ #12775]
6791 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6792 * math/Makefile (tests): Add test-powl.
6793 (CFLAGS-test-powl.c): Define.
6794 * math/test-powl.c: New file.
6795
6796 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6797
6798 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6799
6800 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6801
6802 [BZ #11837]
6803 * iconvdata/gb18030.c: Update to GB18020-2005.
6804
6805 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6806
6807 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6808 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6809 Patch by Aharon Robbins <arnold@skeeve.com>.
6810
6811 [BZ #11892]
6812 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6813 on the stack.
6814
6815 [BZ #11895]
6816 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6817 through underflows.
6818
6819 [BZ #12766]
6820 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6821 point to strings before performing equality test for error_one_per_line
6822 mode.
6823
6824 [BZ #11697]
6825 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6826
6827 [BZ #11820]
6828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6829 (struct user_fpregs_struct): Avoid __uint*_t types.
6830
6831 [BZ #6420]
6832 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6833 symbol info. Use it instead of calling _dl_addr locally.
6834 (lock_and_info): New function.
6835 (tr_freehook): Call lock_and_info and pass symbol info as additional
6836 parameter to tr_where.
6837 (tr_mallochook): Likewise.
6838 (tr_reallochook): Likewise.
6839 (tr_memalignhook): Likewise.
6840
6841 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6842 used and couldn't be at all thread-safe.
6843
6844 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6845
6846 * libio/freopen.c (freopen): Don't close old file descriptor
6847 before the new one is opened. Instead dup the new file descriptor
6848 to the old one after the new stream is created.
6849 * libio/freopen64.c (freopen64): Likewise.
6850 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6851 * libio/fileops.c (_IO_new_file_close_it): Handle new
6852 _IO_FLAGS2_NOCLOSE flag.
6853 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6854 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6855 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6856 _IO_FLAGS2_NOCLOSE flag.
6857 * include/unistd.h: Add hidden_proto for dup3.
6858 Define __have_dup3.
6859 * io/dup3.c: Define hidden symbol.
6860 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6861
6862 [BZ #7101]
6863 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6864 when an incomplete long option is used.
6865 * posix/tst-getopt_long1.c: New file.
6866 * posix/Makefile (tests): Add tst-getopt_long1.
6867
6868 [BZ #10138]
6869 * scripts/config.guess: Update from autoconf-2.68.
6870 * scripts/config.sub: Likewise.
6871
6872 [BZ #10157]
6873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6874 tests into ...
6875 (has_cpuclock): ...this. New function.
6876 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6877 macro here based on has_cpuclock code.
6878
6879 [BZ #10149]
6880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6881 First byte (not low byte) is now always NUL.
6882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6883
6884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6885 Use non-cancelable interfaces.
6886
6887 [BZ #9809]
6888 * locale/iso-639.def: Add entry for Sorani.
6889
6890 [BZ #11901]
6891 * include/stdlib.h: Move include protection to the right place.
6892 Define abort_msg_s. Declare __abort_msg with it.
6893 * stdlib/abort.c (__abort_msg): Adjust type.
6894 * assert/assert.c (__assert_fail_base): New function. Majority
6895 of code from __assert_fail. Allocate memory for __abort_msg with
6896 mmap.
6897 (__assert_fail): Now call __assert_fail_base.
6898 * assert/assert-perr.c: Remove bulk of implementation. Use
6899 __assert_fail_base.
6900 * include/assert.hL Declare __assert_fail_base.
6901 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6902 mmap.
6903 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6904
6905 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6906
6907 [BZ #11952]
6908 [BZ #12453]
6909 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6910 until all modules are registered in the DTV.
6911 * elf/Makefile: Add rules to build and run tst-tls19.
6912 * elf/tst-tls19.c: New file.
6913 * elf/tst-tls19mod1.c: New file.
6914 * elf/tst-tls19mod2.c: New file.
6915 * elf/tst-tls19mod3.c: New file.
6916 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6917
6918 [BZ #12083]
6919 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6920 correctly.
6921
6922 [BZ #12601]
6923 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6924 two-byte sequence errors.
6925 * iconvdata/Makefile (tests): Add bug-iconv8.
6926 * iconvdata/bug-iconv8.c: New file.
6927
6928 [BZ #12626]
6929 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6930 buf2 definition.
6931
6932 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6933
6934 [BZ #12432]
6935 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6936 (dummy_getcfa): New function.
6937 (init): Get _Unwind_GetCFA address, use dummy if not found.
6938 (backtrace_helper): In recursion check, also check whether CFA changes.
6939 (__backtrace): Completely initialize arg.
6940
6941 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6942 storing incomplete byte sequence in state object. Avoid testing for
6943 guaranteed too small input if we know there is enough data available.
6944
6945 2011-05-11 Andreas Schwab <schwab@redhat.com>
6946
6947 * Makeconfig (+link-pie): Indent.
6948 * Rules (binaries-pie): Define if $(have-fpie) and
6949 $(build-shared).
6950 (binaries-shared): Also filter out $(binaries-pie).
6951 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6952 * nscd/Makefile (others-pie): Add nscd.
6953 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6954 ($(objpfx)nscd): Remove command override.
6955 * login/Makefile (others-pie): Add pt_chown.
6956 ($(objpfx)pt_chown): Remove command override.
6957 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6958 remove command overrides.
6959
6960 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6961
6962 * libio/tst_putwc.c: Fix error messages.
6963
6964 [BZ #12724]
6965 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6966 currently writing and seek to current position when not.
6967 * libio/Makefile (tests): Add bug-fclose1.
6968 * libio/bug-fclose1.c: New file.
6969
6970 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6971
6972 [BZ #12511]
6973 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6974 don't set DF_1_NODELETE here.
6975 (do_lookup_x): When entering new entry test for copy relocation
6976 and if necessary set DF_1_NODELETE flag.
6977 * elf/tst-unique4.cc: New file.
6978 * elf/tst-unique4.h: New file.
6979 * elf/tst-unique4lib.cc: New file.
6980 * elf/Makefile: Add rules to build and run tst-unique4.
6981 Patch by Piotr Bury <pbury@goahead.com>.
6982
6983 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6984
6985 [BZ #12052]
6986 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6987
6988 [BZ #12625]
6989 * misc/mntent_r.c (addmntent): Flush the stream after the output
6990
6991 [BZ #12393]
6992 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6993 (is_trusted_path_normalize): Skip initial colon. Append slash
6994 to empty buffer. Duplicate is_trusted_path code but allow
6995 constructed patch to be prefix.
6996 (is_dst): Allow $ORIGIN followed by /.
6997 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6998 Correct testing of result of is_trusted_path_normalize
6999 (decompose_rpath): Fix warning.
7000
7001 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7002
7003 [BZ #11257]
7004 * grp/initgroups.c (internal_getgrouplist): When we found the service
7005 list through the initgroups entry in nsswitch.conf do not always
7006 continue on a successful lookup. Don't always use the
7007 __nss_group_database value if it is set.
7008 * nss/nsswitch.conf (initgroups): Change action for successful db
7009 lookup to continue for compatibility.
7010
7011 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7012
7013 [BZ #11532]
7014 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7015 and CP774 modules.
7016 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7017 and CP774 modules.
7018 * iconvdata/tst-tables.sh: Likewise.
7019 * iconvdata/cp770.c: New file.
7020 * iconvdata/cp771.c: New file.
7021 * iconvdata/cp772.c: New file.
7022 * iconvdata/cp773.c: New file.
7023 * iconvdata/cp774.c: New file.
7024 * iconvdata/testdata/CP770: New file.
7025 * iconvdata/testdata/CP770..UTF8: New file.
7026 * iconvdata/testdata/CP771: New file.
7027 * iconvdata/testdata/CP771..UTF8: New file.
7028 * iconvdata/testdata/CP772: New file.
7029 * iconvdata/testdata/CP772..UTF8: New file.
7030 * iconvdata/testdata/CP773: New file.
7031 * iconvdata/testdata/CP773..UTF8: New file.
7032 * iconvdata/testdata/CP774: New file.
7033 * iconvdata/testdata/CP774..UTF8: New file.
7034
7035 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7036 END CHARMAP line.
7037 * iconvdata/gen-8bit-gap.sh: Likewise.
7038 * iconvdata/gen-8bit.sh: Likewise.
7039
7040 * locale/iso-639.def: Add ary entry.
7041
7042 [BZ #11258]
7043 * locale/C-translit.h.in: Add U20A1 transliteration.
7044
7045 [BZ #12178]
7046 * locale/iso-639.def: Add wae entry.
7047 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7048
7049 [BZ #12545]
7050 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7051 for n.
7052
7053 [BZ #12711]
7054 * locale/C-translit.h.in: Add entry for U20B9.
7055 Patch by pravin.d.s@gmail.com.
7056
7057 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7058
7059 [BZ #12713]
7060 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7061 ENAMETOOLONG use generic getcwd.
7062 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7063 in rtld. Use *stat64.
7064 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7065 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7066 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7067 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7068 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7069 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7070 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7071 __fstatat64 macros.
7072 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7073 * dirent/rewinddir.c: Add libc_hidden_def.
7074 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7075 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7076
7077 * include/dirent.h (__alloc_dir): Add flags parameter.
7078 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7079 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7080 __alloc_dir.
7081 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7082 from fdopendir if O_CLOEXEC is already set.
7083
7084 2011-03-15 Alan Modra <amodra@gmail.com>
7085
7086 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7087 l_tls_firstbyte_offset non-zero. Save padding offset in
7088 l_tls_firstbyte_offset for later use.
7089 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
7090 freeing static tls block.
7091
7092 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
7093
7094 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
7095 where #ifdef was intended. The intent is to prevent ARG_MAX from
7096 being defined by the kernel headers.
7097
7098 2011-05-07 Ulrich Drepper <drepper@gmail.com>
7099
7100 [BZ #12734]
7101 * resolv/resolv.h: Define RES_NOTLDQUERY.
7102 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
7103 no-tld-query and set RES_NOTLDQUERY.
7104 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
7105 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
7106 modern BIND to search name as TLD unless forbidden.
7107
7108 2011-05-07 Petr Baudis <pasky@suse.cz>
7109 Ulrich Drepper <drepper@gmail.com>
7110
7111 [BZ #12393]
7112 * elf/dl-load.c (fillin_rpath): Move trusted path check...
7113 (is_trusted_path): ...to here.
7114 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
7115 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
7116 using is_trusted_path_normalize() in setuid scripts.
7117
7118 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7119
7120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
7121 __BEGIN/__END_DECLS.
7122
7123 2011-05-06 Ulrich Drepper <drepper@gmail.com>
7124
7125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
7126 NSS_STATUS_NOTFOUND if no record was found.
7127
7128 2011-05-05 Andreas Schwab <schwab@redhat.com>
7129
7130 * sunrpc/Makefile (headers): Add rpc/netdb.h.
7131 (headers-not-in-tirpc): Remove rpc/netdb.h
7132 * resolv/netdb.h: Revert last change.
7133
7134 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7135
7136 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
7137 circular dependency between libgcc.a and libc.a.
7138
7139 2011-05-05 Andreas Schwab <schwab@redhat.com>
7140
7141 * resolv/netdb.h: Don't include <rpc/netdb.h>.
7142 * nis/Makefile: Don't install rpcsvc/*.
7143 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
7144 instead of <rpc/types.h>.
7145 (MAXHOSTNAMELEN): Define.
7146
7147 2011-05-03 Andreas Schwab <schwab@redhat.com>
7148
7149 * elf/ldconfig.c (add_dir): Don't crash on empty path.
7150
7151 2011-04-28 Maciej Babinski <mbabinski@google.com>
7152
7153 [BZ #12714]
7154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
7155 gethostbyname4_r when IPv6 results are possible.
7156
7157 2011-05-02 Ulrich Drepper <drepper@gmail.com>
7158
7159 [BZ #12723]
7160 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
7161 _PC_PIPE_BUF handling.
7162
7163 2011-04-30 Bruno Haible <bruno@clisp.org>
7164
7165 [BZ #12717]
7166 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
7167 * resolv/netdb.h (getnameinfo): Change type of flags parameter
7168 to 'int'.
7169 * inet/getnameinfo.c (getnameinfo): Likewise.
7170
7171 2011-04-29 Ulrich Drepper <drepper@gmail.com>
7172
7173 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
7174 to groups setting in database lookup.
7175 * nss/nsswitch.conf: Add initgroups entry.
7176
7177 2011-04-22 Ulrich Drepper <drepper@gmail.com>
7178
7179 [BZ #12685]
7180 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
7181 mode string.
7182 Patch by Eric Blake <eblake@redhat.com>.
7183
7184 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
7185
7186 * sunrpc/Makefile (need-export-routines): Add svc_run.
7187 (routines): Remove svc_run.
7188 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
7189 * sunrpc/clnt_perr.c (clnt_perrno): Export.
7190 * sunrpc/svc_run.c (svc_run): Likewise.
7191 * sunrpc/svc_udp.c (svcudp_create): Likewise.
7192
7193 2011-04-21 Ulrich Drepper <drepper@gmail.com>
7194
7195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
7196 problem in reallocation in last patch.
7197
7198 2011-04-20 Ulrich Drepper <drepper@gmail.com>
7199
7200 * sunrpc/Makefile: Move inclusion of Rules.
7201
7202 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7203
7204 * nss/nss_files/files-initgroups.c: New file.
7205 * nss/Makefile (libnss_files-routines): Add files-initgroups.
7206 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
7207 _nss_files_initgroups_dyn.
7208
7209 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
7210
7211 * elf/elf.h (R_ARM_IRELATIVE): Define.
7212
7213 2011-04-19 Ulrich Drepper <drepper@gmail.com>
7214
7215 * po/ru.po: Update from translation team.
7216
7217 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7218
7219 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
7220 dependencies.
7221
7222 2011-02-06 Mike Frysinger <vapier@gentoo.org>
7223
7224 [BZ #12653]
7225 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
7226 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
7227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7230
7231 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
7232
7233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
7234 differing bytes.
7235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7238
7239 2011-04-17 Ulrich Drepper <drepper@gmail.com>
7240
7241 [BZ #12420]
7242 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
7243 storing it.
7244 * stdlib/bug-getcontext.c: New file.
7245 * stdlib/Makefile: Add rules to build and run bug-getcontext.
7246
7247 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7248
7249 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
7250 instructions into .machine "z9-109".
7251 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7252 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7253
7254 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7255
7256 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
7257 between environment variables and auxiliary vector.
7258
7259 2011-04-16 Ulrich Drepper <drepper@gmail.com>
7260
7261 * Makefile: Add rules to build linkobj/libc.so.
7262 * include/libc-symbols.h: Define libc_hidden_nolink.
7263 * include/rpc/auth.h: Mark functions which are to be hidden.
7264 * include/rpc/auth_des.h: Likewise.
7265 * include/rpc/auth_unix.h: Likewise.
7266 * include/rpc/clnt.h: Likewise.
7267 * include/rpc/des_crypt.h: Likewise.
7268 * include/rpc/key_prot.h: Likewise.
7269 * include/rpc/pmap_clnt.h: Likewise.
7270 * include/rpc/pmap_prot.h: Likewise.
7271 * include/rpc/pmap_rmt.h: Likewise.
7272 * include/rpc/rpc_msg.h: Likewise.
7273 * include/rpc/svc.h: Likewise.
7274 * include/rpc/svc_auth.h: Likewise.
7275 * include/rpc/xdr.h: Likewise.
7276 * nis/Makefile: Link all DSOs against linkobj/libc.so.
7277 * nss/Makefile: Likewise.
7278 * sunrpc/Makefile: Don't install headers. Build library with normal
7279 entry points. Don't build rpcinfo. Link RPC tests appropriately.
7280 * sunrpc/auth_des.c: Hide exported symbols by default, export some
7281 for the compat linking library. Remove use of INTDEF/INTUSE.
7282 * sunrpc/auth_none.c: Likewise.
7283 * sunrpc/auth_unix.c: Likewise.
7284 * sunrpc/authdes_prot.c: Likewise.
7285 * sunrpc/authuxprot.c: Likewise.
7286 * sunrpc/clnt_gen.c: Likewise.
7287 * sunrpc/clnt_perr.c: Likewise.
7288 * sunrpc/clnt_raw.c: Likewise.
7289 * sunrpc/clnt_simp.c: Likewise.
7290 * sunrpc/clnt_tcp.c: Likewise.
7291 * sunrpc/clnt_udp.c: Likewise.
7292 * sunrpc/clnt_unix.c: Likewise.
7293 * sunrpc/des_crypt.c: Likewise.
7294 * sunrpc/des_soft.c: Likewise.
7295 * sunrpc/get_myaddr.c: Likewise.
7296 * sunrpc/key_call.c: Likewise.
7297 * sunrpc/key_prot.c: Likewise.
7298 * sunrpc/netname.c: Likewise.
7299 * sunrpc/pm_getmaps.c: Likewise.
7300 * sunrpc/pm_getport.c: Likewise.
7301 * sunrpc/pmap_clnt.c: Likewise.
7302 * sunrpc/pmap_prot.c: Likewise.
7303 * sunrpc/pmap_prot2.c: Likewise.
7304 * sunrpc/pmap_rmt.c: Likewise.
7305 * sunrpc/publickey.c: Likewise.
7306 * sunrpc/rpc_cmsg.c: Likewise.
7307 * sunrpc/rpc_common.c: Likewise.
7308 * sunrpc/rpc_dtable.c: Likewise.
7309 * sunrpc/rpc_prot.c: Likewise.
7310 * sunrpc/rpc_thread.c: Likewise.
7311 * sunrpc/rtime.c: Likewise.
7312 * sunrpc/svc.c: Likewise.
7313 * sunrpc/svc_auth.c: Likewise.
7314 * sunrpc/svc_authux.c: Likewise.
7315 * sunrpc/svc_raw.c: Likewise.
7316 * sunrpc/svc_run.c: Likewise.
7317 * sunrpc/svc_simple.c: Likewise.
7318 * sunrpc/svc_tcp.c: Likewise.
7319 * sunrpc/svc_udp.c: Likewise.
7320 * sunrpc/svc_unix.c: Likewise.
7321 * sunrpc/svcauth_des.c: Likewise.
7322 * sunrpc/xcrypt.c: Likewise.
7323 * sunrpc/xdr.c: Likewise.
7324 * sunrpc/xdr_array.c: Likewise.
7325 * sunrpc/xdr_float.c: Likewise.
7326 * sunrpc/xdr_intXX_t.c: Likewise.
7327 * sunrpc/xdr_mem.c: Likewise.
7328 * sunrpc/xdr_rec.c: Likewise.
7329 * sunrpc/xdr_ref.c: Likewise.
7330 * sunrpc/xdr_sizeof.c: Likewise.
7331 * sunrpc/xdr_stdio.c: Likewise.
7332
7333 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7334
7335 [BZ #12650]
7336 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7337 * sysdeps/ia64/dl-tls.h: Likewise.
7338 * sysdeps/powerpc/dl-tls.h: Likewise.
7339 * sysdeps/s390/dl-tls.h: Likewise.
7340 * sysdeps/sh/dl-tls.h: Likewise.
7341 * sysdeps/sparc/dl-tls.h: Likewise.
7342 * sysdeps/x86_64/dl-tls.h: Likewise.
7343 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7344
7345 2011-03-14 Andreas Schwab <schwab@redhat.com>
7346
7347 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7348 rpath element also skip the following colon.
7349 (expand_dynamic_string_token): Add is_path parameter and pass
7350 down to DL_DST_REQUIRED and _dl_dst_substitute.
7351 (decompose_rpath): Call expand_dynamic_string_token with
7352 non-zero is_path. Ignore empty rpaths.
7353 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7354 with zero is_path.
7355
7356 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7357
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7359 Make cancelable.
7360
7361 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7362
7363 [BZ #12655]
7364 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7365 Patch by Filipe David Manana <fdmanana@apache.org>.
7366
7367 2011-04-07 Andreas Schwab <schwab@redhat.com>
7368
7369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7370 Maintain aligned stack.
7371 (CHECK_RSP): Remove unused macro.
7372
7373 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7374
7375 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7377
7378 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7379
7380 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7381
7382 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7383
7384 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7385
7386 [BZ #12518]
7387 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7388 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7389 * sysdeps/x86_64/memmove.c: New file.
7390 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7391 (memcpy): Renamed to ...
7392 (__new_memcpy): This.
7393 (memcpy): Provide GLIBC_2_14 memcpy.
7394 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7395 (memcpy): Provide GLIBC_2_2_5 memcpy.
7396
7397 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7398
7399 [BZ #12631]
7400 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7401
7402 2011-03-30 Andreas Schwab <schwab@redhat.com>
7403
7404 * misc/syncfs.c: New file.
7405 * misc/Makefile (routines): Add syncfs.
7406 * posix/unistd.h: Declare syncfs.
7407 * sysdeps/unix/syscalls.list: Add syncfs.
7408
7409 2011-04-01 Andreas Schwab <schwab@redhat.com>
7410
7411 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7412 open_by_handle_at.
7413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7418 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7420
7421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7422
7423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7427 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7430
7431 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7432 sync_file_range.c with -fexceptions.
7433 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7434 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7435 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7436 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7437 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7438 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7440 sync_file_range as cancellation point
7441 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7442 now a wrapper around __call_sync_file_range with cancellation handling.
7443 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7444 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7445 function name to __call_sync_file_range.
7446 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7447 Add call_sync_file_range.
7448
7449 2011-04-01 Andreas Schwab <schwab@redhat.com>
7450
7451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7452 bits/timex.h.
7453
7454 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7455
7456 * iconv/iconv.h: Fix typo in comment.
7457 * io/fcntl.h: Likewise.
7458 * libio/stdio.h: Likewise.
7459 * posix/spawn.h: Likewise.
7460 * posix/unistd.h: Likewise.
7461 * stdlib/stdlib.h: Likewise.
7462 * time/time.h: Likewise.
7463 * wcsmbs/wchar.h: Likewise.
7464
7465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7466 open_by_handle): Add.
7467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7468 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7469 Augment a few comments.
7470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7475 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7476 open_by_handle.
7477
7478 * io/fcntl.h (AT_EMPTY_PATH): Define.
7479
7480 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7481
7482 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7483 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7484 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7485 to...
7486 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7487 * Versions.def: Add GLIBC_2.14.
7488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7489 Export.
7490
7491 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7492
7493 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7494 round counter.
7495 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7496
7497 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7498
7499 [BZ #12597]
7500 * string/test-strncmp.c (do_page_test): New function.
7501 (check2): Likewise.
7502 (test_main): Call check2.
7503 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7504
7505 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7506
7507 [BZ #12587]
7508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7509 Handle cache information in CPU leaf 4.
7510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7511
7512 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7513
7514 [BZ #12583]
7515 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7516 character representation.
7517 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7518
7519 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7520
7521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7522 END(__isnan) to END(__isnanf) to match function entry point/label
7523 EALIGN(__isnanf,...).
7524
7525 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7526
7527 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7528
7529 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7530
7531 [BZ #12510]
7532 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7533 copy from the symbol referenced in the relocation to initialize the
7534 used variable.
7535 Patch by Piotr Bury <pbury@goahead.com>.
7536 * elf/Makefile: Add rules to build and tst-unique3.
7537 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7538 * elf/tst-unique3.cc: New file.
7539 * elf/tst-unique3.h: New file.
7540 * elf/tst-unique3lib.cc: New file.
7541 * elf/tst-unique3lib2.cc: New file.
7542
7543 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7544
7545 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7546
7547 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7548 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7549 to _start.
7550
7551 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7552
7553 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7554 to-be-loaded object along a path to loader is ld.so.
7555
7556 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7557 Ulrich Drepper <drepper@gmail.com>
7558
7559 * sysdeps/x86_64/memset.S: After aligning destination, code
7560 branches to different locations depending on the value of
7561 misalignment, when multiarch is enabled. Fix this.
7562
7563 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7564
7565 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7566 Set _x86_64_preferred_memory_instruction for AMD processsors.
7567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7568 Set bit_Prefer_SSE_for_memop for AMD processors.
7569
7570 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7571
7572 * libio/fmemopen.c (fmemopen): Optimize a bit.
7573
7574 2011-03-03 Andreas Schwab <schwab@redhat.com>
7575
7576 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7577
7578 2011-03-03 Roland McGrath <roland@redhat.com>
7579
7580 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7581
7582 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7583
7584 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7585 __bzero_ultra1 instead of __memset_ultra1.
7586
7587 2011-02-23 Andreas Schwab <schwab@redhat.com>
7588 Ulrich Drepper <drepper@gmail.com>
7589
7590 [BZ #12509]
7591 * include/link.h (struct link_map): Add l_orig_initfini.
7592 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7593 returning unsuccessfully.
7594 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7595 close of a file loaded at startup, restore the original l_initfini
7596 list.
7597 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7598 list, store the pointer.
7599 * elf/Makefile ($(objpfx)noload-mem): New rule.
7600 (noload-ENV): Define.
7601 (tests): Add $(objpfx)noload-mem.
7602 * elf/noload.c: Include <memcheck.h>.
7603 (main): Call mtrace. Close all opened handles.
7604
7605 2011-02-17 Andreas Schwab <schwab@redhat.com>
7606
7607 [BZ #12454]
7608 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7609 dependencies are missing.
7610
7611 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7612
7613 Fix __if_freereq crash: Unlike the generic version which uses free,
7614 Hurd needs munmap.
7615 * sysdeps/mach/hurd/ifreq.h: New file.
7616
7617 2011-01-27 Petr Baudis <pasky@suse.cz>
7618 Ulrich Drepper <drepper@gmail.com>
7619
7620 [BZ 12445]#
7621 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7622 to extend_alloca().
7623 * stdio-common/bug23.c: New file.
7624 * stdio-common/Makefile (tests): Add bug23.
7625
7626 2010-09-28 Andreas Schwab <schwab@redhat.com>
7627 Ulrich Drepper <drepper@gmail.com>
7628
7629 [BZ #12489]
7630 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7631 before performing relro protection. At old place add assertion
7632 to make sure nothing changed.
7633
7634 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7635 Glauber de Oliveira Costa <glommer@gmail.com>
7636
7637 * elf/elf.h: Add new ARM TLS relocs.
7638
7639 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7640
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7642 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7643 cast from r3.
7644 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7645 'tests' variable.
7646 * sysdeps/wordsize-64/tst-writev.c: New file.
7647
7648 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7649
7650 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7651 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7652 insns in _dl_start to prevent a TOC reference before relocs are
7653 resolved.
7654
7655 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7656
7657 [BZ #12469]
7658 * Makeconfig: Remove RANLIB definition.
7659 * Makerules: Don't use RANLIB.
7660 * aclocal.m4: Remove ranlib test.
7661 * configure.in: No need to check for ranlib.
7662 * elf/rtld-Rules: Don't use RANLIB.
7663
7664 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7665
7666 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7667 protection macro.
7668 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7669 inclusion protection macro.
7670
7671 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7672 SIGRTMIN and SIGRTMAX and print information in that case only when
7673 SIGRTMIN is defined.
7674
7675 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7676
7677 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7678 arginfo fn returning -1.
7679
7680 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7681 and thousands string is zero terminated.
7682
7683 2011-02-03 Andreas Schwab <schwab@redhat.com>
7684
7685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7686 sysdeps/unix/sysv/linux/bits/socket.h.
7687
7688 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7689
7690 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7691 (__CPU_COUNT): Remove old macros.
7692 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7693 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7694 (__CPU_ALLOC, __CPU_FREE): Add macros.
7695 (__sched_cpualloc, __sched_cpufree): Add declarations.
7696
7697 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7698
7699 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7700 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7701 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7702 (readdhstai): Return value of addhstaiX call.
7703 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7704 (addgrbyX): Return value returned by cache_addgr.
7705 (readdgrbyname): Return value returned by addgrbyX.
7706 (readdgrbygid): Likewise.
7707 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7708 (addpwbyX): Return value returned by cache_addpw.
7709 (readdpwbyname): Return value returned by addhstbyX.
7710 (readdpwbyuid): Likewise.
7711 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7712 (addservbyX): Return value returned by cache_addserv.
7713 (readdservbyname): Return value returned by addservbyX:
7714 (readdservbyport): Likewise.
7715 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7716 (addhstbyX): Return value returned by cache_addhst.
7717 (readdhstbyname): Return value returned by addhstbyX.
7718 (readdhstbyaddr): Likewise.
7719 (readdhstbynamev6): Likewise.
7720 (readdhstbyaddrv6): Likewise.
7721 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7722 (readdinitgroups): Return value returned by addinitgroupsX.
7723 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7724 (prune_cache): Keep track of timeout value of re-added entries.
7725 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7726 * nscd/nscd.h: Adjust prototypes of readd* functions.
7727
7728 2011-02-04 Roland McGrath <roland@redhat.com>
7729
7730 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7731 (nis_stats): Likewise.
7732 * nis/nis_modify.c (nis_modify): Likewise.
7733 * nis/nis_remove.c (nis_remove): Likewise.
7734 * nis/nis_add.c (nis_add): Likewise.
7735
7736 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7737
7738 * posix/fnmatch_loop.c: Add some consts.
7739
7740 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7741
7742 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7743
7744 [BZ #12460]
7745 * config.make.in (config-cflags-novzeroupper): Define.
7746 * configure.in: Substitute libc_cv_cc_novzeroupper.
7747 * elf/Makefile (AVX-CFLAGS): Define.
7748 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7749 (CFLAGS-tst-auditmod4a.c): Likewise.
7750 (CFLAGS-tst-auditmod4b.c): Likewise.
7751 (CFLAGS-tst-auditmod6b.c): Likewise.
7752 (CFLAGS-tst-auditmod6c.c): Likewise.
7753 (CFLAGS-tst-auditmod7b.c): Likewise.
7754 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7755
7756 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7757
7758 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7759 function to the callback.
7760 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7761
7762 2011-02-02 Andreas Schwab <schwab@redhat.com>
7763
7764 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7765 of errno.
7766
7767 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7768
7769 [BZ #11724]
7770 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7771 of constructors.
7772 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7773 of destructors.
7774 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7775
7776 [BZ #11724]
7777 * elf/Makefile: Add rules to build and run new test.
7778 * elf/tst-initorder.c: New file.
7779 * elf/tst-initorder.exp: New file.
7780 * elf/tst-initordera1.c: New file.
7781 * elf/tst-initordera2.c: New file.
7782 * elf/tst-initordera3.c: New file.
7783 * elf/tst-initordera4.c: New file.
7784 * elf/tst-initorderb1.c: New file.
7785 * elf/tst-initorderb2.c: New file.
7786 * elf/tst-order-a1.c: New file.
7787 * elf/tst-order-a2.c: New file.
7788 * elf/tst-order-a3.c: New file.
7789 * elf/tst-order-a4.c: New file.
7790 * elf/tst-order-b1.c: New file.
7791 * elf/tst-order-b2.c: New file.
7792 * elf/tst-order-main.c: New file.
7793 New test case by George Gensure <werkt0@gmail.com>.
7794
7795 2010-10-01 Andreas Schwab <schwab@redhat.com>
7796
7797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7798 decoding ACE if AI_CANONIDN.
7799
7800 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7801
7802 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7803
7804 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7805
7806 * version.h (RELEASE): Bump for 2.13 release.
7807 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7808
7809 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7810
7811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7812 MADV_NOHUGEPAGE.
7813 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7819
7820 * posix/getconf.c: Update copyright year.
7821 * catgets/gencat.c: Likewise.
7822 * csu/version.c: Likewise.
7823 * debug/catchsegv.sh: Likewise.
7824 * debug/xtrace.sh: Likewise.
7825 * elf/ldconfig.c: Likewise.
7826 * elf/ldd.bash.in: Likewise.
7827 * elf/sprof.c (print_version): Likewise.
7828 * iconv/iconv_prog.c: Likewise.
7829 * iconv/iconvconfig.c: Likewise.
7830 * locale/programs/locale.c: Likewise.
7831 * locale/programs/localedef.c: Likewise.
7832 * malloc/memusage.sh: Likewise.
7833 * malloc/mtrace.pl: Likewise.
7834 * nscd/nscd.c (print_version): Likewise.
7835 * nss/getent.c: Likewise.
7836
7837 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7838 PF_CAIF, and PF_ALG.
7839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7840
7841 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7842
7843 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7844 (modules-names): Use them.
7845 (ifunc-test-modules, ifunc-pie-tests): Define.
7846 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7847 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7848 (test-extras): Likewise.
7849 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7850 $(compile-command.c).
7851 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7852 (all-built-dso): Define.
7853 (check-textrel.out, check-execstack.out): Depend on it.
7854
7855 * configure.in: Don't override --enable-multi-arch.
7856
7857 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7858
7859 [BZ #6812]
7860 * nscd/hstcache.c (tryagain): Define.
7861 (cache_addhst): Return tryagain not notfound for temporary errors.
7862 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7863 failed.
7864
7865 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7866
7867 [BZ #10563]
7868 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7869 to make the syscall.
7870 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7871
7872 [BZ #12378]
7873 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7874 and fall back to matching as normal character if the string ends before
7875 the matching ']' is found. This is what POSIX requires.
7876 * posix/testfnm.c: Adjust test result.
7877 * posix/globtest.sh: Adjust test result. Add new test.
7878 * posix/tst-fnmatch.input: Likewise.
7879 * posix/tst-fnmatch2.c: Add new test.
7880
7881 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7882
7883 * elf/Makefile (check-execstack): Revert last change. Depend on
7884 check-execstack.h.
7885 (check-execstack.h): New target.
7886 (generated): Add check-execstack.h.
7887 * elf/check-execstack.c: Include "check-execstack.h".
7888 (main): Revert last change.
7889 (handle_file): Return zero if GNU_STACK is absent and
7890 DEFAULT_STACK_PERMS doesn't include PF_X.
7891
7892 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7893
7894 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7895 in child fails because the descriptor is already closed.
7896 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7897 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7899
7900 [BZ #12397]
7901 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7902 syscall.
7903
7904 [BZ #10484]
7905 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7906 temporary buffer used to handle multi lookups locally.
7907 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7908
7909 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7910
7911 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7912 loader is ld.so.
7913
7914 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7915
7916 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7917 alignment for SSE2.
7918
7919 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7920
7921 [BZ #12394]
7922 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7923 characters. When rounding increased number of integer digits recompute
7924 number of groups.
7925 * stdio-common/tst-grouping.c: New file.
7926 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7927
7928 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7929
7930 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7931 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7932
7933 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7934 void.
7935 * bits/select.h: Likewise.
7936
7937 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7938
7939 * po/ja.po: Update from translation team.
7940
7941 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7942
7943 [BZ #11155]
7944 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7945 implementation just like for lxstat, fxstatat, et al.
7946
7947 2010-12-27 Jim Meyering <meyering@redhat.com>
7948
7949 [BZ #12348]
7950 * posix/regexec.c (build_trtable): Return failure indication upon
7951 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7952
7953 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7954
7955 [BZ #12201]
7956 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7957 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7958 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7959 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7960
7961 [BZ #12207]
7962 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7963
7964 [BZ #12204]
7965 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7966 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7967
7968 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7969
7970 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7971 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7972 script has SORT_BY_INIT_PRIORITY.
7973 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7974 NO_CTORS_DTORS_SECTIONS is defined.
7975 * elf/soinit.c: Likewise.
7976 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7977 NO_CTORS_DTORS_SECTIONS is defined.
7978 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7979 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7980 * sysdeps/sh/init-first.c: Likewise.
7981 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7982
7983 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7984
7985 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7986 always use the slow path.
7987
7988 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7989
7990 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7991 similar rule which adds the sysdep directories to the header search in
7992 order to pick up the correct platform stackinfo.h.
7993 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7994 perform test if it is, otherwise return successfully without testing.
7995 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7996 DEFAULT_STACK_PERMS define in stackinfo.h.
7997 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7998 defined in stackinfo.h.
7999 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8000 DEFAULT_STACK_PERMS defined in stackinfo.h.
8001 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8002 * sysdeps/ia64/stackinfo.h: Likewise.
8003 * sysdeps/s390/stackinfo.h: Likewise.
8004 * sysdeps/sh/stackinfo.h: Likewise.
8005 * sysdeps/sparc/stackinfo.h: Likewise.
8006 * sysdeps/x86_64/stackinfo.h: Likewise.
8007 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8008 PF_X for powerpc64. Retain PF_X for powerpc32.
8009
8010 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8011
8012 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8013 accurately.
8014 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8015 GETDENTS_64BIT_ALIGNED.
8016
8017 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8018
8019 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8020
8021 2010-12-10 Andreas Schwab <schwab@redhat.com>
8022
8023 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8024 _GNU_SOURCE.
8025
8026 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8027 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8028 Remove __restrict.
8029 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8030 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8031
8032 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8033
8034 [BZ #11655]
8035 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8036 are initialized.
8037
8038 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8039
8040 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8041
8042 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8043
8044 * po/it.po: Update from translation team.
8045
8046 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8049 unused codes.
8050
8051 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8052
8053 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8054
8055 2010-11-24 Andreas Schwab <schwab@redhat.com>
8056
8057 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8058 specially.
8059 (gaih_getanswer_slice): Likewise.
8060
8061 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8062
8063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8064
8065 2010-05-31 Petr Baudis <pasky@suse.cz>
8066
8067 [BZ #11149]
8068 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8069 silently even in the chroot mode.
8070
8071 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8072
8073 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8074 last patch a bit. Pretty printing
8075
8076 2010-05-31 Petr Baudis <pasky@suse.cz>
8077
8078 [BZ #10085]
8079 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8080 initialization of skip_initgroups_dyn.
8081
8082 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8083
8084 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8085 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8086
8087 2010-11-16 Ulrich Drepper <drepper@gmail.com>
8088
8089 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
8090
8091 2010-11-11 Andreas Schwab <schwab@redhat.com>
8092
8093 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
8094 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
8095 (tst-fnmatch-ENV): Set MALLOC_TRACE.
8096 ($(objpfx)tst-fnmatch-mem): New rule.
8097 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
8098 * posix/tst-fnmatch.c (main): Call mtrace.
8099
8100 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
8101
8102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8103 Support Intel processor model 6 and model 0x2c.
8104
8105 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
8106
8107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
8108 signed comparison.
8109
8110 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 [BZ #12205]
8113 * string/test-strncasecmp.c (check_result): New function.
8114 (do_one_test): Use it.
8115 (check1): New function.
8116 (test_main): Use it.
8117 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
8118 Support strcasecmp and strncasecmp.
8119
8120 2010-11-08 Ulrich Drepper <drepper@gmail.com>
8121
8122 [BZ #12194]
8123 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
8124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8125
8126 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
8129 IFUNC support.
8130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8131 memset-x86-64.
8132 * sysdeps/x86_64/multiarch/bzero.S: New file.
8133 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
8134 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
8135 * sysdeps/x86_64/multiarch/memset.S: New file.
8136 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
8137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8138 Set bit_Prefer_SSE_for_memop for Intel processors.
8139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
8140 Define.
8141 (index_Prefer_SSE_for_memop): Define.
8142 (HAS_PREFER_SSE_FOR_MEMOP): Define.
8143
8144 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
8145
8146 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
8147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
8148
8149 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 [BZ #12191]
8152 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8153 (__x86_64_raw_data_cache_size_half): Likewise.
8154 (__x86_64_raw_shared_cache_size): Likewise.
8155 (__x86_64_raw_shared_cache_size_half): Likewise.
8156
8157 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
8158 (__x86_64_raw_data_cache_size_half): Likewise.
8159 (__x86_64_raw_shared_cache_size): Likewise.
8160 (__x86_64_raw_shared_cache_size_half): Likewise.
8161 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
8162 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
8163 and __x86_64_raw_shared_cache_size_half. Round
8164 __x86_64_data_cache_size_half, __x86_64_data_cache_size
8165 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
8166 to multiple of 256 bytes.
8167
8168 2010-11-03 Ulrich Drepper <drepper@gmail.com>
8169
8170 [BZ #12167]
8171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
8172 of inacessible symlinks. Verify result of symlink before returning it.
8173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8174 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
8175
8176 2010-10-28 Erich Ritz <erichritz@gmail.com>
8177
8178 * math/math.h (isinf): Fix typo in comment.
8179
8180 2010-11-01 Ulrich Drepper <drepper@gmail.com>
8181
8182 * po/da.po: Update from translation team.
8183
8184 2010-10-26 Ulrich Drepper <drepper@gmail.com>
8185
8186 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
8187 is added to the list.
8188
8189 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8190 Ulrich Drepper <drepper@gmail.com>
8191
8192 * elf/dl-object.c (_dl_new_object): Don't append the new object to
8193 the global list here. Move code to...
8194 (_dl_add_to_namespace_list): ...here. New function.
8195 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
8196 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
8197 * elf/dl-load.c (lose): Don't remove the element from the list.
8198 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
8199 (_dl_map_object): Likewise.
8200
8201 2010-10-25 Ulrich Drepper <drepper@gmail.com>
8202
8203 [BZ #12159]
8204 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
8205 into all bytes of SSE register.
8206 Patch by Richard Li <richardpku@gmail.com>.
8207
8208 2010-10-24 Ulrich Drepper <drepper@gmail.com>
8209
8210 [BZ #12140]
8211 * malloc/malloc.c (_int_free): Fill correct number of bytes when
8212 perturbing.
8213
8214 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
8215
8216 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
8217 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
8218 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
8219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8221 submachine.
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
8223
8224 2010-10-22 Andreas Schwab <schwab@redhat.com>
8225
8226 * include/dlfcn.h (__RTLD_SECURE): Define.
8227 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
8228 mode & __RTLD_SECURE instead.
8229 (open_path): Rename preloaded parameter to secure.
8230 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8231 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
8232 * elf/dl-deps.c (openaux): Likewise.
8233 * elf/rtld.c (struct map_args): Remove is_preloaded.
8234 (map_doit): Don't use it.
8235 (dl_main): Likewise.
8236 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
8237 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
8238
8239 2010-09-09 Andreas Schwab <schwab@redhat.com>
8240
8241 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
8242 (sysd-rules-targets): Remove duplicates.
8243 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
8244 rtld-%.$o dependency.
8245
8246 2010-10-18 Andreas Schwab <schwab@redhat.com>
8247
8248 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
8249 _dl_map_object do it.
8250
8251 2010-10-19 Ulrich Drepper <drepper@gmail.com>
8252
8253 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
8254 fast fma builtins, define the macros in the C99 standard.
8255 (FP_FAST_FMAF): Likewise.
8256 (FP_FAST_FMAL): Likewise.
8257 * sysdeps/x86_64/bits/mathdef.h: Likewise.
8258
8259 * bits/mathdef.h: Update copyright year.
8260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8261
8262 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
8263
8264 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
8265 builtins, define the macros in the C99 standard.
8266 (FP_FAST_FMAF): Likewise.
8267 (FP_FAST_FMAL): Likewise.
8268 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
8269 multiply/add.
8270 (FP_FAST_FMAF): Likewise.
8271
8272 2010-10-15 Jakub Jelinek <jakub@redhat.com>
8273
8274 [BZ #3268]
8275 * math/libm-test.inc (fma_test): Some new testcases.
8276 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
8277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
8278 y and infinite z. Do multiplication by C already in long double.
8279 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
8280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
8281 y and infinite z. Do bitwise or of inexact bit into u.d.
8282 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
8283 * sysdeps/i386/fpu/s_fmaf.S: Removed.
8284 * sysdeps/i386/fpu/s_fma.S: Removed.
8285 * sysdeps/i386/fpu/s_fmal.S: Removed.
8286
8287 2010-10-16 Jakub Jelinek <jakub@redhat.com>
8288
8289 [BZ #3268]
8290 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
8291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
8292 computation is not scheduled after fetestexcept. Fix value
8293 of minimum denormal long double.
8294
8295 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8296
8297 [BZ #3268]
8298 * math/libm-test.inc (fma_test): Add some more tests.
8299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8300 correctly.
8301
8302 2010-10-15 Andreas Schwab <schwab@redhat.com>
8303
8304 * scripts/data/localplt-s390-linux-gnu.data: New file.
8305 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8306
8307 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8308
8309 [BZ #3268]
8310 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8311 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8312 instead of dbl-64.
8313 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8314 inlines.
8315 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8317 if one of x and y is very large and the other is subnormal.
8318 * sysdeps/s390/fpu/s_fmaf.c: New file.
8319 * sysdeps/s390/fpu/s_fma.c: New file.
8320 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8321 * sysdeps/powerpc/fpu/s_fma.S: New file.
8322 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8323 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8324 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8325
8326 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8327
8328 [BZ #3268]
8329 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8330 fma tests.
8331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8332 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8333 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8334 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8335 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8336 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8338
8339 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8340
8341 [BZ #12078]
8342 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8343 * posix/bug-regex31.input: Add test case.
8344
8345 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8346
8347 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8348 * posix/bug-regex31.input: New file.
8349
8350 [BZ #12078]
8351 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8352 (parse_sub_exp): Fix last change, use postorder.
8353
8354 * posix/bug-regex31.c: New file.
8355 * posix/Makefile: Add rules to build and run bug-regex31.
8356
8357 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8358
8359 [BZ #12078]
8360 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8361
8362 [BZ #12108]
8363 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8364 to have entries in sys_siglist.
8365
8366 [BZ #12093]
8367 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8368 be NULL.
8369
8370 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8371
8372 [BZ #3268]
8373 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8374 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8375 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8376 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8377 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8378 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8379 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8380 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8381 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8382 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8383 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8384 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8385 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8386 * math/ftestexcept.c (fetestexcept): Likewise.
8387 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8388 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8389 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8390 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8391 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8392 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8393 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8394
8395 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8396
8397 [BZ #12107]
8398 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8399 newline.
8400
8401 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8402
8403 * string/bug-strstr1.c: New file.
8404 * string/Makefile: Add rules to build and run bug-strstr1.
8405
8406 2010-10-05 Eric Blake <eblake@redhat.com>
8407
8408 [BZ #12092]
8409 * string/str-two-way.h (two_way_long_needle): Always clear memory
8410 when skipping input due to the shift table.
8411
8412 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8413
8414 [BZ #12005]
8415 * malloc/mcheck.c: Handle large requests.
8416
8417 [BZ #12077]
8418 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8419 for strncmp and strncasecmp.
8420 * string/stratcliff.c: Add tests for strcmp and strncmp.
8421 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8422
8423 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8424
8425 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8426 __set_fpscr.
8427
8428 2010-09-30 Andreas Jaeger <aj@suse.de>
8429
8430 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8431 (CGROUP_SUPER_MAGIC): Define.
8432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8433 Handle btrfs and cgroup file systems.
8434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8435 Likewise.
8436
8437 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8438
8439 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8440 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8441
8442 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8443
8444 [BZ #12067]
8445 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8446 trying to locate the ELF header.
8447
8448 2010-09-27 Andreas Schwab <schwab@redhat.com>
8449
8450 [BZ #11611]
8451 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8452 Mask out sign-bit copies when constructing f_fsid.
8453
8454 2010-09-24 Petr Baudis <pasky@suse.cz>
8455
8456 * debug/stack_chk_fail_local.c: Add missing licence exception.
8457 * debug/warning-nop.c: Likewise.
8458
8459 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8460
8461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8462 implementing getdents64 using getdents syscall, set d_type if
8463 __ASSUME_GETDENTS32_D_TYPE.
8464
8465 2010-09-16 Andreas Schwab <schwab@redhat.com>
8466
8467 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8468 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8469
8470 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8471
8472 [BZ #12037]
8473 * posix/unistd.h: Undo change of feature selection for ftruncate from
8474 2010-01-11.
8475
8476 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8477
8478 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8479 detection.
8480
8481 2010-09-20 Andreas Schwab <schwab@redhat.com>
8482
8483 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8484 fanotify_mark.
8485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8486
8487 2010-09-14 Andreas Schwab <schwab@redhat.com>
8488
8489 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8490 variables after CHECK_SP call.
8491 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8492
8493 2010-09-13 Andreas Schwab <schwab@redhat.com>
8494 Ulrich Drepper <drepper@redhat.com>
8495
8496 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8497 re-relocationg ld.so.
8498 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8499 _dl_init_paths call.
8500 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8501 here anymore.
8502
8503 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8504
8505 * resolv/res_init.c (__res_vinit): Count the default server we added.
8506
8507 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8508 Ulrich Drepper <drepper@redhat.com>
8509
8510 [BZ #11968]
8511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8512 (____longjmp_chk): Use %ebx for saving value across system call.
8513 Add unwind info.
8514
8515 2010-09-06 Andreas Schwab <schwab@redhat.com>
8516
8517 * manual/Makefile: Don't mix pattern rules with normal rules.
8518
8519 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8520
8521 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8522 operation.
8523 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8524 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8525 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8526 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8528 Likewise.
8529
8530 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8531
8532 [BZ #11979]
8533 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8534 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8535
8536 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8537
8538 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8539 * sysdeps/x86_64/addmul_1.S: Likewise.
8540 * sysdeps/x86_64/lshift.S: Likewise.
8541 * sysdeps/x86_64/mul_1.S: Likewise.
8542 * sysdeps/x86_64/rshift.S: Likewise.
8543 * sysdeps/x86_64/sub_n.S: Likewise.
8544 * sysdeps/x86_64/submul_1.S: Likewise.
8545
8546 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8547
8548 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8549 Define __sched_param instead of SCHED_* and sched_param when
8550 <bits/sched.h> is included with __need_schedparam defined.
8551 * bits/sched.h [__need_schedparam]
8552 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8553 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8554 (__defined_schedparam): Define to 1.
8555 (__sched_param): New structure, identical to sched_param.
8556 (__need_schedparam): Undefine.
8557
8558 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8559
8560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8561 (epoll_create1): Declare.
8562
8563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8564
8565 2010-08-31 Andreas Schwab <schwab@redhat.com>
8566
8567 [BZ #7066]
8568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8569 shifting retval into place.
8570
8571 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8572
8573 * nis/rpcsvc/nis.h: Update copyright notice.
8574 * nis/rpcsvc/nis.x: Likewise.
8575 * nis/rpcsvc/nis_callback.h: Likewise.
8576 * nis/rpcsvc/nis_callback.x: Likewise.
8577 * nis/rpcsvc/nis_object.x: Likewise.
8578 * nis/rpcsvc/nis_tags.h: Likewise.
8579 * nis/rpcsvc/yp.h: Likewise.
8580 * nis/rpcsvc/yp.x: Likewise.
8581 * nis/rpcsvc/ypupd.h: Likewise.
8582 * nis/yp_xdr.c: Likewise.
8583 * nis/ypupdate_xdr.c: Likewise.
8584
8585 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8586 mainly the body of pmap_getport. Add parameters to specify timeouts.
8587 (pmap_getport): Use __libc_rpc_getport.
8588 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8589 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8590 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8591
8592 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8593
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8595 fanotify_mark.
8596
8597 2010-08-27 Roland McGrath <roland@redhat.com>
8598
8599 * sysdeps/i386/i686/multiarch/Makefile
8600 (CFLAGS-varshift.c): New variable.
8601
8602 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8603
8604 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8605 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8606
8607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8608
8609 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8610
8611 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8612
8613 * sysdeps/x86_64/strlen.S: Unroll the loop.
8614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8615 strlen-sse2 strlen-sse2-bsf.
8616 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8617 __strlen_no_bsf if bit_Slow_BSF is set.
8618 (__strlen_sse42): Removed.
8619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8620 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8621
8622 2010-08-25 Roland McGrath <roland@redhat.com>
8623
8624 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8625 * sysdeps/x86_64/multiarch/varshift.c: New file.
8626 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8627 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8628 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8629 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8630
8631 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8634 strlen-sse2 strlen-sse2-bsf.
8635 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8636 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8637 (__strlen_sse2): Removed.
8638 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8641 bit_Slow_BSF for Atom.
8642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8643 (index_Slow_BSF): Define.
8644 (HAS_SLOW_BSF): Define.
8645
8646 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8647
8648 [BZ #10851]
8649 * resolv/res_init.c (__res_vinit): When no server address at all
8650 is given default to loopback.
8651
8652 2010-08-24 Roland McGrath <roland@redhat.com>
8653
8654 * configure.in: Remove config-name.h generation.
8655 * configure: Regenerated.
8656 * config-name.in: File removed.
8657 * scripts/config-uname.sh: New file.
8658 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8659 ($(objdir)config-name.h): New target.
8660
8661 * sunrpc/rpc_parse.h: Avoid nested comment.
8662
8663 2010-08-24 Richard Henderson <rth@redhat.com>
8664 Ulrich Drepper <drepper@redhat.com>
8665 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8669 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8670 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8671 _mm_alignr_epi8 with _mm_loadu_si128.
8672 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8673 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8674 (__m128i_shift_right): Removed.
8675 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8676 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8677 * sysdeps/x86_64/multiarch/varshift.h: New file.
8678 * sysdeps/x86_64/multiarch/varshift.S: New file.
8679
8680 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8681
8682 * configure.in: Move assembler checks to before sysdep dir checking.
8683
8684 2010-08-20 Petr Baudis <pasky@suse.cz>
8685
8686 * LICENSES: Sync the sunrpc license.
8687
8688 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8689
8690 * sunrpc/auth_des.c: Update copyright notice once again.
8691 * sunrpc/auth_none.c: Likewise.
8692 * sunrpc/auth_unix.c: Likewise.
8693 * sunrpc/authdes_prot.c: Likewise.
8694 * sunrpc/authuxprot.c: Likewise.
8695 * sunrpc/bindrsvprt.c: Likewise.
8696 * sunrpc/clnt_gen.c: Likewise.
8697 * sunrpc/clnt_perr.c: Likewise.
8698 * sunrpc/clnt_raw.c: Likewise.
8699 * sunrpc/clnt_simp.c: Likewise.
8700 * sunrpc/clnt_tcp.c: Likewise.
8701 * sunrpc/clnt_udp.c: Likewise.
8702 * sunrpc/clnt_unix.c: Likewise.
8703 * sunrpc/des_crypt.c: Likewise.
8704 * sunrpc/des_soft.c: Likewise.
8705 * sunrpc/get_myaddr.c: Likewise.
8706 * sunrpc/getrpcport.c: Likewise.
8707 * sunrpc/key_call.c: Likewise.
8708 * sunrpc/key_prot.c: Likewise.
8709 * sunrpc/openchild.c: Likewise.
8710 * sunrpc/pm_getmaps.c: Likewise.
8711 * sunrpc/pm_getport.c: Likewise.
8712 * sunrpc/pmap_clnt.c: Likewise.
8713 * sunrpc/pmap_prot.c: Likewise.
8714 * sunrpc/pmap_prot2.c: Likewise.
8715 * sunrpc/pmap_rmt.c: Likewise.
8716 * sunrpc/rpc/auth.h: Likewise.
8717 * sunrpc/rpc/auth_unix.h: Likewise.
8718 * sunrpc/rpc/clnt.h: Likewise.
8719 * sunrpc/rpc/des_crypt.h: Likewise.
8720 * sunrpc/rpc/key_prot.h: Likewise.
8721 * sunrpc/rpc/netdb.h: Likewise.
8722 * sunrpc/rpc/pmap_clnt.h: Likewise.
8723 * sunrpc/rpc/pmap_prot.h: Likewise.
8724 * sunrpc/rpc/pmap_rmt.h: Likewise.
8725 * sunrpc/rpc/rpc.h: Likewise.
8726 * sunrpc/rpc/rpc_des.h: Likewise.
8727 * sunrpc/rpc/rpc_msg.h: Likewise.
8728 * sunrpc/rpc/svc.h: Likewise.
8729 * sunrpc/rpc/svc_auth.h: Likewise.
8730 * sunrpc/rpc/types.h: Likewise.
8731 * sunrpc/rpc/xdr.h: Likewise.
8732 * sunrpc/rpc_clntout.c: Likewise.
8733 * sunrpc/rpc_cmsg.c: Likewise.
8734 * sunrpc/rpc_common.c: Likewise.
8735 * sunrpc/rpc_cout.c: Likewise.
8736 * sunrpc/rpc_dtable.c: Likewise.
8737 * sunrpc/rpc_hout.c: Likewise.
8738 * sunrpc/rpc_main.c: Likewise.
8739 * sunrpc/rpc_parse.c: Likewise.
8740 * sunrpc/rpc_parse.h: Likewise.
8741 * sunrpc/rpc_prot.c: Likewise.
8742 * sunrpc/rpc_sample.c: Likewise.
8743 * sunrpc/rpc_scan.c: Likewise.
8744 * sunrpc/rpc_scan.h: Likewise.
8745 * sunrpc/rpc_svcout.c: Likewise.
8746 * sunrpc/rpc_tblout.c: Likewise.
8747 * sunrpc/rpc_util.c: Likewise.
8748 * sunrpc/rpc_util.h: Likewise.
8749 * sunrpc/rpcinfo.c: Likewise.
8750 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8751 * sunrpc/rpcsvc/key_prot.x: Likewise.
8752 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8753 * sunrpc/rpcsvc/mount.x: Likewise.
8754 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8755 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8756 * sunrpc/rpcsvc/rex.x: Likewise.
8757 * sunrpc/rpcsvc/rstat.x: Likewise.
8758 * sunrpc/rpcsvc/rusers.x: Likewise.
8759 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8760 * sunrpc/rpcsvc/spray.x: Likewise.
8761 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8762 * sunrpc/rtime.c: Likewise.
8763 * sunrpc/svc.c: Likewise.
8764 * sunrpc/svc_auth.c: Likewise.
8765 * sunrpc/svc_authux.c: Likewise.
8766 * sunrpc/svc_raw.c: Likewise.
8767 * sunrpc/svc_run.c: Likewise.
8768 * sunrpc/svc_simple.c: Likewise.
8769 * sunrpc/svc_tcp.c: Likewise.
8770 * sunrpc/svc_udp.c: Likewise.
8771 * sunrpc/svc_unix.c: Likewise.
8772 * sunrpc/svcauth_des.c: Likewise.
8773 * sunrpc/xcrypt.c: Likewise.
8774 * sunrpc/xdr.c: Likewise.
8775 * sunrpc/xdr_array.c: Likewise.
8776 * sunrpc/xdr_float.c: Likewise.
8777 * sunrpc/xdr_mem.c: Likewise.
8778 * sunrpc/xdr_rec.c: Likewise.
8779 * sunrpc/xdr_ref.c: Likewise.
8780 * sunrpc/xdr_sizeof.c: Likewise.
8781 * sunrpc/xdr_stdio.c: Likewise.
8782
8783 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8784 handling.
8785
8786 2010-08-19 Andreas Schwab <schwab@redhat.com>
8787
8788 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8789
8790 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8791
8792 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8793 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8795 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8796 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8797 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8798 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8799 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8801 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8802 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8804 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8805 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8806
8807 2010-07-26 Anton Blanchard <anton@samba.org>
8808
8809 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8810 * malloc/arena.c (heap_trim): Likewise.
8811
8812 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8813
8814 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8815 here. Not...
8816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8817 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8818
8819 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 * sysdeps/i386/elf/Makefile: New file.
8822
8823 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8824
8825 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8826 from fanotify_init.
8827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8829
8830 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8831
8832 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8833 of strncasecmp_l.
8834 * sysdeps/multiarch/strcmp.S: Likewise.
8835
8836 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8837
8838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8839 strncase_l-nonascii.
8840 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8841 Add strncase_l-ssse3.
8842 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8843 * sysdeps/x86_64/strcmp.S: Likewise.
8844 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8845 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8846 * sysdeps/x86_64/strncase.S: New file.
8847 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8848 * sysdeps/x86_64/strncase_l.S: New file.
8849 * string/Makefile (strop-tests): Add strncasecmp.
8850 * string/test-strncasecmp.c: New file.
8851
8852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8853 warning.
8854
8855 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8856 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8857
8858 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8859
8860 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8861
8862 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8863
8864 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8866 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8867
8868 2010-05-01 Alan Modra <amodra@gmail.com>
8869
8870 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8871 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8872 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8873 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8874 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8875 tidying. Don't tail-call __sigjmp_save for static lib.
8876 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8877 save location.
8878 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8879 (CALL_MCOUNT): Add eh info, and nop after bl.
8880 (TAIL_CALL_SYSCALL_ERROR): New macro.
8881 (PSEUDO_RET): Use it.
8882 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8883 Correct save location of integer regs and cr.
8884 (_dl_profile_resolve): Correct cr save location. Delete nops
8885 after bl when SHARED. Reduce cfi size a little by better
8886 placement of cfi directives.
8887 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8888 make a stack frame. Instead use parm save area as a temp.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8890 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8892 Don't make a stack frame for parent, use parm save area.
8893 Increase child stack frame to 112 bytes. Don't save unused reg,
8894 and adjust reg usage. Set up cfi on error recovery and
8895 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8897 (__makecontext): Add dummy nop after jump to exit.
8898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8899 Use correct parm save area and cr save, reduce stack frame.
8900 Correct cfi for possible PSEUDO_RET frame setup.
8901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8902 Branch to local label emitted by PSEUDO_RET rather than
8903 __syscall_error.
8904
8905 2010-08-12 Andreas Schwab <schwab@redhat.com>
8906
8907 [BZ #11904]
8908 * locale/programs/locale.c (print_assignment): New function.
8909 (show_locale_vars): Use it.
8910
8911 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8912
8913 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8914 field.
8915 (struct statfs64): Likewise.
8916 (_STATFS_F_FLAGS): Define.
8917 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8919 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8920 (ST_VALID): Define locally.
8921 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8922 __statvfs_getflags, use the provided value.
8923 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8924 __ASSUME_STATFS_F_FLAGS.
8925
8926 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8927
8928 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8929 Add sys/fanotify.h.
8930 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8931 fanotify_mask for GLIBC_2.13.
8932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8933 fanotify_init and fanotify_mark.
8934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8935 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8936
8937 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8938 Add prlimit.
8939 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8940 prlimit64 for GLIBC_2.13.
8941 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8942 prlimit64.
8943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8944 syscall.
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8947 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8948 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8950 add prlimit alias.
8951 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8952
8953 [BZ #11903]
8954 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8955 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8956
8957 * nss/Makefile: Add rules to build and run tst-nss-test1.
8958 * shlib-versions: Add entry for libnss_test1.
8959 * nss/nss_test1.c: New file.
8960 * nss/tst-nss-test1.c: New file.
8961
8962 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8963 (__nss_configure_lookup): Set appropriate entry in
8964 __nss_configure_lookup to true.
8965 * nss/nsswitch.h: Define enum with indeces of databases in
8966 databases and __nss_database_custom arrays. Declare
8967 __nss_database_custom.
8968 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8969 to avoid using nscd when custom rules are installed.
8970 * nss/getXXbyYY_r.c: Likewise.
8971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8972
8973 * nss/nss_files/files-parse.c: Whitespace fixes.
8974
8975 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8976
8977 [BZ #11883]
8978 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8979 * posix/fnmatch_loop.c: Likewise.
8980
8981 2010-07-17 Andi Kleen <ak@linux.intel.com>
8982
8983 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8984 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8985 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8986 * Versions.def [GLIBC_2.13]: Add.
8987
8988 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8989
8990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8991 Also fail if tpwd after pwuid call is NULL.
8992
8993 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8994
8995 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8996 when converting to ms.
8997
8998 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8999
9000 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9001 EOPNOTSUPP errors with ENOTTY.
9002 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9003 EOPNOTSUPP errors with ENOTTY.
9004
9005 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9006
9007 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9008 Add strcasecmp_l-ssse3.
9009 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9010 strcasecmp.
9011 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9012 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9014
9015 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9016
9017 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9018
9019 * string/Makefile (strop-tests): Add strcasecmp.
9020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9021 strcasecmp_l-nonascii.
9022 (gen-as-const-headers): Add locale-defines.sym.
9023 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9024 * sysdeps/x86_64/strcasecmp.S: New file.
9025 * sysdeps/x86_64/strcasecmp_l.S: New file.
9026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9027 * sysdeps/x86_64/locale-defines.sym: New file.
9028 * string/test-strcasecmp.c: New file.
9029
9030 * string/test-strcasestr.c: Test both ends of the range of characters.
9031 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9032
9033 2010-07-29 Roland McGrath <roland@redhat.com>
9034
9035 [BZ #11856]
9036 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9037
9038 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9039
9040 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9041 for ld.so.
9042
9043 2010-07-27 Andreas Schwab <schwab@redhat.com>
9044
9045 * manual/memory.texi (Malloc Tunable Parameters): Document
9046 M_PERTURB.
9047
9048 2010-07-26 Roland McGrath <roland@redhat.com>
9049
9050 [BZ #11840]
9051 * configure.in (-fgnu89-inline check): Set and substitute
9052 gnu89_inline, not libc_cv_gnu89_inline.
9053 * configure: Regenerated.
9054 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9055
9056 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9057
9058 * string/test-strnlen.c: New file.
9059 * string/Makefile (strop-tests): Add strnlen.
9060 * string/tester.c (test_strnlen): Add a few more test cases.
9061 * string/tst-strlen.c: Better error reporting.
9062
9063 * sysdeps/x86_64/strnlen.S: New file.
9064
9065 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9066
9067 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9068 lower-latency instructions.
9069
9070 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9071
9072 * string/test-strcasestr.c: New file.
9073 * string/test-strstr.c: New file.
9074 * string/Makefile (strop-tests): Add strstr and strcasestr.
9075 * string/str-two-way.h: Don't undefine MAX.
9076 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9077
9078 2010-07-21 Andreas Schwab <schwab@redhat.com>
9079
9080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9081 strcasestr-nonascii.
9082 (CFLAGS-strcasestr-nonascii.c): Define.
9083 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9084 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9085 Remove unused attribute.
9086
9087 2010-07-20 Roland McGrath <roland@redhat.com>
9088
9089 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
9090 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
9091 ld.so.cache was broken. With it, there is no way to disable dsocaps
9092 like LD_HWCAP_MASK can disable hwcaps.
9093
9094 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9095
9096 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
9097
9098 2010-07-16 Ulrich Drepper <drepper@redhat.com>
9099
9100 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
9101 call in strcasestr.
9102 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
9103 __strcasestr_sse42_nonascii.
9104 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
9105 strcasestr-nonascii.c.
9106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
9107
9108 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
9109
9110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
9111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
9112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
9113 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
9114
9115 2010-07-09 Ulrich Drepper <drepper@redhat.com>
9116
9117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
9118 fcntl.
9119
9120 2010-07-06 Andreas Schwab <schwab@redhat.com>
9121
9122 [BZ #11577]
9123 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
9124 dl_signal_cerror.
9125
9126 2010-07-06 Ulrich Drepper <drepper@redhat.com>
9127
9128 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
9129 _PC_PIPE_BUF using F_GETPIPE_SZ.
9130
9131 2010-07-05 Roland McGrath <roland@redhat.com>
9132
9133 * manual/arith.texi (Rounding Functions): Fix rint description
9134 implicit in round description.
9135
9136 2010-07-02 Ulrich Drepper <drepper@redhat.com>
9137
9138 * elf/Makefile: Fix linking for a few tests to make recent linker
9139 happy.
9140
9141 2010-06-30 Andreas Schwab <schwab@redhat.com>
9142
9143 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9144 $(common-objpfx)libc_nonshared.a.
9145
9146 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
9147
9148 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
9149 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
9150 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9151 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9152 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
9153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
9154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9155 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
9157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
9162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
9163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
9165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
9170 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
9171 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
9172 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
9173 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
9174 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
9175 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
9176 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
9177 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
9178 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
9179 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
9180 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
9181 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
9183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
9184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
9185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
9186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
9187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
9188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
9190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
9191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
9196
9197 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
9198
9199 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
9200 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
9201 * string/memmove.c (memmove): Renamed to ...
9202 (MEMMOVE): ...this. Default to memmove.
9203 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
9204 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
9205 (END_CHK): Define.
9206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9207 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
9208 mempcpy-ssse3-back memmove-ssse3-back.
9209 * sysdeps/x86_64/multiarch/bcopy.S: New file .
9210 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
9211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
9212 * sysdeps/x86_64/multiarch/memcpy.S: New file.
9213 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
9214 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
9215 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
9216 * sysdeps/x86_64/multiarch/memmove.c: New file.
9217 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
9218 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
9219 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
9220 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
9221 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
9222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
9223 Define.
9224 (index_Fast_Copy_Backward): Define.
9225 (HAS_ARCH_FEATURE): Define.
9226 (HAS_FAST_REP_STRING): Define.
9227 (HAS_FAST_COPY_BACKWARD): Define.
9228
9229 2010-06-21 Andreas Schwab <schwab@redhat.com>
9230
9231 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9232 Restore proper fallback handling.
9233
9234 2010-06-19 Ulrich Drepper <drepper@redhat.com>
9235
9236 [BZ #11701]
9237 * posix/group_member.c (__group_member): Correct checking loop.
9238
9239 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
9240 OOM in getpwuid_r correctly. Return error number when the caller
9241 should return, otherwise -1.
9242 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
9243 call returning > 0 value.
9244 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
9245
9246 2010-06-07 Andreas Schwab <schwab@redhat.com>
9247
9248 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
9249 libc_nonshared.a from targets in modules-names.
9250
9251 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
9252
9253 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
9254 requires it.
9255
9256 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
9257
9258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
9259 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
9260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
9261 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
9262
9263 2010-06-02 Andreas Schwab <schwab@redhat.com>
9264
9265 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
9266
9267 2010-06-14 Ulrich Drepper <drepper@redhat.com>
9268
9269 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
9270 and F_GETPIPE_SZ.
9271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
9277
9278 2010-06-14 Roland McGrath <roland@redhat.com>
9279
9280 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
9281
9282 2010-06-07 Jakub Jelinek <jakub@redhat.com>
9283
9284 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
9285 __REDIRECT followed by __THROW.
9286 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
9287 * posix/getopt.h (getopt): Likewise.
9288
9289 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
9290
9291 * hurd/lookup-at.c (__file_name_lookup_at): Accept
9292 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
9293 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
9294 in AT_FLAGS.
9295 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
9296 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9297
9298 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9299
9300 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9301
9302 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9303
9304 [BZ #11640]
9305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9306 Properly check family and model.
9307
9308 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9309
9310 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9311
9312 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9313
9314 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9315
9316 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9317
9318 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9319 symbol reference.
9320
9321 2010-05-19 Andreas Schwab <schwab@redhat.com>
9322
9323 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9324 symbol reference.
9325
9326 2010-05-21 Andreas Schwab <schwab@redhat.com>
9327
9328 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9329 and internal_recvmmsg.
9330 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9331 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9333 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9334
9335 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9336 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9337 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9338
9339 2010-05-20 Andreas Schwab <schwab@redhat.com>
9340
9341 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9342
9343 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9344
9345 POWER7 optimizations.
9346 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9347 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9348
9349 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9350
9351 * version.h: Update for 2.13 development version.
9352
9353 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9354
9355 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9356 exceptions. Return 0.
9357
9358 2010-05-07 Roland McGrath <roland@redhat.com>
9359
9360 * elf/ldconfig.c (main): Add a const.
9361
9362 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9363
9364 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9365 (args_options): Add no-idn option.
9366 (ahosts_keys_int): Add idn_flags to ai_flags.
9367 (parse_option): Handle 'i' option to clear idn_flags.
9368
9369 * malloc/malloc.c (_int_free): Possible race in the most recently
9370 added check. Only act on the data if no current modification
9371 happened.
9372
9373 See ChangeLog.17 for earlier changes.