1 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4 * manual/string.texi (strnlen): Use correct parameter name in
7 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10 * manual/users.texi (seteuid): Consistently use neweuid for
13 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16 * manual/nss.texi (Services in the NSS configuration): Correct
17 list of services in example configuration file.
19 2012-02-19 Nick Bowler <nbowler@draconx.ca>
22 * manual/arith.texi: Remove statements about negative zero
23 behaving identically to zero.
25 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28 * manual/install.texi: Do not document upgrading from libc5.
30 2012-02-18 Joseph Myers <joseph@codesourcery.com>
33 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35 2012-02-18 David S. Miller <davem@davemloft.net>
37 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46 * sysdeps/sparc/crtn.S: Likewise.
48 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50 * aout/Makefile: Remove.
52 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
55 * manual/examples/argp-ex1.c (main): Format definition in GNU
57 * manual/examples/argp-ex2.c (main): Likewise.
58 * manual/examples/argp-ex3.c (main): Likewise.
59 * manual/examples/argp-ex4.c (main): Likewise.
60 * manual/examples/longopt.c (main): Use new-style prototype
62 * manual/examples/strncat.c (main): Specify return type and use
64 * manual/examples/subopt.c (main): Use char **argv argument.
66 2012-02-17 Joseph Myers <joseph@codesourcery.com>
69 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
75 * manual/string.texi (strchr): Change when strchrnul is
78 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
81 * manual/locale.texi (setlocale): Document LOCPATH.
83 2012-02-17 Joseph Myers <joseph@codesourcery.com>
86 * manual/process.texi (execle): Move @dots{} before last argument.
88 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
91 * manual/charset.texi (Generic Charset Conversion): Fix typo
92 (LC_TYPE -> LC_CTYPE).
94 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
97 * manual/arith.texi (scalbn): Use @var{} on parameter names.
101 (scalblnf): Likewise.
102 (scalblnl): Likewise.
103 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
107 * manual/filesys.texi (telldir): Use braces around return type.
108 * manual/llio.texi (mmap): Add space after comma.
110 * manual/math.texi (jn): Use @var{} on parameter names.
116 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
118 * manual/resource.texi (ulimit): Use @dots{} instead of literal
120 (sched_get_priority_min): Remove semicolon on @deftypefun line.
121 (sched_get_priority_max): Likewise.
122 * manual/signal.texi (sigvec): Add space after comma.
123 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
125 (if_indextoname): Likewise.
126 (if_freenameindex): Likewise.
127 (sendto): Use ',' instead of '.' in prototype.
128 * manual/startup.texi (syscall): Use @dots{} instead of literal
130 * manual/stdio.texi (__fpending): Separate initial words of
131 paragraph from @deftypefun line.
132 * manual/syslog.texi (syslog): Use @dots{} instead of literal
134 (vsyslog): Use @var{} on parameter names.
135 * manual/terminal.texi (stty): Use @var{} on parameter names.
136 * manual/users.texi (getutmp): Use @var{} on parameter names.
137 (getutmpx): Likewise.
139 2012-02-17 Joseph Myers <joseph@codesourcery.com>
142 * manual/stdio.texi (fopen): Fix typos in description of
145 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
148 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
149 get clock_id definition.
151 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
154 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
155 (madvise): Cast every argument to void on its own.
157 2012-02-17 Joseph Myers <joseph@codesourcery.com>
160 * manual/startup.texi (Exit Status): Fix typo.
162 2012-02-17 Joseph Myers <joseph@codesourcery.com>
165 * manual/examples/argp-ex1.c: Include <stdlib.h>.
166 * manual/examples/argp-ex2.c: Likewise.
167 * manual/examples/argp-ex3.c: Likewise.
169 2012-02-16 Richard Henderson <rth@redhat.com>
171 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
172 * sysdeps/s390/s390-32/initfini.c: Remove.
173 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
174 * sysdeps/s390/s390-64/initfini.c: Remove.
176 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
178 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
179 compiler output for sysdeps/generic/initfini.c.
180 * sysdeps/sh/elf/initfini.c: Remove file.
182 2012-02-16 David S. Miller <davem@davemloft.net>
185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
187 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
188 * sysdeps/sparc/crti.S: New file.
189 * sysdeps/sparc/crtn.S: New file.
190 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
191 * sysdeps/sparc/sparc64/Makefile: Likewise.
193 2012-02-15 Mike Frysinger <vapier@gentoo.org>
196 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
198 2012-02-15 Roland McGrath <roland@hack.frob.com>
201 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
203 * mach/devstream.c (cookie_io_functions_t): Macro removed.
204 (write, read, close): Likewise.
205 Patch by Aurelien Jarno <aurelien@aurel32.net>.
207 2012-02-15 Joseph Myers <joseph@codesourcery.com>
209 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
210 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
211 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
212 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
214 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
218 2012-02-14 Marek Polacek <polacek@redhat.com>
220 * sysdeps/x86_64/crti.S: New file.
221 * sysdeps/x86_64/crtn.S: New file.
222 * sysdeps/x86_64/elf/initfini.c: Remove file.
224 2012-02-13 Joseph Myers <joseph@codesourcery.com>
226 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
227 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
228 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
229 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
231 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
235 2012-02-13 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
238 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
240 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
242 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
246 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
248 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
249 __feraiseexcept instead of feraiseexcept.
251 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
252 nanosleep invocations.
253 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
254 strings, and add error checking for a nanosleep invocations.
256 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
258 Replace FSF snail mail address with URLs, as per GNU coding standards.
259 Most of the snail mail addresses were wrong anyway, and omitting
260 them makes the source code easier to maintain. Almost all of the
261 changes are to license notices and to locale LC_IDENTIFICATION
262 addresses, except for this one:
263 * manual/libc.texinfo: In "Published by", give the FSF's URL,
264 not its snail mail address.
266 2012-02-09 Richard Henderson <rth@twiddle.net>
268 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
269 of kernel-features.h.
271 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
273 2012-02-08 Marek Polacek <polacek@redhat.com>
275 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
276 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
277 * sysdeps/gnu/_G_config.h: Likewise.
278 * sysdeps/generic/_G_config.h: Likewise.
280 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
282 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
286 * sysdeps/powerpc/powerpc32/crti.S: New file.
287 * sysdeps/powerpc/powerpc32/crtn.S: New file.
288 * sysdeps/powerpc/powerpc64/crti.S: New file.
289 * sysdeps/powerpc/powerpc64/crtn.S: New file.
291 * Makeconfig (have-initfini): Don't set.
292 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
293 * configure.in (nopic_initfini): Don't substitute.
294 * config.h.in (HAVE_INITFINI): Don't #undef.
295 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
296 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
298 2012-02-08 Joseph Myers <joseph@codesourcery.com>
300 Support crti.S and crtn.S provided directly by architectures.
301 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
302 [crti.S in sysdirs] (omit-deps): Likewise.
303 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
304 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
305 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
306 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
307 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
308 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
309 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
310 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
311 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
312 compiler output for sysdeps/generic/initfini.c.
313 * sysdeps/i386/elf/Makefile: Remove file.
314 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
316 2012-02-07 Marek Polacek <polacek@redhat.com>
318 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
319 * sysdeps/gnu/_G_config.h: Likewise.
320 * sysdeps/mach/hurd/_G_config.h: Likewise.
322 2012-02-07 Marek Polacek <polacek@redhat.com>
324 * math/Makefile (tests): Add tst-CMPLX2.
325 * math/tst-CMPLX2.c: New file.
327 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
329 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
331 * math/libm-test.inc (jn_test): Add missing L suffix.
333 2012-02-06 Marek Polacek <polacek@redhat.com>
335 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
336 * sysdeps/i386/fpu/e_powf.S: Likewise.
337 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
338 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
339 * sysdeps/i386/fpu/e_acosh.S: Likewise.
340 * sysdeps/i386/fpu/e_pow.S: Likewise.
341 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
342 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
343 * sysdeps/i386/fpu/s_expm1.S: Likewise.
344 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
345 * sysdeps/i386/fpu/e_log2.S: Likewise.
346 * sysdeps/i386/fpu/e_log2l.S: Likewise.
347 * sysdeps/i386/fpu/e_scalb.S: Likewise.
348 * sysdeps/i386/fpu/e_powl.S: Likewise.
349 * sysdeps/i386/fpu/s_log1p.S: Likewise.
350 * sysdeps/i386/fpu/e_log10f.S: Likewise.
351 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
352 * sysdeps/i386/fpu/e_logl.S: Likewise.
353 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
354 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
355 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
356 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
357 * sysdeps/i386/fpu/e_log2f.S: Likewise.
358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
359 * sysdeps/i386/fpu/e_log.S: Likewise.
360 * sysdeps/i386/fpu/s_cexp.S: Likewise.
361 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
362 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
363 * sysdeps/i386/fpu/e_logf.S: Likewise.
364 * sysdeps/i386/fpu/e_log10l.S: Likewise.
365 * sysdeps/i386/fpu/e_atanh.S: Likewise.
366 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
367 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
368 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
369 * sysdeps/i386/fpu/e_log10.S: Likewise.
370 * sysdeps/i386/fpu/s_frexp.S: Likewise.
371 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
372 * sysdeps/i386/fpu/s_asinh.S: Likewise.
373 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
374 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
375 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
376 * sysdeps/i386/asm-syntax.h: Likewise.
377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
378 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
380 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
381 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
382 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
383 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
384 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
386 * sysdeps/powerpc/sysdep.h: Likewise.
387 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
390 2012-02-06 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
395 2012-02-06 Joseph Myers <joseph@codesourcery.com>
397 * sysdeps/i386/sysdep.h: Include <features.h>.
398 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
401 2012-02-05 Joseph Myers <joseph@codesourcery.com>
403 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
405 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
408 2012-02-03 Joseph Myers <joseph@codesourcery.com>
410 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
411 (SETUP_PIC_REG): Use GET_PC_THUNK.
412 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
415 2012-02-03 Joseph Myers <joseph@codesourcery.com>
417 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
418 for non-PIC compilation.
419 (SETUP_PIC_REG): Add .p2align directive.
420 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
421 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
422 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
423 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
425 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
428 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
429 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
430 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
431 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
432 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
433 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
434 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
435 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
436 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
437 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
438 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
439 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
442 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
443 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
448 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
449 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
450 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
452 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
453 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
454 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
455 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
456 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
457 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
458 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
459 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
460 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
462 2012-02-03 Joseph Myers <joseph@codesourcery.com>
464 * math/tst-CMPLX.c: Include <stdio.h>.
466 2012-01-31 Joseph Myers <joseph@codesourcery.com>
468 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
471 * sysdeps/sparc/bits/mathdef.h: Likewise.
473 2012-01-31 Marek Polacek <polacek@redhat.com>
475 * libio/libio.h: Don't define _PARAMS.
476 * locale/programs/config.h: Don't define PARAMS.
477 * stdlib/strtol_l.c: Likewise.
478 (__strtol_l): Remove PARAMS from the prototype.
480 2012-01-31 Ulrich Drepper <drepper@gmail.com>
482 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
483 names. Just use the correct names. Remove unnecessary wrapper
485 * malloc/arena.c: Likewise.
486 * malloc/hooks.c: Likewise.
488 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
489 ARENA_TEST says not to. Simplify test for creation of a new arena.
490 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
492 2012-01-30 Ulrich Drepper <drepper@gmail.com>
494 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
496 (update_get_addr): New function.
497 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
498 GET_ADDR_MODULE parameter.
500 2012-01-30 Joseph Myers <joseph@codesourcery.com>
502 * crypt/cert.c: Remove __STDC__ conditionals.
503 * crypt/crypt-entry.c: Likewise.
504 * crypt/crypt_util.c: Likewise.
505 * libio/filedoalloc.c: Likewise.
506 * libio/fileops.c: Likewise.
507 * libio/genops.c: Likewise.
508 * libio/iofclose.c: Likewise.
509 * libio/iofdopen.c: Likewise.
510 * libio/iofopen.c: Likewise.
511 * libio/iofopen64.c: Likewise.
512 * libio/iogetdelim.c: Likewise.
513 * libio/iopopen.c: Likewise.
514 * libio/obprintf.c: Likewise.
515 * libio/oldfileops.c: Likewise.
516 * libio/oldiofclose.c: Likewise.
517 * libio/oldiofdopen.c: Likewise.
518 * libio/oldiofopen.c: Likewise.
519 * libio/oldiopopen.c: Likewise.
520 * libio/wfiledoalloc.c: Likewise.
521 * libio/wgenops.c: Likewise.
522 * locale/programs/xmalloc.c: Likewise.
523 * misc/syslog.c: Likewise.
524 * stdio-common/xbug.c: Likewise.
525 * string/memchr.c: Likewise.
526 * string/memcmp.c: Likewise.
527 * string/memrchr.c: Likewise.
528 * string/rawmemchr.c: Likewise.
529 * sysdeps/posix/getcwd.c: Likewise.
530 * time/strftime_l.c: Likewise.
532 2012-01-30 Joseph Myers <joseph@codesourcery.com>
534 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
535 * config.make.in (config-cflags-sse2avx): Define.
536 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
539 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
541 * scripts/config.guess: Update from upstream config git repository.
542 * scripts/config.sub: Likewise.
544 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
546 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
548 (R_TILEPRO_*, R_TILEGX_*): New macros.
550 * scripts/firstversions.awk: Fix bug in version range handling.
552 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
554 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
556 * include/sys/epoll.h: New file.
557 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
560 2012-01-28 Ulrich Drepper <drepper@gmail.com>
562 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
563 Avoid unnecessary __WORDSIZE == 64 test.
564 (fmaxf): Use VEX format if possible.
569 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
570 * math/math_private.h: Remove libc_fegetround* and
572 * sysdeps/i386/configure.in: Check for -msse2avx.
573 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
574 also if SSE2AVX is defined.
575 Remove libc_fegetround* and libc_fesetround*.
576 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
577 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
586 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
588 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
592 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
594 2012-01-27 Ulrich Drepper <drepper@gmail.com>
597 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
599 * Makeconfig (libm): Define.
600 * elf/Makefile: Add rules to build and run tst-relsort1.
601 * elf/tst-relsort1.c: New file.
602 * elf/tst-relsort1mod1.c: New file.
603 * elf/tst-relsort1mod2.c: New file.
605 2012-01-27 Joseph Myers <joseph@codesourcery.com>
607 * math/s_ldexp.c: Remove __STDC__ conditionals.
608 * math/s_ldexpf.c: Likewise.
609 * math/s_ldexpl.c: Likewise.
610 * math/s_nextafter.c: Likewise.
611 * math/s_nexttowardf.c: Likewise.
612 * math/s_significand.c: Likewise.
613 * math/s_significandf.c: Likewise.
614 * math/s_significandl.c: Likewise.
615 * math/w_jnl.c: Likewise.
616 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
617 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
618 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
619 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
620 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
622 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
623 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
624 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
629 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
630 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
632 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
633 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
638 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
640 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
641 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
642 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
643 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
644 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
645 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
646 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
647 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
648 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
649 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
651 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
652 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
653 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
654 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
655 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
656 * sysdeps/ieee754/k_standard.c: Likewise.
657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
658 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
659 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
660 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
661 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
662 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
663 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
664 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
665 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
666 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
667 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
668 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
669 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
670 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
676 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
679 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
680 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
681 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
682 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
688 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
694 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
700 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
701 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
702 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
707 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
708 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
709 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
713 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
715 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
716 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
717 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
718 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
719 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
721 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
722 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
723 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
724 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
725 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
728 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
729 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
730 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
731 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
732 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
733 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
734 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
735 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
736 * sysdeps/ieee754/s_matherr.c: Likewise.
737 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
738 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
742 2012-01-26 Joseph Myers <joseph@codesourcery.com>
744 * crypt/md5.h: Remove __STDC__ conditionals.
745 * libio/libioP.h: Likewise.
746 * locale/programs/config.h: Likewise.
747 * sysdeps/generic/sysdep.h: Likewise.
748 * sysdeps/i386/asm-syntax.h: Likewise.
749 * sysdeps/s390/asm-syntax.h: Likewise.
750 * sysdeps/unix/sysdep.h: Likewise.
751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
754 2012-01-26 Joseph Myers <joseph@codesourcery.com>
756 * libio/libio.h: Remove __STDC__ conditionals.
757 * malloc/obstack.h: Likewise.
758 * math/complex.h: Likewise.
759 * math/math.h: Likewise.
760 * sysdeps/generic/_G_config.h: Likewise.
761 * sysdeps/gnu/_G_config.h: Likewise.
762 * sysdeps/mach/hurd/_G_config.h: Likewise.
763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
764 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
765 * sysdeps/sparc/bits/mathdef.h: Likewise.
767 2012-01-26 Ulrich Drepper <drepper@gmail.com>
770 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
771 Clean up HAS_* macros.
772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
773 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
783 2012-01-25 Joseph Myers <joseph@codesourcery.com>
785 * elf/tst-unique3.cc (gets): Remove declaration.
786 * elf/tst-unique3lib.cc (gets): Likewise.
787 * elf/tst-unique3lib2.cc (gets): Likewise.
788 * elf/tst-unique4.cc (gets): Likewise.
790 2012-01-24 Ulrich Drepper <drepper@gmail.com>
792 * include/stdio.h: Add C++ protection. Add gets declarations and
794 * debug/tst-chk1.c: Don't declare gets here.
795 * stdio-common/tst-gets.c: Likewise.
797 2012-01-24 Joseph Myers <joseph@codesourcery.com>
799 * posix/glob: Remove directory.
801 2012-01-24 Joseph Myers <joseph@codesourcery.com>
803 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
805 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
807 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
808 of the non-standard EPFNOSUPPORT.
810 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
812 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
813 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
814 ANYWHERE set to 1 only on KERN_NO_SPACE error.
816 2012-01-21 Ulrich Drepper <drepper@gmail.com>
818 * wcsmbs/uchar.h: Test __STDC_VERSION__.
820 2012-01-20 Ulrich Drepper <drepper@gmail.com>
822 * nscd/aicache.c (addhstaiX): Do not cache negative results of
824 * nscd/grpcache.c (cache_addgr): Likewise.
825 * nscd/hstcache.c (cache_addhst): Likewise.
826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
827 * nscd/pwdcache.c (cache_addpw): Likewise.
828 * nscd/servicescache.c (cache_addserv): Likewise.
830 2012-01-16 Ulrich Drepper <drepper@gmail.com>
832 * malloc/malloc.c: Various cleanups.
833 * malloc/hooks.c: Likewise.
835 * stdlib/Makefile (tests): Add bug-fmtmsg1.
836 * stdlib/bug-fmtmsg1.c: New file.
838 * stdlib/fmtmsg.c (init): Add missing unlock.
839 Patch by Peng Haitao <penght@cn.fujitsu.com>.
841 2012-01-12 Marek Polacek <polacek@redhat.com>
843 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
846 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
848 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
849 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
850 macro to ensure uniqueness of label name.
851 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
852 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
854 2012-01-11 Ulrich Drepper <drepper@gmail.com>
856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
858 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
859 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
860 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
863 2012-01-10 Ulrich Drepper <drepper@gmail.com>
865 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
867 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
868 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
869 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
871 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
874 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
878 * math/bits/math-finite.h: Add ldexp support.
880 2012-01-10 Marek Polacek <polacek@redhat.com>
882 * locale/programs/localedef.h (show_archive_content): Add noreturn
885 2012-01-09 Ulrich Drepper <drepper@gmail.com>
887 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
889 2012-01-08 Ulrich Drepper <drepper@gmail.com>
891 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
893 * io/Makefile (headers): Add bits/poll2.h.
895 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
898 typo #include statement.
900 2012-01-08 Ulrich Drepper <drepper@gmail.com>
902 * include/sys/cdefs.h: Define __attribute_alloc_size.
903 * catgets/gencat.c: Add alloc_size attribute and apply consistently
904 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
905 * elf/pldd.c: Likewise.
906 * iconv/iconv_charmap.c: Likewise.
907 * iconv/iconvconfig.c: Likewise.
908 * iconv/strtab.c: Likewise.
909 * locale/programs/locale.c: Likewise.
910 * locale/programs/localedef.h: Likewise.
911 * locale/programs/simple-hash.c: Likewise.
912 * nscd/nscd.h: Likewise.
913 * nss/makedb.c: Likewise.
914 * sysdeps/generic/ldconfig.h: Likewise.
915 * locale/programs/localedef.c: Remove xmalloc prototype.
916 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
918 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
920 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
923 2012-01-08 Ulrich Drepper <drepper@gmail.com>
925 * math/Makefile (tests): Add tst-CMPLX.
926 * math/tst-CMPLX.c: New file.
928 * math/complex.h (CMPLXL): Fix typo.
930 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
931 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
933 * debug/tst-chk1.c: Add poll and ppoll tests.
934 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
935 * include/sys/poll.h: Add hidden proto for ppoll.
936 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
937 * sysdeps/mach/hurd/ppoll.c: Likewise.
938 * io/ppoll.c: Likewise.
939 * debug/poll_chk.c: New file.
940 * debug/ppoll_chk.c: New file.
941 * include/bits/poll2.h: New file.
942 * io/bits/poll2.h: New file.
945 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
947 * configure.in: static is always set to yes. Remove.
948 * config.make.in: Don't set build-static.
949 * Makeconfig: Remove use of build-static.
950 * dlfcn/Makefile: Likewise.
951 * elf/Makefile: Likewise.
952 * math/Makefile: Likewise.
953 * misc/Makefile: Likewise.
954 * nptl/Makefile: Likewise.
955 * sysdeps/mach/hurd/Makefile: Likewise.
957 * configure.in: PWD_P is not used anymore.
958 * config.make.in: Remove PWD_P entry.
960 * configure.in: Remove last remnants of RANLIB.
961 No need to check for signed size_t anymore.
962 Don't set libc_commonpagesize and libc_relro_required here for Alpha
964 Remove __builtin_expect test because we require at least gcc 3.4.
965 * aclocal.m4: Likewise.
967 * wcsmbs/mbrtoc16.c: Implement using towc function.
968 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
969 * wcsmbs/wcsmbsload.c: Likewise.
970 * iconv/gconv_simple.c: Likewise.
971 * iconv/gconv_int.h: Likewise.
972 * iconv/gconv_builtin.h: Likewise.
973 * iconv/iconv_prog.c: Remove CHAR16 handling.
975 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
977 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
979 * configure.in: Remove --with-elf and --enable-bounded options.
980 Dont set base_machine for ia64. More non-ELF conditions removed.
981 Remove testing and setting of leading underscore information.
982 * config.make.in (build-bounded): Set to no.
983 * config.h.in: Remove NO_UNDERSCORES entry.
984 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
986 * csu/start.c: Remove !NO_UNDERSCORE code.
987 * locale/localeinfo.h: Likewise.
988 * sysdeps/generic/machine-gmon.h: Likewise.
989 * sysdeps/generic/sysdep.h: Likewise.
990 * sysdeps/i386/sysdep.h: Likewise.
991 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
992 * sysdeps/mach/sysdep.h: Likewise.
993 * sysdeps/s390/s390-32/sysdep.h: Likewise.
994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
995 * sysdeps/sh/sysdep.h: Likewise.
996 * sysdeps/sparc/sparc32/alloca.S: Likewise.
997 * sysdeps/unix/i386/sysdep.S: Likewise.
998 * sysdeps/unix/sparc/start.c: Likewise.
999 * sysdeps/unix/sparc/sysdep.S: Likewise.
1000 * sysdeps/unix/sparc/sysdep.h: Likewise.
1001 * sysdeps/unix/start.c: Likewise.
1002 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1003 * sysdeps/x86_64/sysdep.h: Likewise.
1005 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1008 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1010 * argp/argp-fmtstream.h: Use const instead __const.
1011 * argp/argp.h: Likewise.
1012 * assert/assert.h: Likewise.
1013 * bits/fenv.h: Likewise.
1014 * bits/sched.h: Likewise.
1015 * bits/sigset.h: Likewise.
1016 * bits/sigthread.h: Likewise.
1017 * catgets/nl_types.h: Likewise.
1018 * conform/data/pthread.h-data: Likewise.
1019 * crypt/crypt-private.h: Likewise.
1020 * crypt/crypt.h: Likewise.
1021 * crypt/crypt_util.c: Likewise.
1022 * ctype/ctype.h: Likewise.
1023 * debug/execinfo.h: Likewise.
1024 * debug/mbsnrtowcs_chk.c: Likewise.
1025 * debug/mbsrtowcs_chk.c: Likewise.
1026 * debug/wcsnrtombs_chk.c: Likewise.
1027 * debug/wcsrtombs_chk.c: Likewise.
1028 * debug/wcstombs_chk.c: Likewise.
1029 * dirent/dirent.h: Likewise.
1030 * dlfcn/dlfcn.h: Likewise.
1031 * elf/neededtest4.c: Likewise.
1032 * grp/grp.h: Likewise.
1033 * gshadow/gshadow.h: Likewise.
1034 * iconv/gconv.h: Likewise.
1035 * iconv/gconv_int.h: Likewise.
1036 * iconv/gconv_simple.c: Likewise.
1037 * iconv/iconv.h: Likewise.
1038 * iconv/loop.c: Likewise.
1039 * iconv/skeleton.c: Likewise.
1040 * include/aio.h: Likewise.
1041 * include/aliases.h: Likewise.
1042 * include/argz.h: Likewise.
1043 * include/arpa/inet.h: Likewise.
1044 * include/assert.h: Likewise.
1045 * include/dirent.h: Likewise.
1046 * include/dlfcn.h: Likewise.
1047 * include/execinfo.h: Likewise.
1048 * include/fcntl.h: Likewise.
1049 * include/fenv.h: Likewise.
1050 * include/glob.h: Likewise.
1051 * include/grp.h: Likewise.
1052 * include/libintl.h: Likewise.
1053 * include/mntent.h: Likewise.
1054 * include/netdb.h: Likewise.
1055 * include/pwd.h: Likewise.
1056 * include/rpc/netdb.h: Likewise.
1057 * include/sched.h: Likewise.
1058 * include/search.h: Likewise.
1059 * include/shadow.h: Likewise.
1060 * include/signal.h: Likewise.
1061 * include/stdio.h: Likewise.
1062 * include/stdlib.h: Likewise.
1063 * include/string.h: Likewise.
1064 * include/sys/socket.h: Likewise.
1065 * include/sys/stat.h: Likewise.
1066 * include/sys/statfs.h: Likewise.
1067 * include/sys/statvfs.h: Likewise.
1068 * include/sys/syslog.h: Likewise.
1069 * include/sys/time.h: Likewise.
1070 * include/sys/uio.h: Likewise.
1071 * include/time.h: Likewise.
1072 * include/unistd.h: Likewise.
1073 * include/utmp.h: Likewise.
1074 * include/wchar.h: Likewise.
1075 * include/wctype.h: Likewise.
1076 * inet/aliases.h: Likewise.
1077 * inet/arpa/inet.h: Likewise.
1078 * inet/netinet/ether.h: Likewise.
1079 * inet/netinet/in.h: Likewise.
1080 * intl/libintl.h: Likewise.
1081 * io/bits/fcntl2.h: Likewise.
1082 * io/fcntl.h: Likewise.
1083 * io/ftw.h: Likewise.
1084 * io/sys/poll.h: Likewise.
1085 * io/sys/stat.h: Likewise.
1086 * io/sys/statfs.h: Likewise.
1087 * io/sys/statvfs.h: Likewise.
1088 * io/utime.h: Likewise.
1089 * libio/bits/stdio.h: Likewise.
1090 * libio/bits/stdio2.h: Likewise.
1091 * libio/libio.h: Likewise.
1092 * libio/libioP.h: Likewise.
1093 * libio/stdio.h: Likewise.
1094 * locale/lc-ctype.c: Likewise.
1095 * locale/locale.h: Likewise.
1096 * login/utmp.h: Likewise.
1097 * malloc/arena.c: Likewise.
1098 * malloc/malloc.c: Likewise.
1099 * malloc/malloc.h: Likewise.
1100 * malloc/mcheck.c: Likewise.
1101 * malloc/mtrace.c: Likewise.
1102 * math/bits/mathcalls.h: Likewise.
1103 * math/fenv.h: Likewise.
1104 * math/math_private.h: Likewise.
1105 * misc/bits/error.h: Likewise.
1106 * misc/bits/syslog.h: Likewise.
1107 * misc/err.h: Likewise.
1108 * misc/error.h: Likewise.
1109 * misc/fstab.h: Likewise.
1110 * misc/mntent.h: Likewise.
1111 * misc/regexp.h: Likewise.
1112 * misc/search.h: Likewise.
1113 * misc/sgtty.h: Likewise.
1114 * misc/sys/mman.h: Likewise.
1115 * misc/sys/syslog.h: Likewise.
1116 * misc/sys/uio.h: Likewise.
1117 * misc/sys/xattr.h: Likewise.
1118 * misc/ttyent.h: Likewise.
1119 * nis/rpcsvc/ypclnt.h: Likewise.
1120 * nss/nss.h: Likewise.
1121 * posix/bits/unistd.h: Likewise.
1122 * posix/fnmatch.h: Likewise.
1123 * posix/glob.h: Likewise.
1124 * posix/sched.h: Likewise.
1125 * posix/spawn.h: Likewise.
1126 * posix/sys/wait.h: Likewise.
1127 * posix/unistd.h: Likewise.
1128 * posix/wordexp.h: Likewise.
1129 * pwd/pwd.h: Likewise.
1130 * resolv/netdb.h: Likewise.
1131 * resource/sys/resource.h: Likewise.
1132 * rt/aio.h: Likewise.
1133 * rt/bits/mqueue2.h: Likewise.
1134 * rt/mqueue.h: Likewise.
1135 * shadow/shadow.h: Likewise.
1136 * signal/signal.h: Likewise.
1137 * socket/send.c: Likewise.
1138 * socket/sendto.c: Likewise.
1139 * socket/sys/socket.h: Likewise.
1140 * stdio-common/printf.h: Likewise.
1141 * stdlib/bits/stdlib.h: Likewise.
1142 * stdlib/fmtmsg.h: Likewise.
1143 * stdlib/monetary.h: Likewise.
1144 * stdlib/stdlib.h: Likewise.
1145 * stdlib/ucontext.h: Likewise.
1146 * streams/stropts.h: Likewise.
1147 * string/argz.h: Likewise.
1148 * string/bits/string2.h: Likewise.
1149 * string/string.h: Likewise.
1150 * string/strings.h: Likewise.
1151 * sunrpc/rpc/auth.h: Likewise.
1152 * sunrpc/rpc/auth_des.h: Likewise.
1153 * sunrpc/rpc/clnt.h: Likewise.
1154 * sunrpc/rpc/netdb.h: Likewise.
1155 * sunrpc/rpc/pmap_clnt.h: Likewise.
1156 * sunrpc/rpc/xdr.h: Likewise.
1157 * sysdeps/generic/inttypes.h: Likewise.
1158 * sysdeps/generic/net/if.h: Likewise.
1159 * sysdeps/generic/sys/swap.h: Likewise.
1160 * sysdeps/gnu/net/if.h: Likewise.
1161 * sysdeps/gnu/utmpx.h: Likewise.
1162 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1163 * sysdeps/i386/i486/bits/string.h: Likewise.
1164 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1165 * sysdeps/s390/bits/string.h: Likewise.
1166 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1167 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1168 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1169 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1170 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1171 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1172 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1173 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1174 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1175 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1176 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1177 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1178 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1179 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1180 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1181 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1182 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1188 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1189 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1190 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1191 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1192 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1194 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1196 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1197 * sysvipc/sys/ipc.h: Likewise.
1198 * sysvipc/sys/msg.h: Likewise.
1199 * sysvipc/sys/sem.h: Likewise.
1200 * sysvipc/sys/shm.h: Likewise.
1201 * termios/termios.h: Likewise.
1202 * time/sys/time.h: Likewise.
1203 * time/time.h: Likewise.
1204 * wcsmbs/bits/wchar2.h: Likewise.
1205 * wcsmbs/uchar.h: Likewise.
1206 * wcsmbs/wchar.h: Likewise.
1207 * wctype/wctype.h: Likewise.
1210 * Makeconfig: Remove all but ELF support including AIX support.
1211 * Makerules: Likewise.
1212 * config.h.in: Likewise.
1213 * config.make.in: Likewise.
1214 * configure: Likewise.
1215 * configure.in: Likewise.
1216 * csu/Makefile: Likewise.
1217 * csu/version.c: Likewise.
1218 * debug/Makefile: Likewise.
1219 * dlfcn/Makefile: Likewise.
1220 * elf/Makefile: Likewise.
1221 * extra-lib.mk: Likewise.
1222 * iconv/Makefile: Likewise.
1223 * include/libc-symbols.h: Likewise.
1224 * include/shlib-compat.h: Likewise.
1225 * resolv/Makefile: Likewise.
1226 * resolv/res_libc.c: Likewise.
1227 * rt/Makefile: Likewise.
1228 * sysdeps/i386/asm-syntax.h: Likewise.
1229 * sysdeps/i386/sysdep.h: Likewise.
1230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1231 * sysdeps/mach/sysdep.h: Likewise.
1232 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1233 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1234 * sysdeps/s390/asm-syntax.h: Likewise.
1235 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1237 * sysdeps/sh/sysdep.h: Likewise.
1238 * sysdeps/unix/sparc/sysdep.h: Likewise.
1239 * sysdeps/wordsize-32/divdi3.c: Likewise.
1240 * sysdeps/x86_64/sysdep.h: Likewise.
1242 * argp/Versions: Remove _argp_unlock_xxx.
1245 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1246 * abilist/libBrokenLocale.abilist: Likewise.
1247 * abilist/libanl.abilist: Likewise.
1248 * abilist/libc.abilist: Likewise.
1249 * abilist/libcrypt.abilist: Likewise.
1250 * abilist/libdl.abilist: Likewise.
1251 * abilist/libm.abilist: Likewise.
1252 * abilist/libnsl.abilist: Likewise.
1253 * abilist/libpthread.abilist: Likewise.
1254 * abilist/libresolv.abilist: Likewise.
1255 * abilist/librt.abilist: Likewise.
1256 * abilist/libthread_db.abilist: Likewise.
1257 * abilist/libutil.abilist: Likewise.
1258 * abilist/libnss_db.abilist: New file.
1260 * scripts/abilist.awk: Add support for indirect functions.
1262 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1264 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1266 * shlib-versions: Remove entries for ports architectures.
1268 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1270 * elf/stackguard-macros.h: Remove support for IA-64.
1271 * elf/tst-auditmod1.c: Likewise.
1272 * sysdeps/generic/ldsodefs.h: Likewise.
1274 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1275 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1279 * configure.in: Remove --enable-omitfp support.
1281 * config.make.in: Likewise.
1282 * Makeconfig: Likewise.
1283 * manual/install.texi: Likewise.
1285 In case anyone cares, the IA-64 architecture could move to ports.
1286 * sysdeps/ia64/*: Removed.
1287 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1288 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1291 * configure.in: Remove entries for unsupported architectures.
1294 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1295 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1297 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1298 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1299 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1300 fall back to using wcrtomb.
1301 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1302 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1304 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1305 * wcsmbs/tst-c16c32-1.c: New file.
1307 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1310 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1312 * elf/tst-unique3.cc: Add explicit declaration of gets.
1313 * elf/tst-unique3lib.cc: Likewise.
1314 * elf/tst-unique3lib2.cc: Likewise.
1315 * elf/tst-unique4.cc: Likewise.
1317 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1319 2012-01-06 Joseph Myers <joseph@codesourcery.com>
1322 * assert/assert.h (static_assert): Don't define for C++.
1323 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1324 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1326 2012-01-03 Ulrich Drepper <drepper@gmail.com>
1328 * iconv/loop.c (single loop): Fix assertion in storing of
1331 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1333 2012-01-01 Ulrich Drepper <drepper@gmail.com>
1335 * posix/getconf.c: Update copyright year.
1336 * nss/getent.c: Likewise.
1337 * nss/makedb.c: Likewise.
1338 * iconv/iconvconfig.c: Likewise.
1339 * iconv/iconv_prog.c: Likewise.
1340 * elf/ldconfig.c: Likewise.
1341 * elf/pldd.c: Likewise.
1342 * elf/sotruss.ksh: Likewise.
1343 * catgets/gencat.c: Likewise.
1344 * csu/version.c: Likewise.
1345 * elf/ldd.bash.in: Likewise.
1346 * elf/sprof.c (print_version): Likewise.
1347 * locale/programs/locale.c: Likewise.
1348 * locale/programs/localedef.c: Likewise.
1349 * login/programs/pt_chown.c: Likewise.
1350 * nscd/nscd.c (print_version): Likewise.
1351 * debug/xtrace.sh: Likewise.
1352 * malloc/memusage.sh: Likewise.
1353 * malloc/mtrace.pl: Likewise.
1354 * debug/catchsegv.sh: Likewise.
1356 2011-12-30 Jakub Jelinek <jakub@redhat.com>
1358 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1361 2011-12-24 Ulrich Drepper <drepper@gmail.com>
1364 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1365 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1367 * iconv/gconv_int.h: Likewise.
1368 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1369 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1370 from libc for GLIBC_2.16.
1371 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1372 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1373 * wcsmbs/uchar.h: Really define mbstate_t.
1374 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1375 * wcsmbs/c16rtomb.c: New file.
1376 * wcsmbs/mbrtoc16.c: New file.
1377 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1379 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1380 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1382 * wcsmbs/wchar.h: Add missing __restrict.
1384 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1387 * time/Makefile (routines): Add timespec_get.
1388 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1389 * time/time.h: Define TIME_UTC and declare timespec_get. Define
1390 timespec for ISO C11.
1391 * time/timespec_get.c: New file.
1392 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1393 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1396 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1397 * stdlib/stdlib.h: Declare aligned_alloc.
1398 * Versions.def: Add GLIBC_2.16 for libc.
1399 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1402 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1405 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1409 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1412 * assert/assert.h (static_assert): Define.
1414 * version.h: Update for 2.16 development version.
1417 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1420 * version.h (RELEASE): Bump for 2.15 release.
1421 * include/features.h (__GLIBC_MINOR__): Bump to 15.
1423 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1424 Patch by Marek Polacek <mpolacek@redhat.com>.
1426 * bits/byteswap.h: Protect long long constants with __extension__.
1427 * sysdeps/i386/bits/byteswap.h: Likewise.
1428 * sysdeps/ia64/bits/byteswap.h: Likewise.
1429 * sysdeps/s390/bits/byteswap.h: Likewise.
1430 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1432 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1435 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1437 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1439 2011-12-23 Marek Polacek <polacek@redhat.com>
1441 * elf/dl-addr.c (determine_info): Add inline keyword.
1442 * elf/tst-auditmod4b.c (check_avx): Likewise.
1443 * elf/tst-auditmod6b.c (check_avx): Likewise.
1444 * elf/tst-auditmod6c.c (check_avx): Likewise.
1445 * elf/tst-auditmod7b.c (check_avx): Likewise.
1447 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1449 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1452 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1455 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1456 processing for last bytes.
1458 2011-08-06 Bruno Haible <bruno@clisp.org>
1461 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1462 U+0385, not to U+1FEE.
1465 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1466 entry for U+00A5 U+0301.
1468 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1471 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1472 buffer for the output is too small.
1474 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1478 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1479 SSE flags if possible.
1481 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1485 processing for last bytes.
1487 2011-12-22 Joseph Myers <joseph@codesourcery.com>
1489 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1490 (syscall-list-default-options, syscall-list-default-condition)
1491 (syscall-list-includes): Define.
1492 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1493 list of ABIs and options and #if conditions for each ABI. Do not
1494 handle common syscalls between ABIs specially.
1495 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1497 (syscall-list-variants, syscall-list-32bit-options)
1498 (syscall-list-32bit-condition, syscall-list-64bit-options)
1499 (syscall-list-64bit-condition): Define.
1500 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1501 (syscall-list-variants, syscall-list-32bit-options)
1502 (syscall-list-32bit-condition, syscall-list-64bit-options)
1503 (syscall-list-64bit-condition): Define.
1504 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1506 (syscall-list-variants, syscall-list-32bit-options)
1507 (syscall-list-32bit-condition, syscall-list-64bit-options)
1508 (syscall-list-64bit-condition): Define.
1509 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1511 (syscall-list-variants, syscall-list-32bit-options)
1512 (syscall-list-32bit-condition, syscall-list-64bit-options)
1513 (syscall-list-64bit-condition): Define.
1515 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1517 * locale/iso-639.def: Add brx entry.
1520 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1521 Proposed by Mariusz_Cukr <marcukr@op.pl>.
1523 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1524 __feraiseexcept_renamed.
1526 2011-12-21 Ulrich Drepper <drepper@gmail.com>
1529 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1530 EPOLLET with unsigned values.
1531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1534 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1535 to large cancellation.
1536 * math/s_cacoshf.c: Likewise.
1537 * math/s_cacoshl.c: Likewise.
1539 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
1543 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1544 * math/s_cacoshf.c: Likewise.
1545 * math/s_cacoshl.c: Likewise.
1547 2011-12-21 Ulrich Drepper <drepper@gmail.com>
1550 * iconv/gconv.h: Define __GCONV_SWAP.
1551 * iconvdata/unicode.c: The swap bit must be stored in __flags.
1552 * iconvdata/utf-16.c: Likewise.
1553 * iconvdata/utf-32.c: Likewise.
1555 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
1558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
1559 numerator after shifting it by one limb.
1561 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
1563 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
1564 under [__USE_EXTERN_INLINES].
1566 2011-12-17 Ulrich Drepper <drepper@gmail.com>
1569 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
1571 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
1574 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
1576 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
1577 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1578 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1579 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1580 for strncasecmp/strncasecmp_l compilation.
1581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1582 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1584 2011-12-08 Marek Polacek <mpolacek@redhat.com>
1587 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1590 2011-12-17 Ulrich Drepper <drepper@gmail.com>
1593 * time/tzfile.c (__tzfile_read): Check values from file header.
1595 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1597 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1598 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1599 * powerpc/powerpc32/dl-start.S: Likewise.
1600 * powerpc/powerpc32/elf/start.S: Likewise.
1601 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1602 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1603 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1604 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1605 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1606 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1607 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1608 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1609 * powerpc/powerpc32/fpu/s_round.S: Likewise.
1610 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1611 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1612 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1613 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1614 * powerpc/powerpc32/memset.S: Likewise.
1615 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1616 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1617 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1618 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1619 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1620 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1621 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1622 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1623 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1624 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1625 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1626 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1627 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1629 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1631 * math/libm-test.inc: Added more nearbyint tests.
1632 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1634 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1637 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
1639 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1642 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1644 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1645 Add wcscpy-ssse3 wcscpy-c.
1646 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1647 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1648 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1649 * sysdeps/x86_64/wcschr.S: New file.
1650 * sysdeps/x86_64/wcsrchr.S: New file.
1651 * string/test-strcmp.c: Remove checking of wcscmp function for
1653 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1654 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1655 wcsrchr-sse2 wcsrchr-c.
1656 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1657 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1658 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1659 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1660 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1661 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1662 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1663 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1664 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1665 * wcsmbc/wcschr.c (WCSCHR): New macro.
1667 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1669 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1670 * wcsmbs/test-wcsrchr.c: New file.
1671 * string/test-strrchr.c: Add wcsrchr support.
1673 * wcsmbs/test-wcscpy.c: New file.
1674 * string/test-strcpy.c: Add wcscpy support.
1677 2011-12-10 Ulrich Drepper <drepper@gmail.com>
1679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1682 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
1685 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1687 2011-12-04 Ulrich Drepper <drepper@gmail.com>
1689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
1690 Minor optimizations.
1692 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1693 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1694 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1696 2011-12-03 Ulrich Drepper <drepper@gmail.com>
1698 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1699 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1700 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1701 for gcc to avoid warnings.
1702 * inet/Makefile (tests): Add tst-checks.
1703 * inet/tst-checks.c: New file.
1705 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1708 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1711 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1712 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1714 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1716 2011-12-02 Ulrich Drepper <drepper@gmail.com>
1718 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1721 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1723 2011-11-29 Joseph Myers <joseph@codesourcery.com>
1725 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1726 conditional on GCC version.
1727 (__arch_compare_and_exchange_val_8_acq)
1728 (__arch_compare_and_exchange_val_16_acq)
1729 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1730 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1731 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1733 2011-12-02 Joseph Myers <joseph@codesourcery.com>
1735 * sysdeps/sh/backtrace.c: New file.
1737 2011-12-02 Andreas Schwab <schwab@redhat.com>
1739 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
1742 2011-12-01 Andreas Schwab <schwab@redhat.com>
1744 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1745 falling back to utime.
1747 2011-11-30 Andreas Schwab <schwab@redhat.com>
1749 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1750 expectations for float.
1752 2011-11-29 Andreas Schwab <schwab@redhat.com>
1754 * locale/weight.h (findidx): Add parameter len.
1755 * locale/weightwc.h (findidx): Likewise.
1756 * posix/fnmatch_loop.c (FCT): Adjust caller.
1757 * posix/regcomp.c (build_equiv_class): Likewise.
1758 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1759 * posix/regexec.c (check_node_accept_bytes): Likewise.
1760 * string/strcoll_l.c (STRCOLL): Likewise.
1761 * string/strxfrm_l.c (STRXFRM): Likewise.
1763 2011-11-17 Ulrich Drepper <drepper@gmail.com>
1765 * Makefile.in: Remove CVSOPT handling.
1766 * configure.in: Remove use of AC_REVISION.
1767 * iconvdata/Makefile (distribute): No need to filter out CVS.
1768 * scripts/list-sources.sh: Remove CVS, subversion and monotone
1771 2011-11-16 Andreas Schwab <schwab@redhat.com>
1773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1774 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1775 [USE_AS_STRNCASECMP_L]: Likewise.
1776 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1777 NO_TLS_DIRECT_SEG_REFS.
1778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1779 Fix argument offsets for non-PIC.
1780 [USE_AS_STRNCASECMP_L]: Likewise.
1781 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1782 NO_TLS_DIRECT_SEG_REFS.
1784 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1786 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
1788 * locale/loadlocale.c (_nl_load_locale): Likewise.
1790 2011-11-15 Andreas Schwab <schwab@redhat.com>
1792 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1793 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1795 (SYSCALL_GETTIME): Set errno on error.
1797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1798 count references to noai6ai_cached.
1800 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1802 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1804 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1805 FD_CLOEXEC for /proc/self/maps.
1807 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1808 FD_CLOEXEC for /proc/meminfo.
1810 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1813 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1814 FD_CLOEXEC for given file.
1816 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1818 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1819 FD_CLOEXEC for /etc/hosts.
1820 (_gethtent): Likewise.
1822 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1824 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1825 cancellation and set FD_CLOEXEC for /etc/netgroup.
1827 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1828 reading /etc/publickey.
1830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1831 allow cancellation when reading /etc/group.
1833 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1835 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1837 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1838 when using data file.
1840 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1842 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1843 (write_nis_obj): Use "c" and "e" in fopen.
1845 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1847 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1849 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1851 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1853 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1856 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1858 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1860 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1862 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1863 file parsing and set FD_CLOEXEC.
1865 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1867 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1869 2011-11-14 Andreas Schwab <schwab@redhat.com>
1871 * malloc/arena.c (arena_get2): Don't call reused_arena when
1872 _int_new_arena failed.
1874 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1876 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1877 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1878 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1879 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1882 to compile strcasecmp and strncasecmp.
1883 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1884 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1888 2011-11-13 Ulrich Drepper <drepper@gmail.com>
1890 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1891 locale-defines.sym to gen-as-const-headers.
1892 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1893 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1895 to compile strcasecmp and strncasecmp.
1896 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1897 strcasecmp_l and strncasecmp_l.
1898 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1899 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1900 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1901 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1902 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1903 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1904 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1905 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1906 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1907 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1908 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1910 2011-11-12 Ulrich Drepper <drepper@gmail.com>
1912 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1913 result of SYSDEP_GETTIME_CPU to retval.
1914 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1915 parameter list to macro. Remove trailing semicolon. Adjust users.
1917 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1920 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1922 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1924 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1925 from unused variable.
1927 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1929 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1932 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1935 * sunrpc/rpc_prot.c (rejected): Fix case value.
1937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1938 unsigned long long int to avoid warnings in shift.
1940 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1942 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1945 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1946 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1947 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1949 * nis/nis_table.c (nis_list): Use variable of correct type for
1950 result of __follow_path call.
1952 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1954 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1955 of math functions ceil, trunc, floor, round, and sqrt, when
1956 avaliable on the platform.
1957 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1959 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1960 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1961 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1963 2011-10-30 Marek Polacek <mpolacek@redhat.com>
1965 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1968 2011-11-11 Roland McGrath <roland@hack.frob.com>
1970 * include/unistd.h: Fix __readlink return type.
1971 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1973 2011-11-11 Ulrich Drepper <drepper@gmail.com>
1975 * stdlib/ucontext.h: Undo last change for makecontext.
1977 2011-11-11 Andreas Schwab <schwab@redhat.com>
1979 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1981 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1982 * setjmp/setjmp.h: Mark functions as non-leaf.
1983 * setjmp/bits/setjmp2.h: Likewise.
1984 * stdlib/ucontext.h: Likewise.
1986 2011-11-10 Andreas Schwab <schwab@redhat.com>
1988 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1989 (reused_arena): Don't check arena limit.
1990 (arena_get2): Atomically check arena limit.
1992 2011-11-08 Ulrich Drepper <drepper@gmail.com>
1994 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1995 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2000 2011-11-07 Andreas Schwab <schwab@redhat.com>
2002 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2003 handler when locking.
2005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2006 Fix size of allocated buffer.
2008 2011-11-04 Andreas Schwab <schwab@redhat.com>
2011 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2012 declarations for long double functions.
2013 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2015 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2017 2011-11-03 Andreas Schwab <schwab@redhat.com>
2019 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2022 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2025 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2027 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2029 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2031 * include/alloca.h (stackinfo_alloca_round): Define.
2032 (extend_alloca): Use it.
2033 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2034 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2037 * scripts/check-local-headers.sh: Ignore libaudit.h.
2039 * nscd/Makefile (extra-objs): Make recursively expanded.
2041 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2043 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2044 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2046 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2047 * posix/tst-rfc3484-2.c: Likewise.
2048 * posix/tst-rfc3484-3.c: Likewise.
2050 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2052 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2054 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2055 process_vm_writev from libc using GLIBC_2.15 version.
2057 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2059 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2061 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2064 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2067 * nss/getent.c (initgroups_keys): Show error message in case no group
2070 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2071 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2072 __bump_nl_timestamp.
2073 * nscd/connections (nscd_init): When host database is served open
2074 netlink socket and request notification about configuration changes.
2075 (main_loop_poll): Track netlink file descriptor and bump timestamp
2076 in case data becomes available.
2077 (main_loop_epoll): Likewise.
2078 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2079 (database_pers_head): Add extra_data fileds.
2080 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2081 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2082 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2085 in6ai data, call __free_in6ai.
2086 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2088 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2089 interface information. Reuse previous data if netlink timestamp
2091 (__bump_nl_timestamp): New function.
2092 (__free_in6ai): New function.
2094 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2096 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2097 close_not_cancel_no_status here.
2098 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2100 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2103 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2106 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2107 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2108 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2110 2011-07-03 Andreas Jaeger <aj@suse.de>
2113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2114 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2115 * math/libm-test.inc (sin_test): Add test case.
2117 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2120 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2121 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2123 * elf/chroot_canon.c (chroot_canon): Cleanups.
2125 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2128 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2129 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2131 * string/test-strchr.c: Make usable for strchrnul testing.
2132 * string/test-strchrnul.c: New file.
2133 * string/Makefile (strop-tests): Add strchrnul.
2135 * po/it.po: Update from translation team.
2136 * po/es.po: Likewise.
2138 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2140 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2141 the three constants needed as parameters. Drop the others.
2142 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2143 __m128i_strloadu_tolower.
2144 Create and initialize variable zero and use it in all the places
2145 where _mm_setzero_si128 was used.
2147 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2148 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2149 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2152 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2153 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2154 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2155 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2156 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2157 __mpranred, __mptan.
2158 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2159 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2160 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2161 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2162 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2163 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2164 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2165 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2166 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2168 2011-10-28 Andreas Schwab <schwab@redhat.com>
2170 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2172 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2175 wide char related routines to wcsmbs subdir.
2177 2011-10-27 Andreas Schwab <schwab@redhat.com>
2180 * misc/sys/cdefs.h (__THROWNL): Define.
2181 * posix/unistd.h: Use __THREADNL instead of __THREAD
2182 for memory synchronization functions.
2184 2011-10-26 Roland McGrath <roland@hack.frob.com>
2187 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2189 * manual/stdio.texi (Obstack Streams): Node removed.
2191 2011-10-26 Andreas Schwab <schwab@redhat.com>
2193 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2194 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2195 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2197 * math/math_private.h (math_force_eval): Allow non-addressable
2199 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2201 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2207 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2213 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2215 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2216 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2217 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2218 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2219 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2220 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2221 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2222 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2223 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2224 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2225 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2226 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2228 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2229 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2230 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2231 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2232 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2233 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2235 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2236 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2239 place. Use VEX encoding when compiling for AVX.
2241 2011-10-25 Andreas Schwab <schwab@redhat.com>
2243 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2244 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2246 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2248 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2250 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2251 useless if() expression.
2252 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2261 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2262 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2263 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2264 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2265 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2266 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2270 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2272 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2274 2011-10-25 Andreas Schwab <schwab@redhat.com>
2276 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2278 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2280 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2282 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2283 .text section. Avoid duplicate constants.
2284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2294 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2296 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2301 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2311 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2312 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2314 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2315 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2317 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2318 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2319 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2320 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2322 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2323 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2325 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2326 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2327 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2328 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2330 2011-10-24 Ulrich Drepper <drepper@gmail.com>
2332 * sysdeps/x86_64/dla.h: Move to ...
2333 * sysdeps/x86_64/fpu/dla.h: ...here.
2334 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2335 situations. Use __builtin_fma only for gcc 4.6 and up.
2337 * config.make.in: Add have-mfma4 entry.
2338 * configure.in: Substitute libc_cv_cc_fma4.
2339 * math/Makefile (dbl-only-routines): Add sincostab.
2340 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2341 Use __sincostab not sincos.
2342 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2349 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2350 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2351 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2352 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2355 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2357 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2358 define aliases when function name is a macro.
2359 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2360 sysdeps/ieee754/dbl-64/sincos.tbl.
2361 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2362 fma4-enabled routines.
2363 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2364 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2365 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2366 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2367 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2368 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2369 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2370 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2372 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2373 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2375 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2376 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2378 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2379 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2380 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2381 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2383 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2384 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2388 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2390 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2391 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2392 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2394 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2405 2011-10-24 Andreas Schwab <schwab@redhat.com>
2407 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2409 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2411 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2413 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2417 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2418 Remove unused variable magic_bits.
2419 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2421 * string/strnlen.c: Define and use STRNLEN macro.
2422 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2423 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2425 * wcsmbs/wcslen.c: Define and use WCSLEN.
2426 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2427 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2428 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2429 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2430 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2431 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2432 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2434 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2437 strnlen-sse2-no-bsf.
2438 Rename strlen-no-bsf to strlen-sse2-no-bsf.
2439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2440 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2441 Add strnlen support.
2442 (USE_AS_STRNLEN): New macro.
2443 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2444 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2445 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2446 * sysdeps/x86_64/wcslen.S: New file.
2448 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
2450 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2451 XMM-moves are used for copying on small sizes.
2453 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2455 * wcsmbs/Makefile (strop-tests): Add wcschr.
2456 * wcsmbs/test-wcschr.c: New file.
2457 * string/test-strchr.c: Update.
2461 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2463 * wcsmbs/Makefile (strop-tests): Add wcslen.
2464 * wcsmbs/test-wcslen.c: New file.
2465 * string/test-strlen.c: Update.
2469 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2471 * po/it.po: Update from translation team.
2473 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2475 * sysdeps/x86_64/wcscmp.S: Update.
2476 Fix wrong comparison semantics.
2477 wcscmp shall use signed comparison not unsigned.
2478 Don't use substraction to avoid overflow bug.
2479 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2480 * wcsmbc/wcscmp.c: Likewise.
2481 * string/test-strcmp.c: Likewise.
2482 Add new tests to check cases with negative values.
2484 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2486 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2487 * sysdeps/x86_64/dla.h: ...here. New file.
2488 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2493 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2498 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
2500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2501 __ynl_finite aliases.
2503 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2507 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2509 [DLA_FMA] (EMULV): Use DLA_FMA.
2510 [DLA_FMA] (MUL12): Use EMULV.
2511 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2512 that are not needed.
2513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2516 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2518 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2521 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
2523 * math/s_nan.c: Undef __nan.
2524 * math/s_nanf.c: Undef __nanf.
2525 * math/s_nanl.c: Undef __nanl.
2526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2529 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2531 * math/s_catan.c: Add branch predictions.
2532 * math/s_catanf.c: Likewise.
2533 * math/s_catanh.c: Likewise.
2534 * math/s_catanhf.c: Likewise.
2535 * math/s_catanhl.c: Likewise.
2536 * math/s_catanl.c: Likewise.
2537 * math/s_cexp.c: Likewise.
2538 * math/s_cexpf.c: Likewise.
2539 * math/s_cexpl.c: Likewise.
2540 * math/s_clog.c: Likewise.
2541 * math/s_clog10.c: Likewise.
2542 * math/s_clog10f.c: Likewise.
2543 * math/s_clog10l.c: Likewise.
2544 * math/s_clogf.c: Likewise.
2545 * math/s_clogl.c: Likewise.
2546 * math/s_csqrt.c: Likewise.
2547 * math/s_csqrtf.c: Likewise.
2548 * math/s_csqrtl.c: Likewise.
2549 * math/s_ctanf.c: Likewise.
2550 * math/s_ctanh.c: Likewise.
2551 * math/s_ctanhf.c: Likewise.
2552 * math/s_ctanhl.c: Likewise.
2553 * math/s_ctanl.c: Likewise.
2555 * math/math_private.h: Define __nan, __nanf, __nanl.
2556 * math/s_cacosh.c: Include <math_private.h>.
2557 * math/s_cacoshl.c: Likewise.
2558 * math/s_casinh.c: Likewise.
2559 * math/s_casinhf.c: Likewise.
2560 * math/s_casinhl.c: Likewise.
2561 * math/s_ccos.c: Rely entire on ccosh.
2562 * math/s_ccosf.c: Rely entire on ccoshf.
2563 * math/s_ccosl.c: Rely entirely on ccoshl.
2564 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
2565 Remove tests for FE_INVALID.
2566 * math/s_ccoshf.c: Likewise.
2567 * math/s_ccoshl.c: Likewise.
2568 * math/s_csin.c: Likewise.
2569 * math/s_csinf.c: Likewise.
2570 * math/s_csinh.c Likewise.
2571 * math/s_csinhf.c: Likewise.
2572 * math/s_csinhl.c: Likewise.
2573 * math/s_csinl.c: Likewise.
2574 * math/s_ctan.c: Likewise.
2575 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
2576 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
2577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2579 2011-10-21 Ulrich Drepper <drepper@gmail.com>
2581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2582 compilation problems.
2584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2587 2011-10-20 Ulrich Drepper <drepper@gmail.com>
2589 * sysdeps/i386/configure.in: Test for -mfma4 option.
2590 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2591 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2592 COMMON_CPUID_INDEX_80000001.
2593 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2594 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2595 use it if FMA3 is not supported.
2596 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2598 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2599 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2601 2011-10-20 Andreas Schwab <schwab@redhat.com>
2604 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2605 it would create a cycle with a link time dependency.
2607 2011-10-19 Ulrich Drepper <drepper@gmail.com>
2609 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2611 * string/Makefile (strop-tests): Add rawmemchr.
2612 * string/test-rawmemchr.c: New file.
2614 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
2616 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
2617 when compiling str{,n}casecmp and when AVX is available. Hook up
2618 new optimized code in initializers.
2620 2011-10-19 Andreas Schwab <schwab@redhat.com>
2622 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2623 __feraiseexcept instead of feraiseexcept.
2625 2011-10-18 Ulrich Drepper <drepper@gmail.com>
2627 * math/math_private.h: Define defaults for libc_fetestexcept and
2629 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2630 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2631 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2632 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2634 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2635 libc_fetestexcept and libc_feupdateenv.
2637 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2638 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2639 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2640 * sysdeps/x86_64/fpu/math_private.h: Define special version of
2641 libc_feholdexcept_setround.
2643 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2644 Add s_nearbyint-c and s_nearbyintf-c.
2645 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2647 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2649 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2652 * math/math_private.h: Define defaults for libc_fegetround,
2653 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2654 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2655 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2657 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2659 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2660 Remove comments and hacks for old compiler versions.
2661 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2662 libc_fegetround, libc_fesetround, libc_feholdexcept, and
2665 2011-10-18 Andreas Schwab <schwab@redhat.com>
2667 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
2668 (__feraiseexcept_renamed): Add __NTH.
2669 (feraiseexcept): Add __NTH. Rename local variables to fix
2670 namespace violations.
2672 2011-10-17 Ulrich Drepper <drepper@gmail.com>
2674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2676 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2678 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2679 recently added interfaces.
2680 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2682 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2683 about macro parameter expansion.
2685 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2686 __NO_MATH_INLINES is defined. Cleanups.
2688 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2689 and __floorf is target has SSE4.1.
2690 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2691 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2692 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2693 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2695 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2699 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2701 2011-10-17 Andreas Schwab <schwab@redhat.com>
2703 * misc/sys/cdefs.h: Fix last change.
2705 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2708 2011-10-16 Ulrich Drepper <drepper@gmail.com>
2710 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2712 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2719 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2720 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2721 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2722 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2723 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2724 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2725 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2726 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2727 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2728 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2729 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2730 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2731 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2733 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2735 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2736 ceil, ceilf, floor, floorf.
2738 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2739 Perform IRELATIVE relocations last.
2741 * elf/do-rel.h: Add another parameter nrelative, replacing the
2742 local variable with the same name. Change name of the function
2743 to end in Rel or Rela (uppercase).
2744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2745 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
2746 elf_dynamic_do_##reloc function.
2748 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2750 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2751 is sufficient, at least on modern CPUs.
2753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2755 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2756 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2758 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2760 * math/bits/math-finite.h: Add entries for exp.
2761 * math/e_expl.c: Add __*_finite alias.
2762 * sysdeps/i386/fpu/e_exp.S: Likewise.
2763 * sysdeps/i386/fpu/e_expf.S: Likewise.
2764 * sysdeps/i386/fpu/e_expl.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2766 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2767 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2770 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2771 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2773 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2774 is sufficient, at least on modern CPUs.
2776 * ctype/ctype-info.c (__ctype_init): Define.
2777 * include/ctype.h (__ctype_init): Declare.
2778 (__ctype_b_loc): The variable is always initialized.
2779 (__ctype_toupper_loc): Likewise.
2780 (__ctype_tolower_loc): Likewise.
2781 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2782 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2784 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
2786 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2788 * configure.in: Also look in $cxxmachine/include for C++ system
2791 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2793 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2794 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2795 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2796 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
2797 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2798 (USE_AS_WMEMCMP): New macro.
2800 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2801 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2802 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2803 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2805 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2806 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2808 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2809 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2810 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2811 (USE_AS_WMEMCMP): New macro.
2812 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2813 * sysdeps/string/test-memcmp.c: Update.
2816 * wcsmbs/wmemcmp.c: Update.
2817 (WMEMCMP): New macro.
2820 2011-10-12 Andreas Jaeger <aj@suse.de>
2823 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2825 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2827 * libio/iofwide.c (do_length): Avoid warning.
2829 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2831 2011-10-14 Ulrich Drepper <drepper@gmail.com>
2833 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2835 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2836 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2837 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2838 * sysdeps/i386/i686/fpu/e_log.S: New file.
2839 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2840 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2842 * ctype/ctype.h: Add support for inlined isXXX functions when
2845 2011-10-14 Andreas Schwab <schwab@redhat.com>
2847 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2849 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2851 2011-10-13 Roland McGrath <roland@hack.frob.com>
2854 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2856 2011-10-13 Andreas Schwab <schwab@redhat.com>
2858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2859 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2862 * sysdeps/x86_64/memrchr.S: Check for zero size.
2864 * string/stratcliff.c: Add memrchr tests.
2866 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2869 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2870 rawmemchr-sse2 rawmemchr-sse2-bsf.
2871 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2872 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2873 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2874 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2875 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2876 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2877 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2878 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2879 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2880 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2881 * string/memrchr.c (MEMRCHR): New macro.
2883 2011-10-12 Ulrich Drepper <drepper@gmail.com>
2885 Add integration with gcc's -ffinite-math-only and optimize wrapper
2887 * Versions.def: Define GLIBC_2.15 version for libm.
2888 * math/Makefile (headers): Add bits/math-finite.h.
2889 * math/bits/math-finite.h: New file.
2890 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2891 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2892 * math/e_acoshl.c: Add __*_finite alias.
2893 * math/e_acosl.c: Likewise.
2894 * math/e_asinl.c: Likewise.
2895 * math/e_atan2l.c: Likewise.
2896 * math/e_atanhl.c: Likewise.
2897 * math/e_coshl.c: Likewise.
2898 * math/e_exp10.c: Likewise.
2899 * math/e_exp10f.c: Likewise.
2900 * math/e_exp10l.c: Likewise.
2901 * math/e_exp2l.c: Likewise.
2902 * math/e_fmodl.c: Likewise.
2903 * math/e_gammal_r.c: Likewise.
2904 * math/e_hypotl.c: Likewise.
2905 * math/e_j0l.c: Likewise.
2906 * math/e_j1l.c: Likewise.
2907 * math/e_jnl.c: Likewise.
2908 * math/e_lgammal_r.c: Likewise.
2909 * math/e_log10l.c: Likewise.
2910 * math/e_log2l.c: Likewise.
2911 * math/e_logl.c: Likewise.
2912 * math/e_powl.c: Likewise.
2913 * math/e_sinhl.c: Likewise.
2914 * math/e_sqrtl.c: Likewise.
2915 * math/e_scalb.c: Completely rewritten and optimized.
2916 * math/e_scalbf.c: Likewise.
2917 * math/e_scalbl.c: Likewise.
2918 * math/w_acos.c: Likewise.
2919 * math/w_acosf.c: Likewise.
2920 * math/w_acosl.c: Likewise.
2921 * math/w_acosh.c: Likewise.
2922 * math/w_acoshf.c: Likewise.
2923 * math/w_acoshl.c: Likewise.
2924 * math/w_asin.c: Likewise.
2925 * math/w_asinf.c: Likewise.
2926 * math/w_asinl.c: Likewise.
2927 * math/w_atan2.c: Likewise.
2928 * math/w_atan2f.c: Likewise.
2929 * math/w_atan2l.c: Likewise.
2930 * math/w_atanh.c: Likewise.
2931 * math/w_atanhf.c: Likewise.
2932 * math/w_atanhl.c: Likewise.
2933 * math/w_exp10.c: Likewise.
2934 * math/w_exp10f.c: Likewise.
2935 * math/w_exp10l.c: Likewise.
2936 * math/w_fmod.c: Likewise.
2937 * math/w_fmodf.c: Likewise.
2938 * math/w_fmodl.c: Likewise.
2939 * math/w_j0.c: Likewise.
2940 * math/w_j0f.c: Likewise.
2941 * math/w_j0l.c: Likewise.
2942 * math/w_j1.c: Likewise.
2943 * math/w_j1f.c: Likewise.
2944 * math/w_j1l.c: Likewise.
2945 * math/w_jn.c: Likewise.
2946 * math/w_jnf.c: Likewise.
2947 * math/w_log.c: Likewise.
2948 * math/w_logf.c: Likewise.
2949 * math/w_logl.c: Likewise.
2950 * math/w_log10.c: Likewise.
2951 * math/w_log10f.c: Likewise.
2952 * math/w_log10l.c: Likewise.
2953 * math/w_log2.c: Likewise.
2954 * math/w_log2f.c: Likewise.
2955 * math/w_log2l.c: Likewise.
2956 * math/w_pow.c: Likewise.
2957 * math/w_powf.c: Likewise.
2958 * math/w_powl.c: Likewise.
2959 * math/w_remainder.c: Likewise.
2960 * math/w_remainderf.c: Likewise.
2961 * math/w_remainderl.c: Likewise.
2962 * math/w_scalb.c: Likewise.
2963 * math/w_scalbf.c: Likewise.
2964 * math/w_scalbl.c: Likewise.
2965 * math/w_sqrt.c: Likewise.
2966 * math/w_sqrtf.c: Likewise.
2967 * math/w_sqrtl.c: Likewise.
2968 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2969 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2971 * math/math_private.h: Declare __kernel_standard_f.
2972 * math/w_cosh.c: Remove cruft and optimize a bit.
2973 * math/w_coshf.c: Likewise.
2974 * math/w_coshl.c: Likewise.
2975 * math/w_exp2.c: Likewise.
2976 * math/w_exp2f.c: Likewise.
2977 * math/w_exp2l.c: Likewise.
2978 * math/w_hypot.c: Likewise.
2979 * math/w_hypotf.c: Likewise.
2980 * math/w_hypotl.c: Likewise.
2981 * math/w_lgamma.c: Likewise.
2982 * math/w_lgamma_r.c: Likewise.
2983 * math/w_lgammaf.c: Likewise.
2984 * math/w_lgammaf_r.c: Likewise.
2985 * math/w_lgammal.c: Likewise.
2986 * math/w_lgammal_r.c: Likewise.
2987 * math/w_sinh.c: Likewise.
2988 * math/w_sinhf.c: Likewise.
2989 * math/w_sinhl.c: Likewise.
2990 * math/w_tgamma.c: Likewise.
2991 * math/w_tgammaf.c: Likewise.
2992 * math/w_tgammal.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2994 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2995 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2996 Minor optimizations. Pretty printing. Remove cruft.
2997 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2998 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2999 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3000 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3001 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3002 * sysdeps/i386/fpu/e_asin.S: Likewise.
3003 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3004 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3005 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3006 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3007 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3009 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3010 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3011 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3012 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3013 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3014 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3015 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3016 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3017 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3018 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3019 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3020 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3021 * sysdeps/i386/fpu/e_log.S: Likewise.
3022 * sysdeps/i386/fpu/e_log10.S: Likewise.
3023 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3025 * sysdeps/i386/fpu/e_log2.S: Likewise.
3026 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3028 * sysdeps/i386/fpu/e_logf.S: Likewise.
3029 * sysdeps/i386/fpu/e_logl.S: Likewise.
3030 * sysdeps/i386/fpu/e_pow.S: Likewise.
3031 * sysdeps/i386/fpu/e_powf.S: Likewise.
3032 * sysdeps/i386/fpu/e_powl.S: Likewise.
3033 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3034 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3035 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3039 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3040 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3041 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3043 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3068 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3070 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3083 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3084 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3085 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3088 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3089 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3090 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3092 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3094 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3095 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3097 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3098 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3099 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3100 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3101 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3102 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3110 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3111 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3116 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3118 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3119 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3122 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3123 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3126 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3129 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3130 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3133 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3134 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3135 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3136 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3137 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3138 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3139 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3140 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3141 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3142 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3143 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3144 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3145 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3146 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3147 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3148 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3149 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3150 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3152 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3153 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3154 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3155 (__isnanf): Likewise.
3156 (__isinf_ns): Likewise.
3157 (__isinf_nsf): Likewise.
3158 (__finite): Likewise.
3159 (__finitef): Likewise.
3160 (__ieee754_sqrt): Define as macro.
3161 (__ieee754_sqrtf): Define as macro.
3162 (__ieee754_sqrtl): Define as macro.
3163 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3165 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3166 __FINITE_MATH_ONLY__ consistent.
3167 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3169 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3171 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3174 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3176 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3178 * po/ja.po: Update from translation team.
3180 2011-10-08 Roland McGrath <roland@hack.frob.com>
3182 * locale/programs/locarchive.c (prepare_address_space): New function.
3183 (create_archive, enlarge_archive, open_archive): Use it.
3185 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3186 inside [SHARED], where it is used.
3188 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3190 * nss/getent.c (netgroup_keys): Remove unused variable.
3191 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3193 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3195 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3198 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3199 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3200 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3201 * math/Makefile (libm-calls): Add s_isinf_ns.
3202 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3203 * math/multc3.c: Likewise.
3204 * math/s_casin.c: Likewise.
3205 * math/s_casinf.c: Likewise.
3206 * math/s_casinl.c: Likewise.
3207 * math/s_ccos.c: Likewise.
3208 * math/s_ccosf.c: Likewise.
3209 * math/s_ccosl.c: Likewise.
3210 * math/s_ctan.c: Likewise.
3211 * math/s_ctanf.c: Likewise.
3212 * math/s_ctanh.c: Likewise.
3213 * math/s_ctanhf.c: Likewise.
3214 * math/s_ctanhl.c: Likewise.
3215 * math/s_ctanl.c: Likewise.
3216 * math/w_fmod.c: Likewise.
3217 * math/w_fmodf.c: Likewise.
3218 * math/w_fmodl.c: Likewise.
3219 * math/w_remainder.c: Likewise.
3220 * math/w_remainderf.c: Likewise.
3221 * math/w_remainderl.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3223 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3226 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3227 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3228 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3229 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3231 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3233 * stdio-common/printf_fphex.c: Likewise.
3234 * stdio-common/printf_size.c: Likewise.
3236 * math/e_exp10.c: Include math_private.h using <...> not "...".
3237 * math/e_exp10f.c: Likewise.
3238 * math/e_exp10l.c: Likewise.
3239 * math/e_exp2l.c: Likewise.
3240 * math/e_j0l.c: Likewise.
3241 * math/e_j1l.c: Likewise.
3242 * math/e_jnl.c: Likewise.
3243 * math/e_lgammal_r.c: Likewise.
3244 * math/e_rem_pio2l.c: Likewise.
3245 * math/e_scalb.c: Likewise.
3246 * math/e_scalbf.c: Likewise.
3247 * math/e_scalbl.c: Likewise.
3248 * math/k_cosl.c: Likewise.
3249 * math/k_sinl.c: Likewise.
3250 * math/k_tanl.c: Likewise.
3251 * math/s_cacoshf.c: Likewise.
3252 * math/s_catan.c: Likewise.
3253 * math/s_catanf.c: Likewise.
3254 * math/s_catanh.c: Likewise.
3255 * math/s_catanhf.c: Likewise.
3256 * math/s_catanhl.c: Likewise.
3257 * math/s_catanl.c: Likewise.
3258 * math/s_ccosh.c: Likewise.
3259 * math/s_ccoshf.c: Likewise.
3260 * math/s_ccoshl.c: Likewise.
3261 * math/s_cexp.c: Likewise.
3262 * math/s_cexpf.c: Likewise.
3263 * math/s_cexpl.c: Likewise.
3264 * math/s_clog.c: Likewise.
3265 * math/s_clog10.c: Likewise.
3266 * math/s_clog10f.c: Likewise.
3267 * math/s_clog10l.c: Likewise.
3268 * math/s_clogf.c: Likewise.
3269 * math/s_clogl.c: Likewise.
3270 * math/s_csin.c: Likewise.
3271 * math/s_csinf.c: Likewise.
3272 * math/s_csinh.c: Likewise.
3273 * math/s_csinhf.c: Likewise.
3274 * math/s_csinhl.c: Likewise.
3275 * math/s_csinl.c: Likewise.
3276 * math/s_csqrt.c: Likewise.
3277 * math/s_csqrtf.c: Likewise.
3278 * math/s_csqrtl.c: Likewise.
3279 * math/s_ctan.c: Likewise.
3280 * math/s_ctanf.c: Likewise.
3281 * math/s_ctanh.c: Likewise.
3282 * math/s_ctanhf.c: Likewise.
3283 * math/s_ctanhl.c: Likewise.
3284 * math/s_ctanl.c: Likewise.
3285 * math/s_ldexp.c: Likewise.
3286 * math/s_ldexpf.c: Likewise.
3287 * math/s_ldexpl.c: Likewise.
3288 * math/s_significand.c: Likewise.
3289 * math/s_significandf.c: Likewise.
3290 * math/s_significandl.c: Likewise.
3291 * math/w_acos.c: Likewise.
3292 * math/w_acosf.c: Likewise.
3293 * math/w_acosh.c: Likewise.
3294 * math/w_acoshf.c: Likewise.
3295 * math/w_acoshl.c: Likewise.
3296 * math/w_acosl.c: Likewise.
3297 * math/w_asin.c: Likewise.
3298 * math/w_asinf.c: Likewise.
3299 * math/w_asinl.c: Likewise.
3300 * math/w_atan2.c: Likewise.
3301 * math/w_atan2f.c: Likewise.
3302 * math/w_atan2l.c: Likewise.
3303 * math/w_atanh.c: Likewise.
3304 * math/w_atanhf.c: Likewise.
3305 * math/w_atanhl.c: Likewise.
3306 * math/w_cosh.c: Likewise.
3307 * math/w_coshf.c: Likewise.
3308 * math/w_coshl.c: Likewise.
3309 * math/w_dremf.c: Likewise.
3310 * math/w_exp10.c: Likewise.
3311 * math/w_exp10f.c: Likewise.
3312 * math/w_exp10l.c: Likewise.
3313 * math/w_exp2.c: Likewise.
3314 * math/w_exp2f.c: Likewise.
3315 * math/w_fmod.c: Likewise.
3316 * math/w_fmodf.c: Likewise.
3317 * math/w_fmodl.c: Likewise.
3318 * math/w_hypot.c: Likewise.
3319 * math/w_hypotf.c: Likewise.
3320 * math/w_hypotl.c: Likewise.
3321 * math/w_j0.c: Likewise.
3322 * math/w_j0f.c: Likewise.
3323 * math/w_j0l.c: Likewise.
3324 * math/w_j1.c: Likewise.
3325 * math/w_j1f.c: Likewise.
3326 * math/w_j1l.c: Likewise.
3327 * math/w_jn.c: Likewise.
3328 * math/w_jnf.c: Likewise.
3329 * math/w_jnl.c: Likewise.
3330 * math/w_lgamma.c: Likewise.
3331 * math/w_lgamma_r.c: Likewise.
3332 * math/w_lgammaf.c: Likewise.
3333 * math/w_lgammaf_r.c: Likewise.
3334 * math/w_lgammal.c: Likewise.
3335 * math/w_lgammal_r.c: Likewise.
3336 * math/w_log.c: Likewise.
3337 * math/w_log10.c: Likewise.
3338 * math/w_log10f.c: Likewise.
3339 * math/w_log10l.c: Likewise.
3340 * math/w_log2.c: Likewise.
3341 * math/w_log2f.c: Likewise.
3342 * math/w_log2l.c: Likewise.
3343 * math/w_logf.c: Likewise.
3344 * math/w_logl.c: Likewise.
3345 * math/w_pow.c: Likewise.
3346 * math/w_powf.c: Likewise.
3347 * math/w_powl.c: Likewise.
3348 * math/w_remainder.c: Likewise.
3349 * math/w_remainderf.c: Likewise.
3350 * math/w_remainderl.c: Likewise.
3351 * math/w_scalb.c: Likewise.
3352 * math/w_scalbf.c: Likewise.
3353 * math/w_scalbl.c: Likewise.
3354 * math/w_sinh.c: Likewise.
3355 * math/w_sinhf.c: Likewise.
3356 * math/w_sinhl.c: Likewise.
3357 * math/w_sqrt.c: Likewise.
3358 * math/w_sqrtf.c: Likewise.
3359 * math/w_sqrtl.c: Likewise.
3360 * math/w_tgamma.c: Likewise.
3361 * math/w_tgammaf.c: Likewise.
3362 * math/w_tgammal.c: Likewise.
3364 * po/ja.po: Update from translation team.
3366 2011-09-29 Andreas Jaeger <aj@suse.de>
3369 * sunrpc/netname.c (netname2host): Fix logic.
3373 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3375 * math/w_remainder.c (__remainder): Likewise.
3376 * math/w_remainderf.c (__remainderf): Likewise.
3377 * math/libm-test.inc (remainder_test): Add test cases.
3379 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3381 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
3384 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3386 * string/test-memcmp.c: Avoid unncessary #defines.
3387 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3389 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3391 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3392 Use new sse2 version for core i3 - i7 as it's faster
3394 (bit_Prefer_PMINUB_for_stringop): New.
3395 * sysdeps/x86_64/rawmemchr.S: Update.
3396 Replace with faster SSE2 version.
3397 * sysdeps/x86_64/memrchr.S: New file.
3398 * sysdeps/x86_64/memchr.S: Update.
3399 Replace with faster SSE2 version.
3401 2011-09-12 Marek Polacek <mpolacek@redhat.com>
3403 * elf/dl-load.c (lose): Add cast to avoid warning.
3405 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3407 * po/ca.po: Update from translation team.
3409 * inet/getnetgrent_r.c: Hook up nscd.
3410 * nscd/Makefile (routines): Add nscd_netgroup.
3411 (nscd-modules): Add netgroupcache.
3412 (CFLAGS-netgroupcache.c): Define.
3413 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3414 (cache_search): Add const to second parameter.
3415 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3417 (dbs): Add netgrdb entry.
3418 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3419 (verify_persistent_db): Handle netgrdb.
3420 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3421 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3423 (netgroup_response_header): Define.
3424 (innetgroup_response_header): Define.
3425 (datahead): Add netgroup_response_header and innetgroup_response_header
3427 * nscd/nscd.conf: Add entries for netgroup cache.
3428 * nscd/nscd.h (dbtype): Add netgrdb.
3429 (_PATH_NSCD_NETGROUP_DB): Define.
3430 (netgroup_iov_disabled): Declare.
3431 (xmalloc, xcalloc, xrealloc): Move declarations here.
3432 (cache_search): Adjust prototype.
3433 Add netgroup-related prototypes.
3434 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3435 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3436 (__nscd_innetgr): Declare.
3437 * nscd/selinux.c (perms): Use access_vector_t as element type and
3438 add netgroup-related initializers.
3439 * nscd/netgroupcache.c: New file.
3440 * nscd/nscd_netgroup.c: New file.
3441 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3442 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3443 For four parameters use innetgr.
3444 * nss/nss_files/files-init.c: Add definition and callback for netgr.
3445 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3446 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3447 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3449 * nscd/connections.c (register_traced_file): Don't register file
3450 for disabled databases.
3452 2011-10-06 Ulrich Drepper <drepper@gmail.com>
3454 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3456 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3457 from tree and freeing node.
3459 2011-09-25 Jiri Olsa <jolsa@redhat.com>
3461 * nss/nsswitch.c (__nss_database_lookup): Handle
3462 nss_parse_service_list out of memory case.
3464 2011-09-15 Jiri Olsa <jolsa@redhat.com>
3466 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3469 2011-10-04 Andreas Schwab <schwab@redhat.com>
3471 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3472 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3474 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3475 elf_machine_rela, elf_machine_lazy_rel.
3476 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3477 (ELF_DYNAMIC_DO_REL): Likewise.
3478 (ELF_DYNAMIC_DO_RELA): Likewise.
3479 (ELF_DYNAMIC_RELOCATE): Likewise.
3480 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3481 to ELF_DYNAMIC_DO_REL.
3482 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3483 (dl_main): In trace mode always set __RTLD_NOIFUNC.
3484 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3486 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3487 skip_ifunc, don't call ifunc function if non-zero.
3488 (elf_machine_rela): Likewise.
3489 (elf_machine_lazy_rel): Likewise.
3490 (elf_machine_lazy_rela): Likewise.
3491 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3492 (elf_machine_lazy_rel): Likewise.
3493 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3495 (elf_machine_lazy_rel): Likewise.
3496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3498 (elf_machine_lazy_rel): Likewise.
3499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3500 (elf_machine_lazy_rel): Likewise.
3501 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3502 (elf_machine_lazy_rel): Likewise.
3503 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3504 (elf_machine_lazy_rel): Likewise.
3505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3506 (elf_machine_lazy_rel): Likewise.
3507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3508 (elf_machine_lazy_rel): Likewise.
3509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3510 (elf_machine_lazy_rel): Likewise.
3512 2011-09-28 Ulrich Drepper <drepper@gmail.com>
3514 * nss/nss_files/files-init.c (_nss_files_init): Use static
3515 initialization for all the *_traced_file variables.
3517 2011-09-28 Andreas Schwab <schwab@redhat.com>
3519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3521 2011-09-27 Roland McGrath <roland@hack.frob.com>
3524 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3526 2011-09-27 Andreas Schwab <schwab@redhat.com>
3528 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3529 Reread the line before reparsing it.
3531 2011-09-26 Andreas Schwab <schwab@redhat.com>
3533 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3535 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
3536 Maxim Kuvyrkov <maxim@codesourcery.com>
3537 Joseph Myers <joseph@codesourcery.com>
3539 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3540 if needed for __stack_chk_guard.
3542 2011-09-19 Roland McGrath <roland@hack.frob.com>
3544 * sysdeps/posix/spawni.c (script_execute): Always define it.
3545 It will be optimized away if unused.
3546 (maybe_script_execute): New function.
3547 (__spawni): Call it.
3549 * Makerules: Don't include tls.make.
3550 (config-tls): Always set to thread.
3551 * tls.make.c: File removed.
3553 2011-09-19 Mike Frysinger <vapier@gentoo.org>
3555 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
3556 * config.make.in (CPPFLAGS-config): New substituted variable.
3558 2011-09-15 Ulrich Drepper <drepper@gmail.com>
3560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
3563 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
3564 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
3566 2011-09-15 Roland McGrath <roland@hack.frob.com>
3568 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
3569 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
3570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3571 (CALL_FAIL): Likewise.
3572 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
3573 (CALL_FAIL): Macro removed.
3574 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
3576 2011-09-15 Ulrich Drepper <drepper@gmail.com>
3578 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3579 for __FINITE_MATH_ONLY__ == 1.
3581 2011-09-15 Andreas Schwab <schwab@redhat.com>
3583 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3584 __ieee754_sqrt instead of sqrt.
3585 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3586 __ieee754_sqrtf instead of sqrtf.
3587 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3588 __floorf instead of floorf.
3589 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3590 __floorf, __truncf instead of floorf, truncf.
3592 2011-09-14 Ulrich Drepper <drepper@gmail.com>
3594 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3596 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3597 __extern_always_inline.
3598 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3601 2011-09-14 Andreas Schwab <schwab@redhat.com>
3603 * elf/rtld.c (dl_main): Also relocate in dependency order when
3604 doing symbol dependency testing.
3606 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
3608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3609 Always define `refsym'.
3611 2011-09-13 Andreas Schwab <schwab@redhat.com>
3613 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3614 (__FD_ELT): Renamed from __FDELT.
3615 * misc/bits/select2.h (__FD_ELT): Likewise.
3616 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3617 __FD_MASK instead of __FDELT, __FDMASK.
3618 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3620 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3623 * elf/Makefile (gen-ldd): Fix pattern.
3625 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3626 (init_tls): Likewise.
3628 2011-09-12 Ulrich Drepper <drepper@gmail.com>
3630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3632 2011-09-12 Andreas Schwab <schwab@redhat.com>
3634 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3635 `struct cmsghdr *' instead of `void *'.
3636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3639 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3641 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3643 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3646 2011-09-11 Ulrich Drepper <drepper@gmail.com>
3648 * configure.in: Remove --with-tls option.
3649 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3650 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3651 out in case it is missing.
3652 * sysdeps/ia64/elf/configure.in: Likewise.
3653 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3654 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3655 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3656 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3657 * sysdeps/sh/elf/configure.in: Likewise.
3658 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3659 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3660 * sysdeps/x86_64/elf/configure.in: Likewise.
3661 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3662 * sysdeps/mach/hurd/tls.h: Likewise.
3665 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3668 * configure.in: Fix use of AC_INIT.
3670 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3672 2011-09-10 Ulrich Drepper <drepper@gmail.com>
3674 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3676 * malloc/hooks.c: Likewise.
3679 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
3680 variables statically.
3681 (narenas): Initialize.
3682 (list_lock): Initialize.
3683 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
3684 initializtion of main_arena and list_lock. Small cleanups.
3685 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3686 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
3687 Add initializers to main_arena and mp_.
3688 (malloc_state): Remove pagesize member. Change all users to use
3691 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3692 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
3693 is always initialized.
3695 * malloc/malloc.c: Removed unused configurations and dead code.
3696 * malloc/arena.c: Likewise.
3697 * malloc/hooks.c: Likewise.
3698 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
3700 * include/tls.h: Removed. USE___THREAD must always be defined.
3701 * bits/libc-tsd.h: Don't handle !USE___THREAD.
3702 * elf/dl-libc.c: Likewise.
3703 * elf/dl-tsd.c: Likewise.
3704 * include/errno.h: Likewise.
3705 * include/netdb.h: Likewise.
3706 * include/resolv.h: Likewise.
3707 * inet/herrno-loc.c: Likewise.
3708 * inet/herrno.c: Likewise.
3709 * malloc/arena.c: Likewise.
3710 * malloc/hooks.c: Likewise.
3711 * malloc/malloc.c: Likewise.
3712 * resolv/res-state.c: Likewise.
3713 * resolv/res_libc.c: Likewise.
3714 * sysdeps/i386/dl-machine.h: Likewise.
3715 * sysdeps/ia64/dl-machine.h: Likewise.
3716 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3718 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3719 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3720 * sysdeps/sh/dl-machine.h: Likewise.
3721 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3722 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3723 * sysdeps/unix/i386/sysdep.S: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3725 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3730 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3734 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3735 * sysdeps/x86_64/dl-machine.h: Likewise.
3736 * tls.make.c: Likewise.
3738 * configure.in: Remove --with-__thread option. Make tests for
3739 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3740 tls_model attribute fail if no support is available. Remove
3742 * Makeconfig: Adjust for dropped configure option. All features are
3744 * Makerules: Likewise.
3745 * Versions.def: Likewise.
3746 * argp/argp-fmtstream.c: Likewise.
3747 * argp/argp-fmtstream.h: Likewise.
3748 * argp/argp-help.c: Likewise.
3749 * assert/assert.c: Likewise.
3750 * config.h.in: Likewise.
3751 * config.make.in: Likewise.
3752 * configure: Likewise.
3753 * configure.in: Likewise.
3754 * csu/Versions: Likewise.
3755 * csu/init.c: Likewise.
3756 * elf/tst-audit2.c: Likewise.
3757 * elf/tst-tls10.c: Likewise.
3758 * elf/tst-tls10.h: Likewise.
3759 * elf/tst-tls11.c: Likewise.
3760 * elf/tst-tls12.c: Likewise.
3761 * elf/tst-tls14.c: Likewise.
3762 * elf/tst-tlsmod11.c: Likewise.
3763 * elf/tst-tlsmod12.c: Likewise.
3764 * elf/tst-tlsmod13.c: Likewise.
3765 * elf/tst-tlsmod13a.c: Likewise.
3766 * elf/tst-tlsmod14a.c: Likewise.
3767 * elf/tst-tlsmod15b.c: Likewise.
3768 * elf/tst-tlsmod16a.c: Likewise.
3769 * elf/tst-tlsmod16b.c: Likewise.
3770 * elf/tst-tlsmod7.c: Likewise.
3771 * elf/tst-tlsmod8.c: Likewise.
3772 * elf/tst-tlsmod9.c: Likewise.
3773 * gmon/gmon.c: Likewise.
3774 * grp/fgetgrent_r.c: Likewise.
3775 * grp/putgrent.c: Likewise.
3776 * hurd/fopenport.c: Likewise.
3777 * include/libc-symbols.h: Likewise.
3778 * include/tls.h: Likewise.
3779 * intl/gettextP.h: Likewise.
3780 * intl/loadinfo.h: Likewise.
3781 * locale/global-locale.c: Likewise.
3782 * locale/localeinfo.h: Likewise.
3783 * mach/devstream.c: Likewise.
3784 * malloc/arena.c: Likewise.
3785 * malloc/set-freeres.c: Likewise.
3786 * misc/err.c: Likewise.
3787 * misc/getttyent.c: Likewise.
3788 * misc/mntent_r.c: Likewise.
3789 * posix/getopt.c: Likewise.
3790 * posix/wordexp.c: Likewise.
3791 * pwd/fgetpwent_r.c: Likewise.
3792 * resolv/Versions: Likewise.
3793 * resolv/res_hconf.c: Likewise.
3794 * shadow/fgetspent_r.c: Likewise.
3795 * shadow/putspent.c: Likewise.
3796 * stdio-common/printf_fphex.c: Likewise.
3797 * stdio-common/tmpfile.c: Likewise.
3798 * stdlib/abort.c: Likewise.
3799 * stdlib/fmtmsg.c: Likewise.
3800 * sunrpc/auth_unix.c: Likewise.
3801 * sunrpc/clnt_perr.c: Likewise.
3802 * sunrpc/clnt_tcp.c: Likewise.
3803 * sunrpc/clnt_udp.c: Likewise.
3804 * sunrpc/clnt_unix.c: Likewise.
3805 * sunrpc/openchild.c: Likewise.
3806 * sunrpc/svc_simple.c: Likewise.
3807 * sunrpc/svc_tcp.c: Likewise.
3808 * sunrpc/svc_udp.c: Likewise.
3809 * sunrpc/svc_unix.c: Likewise.
3810 * sunrpc/xdr.c: Likewise.
3811 * sunrpc/xdr_array.c: Likewise.
3812 * sunrpc/xdr_rec.c: Likewise.
3813 * sunrpc/xdr_ref.c: Likewise.
3814 * sunrpc/xdr_stdio.c: Likewise.
3816 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3818 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3820 2011-07-03 Andreas Jaeger <aj@suse.de>
3822 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3823 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3824 regenerate with gen-libm-tests.pl.
3826 2010-05-12 Petr Baudis <pasky@suse.cz>
3829 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3830 around j0() zero points by switching to j1().
3831 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3836 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3838 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3840 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3843 Patch in part by Pavel Roskin <proski@gnu.org>.
3846 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3848 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3849 Free memory block if necessary.
3852 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3853 be NULL. Don't lock in this case.
3855 2011-09-09 Roland McGrath <roland@hack.frob.com>
3857 * elf/elf.h (ELFOSABI_GNU): New macro.
3858 (ELFOSABI_LINUX): Define to that.
3860 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3862 * string/strncat.c (strncat): Undef the symbol in case it has been
3863 defined in bits/string.h.
3865 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3867 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3869 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
3872 2011-08-17 Andreas Jaeger <aj@suse.de>
3874 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3876 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3877 Ian Lance Taylor <iant@google.com>
3879 * math/libm-test.inc (lround_test): New testcase.
3880 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3882 2011-09-08 Ulrich Drepper <drepper@gmail.com>
3884 * Makefile: Remove support for automatic cvs check-ins.
3885 * Makerules: Likewise.
3886 * config.make.in: Likewise.
3887 * configure.in: Likewise.
3888 * intl/Makefile: Likewise.
3889 * locale/Makefile: Likewise.
3890 * po/Makefile: Likewise.
3891 * posix/Makefile: Likewise.
3892 * sysdeps/gnu/Makefile: Likewise.
3893 * sysdeps/mach/hurd/Makefile: Likewise.
3894 * sysdeps/sparc/sparc32/Makefile: Likewise.
3897 * posix/Makefile (bug-regex32-ENV): Define.
3898 Patch by John Stanley <jpsinthemix@verizon.net>.
3900 * misc/Makefile (headers): Add bits/select2.h.
3901 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3902 * misc/bits/select2.h: New file.
3903 * include/bits/select2.h: New file.
3904 * debug/Makefile (routines): Add fdelt_chk.
3905 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3906 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3908 * debug/fdelt_chk.c: New file.
3910 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3911 * wcsmbs/test-wmemcmp.c: Likewise.
3912 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
3913 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
3915 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3917 * string/Makefile (strop-tests): Add memcmp.
3918 * string/test-wmemcmp.c: New file.
3919 * string/test-memcmp.c: Add wmemcmp support.
3921 2011-09-08 Roland McGrath <roland@hack.frob.com>
3924 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3927 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3928 garbage value in a __mach_port_mod_refs call in the cases of the
3929 task-self and thread-self ports.
3931 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3933 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3935 2011-09-08 Andreas Schwab <schwab@redhat.com>
3937 * elf/dl-load.c (lose): Check for non-null L.
3939 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3941 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3943 * elf/dl-libc.c (dlerror_run): Pass back error code from
3947 * elf/dl-load.c (lose): Free l_origin if it is valid.
3949 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3956 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3958 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3960 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3961 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3962 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3963 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3964 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3965 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3966 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3967 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3968 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3969 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3971 2011-08-15 Alan Modra <amodra@gmail.com>
3974 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3975 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3976 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3977 ppc_mcount to static-only-routines.
3978 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3980 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3981 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3983 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3985 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3986 for finite and infinity parameters.
3988 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3991 and add nop instructions for throughput optimization.
3992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3994 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3996 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3997 aligned copy for power7 with vector-scalar instructions.
3998 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4000 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4005 2011-09-07 Andreas Schwab <schwab@redhat.com>
4008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4011 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4013 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4014 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4015 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4016 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4019 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4022 Forgot to demangle the pointer.
4024 * sysdeps/i386/sysdep.h: Define atom_text_section.
4025 * sysdeps/x86_64/sysdep.h: Likewise.
4026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4027 section with atom_text_section.
4028 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4030 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4032 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4034 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4035 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4036 already be defined. Change to take two parameters and don't assign
4037 result to variable. Adjust all users.
4038 Define INTERNAL_GETTIME if not already defined.
4039 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4042 HAVE_CLOCK_GETTIME_VSYSCALL.
4043 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4045 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4046 gettimeofday vsyscall, just use time.
4048 2011-09-06 Andreas Schwab <schwab@redhat.com>
4050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4053 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4055 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4059 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4061 syscall if possible.
4063 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4065 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4066 e_ident. Don't pass to find_mapsXX.
4067 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4069 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4072 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4073 * sysdeps/x86_64/multiarch/strchr.S: Update.
4074 Check bit_slow_BSF bit.
4075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4076 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4077 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4079 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4082 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4085 (__spawni): Change last parameter to be flag. Test
4086 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4087 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4088 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4089 * posix/spawni.c: Likewise.
4090 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4091 * posix/spawnp.c: Likewise. Change normal version to use
4092 SPAWN_XFLAGS_USE_PATH.
4093 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4094 SPAWN_XFLAGS_TRY_SHELL.
4097 * posix/glob.h: Remove gcc 1.x support.
4100 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4102 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4105 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4107 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4108 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4109 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4110 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4111 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4114 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4116 * sysdeps/x86_64/wcscmp.S: New file.
4118 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4119 wcscmp-c wcscmp-sse2
4120 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4121 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4122 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4123 * wcsmbs/wcscmp.c: Allow renaming.
4125 2011-09-05 David S. Miller <davem@davemloft.net>
4127 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4128 stack slot, rather than the struct return pointer slot.
4129 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4130 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4134 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4136 * po/ja.po: Update from translation team.
4139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4140 kernel in 64-bit binaries.
4142 2011-09-01 David S. Miller <davem@davemloft.net>
4144 * elf/elf.h (HWCAP_SPARC_*): Move to..
4145 * sysdeps/sparc/sysdep.h: this new file and add new values.
4146 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4147 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4148 _DL_HWCAP_COUNT to 24.
4149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4151 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4152 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4153 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4155 instead of magic constants.
4156 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4158 2011-08-31 David S. Miller <davem@davemloft.net>
4160 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4162 Reimplement to do errno handling inline.
4163 (SYSCALL_ERROR_HANDLER): New macro.
4164 (__SYSCALL_STRING): Do not do errno handling in asm.
4165 (__CLONE_SYSCALL_STRING): Delete.
4166 (__INTERNAL_SYSCALL_STRING): Delete.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4168 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4169 (PSEUDO): Reimplement to do errno handling inline.
4170 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4171 (SYSCALL_ERROR_HANDLER): New macro.
4172 (__SYSCALL_STRING): Do not do errno handling in asm.
4173 (__CLONE_SYSCALL_STRING): Delete.
4174 (__INTERNAL_SYSCALL_STRING): Delete.
4175 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4176 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4178 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4179 (inline_syscall*): Add 'err' argument.
4180 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4181 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4182 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4183 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4185 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4186 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4188 2011-08-30 Andreas Schwab <schwab@redhat.com>
4190 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4192 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4194 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4197 2011-08-24 David S. Miller <davem@davemloft.net>
4199 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4201 2011-08-24 Andreas Schwab <schwab@redhat.com>
4203 * elf/Makefile: Add rules to build and run unload8 test.
4204 * elf/unload8.c: New file.
4205 * elf/unload8mod1.c: New file.
4206 * elf/unload8mod1x.c: New file.
4207 * elf/unload8mod2.c: New file.
4208 * elf/unload8mod3.c: New file.
4210 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4213 2011-08-23 David S. Miller <davem@davemloft.net>
4215 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4216 subtract stack bias.
4217 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4218 %sp not %fp in calculations.
4219 (_JMPBUF_UNWINDS_ADJ): Likewise.
4221 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4222 (aio_suspend): Call it to force an exception region around the
4223 AIO_MISC_WAIT() invocation.
4225 2011-08-23 Andreas Schwab <schwab@redhat.com>
4227 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4230 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4232 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4234 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4236 (Elf64_FuncDesc): Remove.
4238 2011-08-22 David S. Miller <davem@davemloft.net>
4240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4241 sigaltstack check, add missing cfi directives.
4242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4243 missing cfi directives, and sigaltstack handling.
4245 2011-08-16 Andreas Schwab <schwab@redhat.com>
4248 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4249 object is seen twice.
4250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4252 * elf/Makefile (distribute): Add tst-initorder2.c.
4253 (tests): Add tst-initorder2.
4254 (modules-names): Add tst-initorder2a tst-initorder2b
4255 tst-initorder2c tst-initorder2d. Add rules to build them.
4256 ($(objpfx)tst-initorder2.out): New rule.
4257 * elf/tst-initorder2.c: New file.
4258 * elf/tst-initorder2.exp: New file.
4260 2011-08-22 Andreas Schwab <schwab@redhat.com>
4262 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4264 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4265 dependencies back to end of function.
4267 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4270 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4273 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4275 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4276 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4277 of __vdso_gettimeofday.
4278 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4279 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4281 (_libc_vdso_platform_setup): Remove initialization of
4282 __vdso_gettimeofday and __vdso_time.
4284 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4286 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4288 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4291 * elf/dl-open.c (add_to_global): Report additions to the global scope
4292 for LD_DEBUG=scopes.
4293 (dl_open_worker): Also print scope of newly loaded dependencies.
4294 (_dl_show_scope): Indicate if there is no scope.
4297 * stdio-common/Makefile (tests): Add bug24.
4298 * stdio-common/bug24.c: New file.
4300 2011-08-19 Andreas Jaeger <aj@suse.de>
4303 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4304 non-existant file when using close-on-exec mode.
4306 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4309 the very first instruction.
4311 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4312 the CFI state in the end.
4313 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4314 inclusion of dl-trampoline.h.
4315 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4317 2011-08-19 Andreas Schwab <schwab@redhat.com>
4319 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4320 expectations for long double.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4323 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4325 2011-08-14 David S. Miller <davem@davemloft.net>
4327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4328 artificual limit depends upon the system page size.
4330 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4332 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4333 * resolv/Makefile: Define CFLAGS-libresolv.
4335 2011-08-17 Andreas Schwab <schwab@redhat.com>
4337 * nss/makedb.c (compute_tables): Make variables used in nested
4340 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4342 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4343 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4344 if buffer was too small.
4346 * elf/pldd.c (main): Attach to all threads in the process.
4347 Rewrite /proc handling to use *at functions.
4349 2011-08-16 Ulrich Drepper <drepper@gmail.com>
4351 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4352 specifies first scope to show.
4353 (dl_open_worker): Update callers. Move printing scope of new
4354 object to before the relocation.
4355 * elf/rtld.c (dl_main): Update _dl_show_scope call.
4356 * sysdeps/generic/ldsodefs.h: Update declaration.
4358 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4359 string for the scope number.
4361 2011-08-14 Ulrich Drepper <drepper@gmail.com>
4363 * nscd/servicescache.c (cache_addserv): Make sure written is always
4366 2011-08-14 Roland McGrath <roland@hack.frob.com>
4368 * sysdeps/i386/i486/bits/atomic.h
4369 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4370 statement expression, so as to suppress "set but not used" warning.
4371 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4373 * string/strncat.c (STRNCAT): Use prototype definition.
4375 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4376 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4378 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4379 (localedef-modules): Add localedef.
4380 (locale-modules): Add locale.
4382 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4383 * elf/rtld.c (dl_main): Invert order of assignment in last change,
4386 2011-08-14 David S. Miller <davem@davemloft.net>
4388 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4389 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4391 2011-08-13 Ulrich Drepper <drepper@gmail.com>
4393 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
4394 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4395 * elf/rtld.c (dl_main): Set l_name of vDSO.
4396 Call _dl_show_scope when DL_DEBUG_SCOPES.
4397 (process_dl_debug): Recognize scopes flag and also set it for all.
4398 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4399 Declare _dl_show_scope.
4401 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4402 (do_dlopen): Pass caller_dlopen to dl_open.
4403 (__libc_dlopen_mode): Initialize caller_dlopen.
4405 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4406 of libc. Make tolower call locale-independent. Optimize a bit by
4407 using isdigit instead of isalnum.
4408 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4410 2011-08-12 Ulrich Drepper <drepper@gmail.com>
4412 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4413 was a dependency or dynamically loaded.
4415 2011-08-11 Ulrich Drepper <drepper@gmail.com>
4417 * intl/l10nflist.c: Allow architecture-specific pop function.
4418 * sysdeps/x86_64/l10nflist.c: New file.
4420 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4423 2011-08-10 Andreas Schwab <schwab@redhat.com>
4425 * include/dirent.h: Add libc_hidden_proto for scandirat and
4426 scandirat64. Don't declare __scandirat64.
4427 * dirent/scandirat.c: Add libc_hidden_def.
4428 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4429 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4431 2011-08-10 David S. Miller <davem@davemloft.net>
4433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4439 2011-08-09 Ulrich Drepper <drepper@gmail.com>
4441 * Versions.def [libc]: Add GLIBC_2.15.
4442 * dirent/Makefile (routines): Add scandirat and scandirat64.
4443 * dirent/Versions [libc]: Export scandirat and scandirat64 for
4445 * dirent/dirent.h: Declare scandirat and scandirat64.
4446 * dirent/scandirat.c: New file.
4447 * dirent/scandirat64.c: New file.
4448 * sysdeps/wordsize-64/scandirat.c: New file.
4449 * sysdeps/wordsize-64/scandirat64.c: New file.
4450 * dirent/opendir.c: Define opendirat.
4451 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
4453 * dirent/scandir64.c: Adjust for scandir.c change.
4454 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
4455 __scandirat64, and __scandir_cancel_handler.
4456 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
4457 additional parameter and use openat instead of open (outside of ld.so).
4458 Add new __opendir as wrapper around __opendirat.
4459 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4460 here without requiring old scandirat implementation.
4462 2011-08-08 Ulrich Drepper <drepper@gmail.com>
4464 * dirent/scandir.c (cancel_handler): Renamed to
4465 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
4466 defined. Adjust users.
4467 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4470 2011-08-04 Ulrich Drepper <drepper@gmail.com>
4472 * string/test-string.h (IMPL): Use __STRING to expand name and then
4475 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
4478 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4480 * string/Makefile: Update.
4481 (strop-tests): Append strncat.
4482 * string/test-wcscmp.c: New file.
4483 New comprehensive test for wcscmp.
4484 * string/test-strcmp.c: Update.
4487 2011-07-22 Andreas Schwab <schwab@redhat.com>
4489 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4492 2011-07-26 Andreas Schwab <schwab@redhat.com>
4494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4495 encoding to ACE if AI_IDN.
4497 2011-08-01 Jakub Jelinek <jakub@redhat.com>
4499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4500 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4502 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4505 Fix overflow bug in strncat.
4506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4508 * string/test-strncat.c: Update.
4509 Add new tests for checking overflow bugs.
4511 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4514 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4515 * sysdeps/i386/i686/multiarch/strcat.S: New file.
4516 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4518 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4519 * sysdeps/i386/i686/multiarch/strncat.S: New file.
4520 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4521 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4524 (USE_AS_STRCAT): Define.
4525 Add strcat and strncat support.
4526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4528 2011-07-25 Andreas Schwab <schwab@redhat.com>
4530 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4531 __n bigger than INT_MAX+1.
4532 (__strncmp_g): Likewise.
4534 2011-07-23 Ulrich Drepper <drepper@gmail.com>
4536 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4537 * libio/stido.h: Likewise.
4539 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4544 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
4545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4551 * scripts/test-installation.pl: Don't expect libnss_test1 to be
4554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
4556 (_dl_x86_64_save_sse): Likewise.
4558 2011-07-22 Ulrich Drepper <drepper@gmail.com>
4560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
4562 (_dl_x86_64_save_sse): Likewise.
4564 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
4566 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
4568 2011-07-21 Andreas Schwab <schwab@redhat.com>
4570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
4572 (_dl_x86_64_save_sse): Use correct AVX check.
4574 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
4577 bug in strncpy/strncat.
4578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4580 2011-07-21 Ulrich Drepper <drepper@gmail.com>
4582 * string/tester.c (test_strcat): Add tests for different alignments
4583 of source and destination.
4584 (test_strncat): Likewise.
4586 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4589 * posix/glob.c (glob): Check passed in values before using them in
4590 expressions to avoid some overflows.
4591 (glob_in_dir): Likewise.
4594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4595 check for AVX enablement so that we don't crash with old kernels and
4597 * elf/tst-audit4.c: Add same checks here.
4598 * elf/tst-audit6.c: Likewise.
4600 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
4602 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
4604 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4606 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4608 * po/cs.po: Update from translation team.
4609 * po/bg.po: Likewise.
4611 2011-07-12 Marek Polacek <mpolacek@redhat.com>
4613 * misc/sys/cdefs.h: Add support for const attribute.
4614 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4615 to gnu_dev_{major,minor,makedev} functions.
4617 2011-07-20 Marek Polacek <mpolacek@redhat.com>
4619 * intl/dcigettext.c (get_output_charset): Add missing bracket.
4621 2011-07-20 Andreas Schwab <schwab@redhat.com>
4623 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4626 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4629 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4630 register in order to avoid conflicts with the soft frame pointer
4631 being held in r11 when necessary.
4632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4633 (INTERNAL_VSYSCALL_NCS): Likewise.
4635 2011-07-14 Marek Polacek <mpolacek@redhat.com>
4637 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4638 * elf/dl-fini.c (_dl_fini): Adjust caller.
4639 * elf/dl-close.c (_dl_close_worker): Likewise.
4640 * sysdeps/generic/ldsodefs.h: Adjust declaration.
4642 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4644 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4645 "aux_cache->nlibs < 0".
4647 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4648 in the reload-count case.
4650 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4653 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4654 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4655 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4656 * sysdeps/x86_64/multiarch/strcat.S: New file.
4657 * sysdeps/x86_64/multiarch/strncat.S: New file.
4658 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4660 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4661 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4663 (USE_AS_STRCAT): Define.
4664 Add strcat and strncat support.
4665 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4666 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4667 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4668 * string/strncat.c: Update.
4669 (USE_AS_STRNCAT): Define.
4670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4671 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4673 * sysdeps/x86_64/multiarch/init-arch.h
4674 (bit_Prefer_PMINUB_for_stringop): New.
4675 (index_Prefer_PMINUB_for_stringop): Likewise.
4676 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4677 bit_Prefer_PMINUB_for_stringop.
4679 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4681 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4683 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4684 of casting of buffer.
4685 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4686 buffer32 and buffer64.
4687 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4688 writes instead of casting of buffer.
4689 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4691 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4694 2011-07-19 Andreas Schwab <schwab@redhat.com>
4696 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4698 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4700 * nscd/nscd.c (termination_handler): Don't do anything for a database
4701 if it has not yet been initialized.
4703 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4705 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4707 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4709 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4711 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4713 * po/nl.po: Update from translation team.
4714 * po/sv.po: Likewise.
4716 2011-07-16 Roland McGrath <roland@hack.frob.com>
4718 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4719 now disallowed by GCC.
4721 * configure.in (use-default-link): Default to yes if a test -shared
4722 link meets our qualifications.
4723 * configure: Regenerated.
4725 * config.make.in (output-format): New variable.
4726 * configure.in: Check for ld --print-output-format support.
4727 * configure: Regenerated.
4728 * Makerules ($(common-objpfx)format.lds)
4729 [$(output-format) != unknown]: Just use $(output-format),
4730 instead of the linker-script munging.
4732 2011-07-14 Roland McGrath <roland@hack.frob.com>
4734 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4735 of $(common-objpfx)shlib.lds.
4736 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4738 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4739 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4741 * configure.in (-z relro check): Adjust test code to add a large
4742 writable data section after it.
4743 * configure: Regenerated.
4745 2011-07-11 Roland McGrath <roland@hack.frob.com>
4747 * configure.in (-z relro check): Fix test code to make the variable
4749 * configure: Regenerated.
4751 2011-07-11 Ulrich Drepper <drepper@gmail.com>
4753 * nscd/nscd.h (struct traced_file): Define.
4754 (struct database_dyn): Remove inotify_descr, reset_res, and filename
4755 elements. Add traced_files.
4756 (inotify_fd): Declare.
4757 (register_traced_file): Declare.
4758 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4759 (inotify_fd): Export.
4760 (resolv_conf_descr): Remove.
4761 (nscd_init): Move inotify descriptor creation to main.
4762 Don't register files for notification here.
4763 (register_traced_file): New function.
4764 (invalidate_cache): Don't use reset_res to determine whether to call
4765 res_init, go through the list of registered files.
4766 (main_loop_poll): The inotify descriptors are now stored in the
4767 structures for the traced files.
4768 (main_loop_epoll): Likewise
4769 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
4770 to __nss_disable_nscd.
4771 * nscd/cache.c (prune_cache): There is no single inotify descriptor
4772 for a database anymore. Check the records for all the registered
4774 * nss/Makefile (libnss_files-routines): Add files-init.
4775 (libnss_db-routines): Add db-init.
4776 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4777 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4778 * nss/nss_db/db-init.c: New file.
4779 * nss/nss_files/files-init.c: New file.
4780 * nss/nsswitch.c (nss_load_library): New function. Broken out of
4781 __nss_lookup_function.
4782 (__nss_lookup_function): Call nss_load_library.
4783 (nss_load_all_libraries): New function.
4784 (__nss_disable_nscd): Take parameter with callback function for files
4785 to register. Set is_nscd. Load all the DSOs for the NSS modules
4786 used for the cached services.
4787 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4788 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4789 options for features to all the files in nscd.
4791 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4793 2011-07-10 Roland McGrath <roland@hack.frob.com>
4795 * csu/elf-init.c (__libc_csu_init): Comment typo.
4797 2011-07-09 Ulrich Drepper <drepper@gmail.com>
4799 * po/pl.po: Update from translation team.
4800 * po/ja.po: Likewise.
4801 * po/ru.po: Likewise.
4802 * po/ko.po: Likewise.
4803 * po/fr.po: Likewise.
4805 2011-07-09 Roland McGrath <roland@hack.frob.com>
4807 * configure.in (.ctors/.dtors header and trailer check):
4808 Use an empirical test on a built program.
4809 * configure: Regenerated.
4811 * configure.in (-z relro check): Use an empirical test on a built DSO.
4812 Detect, but do not require, on ia64.
4813 * configure: Regenerated.
4815 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4816 Update tests that use readelf to use $READELF instead.
4817 * configure: Regenerated.
4819 2011-07-08 Ulrich Drepper <drepper@gmail.com>
4821 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4822 if the result is not used.
4824 2011-07-05 Andreas Jaeger <aj@suse.de>
4827 * stdlib/tst-strtod.c: Add testcase.
4829 2011-07-07 Ulrich Drepper <drepper@gmail.com>
4831 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
4832 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4833 The latter has a higher limit. Take additional parameter to pass to
4835 (__pathconf): Pass file to __statfs_link_max.
4836 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4838 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4842 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4846 (__statfs_filesize_max): Likewise.
4847 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4849 2011-07-05 Andreas Jaeger <aj@suse.de>
4851 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4853 2011-07-06 Marek Polacek <mpolacek@redhat.com>
4855 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4857 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4860 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4862 * Makefile (strop-tests): Add strncat.
4863 * string/test-strncat.c: New file.
4865 2011-06-30 Marek Polacek <mpolacek@redhat.com>
4867 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4869 2011-06-21 Andreas Jaeger <aj@suse.de>
4871 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4872 Copy rule from iconvdata/Makefile.
4874 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4877 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4878 but no long options are defined, just return 'W'.
4880 2011-06-22 Marek Polacek <mpolacek@redhat.com>
4883 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4885 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4887 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4889 (innetgr): Likewise.
4891 2011-07-05 Roland McGrath <roland@hack.frob.com>
4893 * config.make.in (install_root): Default to $(DESTDIR).
4895 2011-07-05 Ulrich Drepper <drepper@gmail.com>
4897 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4899 2011-07-02 Roland McGrath <roland@hack.frob.com>
4901 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4903 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4904 containing directory rather than embedding absolute directory names.
4906 * scripts/check-local-headers.sh: Rewritten using awk.
4907 Match by word, not by line. Print error messages for matches.
4908 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4910 * Makerules [shlib-lds-flags empty]:
4911 ($(common-objpfx)libc_pic.opts): New target.
4912 ($(common-objpfx)libc_pic.os.clean): New target.
4913 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4915 * config.make.in (OBJCOPY): New variable.
4916 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4917 * configure: Regenerated.
4919 * config.make.in (use-default-link): New variable.
4920 * configure.in (use_default_link): Grok --with-default-link to set it.
4921 * configure: Regenerated.
4922 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4923 (shlib-lds, shlib-lds-flags): Define to empty.
4925 * Makerules (shlib-lds): New variable.
4926 (shlib-lds-flags): New variable.
4927 (build-shlib, build-moduile, build-module-asneeded): Use it.
4928 ($(common-objpfx)libc.so): Use $(shlib-lds).
4929 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4932 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4933 DT_FLAGS/DT_FLAGS_1 with zero flags.
4935 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4936 linker script munging.
4938 2011-07-02 Ulrich Drepper <drepper@gmail.com>
4940 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4942 * crypt/sha512.c (sha512_process_block): Perform total addition using
4943 128-bit if possible.
4944 (__sha512_finish_ctx): Likewise.
4945 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4947 * crypt/sha256.c (SWAP64): Define.
4948 (sha256_process_block): Perform total addition using 64-bit if
4950 (__sha256_finish_ctx): Likewise.
4952 2011-07-01 Ulrich Drepper <drepper@gmail.com>
4954 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4956 * nscd/hstcache.c (cache_addhst): Likewise.
4957 * nscd/grpcache.c (cache_addgr): Likewise.
4958 * nscd/aicache.c (addhstaiX): Likewise
4959 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4961 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
4963 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4965 * nscd/hstcache.c (cache_addhst): Likewise.
4966 * nscd/grpcache.c (cache_addgr): Likewise.
4967 * nscd/aicache.c (addhstaiX): Likewise
4969 2011-07-01 Andreas Schwab <schwab@redhat.com>
4971 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4972 domain only when needed.
4974 2011-06-30 Andreas Schwab <schwab@redhat.com>
4976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4979 2011-06-29 Ulrich Drepper <drepper@gmail.com>
4981 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4982 are re-adding the entry.
4983 * nscd/servicescache.c (cache_addserv): Likewise.
4985 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4987 * sysdeps/generic/dl-irel.h: fix protection against multiple
4989 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4991 2011-06-28 Ulrich Drepper <drepper@gmail.com>
4994 * malloc/memusage.sh: Fix quoting in message.
4995 * debug/xtrace.sh: Likewise.
4997 * configure.in: Remove support for --experimental-malloc option, make
4999 * config.make.in: Likewise.
5000 * malloc/Makefile: Likewise.
5002 2011-06-27 Andreas Schwab <schwab@redhat.com>
5004 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5005 two-byte characters.
5007 2011-06-27 Roland McGrath <roland@hack.frob.com>
5009 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5010 AC_CACHE_CHECK invocation.
5011 * configure: Regenerated.
5013 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5015 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5018 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5019 bit from old_res_options.
5021 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5023 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5024 value type for setfct.
5026 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5029 __gettimeofday instead of gettimeofday.
5031 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5033 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5035 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5042 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5045 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5046 strcpy-sse2-unaligned strncpy-sse2-unaligned
5047 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5048 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5049 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5050 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5051 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5054 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5055 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5056 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5057 (STRCPY): Support SSE2 and SSSE3 versions.
5059 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5062 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5063 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5064 kernels which artificially limit size of requests.
5066 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5069 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5070 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5071 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5072 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5073 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5074 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5075 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5078 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5079 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5080 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5081 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5082 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5084 Enable unaligned load optimization for Intel Core i3, i5 and i7
5086 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5088 (index_Fast_Unaligned_Load): Define.
5089 (HAS_FAST_UNALIGNED_LOAD): Define.
5091 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5093 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5095 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5099 until it is clear that the information is realy needed.
5100 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5102 2011-06-22 Andreas Schwab <schwab@redhat.com>
5104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5106 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5109 /sys/devices/system/cpu/online if it is usable.
5111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5112 reading the information from the /proc filesystem to once a second.
5114 2011-06-21 Andreas Jaeger <aj@suse.de>
5116 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5117 NULL after inclusion of kernel headers.
5119 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5121 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5122 calls to internal_setent.
5125 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5126 addresses using gethostbyname4_r ignore IPv4 addresses.
5128 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5129 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5131 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5133 2011-06-20 David S. Miller <davem@davemloft.net>
5135 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5137 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5139 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5141 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5142 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5143 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5144 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5145 * sysdeps/x86_64/dl-irel.h: Likewise.
5147 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5148 * elf/dl-sym.c: Likewise.
5150 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5152 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5153 need to dereference resplen2.
5155 2011-06-14 Andreas Schwab <schwab@redhat.com>
5157 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5159 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5161 * Makeconfig: Define vardbdir and inst_vardbdir.
5162 * nss/Makefile: Add rules to install db-Makefile.
5164 * nss/nss_db/db-XXX.c: Cleanup.
5166 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5167 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5169 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5170 * nss/makedb.c: Implement -g option to specify that value strings
5171 are generated and should not be added to table iterated over for
5173 * nss/nss_db/db-initgroups.c: New file.
5175 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5178 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5179 (internal_getgrouplist): Adjust to name change.
5180 Update use_initgroups_entry if this is not the first call.
5181 * nss/databases.def: Add initgroups entry.
5183 * nss/makedb.c (compute_tables): Check result of multiple hash table
5184 sizes to minimize maximum chain length.
5186 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5188 * Versions.def: Add entry for libnss_db.
5189 * shlib-versions: Likewise.
5190 * nss/Makefile: Add rules to build libnss_db.
5191 * nss/Versions: Add libnss_db information. Organize libnss_files
5193 * nss/db-Makefile: Add gshadow support. Change rules for the new
5194 makedb progra. Some minor improvements to generate smaller files.
5195 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5197 * nss/makedb.c: ...here.
5198 Improve database format to be smaller and require less memory at
5200 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5202 * nss/nss_db/db-netgrp.c: Likewise.
5203 * nss/nss_db/db-open.c: Likewise.
5204 * nss/nss_files/flies-XXX.x: Adjust comments.
5205 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5206 * nss/nss_files/files-grp.c: Likewise.
5207 * nss/nss_files/files-hosts.c: Likewise.
5208 * nss/nss_files/files-network.c: Likewise.
5209 * nss/nss_files/files-proto.c: Likewise.
5210 * nss/nss_files/files-pwd.c: Likewise.
5211 * nss/nss_files/files-rpc.c: Likewise.
5212 * nss/nss_files/files-service.c: Likewise.
5213 * nss/nss_files/files-sgrp.c: Likewise.
5214 * nss/nss_files/files-spwd.c: Likewise.
5215 * nss/nss_db/db-alias.c: Removed.
5216 * nss/nss_db/dummy-db.h: Removed.
5218 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5220 * nss/makedb.c: Rewritten to not use database library.
5221 * nss/Makefile: Update to build new makedb program.
5223 2011-06-14 Andreas Jaeger <aj@suse.de>
5225 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5228 2011-06-10 Andreas Schwab <schwab@redhat.com>
5230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5233 2011-06-10 Roland McGrath <roland@hack.frob.com>
5235 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5236 * elf/Makefile ($(objpfx)ld.so): Likewise.
5238 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5239 Don't list ld.so twice in dependencies.
5241 * posix/bug-regex31.c: Include <stdlib.h>.
5243 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5245 * nis/nss_compat/compat-spwd.c
5246 (getspent_next_nss_netgr): Remove unused variable.
5247 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5249 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5250 nonmembers" output to use the right array.
5252 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5254 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5256 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5257 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5258 * catgets/gencat.c (read_input_file): Likewise.
5259 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5261 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5262 variable definition inside #if's controlling its use.
5264 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5266 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5268 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5270 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5273 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5275 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5276 * configure: Regenerated.
5278 * Makerules: Revert last change.
5279 * elf/Makefile: Likewise.
5281 2011-06-09 Roland McGrath <roland@hack.frob.com>
5283 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5284 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5285 (reloc-link): Likewise.
5287 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5289 * elf/Makefile: Add rules to build pldd.
5290 * elf/pldd.c: New file.
5291 * elf/pldd-xx.c: New file.
5293 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5295 * version.h: Update for 2.15 development version.
5297 2011-06-07 David S. Miller <davem@davemloft.net>
5299 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5302 elf_machine_lazy_rel): Likewise.
5303 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5305 elf_machine_lazy_rel): Likewise.
5306 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5307 dl_hwcap via passed in argument.
5308 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5311 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5313 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5315 2011-06-06 Roland McGrath <roland@hack.frob.com>
5318 * manual/fdl-1.1.texi: New file, verbatim from:
5319 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5320 * manual/lgpl-2.1.texi: New file, verbatim from:
5321 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5322 * manual/Makefile (licenses): New variable, list those new file names.
5324 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5326 * manual/fdl.texi: File removed.
5327 * manual/lesser.texi: File removed.
5328 * manual/libc.texinfo (Copying, Documentation License):
5329 Use new @include file names, put @appendix directive before @include.
5331 2011-06-04 Jakub Jelinek <jakub@redhat.com>
5334 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5335 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5336 (mq_open): Add __NTH.
5338 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5341 Assume Intel Core i3/i5/i7 processor if AVX is available.
5343 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5348 2011-05-31 Andreas Schwab <schwab@redhat.com>
5350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5351 memory. Use alloca_account. Fix memory leak when retrying.
5353 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5355 * version.h (RELEASE): Bump for 2.14 release.
5356 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5358 * config.make.in (RANLIB): Remove entry.
5360 2011-05-30 Ulrich Drepper <drepper@gmail.com>
5362 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5363 (libc.pot): Work around missing support for .ksh extension in xgettext.
5366 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5367 if both request failed.
5368 (send_dg): In case of server errors clear resplen or *resplen2.
5371 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5372 when there are multiple maps.
5373 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5374 (_dl_fini): Remove test here.
5376 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5378 2011-05-29 Ulrich Drepper <drepper@gmail.com>
5381 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5382 bit from old_res_options.
5383 (gaih_inet): Likewise.
5386 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
5389 * resolv/res_init.c (res_setoptions): Make the code more compact.
5392 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5396 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5398 * malloc/malloc.h: Mark malloc hook variables as deprecated.
5401 * malloc/malloc.h: Declare malloc hook variables as volatile.
5403 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5407 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5408 raise in the comment.
5409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5411 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5413 2011-05-28 Ulrich Drepper <drepper@gmail.com>
5416 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5417 grow the buffers more if it already has to be sufficient.
5418 (build_wcs_upper_buffer): Likewise.
5419 * posix/regexec.c (check_matching): Likewise.
5420 (clean_state_log_if_needed): Likewise.
5421 (extend_buffers): Don't enlarge buffers beyond size of the input
5423 Patches mostly by Emil Wojak <emil@wojak.eu>.
5424 * posix/bug-regex32.c: New file.
5425 * posix/Makefile (tests): Add bug-regex32.
5427 * locale/findlocale.c (_nl_find_locale): Return right away if
5428 _nl_explode_name failed.
5429 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5431 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5433 * debug/xtrace.sh: Unify messages.
5434 * malloc/memusage.sh: Likewise.
5437 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5438 time symbol from vDSO. Substitute with vsyscall if not available.
5439 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5442 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5443 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5444 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5445 Add sendmmsg and internal_sendmmsg.
5446 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5447 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5450 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5451 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5454 2011-05-27 Ulrich Drepper <drepper@gmail.com>
5457 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5458 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
5460 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5464 * iconvdata/Makefile (tests): Add bug-iconv9.
5465 * iconvdata/bug-iconv9.c: New file.
5467 2011-05-27 Andreas Schwab <schwab@redhat.com>
5470 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5472 2011-05-25 Jakub Jelinek <jakub@redhat.com>
5474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5475 (struct user_regs_struct): Change intcs field back to cs.
5477 2011-05-25 Ulrich Drepper <drepper@gmail.com>
5479 * po/ja.po: Update from translation team.
5481 2011-05-23 Ulrich Drepper <drepper@gmail.com>
5484 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5485 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5487 2011-05-20 Andreas Schwab <schwab@redhat.com>
5489 * stdlib/longlong.h: Update from GCC.
5491 2011-05-23 Andreas Schwab <schwab@redhat.com>
5493 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5495 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5497 (__sysconf): Pass it down.
5499 2011-05-22 Ulrich Drepper <drepper@gmail.com>
5502 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5504 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5505 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5506 add in in __libc_use_alloca calls. Adjust callers.
5507 (glob): Use malloc in some situations.
5509 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5510 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5513 2011-05-21 Ulrich Drepper <drepper@gmail.com>
5515 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5516 and CLOCK_BOOTTIME_ALARM.
5519 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5522 * string/_strerror.c (__strerror_r): Print negative errors as signed
5526 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5527 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5528 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5530 * configure.in: Fix typo in redirection and correct removal of test
5534 * locale/setlocale.c (new_composite_name): Fix test to check for
5535 identical name of all categories.
5538 * libio/filedoalloc.c (local_isatty): New function.
5539 (_IO_file_doallocate): Use local_isatty.
5540 * stdio-common/perror.c (perror): In case a new stream is used
5541 forward the stream error.
5542 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
5545 2011-05-20 Ulrich Drepper <drepper@gmail.com>
5548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
5550 * include/alloca.h (extend_alloca_account): Define.
5553 * posix/regex.h: Fix comments with documentation of user-accessible
5554 fields after compilation and describe correct free'ing of pattern
5555 after re_compile_pattern.
5556 Patch by Reuben Thomas <rrt@sc3d.org>.
5558 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
5560 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
5561 and -mno-altivec to prevent the compiler from using Altivec and/or
5562 VSX instructions when the corresponding registers are not available.
5564 2011-05-19 Andreas Schwab <schwab@redhat.com>
5566 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
5568 2011-05-19 Ulrich Drepper <drepper@gmail.com>
5570 * libio/freopen.c (freopen): Use __dup2, not dup2.
5571 * libio/freopen64.c (freopen64): Likewise.
5573 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
5576 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
5577 * math/Makefile (tests): Add test-powl.
5578 (CFLAGS-test-powl.c): Define.
5579 * math/test-powl.c: New file.
5581 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
5583 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5585 2011-05-17 Ulrich Drepper <drepper@gmail.com>
5588 * iconvdata/gb18030.c: Update to GB18020-2005.
5590 2011-05-16 Ulrich Drepper <drepper@gmail.com>
5592 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5593 RE_SYNTAX_POSIX_AWK): Update to match recent development.
5594 Patch by Aharon Robbins <arnold@skeeve.com>.
5597 * stdlib/putenv.c (putenv): Don't always create copy of the variable
5601 * misc/pselect.c (__pselect): Handle timeout value errors hidden
5605 * misc/error.c (error_at_line): Ensure file_name and old_file_name
5606 point to strings before performing equality test for error_one_per_line
5610 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5614 (struct user_fpregs_struct): Avoid __uint*_t types.
5617 * malloc/mtrace.c (tr_where): Add additional parameter to point to
5618 symbol info. Use it instead of calling _dl_addr locally.
5619 (lock_and_info): New function.
5620 (tr_freehook): Call lock_and_info and pass symbol info as additional
5621 parameter to tr_where.
5622 (tr_mallochook): Likewise.
5623 (tr_reallochook): Likewise.
5624 (tr_memalignhook): Likewise.
5626 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
5627 used and couldn't be at all thread-safe.
5629 2011-05-15 Ulrich Drepper <drepper@gmail.com>
5631 * libio/freopen.c (freopen): Don't close old file descriptor
5632 before the new one is opened. Instead dup the new file descriptor
5633 to the old one after the new stream is created.
5634 * libio/freopen64.c (freopen64): Likewise.
5635 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5636 * libio/fileops.c (_IO_new_file_close_it): Handle new
5637 _IO_FLAGS2_NOCLOSE flag.
5638 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5639 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5640 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5641 _IO_FLAGS2_NOCLOSE flag.
5642 * include/unistd.h: Add hidden_proto for dup3.
5644 * io/dup3.c: Define hidden symbol.
5645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5648 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5649 when an incomplete long option is used.
5650 * posix/tst-getopt_long1.c: New file.
5651 * posix/Makefile (tests): Add tst-getopt_long1.
5654 * scripts/config.guess: Update from autoconf-2.68.
5655 * scripts/config.sub: Likewise.
5658 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5660 (has_cpuclock): ...this. New function.
5661 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5662 macro here based on has_cpuclock code.
5665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5666 First byte (not low byte) is now always NUL.
5667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5670 Use non-cancelable interfaces.
5673 * locale/iso-639.def: Add entry for Sorani.
5676 * include/stdlib.h: Move include protection to the right place.
5677 Define abort_msg_s. Declare __abort_msg with it.
5678 * stdlib/abort.c (__abort_msg): Adjust type.
5679 * assert/assert.c (__assert_fail_base): New function. Majority
5680 of code from __assert_fail. Allocate memory for __abort_msg with
5682 (__assert_fail): Now call __assert_fail_base.
5683 * assert/assert-perr.c: Remove bulk of implementation. Use
5685 * include/assert.hL Declare __assert_fail_base.
5686 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5688 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5690 2011-05-14 Ulrich Drepper <drepper@gmail.com>
5694 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5695 until all modules are registered in the DTV.
5696 * elf/Makefile: Add rules to build and run tst-tls19.
5697 * elf/tst-tls19.c: New file.
5698 * elf/tst-tls19mod1.c: New file.
5699 * elf/tst-tls19mod2.c: New file.
5700 * elf/tst-tls19mod3.c: New file.
5701 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5704 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5708 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5709 two-byte sequence errors.
5710 * iconvdata/Makefile (tests): Add bug-iconv8.
5711 * iconvdata/bug-iconv8.c: New file.
5714 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5717 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5720 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5721 (dummy_getcfa): New function.
5722 (init): Get _Unwind_GetCFA address, use dummy if not found.
5723 (backtrace_helper): In recursion check, also check whether CFA changes.
5724 (__backtrace): Completely initialize arg.
5726 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
5727 storing incomplete byte sequence in state object. Avoid testing for
5728 guaranteed too small input if we know there is enough data available.
5730 2011-05-11 Andreas Schwab <schwab@redhat.com>
5732 * Makeconfig (+link-pie): Indent.
5733 * Rules (binaries-pie): Define if $(have-fpie) and
5735 (binaries-shared): Also filter out $(binaries-pie).
5736 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5737 * nscd/Makefile (others-pie): Add nscd.
5738 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5739 ($(objpfx)nscd): Remove command override.
5740 * login/Makefile (others-pie): Add pt_chown.
5741 ($(objpfx)pt_chown): Remove command override.
5742 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5743 remove command overrides.
5745 2011-05-13 Ulrich Drepper <drepper@gmail.com>
5747 * libio/tst_putwc.c: Fix error messages.
5750 * libio/fileops.c (_IO_new_file_close_it): Always flush when
5751 currently writing and seek to current position when not.
5752 * libio/Makefile (tests): Add bug-fclose1.
5753 * libio/bug-fclose1.c: New file.
5755 2011-05-12 Ulrich Drepper <drepper@gmail.com>
5758 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5759 don't set DF_1_NODELETE here.
5760 (do_lookup_x): When entering new entry test for copy relocation
5761 and if necessary set DF_1_NODELETE flag.
5762 * elf/tst-unique4.cc: New file.
5763 * elf/tst-unique4.h: New file.
5764 * elf/tst-unique4lib.cc: New file.
5765 * elf/Makefile: Add rules to build and run tst-unique4.
5766 Patch by Piotr Bury <pbury@goahead.com>.
5768 2011-05-11 Ulrich Drepper <drepper@gmail.com>
5771 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5774 * misc/mntent_r.c (addmntent): Flush the stream after the output
5777 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5778 (is_trusted_path_normalize): Skip initial colon. Append slash
5779 to empty buffer. Duplicate is_trusted_path code but allow
5780 constructed patch to be prefix.
5781 (is_dst): Allow $ORIGIN followed by /.
5782 (_dl_dst_substitute): Correct clearing of check_for_trusted.
5783 Correct testing of result of is_trusted_path_normalize
5784 (decompose_rpath): Fix warning.
5786 2011-05-10 Ulrich Drepper <drepper@gmail.com>
5789 * grp/initgroups.c (internal_getgrouplist): When we found the service
5790 list through the initgroups entry in nsswitch.conf do not always
5791 continue on a successful lookup. Don't always use the
5792 __nss_group_database value if it is set.
5793 * nss/nsswitch.conf (initgroups): Change action for successful db
5794 lookup to continue for compatibility.
5796 2011-05-09 Ulrich Drepper <drepper@gmail.com>
5799 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5801 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5803 * iconvdata/tst-tables.sh: Likewise.
5804 * iconvdata/cp770.c: New file.
5805 * iconvdata/cp771.c: New file.
5806 * iconvdata/cp772.c: New file.
5807 * iconvdata/cp773.c: New file.
5808 * iconvdata/cp774.c: New file.
5809 * iconvdata/testdata/CP770: New file.
5810 * iconvdata/testdata/CP770..UTF8: New file.
5811 * iconvdata/testdata/CP771: New file.
5812 * iconvdata/testdata/CP771..UTF8: New file.
5813 * iconvdata/testdata/CP772: New file.
5814 * iconvdata/testdata/CP772..UTF8: New file.
5815 * iconvdata/testdata/CP773: New file.
5816 * iconvdata/testdata/CP773..UTF8: New file.
5817 * iconvdata/testdata/CP774: New file.
5818 * iconvdata/testdata/CP774..UTF8: New file.
5820 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5822 * iconvdata/gen-8bit-gap.sh: Likewise.
5823 * iconvdata/gen-8bit.sh: Likewise.
5825 * locale/iso-639.def: Add ary entry.
5828 * locale/C-translit.h.in: Add U20A1 transliteration.
5831 * locale/iso-639.def: Add wae entry.
5832 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5835 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5839 * locale/C-translit.h.in: Add entry for U20B9.
5840 Patch by pravin.d.s@gmail.com.
5842 2011-05-08 Ulrich Drepper <drepper@gmail.com>
5845 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5846 ENAMETOOLONG use generic getcwd.
5847 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5848 in rtld. Use *stat64.
5849 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
5850 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
5851 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
5852 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5853 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5854 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5855 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5857 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5858 * dirent/rewinddir.c: Add libc_hidden_def.
5859 * sysdeps/mach/hurd/rewinddir.c: Likewise.
5860 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
5862 * include/dirent.h (__alloc_dir): Add flags parameter.
5863 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5864 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5866 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5867 from fdopendir if O_CLOEXEC is already set.
5869 2011-03-15 Alan Modra <amodra@gmail.com>
5871 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5872 l_tls_firstbyte_offset non-zero. Save padding offset in
5873 l_tls_firstbyte_offset for later use.
5874 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5875 freeing static tls block.
5877 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5879 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5880 where #ifdef was intended. The intent is to prevent ARG_MAX from
5881 being defined by the kernel headers.
5883 2011-05-07 Ulrich Drepper <drepper@gmail.com>
5886 * resolv/resolv.h: Define RES_NOTLDQUERY.
5887 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5888 no-tld-query and set RES_NOTLDQUERY.
5889 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5890 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5891 modern BIND to search name as TLD unless forbidden.
5893 2011-05-07 Petr Baudis <pasky@suse.cz>
5894 Ulrich Drepper <drepper@gmail.com>
5897 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5898 (is_trusted_path): ...to here.
5899 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
5900 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
5901 using is_trusted_path_normalize() in setuid scripts.
5903 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5905 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5906 __BEGIN/__END_DECLS.
5908 2011-05-06 Ulrich Drepper <drepper@gmail.com>
5910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5911 NSS_STATUS_NOTFOUND if no record was found.
5913 2011-05-05 Andreas Schwab <schwab@redhat.com>
5915 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5916 (headers-not-in-tirpc): Remove rpc/netdb.h
5917 * resolv/netdb.h: Revert last change.
5919 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5921 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5922 circular dependency between libgcc.a and libc.a.
5924 2011-05-05 Andreas Schwab <schwab@redhat.com>
5926 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5927 * nis/Makefile: Don't install rpcsvc/*.
5928 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5929 instead of <rpc/types.h>.
5930 (MAXHOSTNAMELEN): Define.
5932 2011-05-03 Andreas Schwab <schwab@redhat.com>
5934 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5936 2011-04-28 Maciej Babinski <mbabinski@google.com>
5939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5940 gethostbyname4_r when IPv6 results are possible.
5942 2011-05-02 Ulrich Drepper <drepper@gmail.com>
5945 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5946 _PC_PIPE_BUF handling.
5948 2011-04-30 Bruno Haible <bruno@clisp.org>
5951 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5952 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5954 * inet/getnameinfo.c (getnameinfo): Likewise.
5956 2011-04-29 Ulrich Drepper <drepper@gmail.com>
5958 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5959 to groups setting in database lookup.
5960 * nss/nsswitch.conf: Add initgroups entry.
5962 2011-04-22 Ulrich Drepper <drepper@gmail.com>
5965 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5967 Patch by Eric Blake <eblake@redhat.com>.
5969 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5971 * sunrpc/Makefile (need-export-routines): Add svc_run.
5972 (routines): Remove svc_run.
5973 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5974 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5975 * sunrpc/svc_run.c (svc_run): Likewise.
5976 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5978 2011-04-21 Ulrich Drepper <drepper@gmail.com>
5980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5981 problem in reallocation in last patch.
5983 2011-04-20 Ulrich Drepper <drepper@gmail.com>
5985 * sunrpc/Makefile: Move inclusion of Rules.
5987 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5989 * nss/nss_files/files-initgroups.c: New file.
5990 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5991 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5992 _nss_files_initgroups_dyn.
5994 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5996 * elf/elf.h (R_ARM_IRELATIVE): Define.
5998 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6000 * po/ru.po: Update from translation team.
6002 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6004 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6007 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6010 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6011 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6016 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6020 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6024 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6027 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6029 * stdlib/bug-getcontext.c: New file.
6030 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6032 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6034 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6035 instructions into .machine "z9-109".
6036 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6037 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6039 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6041 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6042 between environment variables and auxiliary vector.
6044 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6046 * Makefile: Add rules to build linkobj/libc.so.
6047 * include/libc-symbols.h: Define libc_hidden_nolink.
6048 * include/rpc/auth.h: Mark functions which are to be hidden.
6049 * include/rpc/auth_des.h: Likewise.
6050 * include/rpc/auth_unix.h: Likewise.
6051 * include/rpc/clnt.h: Likewise.
6052 * include/rpc/des_crypt.h: Likewise.
6053 * include/rpc/key_prot.h: Likewise.
6054 * include/rpc/pmap_clnt.h: Likewise.
6055 * include/rpc/pmap_prot.h: Likewise.
6056 * include/rpc/pmap_rmt.h: Likewise.
6057 * include/rpc/rpc_msg.h: Likewise.
6058 * include/rpc/svc.h: Likewise.
6059 * include/rpc/svc_auth.h: Likewise.
6060 * include/rpc/xdr.h: Likewise.
6061 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6062 * nss/Makefile: Likewise.
6063 * sunrpc/Makefile: Don't install headers. Build library with normal
6064 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6065 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6066 for the compat linking library. Remove use of INTDEF/INTUSE.
6067 * sunrpc/auth_none.c: Likewise.
6068 * sunrpc/auth_unix.c: Likewise.
6069 * sunrpc/authdes_prot.c: Likewise.
6070 * sunrpc/authuxprot.c: Likewise.
6071 * sunrpc/clnt_gen.c: Likewise.
6072 * sunrpc/clnt_perr.c: Likewise.
6073 * sunrpc/clnt_raw.c: Likewise.
6074 * sunrpc/clnt_simp.c: Likewise.
6075 * sunrpc/clnt_tcp.c: Likewise.
6076 * sunrpc/clnt_udp.c: Likewise.
6077 * sunrpc/clnt_unix.c: Likewise.
6078 * sunrpc/des_crypt.c: Likewise.
6079 * sunrpc/des_soft.c: Likewise.
6080 * sunrpc/get_myaddr.c: Likewise.
6081 * sunrpc/key_call.c: Likewise.
6082 * sunrpc/key_prot.c: Likewise.
6083 * sunrpc/netname.c: Likewise.
6084 * sunrpc/pm_getmaps.c: Likewise.
6085 * sunrpc/pm_getport.c: Likewise.
6086 * sunrpc/pmap_clnt.c: Likewise.
6087 * sunrpc/pmap_prot.c: Likewise.
6088 * sunrpc/pmap_prot2.c: Likewise.
6089 * sunrpc/pmap_rmt.c: Likewise.
6090 * sunrpc/publickey.c: Likewise.
6091 * sunrpc/rpc_cmsg.c: Likewise.
6092 * sunrpc/rpc_common.c: Likewise.
6093 * sunrpc/rpc_dtable.c: Likewise.
6094 * sunrpc/rpc_prot.c: Likewise.
6095 * sunrpc/rpc_thread.c: Likewise.
6096 * sunrpc/rtime.c: Likewise.
6097 * sunrpc/svc.c: Likewise.
6098 * sunrpc/svc_auth.c: Likewise.
6099 * sunrpc/svc_authux.c: Likewise.
6100 * sunrpc/svc_raw.c: Likewise.
6101 * sunrpc/svc_run.c: Likewise.
6102 * sunrpc/svc_simple.c: Likewise.
6103 * sunrpc/svc_tcp.c: Likewise.
6104 * sunrpc/svc_udp.c: Likewise.
6105 * sunrpc/svc_unix.c: Likewise.
6106 * sunrpc/svcauth_des.c: Likewise.
6107 * sunrpc/xcrypt.c: Likewise.
6108 * sunrpc/xdr.c: Likewise.
6109 * sunrpc/xdr_array.c: Likewise.
6110 * sunrpc/xdr_float.c: Likewise.
6111 * sunrpc/xdr_intXX_t.c: Likewise.
6112 * sunrpc/xdr_mem.c: Likewise.
6113 * sunrpc/xdr_rec.c: Likewise.
6114 * sunrpc/xdr_ref.c: Likewise.
6115 * sunrpc/xdr_sizeof.c: Likewise.
6116 * sunrpc/xdr_stdio.c: Likewise.
6118 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6121 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6122 * sysdeps/ia64/dl-tls.h: Likewise.
6123 * sysdeps/powerpc/dl-tls.h: Likewise.
6124 * sysdeps/s390/dl-tls.h: Likewise.
6125 * sysdeps/sh/dl-tls.h: Likewise.
6126 * sysdeps/sparc/dl-tls.h: Likewise.
6127 * sysdeps/x86_64/dl-tls.h: Likewise.
6128 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6130 2011-03-14 Andreas Schwab <schwab@redhat.com>
6132 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6133 rpath element also skip the following colon.
6134 (expand_dynamic_string_token): Add is_path parameter and pass
6135 down to DL_DST_REQUIRED and _dl_dst_substitute.
6136 (decompose_rpath): Call expand_dynamic_string_token with
6137 non-zero is_path. Ignore empty rpaths.
6138 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6141 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6146 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6149 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6150 Patch by Filipe David Manana <fdmanana@apache.org>.
6152 2011-04-07 Andreas Schwab <schwab@redhat.com>
6154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6155 Maintain aligned stack.
6156 (CHECK_RSP): Remove unused macro.
6158 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6160 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6161 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6163 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6165 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6167 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6169 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6172 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6173 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6174 * sysdeps/x86_64/memmove.c: New file.
6175 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6176 (memcpy): Renamed to ...
6177 (__new_memcpy): This.
6178 (memcpy): Provide GLIBC_2_14 memcpy.
6179 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6180 (memcpy): Provide GLIBC_2_2_5 memcpy.
6182 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6185 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6187 2011-03-30 Andreas Schwab <schwab@redhat.com>
6189 * misc/syncfs.c: New file.
6190 * misc/Makefile (routines): Add syncfs.
6191 * posix/unistd.h: Declare syncfs.
6192 * sysdeps/unix/syscalls.list: Add syncfs.
6194 2011-04-01 Andreas Schwab <schwab@redhat.com>
6196 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6203 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6206 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6212 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6216 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6217 sync_file_range.c with -fexceptions.
6218 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6219 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6220 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6221 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6222 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6223 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6225 sync_file_range as cancellation point
6226 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6227 now a wrapper around __call_sync_file_range with cancellation handling.
6228 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6229 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6230 function name to __call_sync_file_range.
6231 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6232 Add call_sync_file_range.
6234 2011-04-01 Andreas Schwab <schwab@redhat.com>
6236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6239 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6241 * iconv/iconv.h: Fix typo in comment.
6242 * io/fcntl.h: Likewise.
6243 * libio/stdio.h: Likewise.
6244 * posix/spawn.h: Likewise.
6245 * posix/unistd.h: Likewise.
6246 * stdlib/stdlib.h: Likewise.
6247 * time/time.h: Likewise.
6248 * wcsmbs/wchar.h: Likewise.
6250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6251 open_by_handle): Add.
6252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6253 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6254 Augment a few comments.
6255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6260 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6263 * io/fcntl.h (AT_EMPTY_PATH): Define.
6265 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6267 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6268 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6269 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6271 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6272 * Versions.def: Add GLIBC_2.14.
6273 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6276 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6280 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6282 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6285 * string/test-strncmp.c (do_page_test): New function.
6287 (test_main): Call check2.
6288 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6290 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6294 Handle cache information in CPU leaf 4.
6295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6297 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6300 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6301 character representation.
6302 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6304 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6306 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6307 END(__isnan) to END(__isnanf) to match function entry point/label
6308 EALIGN(__isnanf,...).
6310 2011-03-10 Jakub Jelinek <jakub@redhat.com>
6312 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6314 2011-03-10 Ulrich Drepper <drepper@gmail.com>
6317 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6318 copy from the symbol referenced in the relocation to initialize the
6320 Patch by Piotr Bury <pbury@goahead.com>.
6321 * elf/Makefile: Add rules to build and tst-unique3.
6322 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6323 * elf/tst-unique3.cc: New file.
6324 * elf/tst-unique3.h: New file.
6325 * elf/tst-unique3lib.cc: New file.
6326 * elf/tst-unique3lib2.cc: New file.
6328 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6330 2011-03-10 Mike Frysinger <vapier@gentoo.org>
6332 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6333 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6336 2011-03-06 Ulrich Drepper <drepper@gmail.com>
6338 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6339 to-be-loaded object along a path to loader is ld.so.
6341 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6342 Ulrich Drepper <drepper@gmail.com>
6344 * sysdeps/x86_64/memset.S: After aligning destination, code
6345 branches to different locations depending on the value of
6346 misalignment, when multiarch is enabled. Fix this.
6348 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6350 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6351 Set _x86_64_preferred_memory_instruction for AMD processsors.
6352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6353 Set bit_Prefer_SSE_for_memop for AMD processors.
6355 2011-03-04 Ulrich Drepper <drepper@gmail.com>
6357 * libio/fmemopen.c (fmemopen): Optimize a bit.
6359 2011-03-03 Andreas Schwab <schwab@redhat.com>
6361 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6363 2011-03-03 Roland McGrath <roland@redhat.com>
6365 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6367 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6369 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
6370 __bzero_ultra1 instead of __memset_ultra1.
6372 2011-02-23 Andreas Schwab <schwab@redhat.com>
6373 Ulrich Drepper <drepper@gmail.com>
6376 * include/link.h (struct link_map): Add l_orig_initfini.
6377 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6378 returning unsuccessfully.
6379 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6380 close of a file loaded at startup, restore the original l_initfini
6382 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6383 list, store the pointer.
6384 * elf/Makefile ($(objpfx)noload-mem): New rule.
6385 (noload-ENV): Define.
6386 (tests): Add $(objpfx)noload-mem.
6387 * elf/noload.c: Include <memcheck.h>.
6388 (main): Call mtrace. Close all opened handles.
6390 2011-02-17 Andreas Schwab <schwab@redhat.com>
6393 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6394 dependencies are missing.
6396 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6398 Fix __if_freereq crash: Unlike the generic version which uses free,
6400 * sysdeps/mach/hurd/ifreq.h: New file.
6402 2011-01-27 Petr Baudis <pasky@suse.cz>
6403 Ulrich Drepper <drepper@gmail.com>
6406 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6408 * stdio-common/bug23.c: New file.
6409 * stdio-common/Makefile (tests): Add bug23.
6411 2010-09-28 Andreas Schwab <schwab@redhat.com>
6412 Ulrich Drepper <drepper@gmail.com>
6415 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6416 before performing relro protection. At old place add assertion
6417 to make sure nothing changed.
6419 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6420 Glauber de Oliveira Costa <glommer@gmail.com>
6422 * elf/elf.h: Add new ARM TLS relocs.
6424 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6427 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6429 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
6431 * sysdeps/wordsize-64/tst-writev.c: New file.
6433 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
6435 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6436 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6437 insns in _dl_start to prevent a TOC reference before relocs are
6440 2011-02-15 Ulrich Drepper <drepper@gmail.com>
6443 * Makeconfig: Remove RANLIB definition.
6444 * Makerules: Don't use RANLIB.
6445 * aclocal.m4: Remove ranlib test.
6446 * configure.in: No need to check for ranlib.
6447 * elf/rtld-Rules: Don't use RANLIB.
6449 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6451 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6453 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6454 inclusion protection macro.
6456 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6457 SIGRTMIN and SIGRTMAX and print information in that case only when
6458 SIGRTMIN is defined.
6460 2011-02-11 Jakub Jelinek <jakub@redhat.com>
6462 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6463 arginfo fn returning -1.
6465 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6466 and thousands string is zero terminated.
6468 2011-02-03 Andreas Schwab <schwab@redhat.com>
6470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6471 sysdeps/unix/sysv/linux/bits/socket.h.
6473 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6475 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6476 (__CPU_COUNT): Remove old macros.
6477 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6478 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6479 (__CPU_ALLOC, __CPU_FREE): Add macros.
6480 (__sched_cpualloc, __sched_cpufree): Add declarations.
6482 2011-02-05 Ulrich Drepper <drepper@gmail.com>
6484 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6485 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6486 * nscd/aicache.c (addhstaiX): Return timeout of added value.
6487 (readdhstai): Return value of addhstaiX call.
6488 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6489 (addgrbyX): Return value returned by cache_addgr.
6490 (readdgrbyname): Return value returned by addgrbyX.
6491 (readdgrbygid): Likewise.
6492 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6493 (addpwbyX): Return value returned by cache_addpw.
6494 (readdpwbyname): Return value returned by addhstbyX.
6495 (readdpwbyuid): Likewise.
6496 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6497 (addservbyX): Return value returned by cache_addserv.
6498 (readdservbyname): Return value returned by addservbyX:
6499 (readdservbyport): Likewise.
6500 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6501 (addhstbyX): Return value returned by cache_addhst.
6502 (readdhstbyname): Return value returned by addhstbyX.
6503 (readdhstbyaddr): Likewise.
6504 (readdhstbynamev6): Likewise.
6505 (readdhstbyaddrv6): Likewise.
6506 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6507 (readdinitgroups): Return value returned by addinitgroupsX.
6508 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6509 (prune_cache): Keep track of timeout value of re-added entries.
6510 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6511 * nscd/nscd.h: Adjust prototypes of readd* functions.
6513 2011-02-04 Roland McGrath <roland@redhat.com>
6515 * nis/nis_server.c (nis_servstate): Use the right name for 0.
6516 (nis_stats): Likewise.
6517 * nis/nis_modify.c (nis_modify): Likewise.
6518 * nis/nis_remove.c (nis_remove): Likewise.
6519 * nis/nis_add.c (nis_add): Likewise.
6521 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6523 * posix/fnmatch_loop.c: Add some consts.
6525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6527 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
6530 * config.make.in (config-cflags-novzeroupper): Define.
6531 * configure.in: Substitute libc_cv_cc_novzeroupper.
6532 * elf/Makefile (AVX-CFLAGS): Define.
6533 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6534 (CFLAGS-tst-auditmod4a.c): Likewise.
6535 (CFLAGS-tst-auditmod4b.c): Likewise.
6536 (CFLAGS-tst-auditmod6b.c): Likewise.
6537 (CFLAGS-tst-auditmod6c.c): Likewise.
6538 (CFLAGS-tst-auditmod7b.c): Likewise.
6539 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6541 2011-02-02 Ulrich Drepper <drepper@gmail.com>
6543 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6544 function to the callback.
6545 Patch partly by Jiri Olsa <jolsa@redhat.com>.
6547 2011-02-02 Andreas Schwab <schwab@redhat.com>
6549 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
6552 2011-01-19 Ulrich Drepper <drepper@gmail.com>
6555 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
6557 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
6559 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
6562 * elf/Makefile: Add rules to build and run new test.
6563 * elf/tst-initorder.c: New file.
6564 * elf/tst-initorder.exp: New file.
6565 * elf/tst-initordera1.c: New file.
6566 * elf/tst-initordera2.c: New file.
6567 * elf/tst-initordera3.c: New file.
6568 * elf/tst-initordera4.c: New file.
6569 * elf/tst-initorderb1.c: New file.
6570 * elf/tst-initorderb2.c: New file.
6571 * elf/tst-order-a1.c: New file.
6572 * elf/tst-order-a2.c: New file.
6573 * elf/tst-order-a3.c: New file.
6574 * elf/tst-order-a4.c: New file.
6575 * elf/tst-order-b1.c: New file.
6576 * elf/tst-order-b2.c: New file.
6577 * elf/tst-order-main.c: New file.
6578 New test case by George Gensure <werkt0@gmail.com>.
6580 2010-10-01 Andreas Schwab <schwab@redhat.com>
6582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6583 decoding ACE if AI_CANONIDN.
6585 2011-01-18 Ulrich Drepper <drepper@gmail.com>
6587 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6589 2011-01-17 Ulrich Drepper <drepper@gmail.com>
6591 * version.h (RELEASE): Bump for 2.13 release.
6592 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6594 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6596 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6598 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6600 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6601 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6605 * posix/getconf.c: Update copyright year.
6606 * catgets/gencat.c: Likewise.
6607 * csu/version.c: Likewise.
6608 * debug/catchsegv.sh: Likewise.
6609 * debug/xtrace.sh: Likewise.
6610 * elf/ldconfig.c: Likewise.
6611 * elf/ldd.bash.in: Likewise.
6612 * elf/sprof.c (print_version): Likewise.
6613 * iconv/iconv_prog.c: Likewise.
6614 * iconv/iconvconfig.c: Likewise.
6615 * locale/programs/locale.c: Likewise.
6616 * locale/programs/localedef.c: Likewise.
6617 * malloc/memusage.sh: Likewise.
6618 * malloc/mtrace.pl: Likewise.
6619 * nscd/nscd.c (print_version): Likewise.
6620 * nss/getent.c: Likewise.
6622 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6623 PF_CAIF, and PF_ALG.
6624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6626 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
6628 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6629 (modules-names): Use them.
6630 (ifunc-test-modules, ifunc-pie-tests): Define.
6631 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6632 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6633 (test-extras): Likewise.
6634 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6635 $(compile-command.c).
6636 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6637 (all-built-dso): Define.
6638 (check-textrel.out, check-execstack.out): Depend on it.
6640 * configure.in: Don't override --enable-multi-arch.
6642 2011-01-15 Ulrich Drepper <drepper@gmail.com>
6645 * nscd/hstcache.c (tryagain): Define.
6646 (cache_addhst): Return tryagain not notfound for temporary errors.
6647 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6650 2011-01-14 Ulrich Drepper <drepper@gmail.com>
6653 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6654 to make the syscall.
6655 * sysdeps/unix/sysv/linux/setgroups.c: New file.
6658 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6659 and fall back to matching as normal character if the string ends before
6660 the matching ']' is found. This is what POSIX requires.
6661 * posix/testfnm.c: Adjust test result.
6662 * posix/globtest.sh: Adjust test result. Add new test.
6663 * posix/tst-fnmatch.input: Likewise.
6664 * posix/tst-fnmatch2.c: Add new test.
6666 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
6668 * elf/Makefile (check-execstack): Revert last change. Depend on
6670 (check-execstack.h): New target.
6671 (generated): Add check-execstack.h.
6672 * elf/check-execstack.c: Include "check-execstack.h".
6673 (main): Revert last change.
6674 (handle_file): Return zero if GNU_STACK is absent and
6675 DEFAULT_STACK_PERMS doesn't include PF_X.
6677 2011-01-13 Ulrich Drepper <drepper@gmail.com>
6679 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6680 in child fails because the descriptor is already closed.
6681 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6682 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6683 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6686 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6690 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6691 temporary buffer used to handle multi lookups locally.
6692 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
6694 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6696 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6699 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
6701 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6704 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6707 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6708 characters. When rounding increased number of integer digits recompute
6710 * stdio-common/tst-grouping.c: New file.
6711 * stdio-common/Makefile: Add rules to build and run tst-grouping.
6713 2011-01-09 Ulrich Drepper <drepper@gmail.com>
6715 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6716 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
6718 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6720 * bits/select.h: Likewise.
6722 2011-01-08 Ulrich Drepper <drepper@gmail.com>
6724 * po/ja.po: Update from translation team.
6726 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
6729 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6730 implementation just like for lxstat, fxstatat, et al.
6732 2010-12-27 Jim Meyering <meyering@redhat.com>
6735 * posix/regexec.c (build_trtable): Return failure indication upon
6736 calloc failure. Otherwise, re_search_internal could infloop on OOM.
6738 2010-12-25 Ulrich Drepper <drepper@gmail.com>
6741 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6742 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6743 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6744 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6747 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6750 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6751 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6753 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
6755 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6756 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6757 script has SORT_BY_INIT_PRIORITY.
6758 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6759 NO_CTORS_DTORS_SECTIONS is defined.
6760 * elf/soinit.c: Likewise.
6761 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6762 NO_CTORS_DTORS_SECTIONS is defined.
6763 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6764 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6765 * sysdeps/sh/init-first.c: Likewise.
6766 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6768 2010-12-24 Ulrich Drepper <drepper@gmail.com>
6770 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6771 always use the slow path.
6773 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
6775 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6776 similar rule which adds the sysdep directories to the header search in
6777 order to pick up the correct platform stackinfo.h.
6778 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6779 perform test if it is, otherwise return successfully without testing.
6780 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6781 DEFAULT_STACK_PERMS define in stackinfo.h.
6782 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6783 defined in stackinfo.h.
6784 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6785 DEFAULT_STACK_PERMS defined in stackinfo.h.
6786 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6787 * sysdeps/ia64/stackinfo.h: Likewise.
6788 * sysdeps/s390/stackinfo.h: Likewise.
6789 * sysdeps/sh/stackinfo.h: Likewise.
6790 * sysdeps/sparc/stackinfo.h: Likewise.
6791 * sysdeps/x86_64/stackinfo.h: Likewise.
6792 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6793 PF_X for powerpc64. Retain PF_X for powerpc32.
6795 2010-12-19 Ulrich Drepper <drepper@gmail.com>
6797 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6799 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6800 GETDENTS_64BIT_ALIGNED.
6802 2010-12-14 Ulrich Drepper <dreper@gmail.com>
6804 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
6806 2010-12-10 Andreas Schwab <schwab@redhat.com>
6808 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6811 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6812 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6814 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6815 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6817 2010-12-09 Ulrich Drepper <drepper@gmail.com>
6820 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6823 2010-12-09 Jakub Jelinek <jakub@redhat.com>
6825 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6827 2010-12-03 Ulrich Drepper <drepper@gmail.com>
6829 * po/it.po: Update from translation team.
6831 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6836 2010-11-30 Ulrich Drepper <drepper@gmail.com>
6838 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6840 2010-11-24 Andreas Schwab <schwab@redhat.com>
6842 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6844 (gaih_getanswer_slice): Likewise.
6846 2010-10-20 Jakub Jelinek <jakub@redhat.com>
6848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6850 2010-05-31 Petr Baudis <pasky@suse.cz>
6853 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6854 silently even in the chroot mode.
6856 2010-11-22 Ulrich Drepper <drepper@gmail.com>
6858 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6859 last patch a bit. Pretty printing
6861 2010-05-31 Petr Baudis <pasky@suse.cz>
6864 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6865 initialization of skip_initgroups_dyn.
6867 2010-11-19 Ulrich Drepper <drepper@gmail.com>
6869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6872 2010-11-16 Ulrich Drepper <drepper@gmail.com>
6874 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6876 2010-11-11 Andreas Schwab <schwab@redhat.com>
6878 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6879 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6880 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6881 ($(objpfx)tst-fnmatch-mem): New rule.
6882 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6883 * posix/tst-fnmatch.c (main): Call mtrace.
6885 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6888 Support Intel processor model 6 and model 0x2c.
6890 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
6892 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6895 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6898 * string/test-strncasecmp.c (check_result): New function.
6899 (do_one_test): Use it.
6900 (check1): New function.
6901 (test_main): Use it.
6902 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6903 Support strcasecmp and strncasecmp.
6905 2010-11-08 Ulrich Drepper <drepper@gmail.com>
6908 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6909 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6911 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6913 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6917 * sysdeps/x86_64/multiarch/bzero.S: New file.
6918 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6919 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6920 * sysdeps/x86_64/multiarch/memset.S: New file.
6921 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6923 Set bit_Prefer_SSE_for_memop for Intel processors.
6924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6926 (index_Prefer_SSE_for_memop): Define.
6927 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6929 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
6931 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6932 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6934 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6937 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6938 (__x86_64_raw_data_cache_size_half): Likewise.
6939 (__x86_64_raw_shared_cache_size): Likewise.
6940 (__x86_64_raw_shared_cache_size_half): Likewise.
6942 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6943 (__x86_64_raw_data_cache_size_half): Likewise.
6944 (__x86_64_raw_shared_cache_size): Likewise.
6945 (__x86_64_raw_shared_cache_size_half): Likewise.
6946 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6947 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6948 and __x86_64_raw_shared_cache_size_half. Round
6949 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6950 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6951 to multiple of 256 bytes.
6953 2010-11-03 Ulrich Drepper <drepper@gmail.com>
6956 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6957 of inacessible symlinks. Verify result of symlink before returning it.
6958 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6959 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6961 2010-10-28 Erich Ritz <erichritz@gmail.com>
6963 * math/math.h (isinf): Fix typo in comment.
6965 2010-11-01 Ulrich Drepper <drepper@gmail.com>
6967 * po/da.po: Update from translation team.
6969 2010-10-26 Ulrich Drepper <drepper@gmail.com>
6971 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6972 is added to the list.
6974 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6975 Ulrich Drepper <drepper@gmail.com>
6977 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6978 the global list here. Move code to...
6979 (_dl_add_to_namespace_list): ...here. New function.
6980 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6981 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6982 * elf/dl-load.c (lose): Don't remove the element from the list.
6983 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6984 (_dl_map_object): Likewise.
6986 2010-10-25 Ulrich Drepper <drepper@gmail.com>
6989 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6990 into all bytes of SSE register.
6991 Patch by Richard Li <richardpku@gmail.com>.
6993 2010-10-24 Ulrich Drepper <drepper@gmail.com>
6996 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6999 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7001 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7002 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7003 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7004 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7009 2010-10-22 Andreas Schwab <schwab@redhat.com>
7011 * include/dlfcn.h (__RTLD_SECURE): Define.
7012 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7013 mode & __RTLD_SECURE instead.
7014 (open_path): Rename preloaded parameter to secure.
7015 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7016 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7017 * elf/dl-deps.c (openaux): Likewise.
7018 * elf/rtld.c (struct map_args): Remove is_preloaded.
7019 (map_doit): Don't use it.
7020 (dl_main): Likewise.
7021 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7022 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7024 2010-09-09 Andreas Schwab <schwab@redhat.com>
7026 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7027 (sysd-rules-targets): Remove duplicates.
7028 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7029 rtld-%.$o dependency.
7031 2010-10-18 Andreas Schwab <schwab@redhat.com>
7033 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7034 _dl_map_object do it.
7036 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7038 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7039 fast fma builtins, define the macros in the C99 standard.
7040 (FP_FAST_FMAF): Likewise.
7041 (FP_FAST_FMAL): Likewise.
7042 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7044 * bits/mathdef.h: Update copyright year.
7045 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7047 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7049 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7050 builtins, define the macros in the C99 standard.
7051 (FP_FAST_FMAF): Likewise.
7052 (FP_FAST_FMAL): Likewise.
7053 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7055 (FP_FAST_FMAF): Likewise.
7057 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7060 * math/libm-test.inc (fma_test): Some new testcases.
7061 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7063 y and infinite z. Do multiplication by C already in long double.
7064 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7066 y and infinite z. Do bitwise or of inexact bit into u.d.
7067 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7068 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7069 * sysdeps/i386/fpu/s_fma.S: Removed.
7070 * sysdeps/i386/fpu/s_fmal.S: Removed.
7072 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7075 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7077 computation is not scheduled after fetestexcept. Fix value
7078 of minimum denormal long double.
7080 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7083 * math/libm-test.inc (fma_test): Add some more tests.
7084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7087 2010-10-15 Andreas Schwab <schwab@redhat.com>
7089 * scripts/data/localplt-s390-linux-gnu.data: New file.
7090 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7092 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7095 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7096 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7098 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7100 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7102 if one of x and y is very large and the other is subnormal.
7103 * sysdeps/s390/fpu/s_fmaf.c: New file.
7104 * sysdeps/s390/fpu/s_fma.c: New file.
7105 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7106 * sysdeps/powerpc/fpu/s_fma.S: New file.
7107 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7108 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7109 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7111 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7114 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7117 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7118 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7119 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7120 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7121 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7122 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7124 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7127 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7128 * posix/bug-regex31.input: Add test case.
7130 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7132 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7133 * posix/bug-regex31.input: New file.
7136 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7137 (parse_sub_exp): Fix last change, use postorder.
7139 * posix/bug-regex31.c: New file.
7140 * posix/Makefile: Add rules to build and run bug-regex31.
7142 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7145 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7148 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7149 to have entries in sys_siglist.
7152 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7155 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7158 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7159 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7160 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7161 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7162 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7163 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7164 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7165 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7166 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7167 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7168 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7169 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7170 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7171 * math/ftestexcept.c (fetestexcept): Likewise.
7172 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7173 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7174 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7175 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7176 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7177 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7178 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7180 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7183 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7186 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7188 * string/bug-strstr1.c: New file.
7189 * string/Makefile: Add rules to build and run bug-strstr1.
7191 2010-10-05 Eric Blake <eblake@redhat.com>
7194 * string/str-two-way.h (two_way_long_needle): Always clear memory
7195 when skipping input due to the shift table.
7197 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7200 * malloc/mcheck.c: Handle large requests.
7203 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7204 for strncmp and strncasecmp.
7205 * string/stratcliff.c: Add tests for strcmp and strncmp.
7206 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7208 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7210 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7213 2010-09-30 Andreas Jaeger <aj@suse.de>
7215 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7216 (CGROUP_SUPER_MAGIC): Define.
7217 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7218 Handle btrfs and cgroup file systems.
7219 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7222 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7224 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7225 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7227 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7230 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7231 trying to locate the ELF header.
7233 2010-09-27 Andreas Schwab <schwab@redhat.com>
7236 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7237 Mask out sign-bit copies when constructing f_fsid.
7239 2010-09-24 Petr Baudis <pasky@suse.cz>
7241 * debug/stack_chk_fail_local.c: Add missing licence exception.
7242 * debug/warning-nop.c: Likewise.
7244 2010-09-15 Joseph Myers <joseph@codesourcery.com>
7246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7247 implementing getdents64 using getdents syscall, set d_type if
7248 __ASSUME_GETDENTS32_D_TYPE.
7250 2010-09-16 Andreas Schwab <schwab@redhat.com>
7252 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7253 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7255 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7258 * posix/unistd.h: Undo change of feature selection for ftruncate from
7261 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7263 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7266 2010-09-20 Andreas Schwab <schwab@redhat.com>
7268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7270 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7272 2010-09-14 Andreas Schwab <schwab@redhat.com>
7274 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7275 variables after CHECK_SP call.
7276 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7278 2010-09-13 Andreas Schwab <schwab@redhat.com>
7279 Ulrich Drepper <drepper@redhat.com>
7281 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7282 re-relocationg ld.so.
7283 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7284 _dl_init_paths call.
7285 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7288 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7290 * resolv/res_init.c (__res_vinit): Count the default server we added.
7292 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7293 Ulrich Drepper <drepper@redhat.com>
7296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7297 (____longjmp_chk): Use %ebx for saving value across system call.
7300 2010-09-06 Andreas Schwab <schwab@redhat.com>
7302 * manual/Makefile: Don't mix pattern rules with normal rules.
7304 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7306 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7308 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7309 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7310 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7311 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7315 2010-09-04 Ulrich Drepper <drepper@redhat.com>
7318 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7319 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7321 2010-09-02 Ulrich Drepper <drepper@redhat.com>
7323 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7324 * sysdeps/x86_64/addmul_1.S: Likewise.
7325 * sysdeps/x86_64/lshift.S: Likewise.
7326 * sysdeps/x86_64/mul_1.S: Likewise.
7327 * sysdeps/x86_64/rshift.S: Likewise.
7328 * sysdeps/x86_64/sub_n.S: Likewise.
7329 * sysdeps/x86_64/submul_1.S: Likewise.
7331 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7333 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7334 Define __sched_param instead of SCHED_* and sched_param when
7335 <bits/sched.h> is included with __need_schedparam defined.
7336 * bits/sched.h [__need_schedparam]
7337 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7338 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7339 (__defined_schedparam): Define to 1.
7340 (__sched_param): New structure, identical to sched_param.
7341 (__need_schedparam): Undefine.
7343 2010-08-31 Mike Frysinger <vapier@gentoo.org>
7345 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7346 (epoll_create1): Declare.
7348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7350 2010-08-31 Andreas Schwab <schwab@redhat.com>
7353 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7354 shifting retval into place.
7356 2010-09-01 Ulrich Drepper <drepper@redhat.com>
7358 * nis/rpcsvc/nis.h: Update copyright notice.
7359 * nis/rpcsvc/nis.x: Likewise.
7360 * nis/rpcsvc/nis_callback.h: Likewise.
7361 * nis/rpcsvc/nis_callback.x: Likewise.
7362 * nis/rpcsvc/nis_object.x: Likewise.
7363 * nis/rpcsvc/nis_tags.h: Likewise.
7364 * nis/rpcsvc/yp.h: Likewise.
7365 * nis/rpcsvc/yp.x: Likewise.
7366 * nis/rpcsvc/ypupd.h: Likewise.
7367 * nis/yp_xdr.c: Likewise.
7368 * nis/ypupdate_xdr.c: Likewise.
7370 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
7371 mainly the body of pmap_getport. Add parameters to specify timeouts.
7372 (pmap_getport): Use __libc_rpc_getport.
7373 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7374 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7375 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7377 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
7379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7382 2010-08-27 Roland McGrath <roland@redhat.com>
7384 * sysdeps/i386/i686/multiarch/Makefile
7385 (CFLAGS-varshift.c): New variable.
7387 2010-08-27 Ulrich Drepper <drepper@redhat.com>
7389 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7390 * sysdeps/i386/i686/multiarch/varshift.c: New file.
7392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7394 * sysdeps/x86_64/strlen.S: Minimal code improvement.
7396 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
7398 * sysdeps/x86_64/strlen.S: Unroll the loop.
7399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7400 strlen-sse2 strlen-sse2-bsf.
7401 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7402 __strlen_no_bsf if bit_Slow_BSF is set.
7403 (__strlen_sse42): Removed.
7404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7405 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7407 2010-08-25 Roland McGrath <roland@redhat.com>
7409 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7410 * sysdeps/x86_64/multiarch/varshift.c: New file.
7411 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7412 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7413 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7414 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7416 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7419 strlen-sse2 strlen-sse2-bsf.
7420 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7421 __strlen_sse2_bsf if bit_Slow_BSF is unset.
7422 (__strlen_sse2): Removed.
7423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7426 bit_Slow_BSF for Atom.
7427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7428 (index_Slow_BSF): Define.
7429 (HAS_SLOW_BSF): Define.
7431 2010-08-25 Ulrich Drepper <drepper@redhat.com>
7434 * resolv/res_init.c (__res_vinit): When no server address at all
7435 is given default to loopback.
7437 2010-08-24 Roland McGrath <roland@redhat.com>
7439 * configure.in: Remove config-name.h generation.
7440 * configure: Regenerated.
7441 * config-name.in: File removed.
7442 * scripts/config-uname.sh: New file.
7443 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7444 ($(objdir)config-name.h): New target.
7446 * sunrpc/rpc_parse.h: Avoid nested comment.
7448 2010-08-24 Richard Henderson <rth@redhat.com>
7449 Ulrich Drepper <drepper@redhat.com>
7450 H.J. Lu <hongjiu.lu@intel.com>
7452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7454 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7455 Replace _mm_srli_si128 with __m128i_shift_right. Replace
7456 _mm_alignr_epi8 with _mm_loadu_si128.
7457 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7458 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7459 (__m128i_shift_right): Removed.
7460 * sysdeps/i386/i686/multiarch/varshift.h: New file.
7461 * sysdeps/i386/i686/multiarch/varshift.S: New file.
7462 * sysdeps/x86_64/multiarch/varshift.h: New file.
7463 * sysdeps/x86_64/multiarch/varshift.S: New file.
7465 2010-08-21 Mike Frysinger <vapier@gentoo.org>
7467 * configure.in: Move assembler checks to before sysdep dir checking.
7469 2010-08-20 Petr Baudis <pasky@suse.cz>
7471 * LICENSES: Sync the sunrpc license.
7473 2010-08-19 Ulrich Drepper <drepper@redhat.com>
7475 * sunrpc/auth_des.c: Update copyright notice once again.
7476 * sunrpc/auth_none.c: Likewise.
7477 * sunrpc/auth_unix.c: Likewise.
7478 * sunrpc/authdes_prot.c: Likewise.
7479 * sunrpc/authuxprot.c: Likewise.
7480 * sunrpc/bindrsvprt.c: Likewise.
7481 * sunrpc/clnt_gen.c: Likewise.
7482 * sunrpc/clnt_perr.c: Likewise.
7483 * sunrpc/clnt_raw.c: Likewise.
7484 * sunrpc/clnt_simp.c: Likewise.
7485 * sunrpc/clnt_tcp.c: Likewise.
7486 * sunrpc/clnt_udp.c: Likewise.
7487 * sunrpc/clnt_unix.c: Likewise.
7488 * sunrpc/des_crypt.c: Likewise.
7489 * sunrpc/des_soft.c: Likewise.
7490 * sunrpc/get_myaddr.c: Likewise.
7491 * sunrpc/getrpcport.c: Likewise.
7492 * sunrpc/key_call.c: Likewise.
7493 * sunrpc/key_prot.c: Likewise.
7494 * sunrpc/openchild.c: Likewise.
7495 * sunrpc/pm_getmaps.c: Likewise.
7496 * sunrpc/pm_getport.c: Likewise.
7497 * sunrpc/pmap_clnt.c: Likewise.
7498 * sunrpc/pmap_prot.c: Likewise.
7499 * sunrpc/pmap_prot2.c: Likewise.
7500 * sunrpc/pmap_rmt.c: Likewise.
7501 * sunrpc/rpc/auth.h: Likewise.
7502 * sunrpc/rpc/auth_unix.h: Likewise.
7503 * sunrpc/rpc/clnt.h: Likewise.
7504 * sunrpc/rpc/des_crypt.h: Likewise.
7505 * sunrpc/rpc/key_prot.h: Likewise.
7506 * sunrpc/rpc/netdb.h: Likewise.
7507 * sunrpc/rpc/pmap_clnt.h: Likewise.
7508 * sunrpc/rpc/pmap_prot.h: Likewise.
7509 * sunrpc/rpc/pmap_rmt.h: Likewise.
7510 * sunrpc/rpc/rpc.h: Likewise.
7511 * sunrpc/rpc/rpc_des.h: Likewise.
7512 * sunrpc/rpc/rpc_msg.h: Likewise.
7513 * sunrpc/rpc/svc.h: Likewise.
7514 * sunrpc/rpc/svc_auth.h: Likewise.
7515 * sunrpc/rpc/types.h: Likewise.
7516 * sunrpc/rpc/xdr.h: Likewise.
7517 * sunrpc/rpc_clntout.c: Likewise.
7518 * sunrpc/rpc_cmsg.c: Likewise.
7519 * sunrpc/rpc_common.c: Likewise.
7520 * sunrpc/rpc_cout.c: Likewise.
7521 * sunrpc/rpc_dtable.c: Likewise.
7522 * sunrpc/rpc_hout.c: Likewise.
7523 * sunrpc/rpc_main.c: Likewise.
7524 * sunrpc/rpc_parse.c: Likewise.
7525 * sunrpc/rpc_parse.h: Likewise.
7526 * sunrpc/rpc_prot.c: Likewise.
7527 * sunrpc/rpc_sample.c: Likewise.
7528 * sunrpc/rpc_scan.c: Likewise.
7529 * sunrpc/rpc_scan.h: Likewise.
7530 * sunrpc/rpc_svcout.c: Likewise.
7531 * sunrpc/rpc_tblout.c: Likewise.
7532 * sunrpc/rpc_util.c: Likewise.
7533 * sunrpc/rpc_util.h: Likewise.
7534 * sunrpc/rpcinfo.c: Likewise.
7535 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7536 * sunrpc/rpcsvc/key_prot.x: Likewise.
7537 * sunrpc/rpcsvc/klm_prot.x: Likewise.
7538 * sunrpc/rpcsvc/mount.x: Likewise.
7539 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7540 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7541 * sunrpc/rpcsvc/rex.x: Likewise.
7542 * sunrpc/rpcsvc/rstat.x: Likewise.
7543 * sunrpc/rpcsvc/rusers.x: Likewise.
7544 * sunrpc/rpcsvc/sm_inter.x: Likewise.
7545 * sunrpc/rpcsvc/spray.x: Likewise.
7546 * sunrpc/rpcsvc/yppasswd.x: Likewise.
7547 * sunrpc/rtime.c: Likewise.
7548 * sunrpc/svc.c: Likewise.
7549 * sunrpc/svc_auth.c: Likewise.
7550 * sunrpc/svc_authux.c: Likewise.
7551 * sunrpc/svc_raw.c: Likewise.
7552 * sunrpc/svc_run.c: Likewise.
7553 * sunrpc/svc_simple.c: Likewise.
7554 * sunrpc/svc_tcp.c: Likewise.
7555 * sunrpc/svc_udp.c: Likewise.
7556 * sunrpc/svc_unix.c: Likewise.
7557 * sunrpc/svcauth_des.c: Likewise.
7558 * sunrpc/xcrypt.c: Likewise.
7559 * sunrpc/xdr.c: Likewise.
7560 * sunrpc/xdr_array.c: Likewise.
7561 * sunrpc/xdr_float.c: Likewise.
7562 * sunrpc/xdr_mem.c: Likewise.
7563 * sunrpc/xdr_rec.c: Likewise.
7564 * sunrpc/xdr_ref.c: Likewise.
7565 * sunrpc/xdr_sizeof.c: Likewise.
7566 * sunrpc/xdr_stdio.c: Likewise.
7568 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
7571 2010-08-19 Andreas Schwab <schwab@redhat.com>
7573 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
7575 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
7577 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7579 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7580 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7581 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7582 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7583 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7584 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7586 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7587 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7588 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7589 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7590 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7592 2010-07-26 Anton Blanchard <anton@samba.org>
7594 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7595 * malloc/arena.c (heap_trim): Likewise.
7597 2010-08-16 Ulrich Drepper <drepper@redhat.com>
7599 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7602 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7604 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
7606 * sysdeps/i386/elf/Makefile: New file.
7608 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7610 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7615 2010-08-15 Ulrich Drepper <drepper@redhat.com>
7617 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7619 * sysdeps/multiarch/strcmp.S: Likewise.
7621 2010-08-14 Ulrich Drepper <drepper@redhat.com>
7623 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7624 strncase_l-nonascii.
7625 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7626 Add strncase_l-ssse3.
7627 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7628 * sysdeps/x86_64/strcmp.S: Likewise.
7629 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7630 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7631 * sysdeps/x86_64/strncase.S: New file.
7632 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7633 * sysdeps/x86_64/strncase_l.S: New file.
7634 * string/Makefile (strop-tests): Add strncasecmp.
7635 * string/test-strncasecmp.c: New file.
7637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7640 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7641 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7643 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7645 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7647 2010-08-12 Ulrich Drepper <drepper@redhat.com>
7649 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7650 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7651 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7653 2010-05-01 Alan Modra <amodra@gmail.com>
7655 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7656 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7657 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7658 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7659 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7660 tidying. Don't tail-call __sigjmp_save for static lib.
7661 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7663 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7664 (CALL_MCOUNT): Add eh info, and nop after bl.
7665 (TAIL_CALL_SYSCALL_ERROR): New macro.
7666 (PSEUDO_RET): Use it.
7667 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7668 Correct save location of integer regs and cr.
7669 (_dl_profile_resolve): Correct cr save location. Delete nops
7670 after bl when SHARED. Reduce cfi size a little by better
7671 placement of cfi directives.
7672 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7673 make a stack frame. Instead use parm save area as a temp.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7675 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7677 Don't make a stack frame for parent, use parm save area.
7678 Increase child stack frame to 112 bytes. Don't save unused reg,
7679 and adjust reg usage. Set up cfi on error recovery and
7680 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7682 (__makecontext): Add dummy nop after jump to exit.
7683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7684 Use correct parm save area and cr save, reduce stack frame.
7685 Correct cfi for possible PSEUDO_RET frame setup.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7687 Branch to local label emitted by PSEUDO_RET rather than
7690 2010-08-12 Andreas Schwab <schwab@redhat.com>
7693 * locale/programs/locale.c (print_assignment): New function.
7694 (show_locale_vars): Use it.
7696 2010-08-11 Ulrich Drepper <drepper@redhat.com>
7698 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7700 (struct statfs64): Likewise.
7701 (_STATFS_F_FLAGS): Define.
7702 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7704 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7705 (ST_VALID): Define locally.
7706 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7707 __statvfs_getflags, use the provided value.
7708 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7709 __ASSUME_STATFS_F_FLAGS.
7711 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7713 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7715 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7716 fanotify_mask for GLIBC_2.13.
7717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7718 fanotify_init and fanotify_mark.
7719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7720 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7722 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7724 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7725 prlimit64 for GLIBC_2.13.
7726 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
7736 * sysdeps/unix/sysv/linux/prlimit.c: New file.
7739 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7740 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7742 * nss/Makefile: Add rules to build and run tst-nss-test1.
7743 * shlib-versions: Add entry for libnss_test1.
7744 * nss/nss_test1.c: New file.
7745 * nss/tst-nss-test1.c: New file.
7747 * nss/nsswitch.c (__nss_database_custom): Define new variable.
7748 (__nss_configure_lookup): Set appropriate entry in
7749 __nss_configure_lookup to true.
7750 * nss/nsswitch.h: Define enum with indeces of databases in
7751 databases and __nss_database_custom arrays. Declare
7752 __nss_database_custom.
7753 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7754 to avoid using nscd when custom rules are installed.
7755 * nss/getXXbyYY_r.c: Likewise.
7756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7758 * nss/nss_files/files-parse.c: Whitespace fixes.
7760 2010-08-09 Ulrich Drepper <drepper@redhat.com>
7763 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7764 * posix/fnmatch_loop.c: Likewise.
7766 2010-07-17 Andi Kleen <ak@linux.intel.com>
7768 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7769 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7770 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7771 * Versions.def [GLIBC_2.13]: Add.
7773 2010-08-06 Ulrich Drepper <drepper@redhat.com>
7775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7776 Also fail if tpwd after pwuid call is NULL.
7778 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7780 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7781 when converting to ms.
7783 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7785 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7786 EOPNOTSUPP errors with ENOTTY.
7787 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7788 EOPNOTSUPP errors with ENOTTY.
7790 2010-07-31 Ulrich Drepper <drepper@redhat.com>
7792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7793 Add strcasecmp_l-ssse3.
7794 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7796 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7797 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7798 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7800 2010-07-30 Ulrich Drepper <drepper@redhat.com>
7802 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7804 * string/Makefile (strop-tests): Add strcasecmp.
7805 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7806 strcasecmp_l-nonascii.
7807 (gen-as-const-headers): Add locale-defines.sym.
7808 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7809 * sysdeps/x86_64/strcasecmp.S: New file.
7810 * sysdeps/x86_64/strcasecmp_l.S: New file.
7811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7812 * sysdeps/x86_64/locale-defines.sym: New file.
7813 * string/test-strcasecmp.c: New file.
7815 * string/test-strcasestr.c: Test both ends of the range of characters.
7816 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7818 2010-07-29 Roland McGrath <roland@redhat.com>
7821 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7823 2010-07-27 Ulrich Drepper <drepper@redhat.com>
7825 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7828 2010-07-27 Andreas Schwab <schwab@redhat.com>
7830 * manual/memory.texi (Malloc Tunable Parameters): Document
7833 2010-07-26 Roland McGrath <roland@redhat.com>
7836 * configure.in (-fgnu89-inline check): Set and substitute
7837 gnu89_inline, not libc_cv_gnu89_inline.
7838 * configure: Regenerated.
7839 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7841 2010-07-26 Ulrich Drepper <drepper@redhat.com>
7843 * string/test-strnlen.c: New file.
7844 * string/Makefile (strop-tests): Add strnlen.
7845 * string/tester.c (test_strnlen): Add a few more test cases.
7846 * string/tst-strlen.c: Better error reporting.
7848 * sysdeps/x86_64/strnlen.S: New file.
7850 2010-07-24 Ulrich Drepper <drepper@redhat.com>
7852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7853 lower-latency instructions.
7855 2010-07-23 Ulrich Drepper <drepper@redhat.com>
7857 * string/test-strcasestr.c: New file.
7858 * string/test-strstr.c: New file.
7859 * string/Makefile (strop-tests): Add strstr and strcasestr.
7860 * string/str-two-way.h: Don't undefine MAX.
7861 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7863 2010-07-21 Andreas Schwab <schwab@redhat.com>
7865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7866 strcasestr-nonascii.
7867 (CFLAGS-strcasestr-nonascii.c): Define.
7868 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7870 Remove unused attribute.
7872 2010-07-20 Roland McGrath <roland@redhat.com>
7874 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7875 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7876 ld.so.cache was broken. With it, there is no way to disable dsocaps
7877 like LD_HWCAP_MASK can disable hwcaps.
7879 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7881 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7883 2010-07-16 Ulrich Drepper <drepper@redhat.com>
7885 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7887 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7888 __strcasestr_sse42_nonascii.
7889 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7890 strcasestr-nonascii.c.
7891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7893 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
7895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7897 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7900 2010-07-09 Ulrich Drepper <drepper@redhat.com>
7902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7905 2010-07-06 Andreas Schwab <schwab@redhat.com>
7908 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7911 2010-07-06 Ulrich Drepper <drepper@redhat.com>
7913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7914 _PC_PIPE_BUF using F_GETPIPE_SZ.
7916 2010-07-05 Roland McGrath <roland@redhat.com>
7918 * manual/arith.texi (Rounding Functions): Fix rint description
7919 implicit in round description.
7921 2010-07-02 Ulrich Drepper <drepper@redhat.com>
7923 * elf/Makefile: Fix linking for a few tests to make recent linker
7926 2010-06-30 Andreas Schwab <schwab@redhat.com>
7928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7929 $(common-objpfx)libc_nonshared.a.
7931 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
7933 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7934 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7935 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7936 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7937 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7938 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7939 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7940 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7955 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7956 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7957 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7958 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7959 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7960 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7961 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7962 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7963 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7964 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7965 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7966 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7982 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7984 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7985 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7986 * string/memmove.c (memmove): Renamed to ...
7987 (MEMMOVE): ...this. Default to memmove.
7988 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7989 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7992 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7993 mempcpy-ssse3-back memmove-ssse3-back.
7994 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7996 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7997 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7998 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7999 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8000 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8001 * sysdeps/x86_64/multiarch/memmove.c: New file.
8002 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8003 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8004 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8005 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8009 (index_Fast_Copy_Backward): Define.
8010 (HAS_ARCH_FEATURE): Define.
8011 (HAS_FAST_REP_STRING): Define.
8012 (HAS_FAST_COPY_BACKWARD): Define.
8014 2010-06-21 Andreas Schwab <schwab@redhat.com>
8016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8017 Restore proper fallback handling.
8019 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8022 * posix/group_member.c (__group_member): Correct checking loop.
8024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8025 OOM in getpwuid_r correctly. Return error number when the caller
8026 should return, otherwise -1.
8027 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8028 call returning > 0 value.
8029 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8031 2010-06-07 Andreas Schwab <schwab@redhat.com>
8033 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8034 libc_nonshared.a from targets in modules-names.
8036 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8038 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8041 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8043 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8044 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8048 2010-06-02 Andreas Schwab <schwab@redhat.com>
8050 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8052 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8054 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8063 2010-06-14 Roland McGrath <roland@redhat.com>
8065 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8067 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8069 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8070 __REDIRECT followed by __THROW.
8071 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8072 * posix/getopt.h (getopt): Likewise.
8074 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8076 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8077 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8078 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8080 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8081 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8083 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8087 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8091 Properly check family and model.
8093 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8095 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8097 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8099 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8101 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8103 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8106 2010-05-19 Andreas Schwab <schwab@redhat.com>
8108 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8111 2010-05-21 Andreas Schwab <schwab@redhat.com>
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8114 and internal_recvmmsg.
8115 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8116 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8117 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8118 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8120 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8121 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8122 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8124 2010-05-20 Andreas Schwab <schwab@redhat.com>
8126 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8128 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8130 POWER7 optimizations.
8131 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8132 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8134 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8136 * version.h: Update for 2.13 development version.
8138 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8140 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8141 exceptions. Return 0.
8143 2010-05-07 Roland McGrath <roland@redhat.com>
8145 * elf/ldconfig.c (main): Add a const.
8147 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8149 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8150 (args_options): Add no-idn option.
8151 (ahosts_keys_int): Add idn_flags to ai_flags.
8152 (parse_option): Handle 'i' option to clear idn_flags.
8154 * malloc/malloc.c (_int_free): Possible race in the most recently
8155 added check. Only act on the data if no current modification
8158 See ChangeLog.17 for earlier changes.