Remove old initfini mechanism.
[glibc.git] / ChangeLog
blob5ea30b9d21f607f1acb4a0fed5d60b87d581fdf5
1 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #13695]
4         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5         [crti.S not in sysdirs] (generated): Do not append.
6         [crti.S not in sysdirs] (omit-deps): Likewise.
7         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12         Likewise.
13         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16         * csu/defs.awk: Remove file.
17         * sysdeps/generic/initfini.c: Likewise.
18         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19         variable.
20         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21         Likewise.
23 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31         <bits/epoll.h>.
32         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33         (__EPOLL_PACKED): Define to empty if not defined by
34         <bits/epoll.h>.
35         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37         bits/epoll.h.
39 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45         <bits/timerfd.h>.
46         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48         bits/timerfd.h.
50 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53         in C locale.
54         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
61         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
64 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68         defined.
69         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70         Likewise.
71         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72         entry for 2.16.
74 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
76         * math/w_acos.c: Use non-signaling floating-point comparisons.
77         * math/w_acosf.c: Likewise.
78         * math/w_acosh.c: Likewise.
79         * math/w_acoshf.c: Likewise.
80         * math/w_acoshl.c: Likewise.
81         * math/w_acosl.c: Likewise.
82         * math/w_asin.c: Likewise.
83         * math/w_asinf.c: Likewise.
84         * math/w_asinl.c: Likewise.
85         * math/w_atanh.c: Likewise.
86         * math/w_atanhf.c: Likewise.
87         * math/w_atanhl.c: Likewise.
88         * math/w_exp2.c: Likewise.
89         * math/w_exp2f.c: Likewise.
90         * math/w_exp2l.c: Likewise.
91         * math/w_j0.c: Likewise.
92         * math/w_j0f.c: Likewise.
93         * math/w_j0l.c: Likewise.
94         * math/w_j1.c: Likewise.
95         * math/w_j1f.c: Likewise.
96         * math/w_j1l.c: Likewise.
97         * math/w_jn.c: Likewise.
98         * math/w_jnf.c: Likewise.
99         * math/w_log.c: Likewise.
100         * math/w_log10.c: Likewise.
101         * math/w_log10f.c: Likewise.
102         * math/w_log10l.c: Likewise.
103         * math/w_log2.c: Likewise.
104         * math/w_log2f.c: Likewise.
105         * math/w_log2l.c: Likewise.
106         * math/w_logf.c: Likewise.
107         * math/w_logl.c: Likewise.
108         * math/w_sqrt.c: Likewise.
109         * math/w_sqrtf.c: Likewise.
110         * math/w_sqrtl.c: Likewise.
111         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
112         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
113         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
114         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
115         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
117 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #9739]
120         * manual/string.texi (strnlen): Use correct parameter name in
121         equivalent expression.
123 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
125         [BZ #11174]
126         * manual/users.texi (seteuid): Consistently use neweuid for
127         argument name.
129 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
131         [BZ #13704]
132         * manual/nss.texi (Services in the NSS configuration): Correct
133         list of services in example configuration file.
135 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
137         [BZ #11322]
138         * manual/arith.texi: Remove statements about negative zero
139         behaving identically to zero.
141 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
143         [BZ #5993]
144         * manual/install.texi: Do not document upgrading from libc5.
146 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
148         [BZ #4596]
149         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
151 2012-02-18  David S. Miller  <davem@davemloft.net>
153         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
154         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
155         %o7 across the call.
156         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
157         instead.
158         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
159         SETUP_PIC_REG_LEAF.
160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
161         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
162         * sysdeps/sparc/crtn.S: Likewise.
164 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
166         * aout/Makefile: Remove.
168 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
170         [BZ #13058]
171         * manual/examples/argp-ex1.c (main): Format definition in GNU
172         style.
173         * manual/examples/argp-ex2.c (main): Likewise.
174         * manual/examples/argp-ex3.c (main): Likewise.
175         * manual/examples/argp-ex4.c (main): Likewise.
176         * manual/examples/longopt.c (main): Use new-style prototype
177         definition.
178         * manual/examples/strncat.c (main): Specify return type and use
179         (void) for arguments.
180         * manual/examples/subopt.c (main): Use char **argv argument.
182 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
184         [BZ #5077]
185         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
186         rounding modes.
188 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
190         [BZ #6907]
191         * manual/string.texi (strchr): Change when strchrnul is
192         recommended.
194 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
196         [BZ #174]
197         * manual/locale.texi (setlocale): Document LOCPATH.
199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
201         [BZ #10210]
202         * manual/process.texi (execle): Move @dots{} before last argument.
204 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
206         [BZ #12047]
207         * manual/charset.texi (Generic Charset Conversion): Fix typo
208         (LC_TYPE -> LC_CTYPE).
210 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
212         [BZ #5805]
213         * manual/arith.texi (scalbn): Use @var{} on parameter names.
214         (scalbnf): Likewise.
215         (scalbnl): Likewise.
216         (scalbln): Likewise.
217         (scalblnf): Likewise.
218         (scalblnl): Likewise.
219         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
220         (vwarnx): Likewise.
221         (verr): Likewise.
222         (verrx): Likewise.
223         * manual/filesys.texi (telldir): Use braces around return type.
224         * manual/llio.texi (mmap): Add space after comma.
225         (mmap64): Likewise.
226         * manual/math.texi (jn): Use @var{} on parameter names.
227         (jnf): Likewise.
228         (jnl): Likewise.
229         (yn): Likewise.
230         (ynf): Likewise.
231         (ynl): Likewise.
232         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
233         line.
234         * manual/resource.texi (ulimit): Use @dots{} instead of literal
235         "...".
236         (sched_get_priority_min): Remove semicolon on @deftypefun line.
237         (sched_get_priority_max): Likewise.
238         * manual/signal.texi (sigvec): Add space after comma.
239         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
240         names.
241         (if_indextoname): Likewise.
242         (if_freenameindex): Likewise.
243         (sendto): Use ',' instead of '.' in prototype.
244         * manual/startup.texi (syscall): Use @dots{} instead of literal
245         "...".
246         * manual/stdio.texi (__fpending): Separate initial words of
247         paragraph from @deftypefun line.
248         * manual/syslog.texi (syslog): Use @dots{} instead of literal
249         "...".
250         (vsyslog): Use @var{} on parameter names.
251         * manual/terminal.texi (stty): Use @var{} on parameter names.
252         * manual/users.texi (getutmp): Use @var{} on parameter names.
253         (getutmpx): Likewise.
255 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
257         [BZ #6884]
258         * manual/stdio.texi (fopen): Fix typos in description of
259         ",ccs=STRING".
261 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
263         [BZ #4026]
264         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
265         get clock_id definition.
267 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
269         [BZ #4822]
270         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
271         (madvise): Cast every argument to void on its own.
273 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
275         [BZ #9902]
276         * manual/startup.texi (Exit Status): Fix typo.
278 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
280         [BZ #10140]
281         * manual/examples/argp-ex1.c: Include <stdlib.h>.
282         * manual/examples/argp-ex2.c: Likewise.
283         * manual/examples/argp-ex3.c: Likewise.
285 2012-02-16  Richard Henderson  <rth@redhat.com>
287         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
288         * sysdeps/s390/s390-32/initfini.c: Remove.
289         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
290         * sysdeps/s390/s390-64/initfini.c: Remove.
292 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
294         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
295         compiler output for sysdeps/generic/initfini.c.
296         * sysdeps/sh/elf/initfini.c: Remove file.
298 2012-02-16  David S. Miller  <davem@davemloft.net>
300         [BZ #11494]
301         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
303         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
304         * sysdeps/sparc/crti.S: New file.
305         * sysdeps/sparc/crtn.S: New file.
306         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
307         * sysdeps/sparc/sparc64/Makefile: Likewise.
309 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
311         [BZ #3335]
312         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
314 2012-02-15  Roland McGrath  <roland@hack.frob.com>
316         [BZ #4822]
317         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
319         * mach/devstream.c (cookie_io_functions_t): Macro removed.
320         (write, read, close): Likewise.
321         Patch by Aurelien Jarno <aurelien@aurel32.net>.
323 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
326         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
327         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
328         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
329         <bits/signalfd.h>.
330         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
332         bits/signalfd.h.
334 2012-02-14  Marek Polacek  <polacek@redhat.com>
336         * sysdeps/x86_64/crti.S: New file.
337         * sysdeps/x86_64/crtn.S: New file.
338         * sysdeps/x86_64/elf/initfini.c: Remove file.
340 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
342         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
343         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
344         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
345         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
346         <bits/inotify.h>.
347         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
349         bits/inotify.h.
351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
353         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
354         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
355         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
356         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
357         <bits/eventfd.h>.
358         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
360         bits/eventfd.h.
362 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
364         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
365         __feraiseexcept instead of feraiseexcept.
367         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
368         nanosleep invocations.
369         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
370         strings, and add error checking for a nanosleep invocations.
372 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
374         Replace FSF snail mail address with URLs, as per GNU coding standards.
375         Most of the snail mail addresses were wrong anyway, and omitting
376         them makes the source code easier to maintain.  Almost all of the
377         changes are to license notices and to locale LC_IDENTIFICATION
378         addresses, except for this one:
379         * manual/libc.texinfo: In "Published by", give the FSF's URL,
380         not its snail mail address.
382 2012-02-09  Richard Henderson  <rth@twiddle.net>
384         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
385         of kernel-features.h.
387         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
389 2012-02-08  Marek Polacek  <polacek@redhat.com>
391         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
392         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
393         * sysdeps/gnu/_G_config.h: Likewise.
394         * sysdeps/generic/_G_config.h: Likewise.
396 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
398         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
399         tests.
400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
402         * sysdeps/powerpc/powerpc32/crti.S: New file.
403         * sysdeps/powerpc/powerpc32/crtn.S: New file.
404         * sysdeps/powerpc/powerpc64/crti.S: New file.
405         * sysdeps/powerpc/powerpc64/crtn.S: New file.
407         * Makeconfig (have-initfini): Don't set.
408         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
409         * configure.in (nopic_initfini): Don't substitute.
410         * config.h.in (HAVE_INITFINI): Don't #undef.
411         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
412         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
414 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
416         Support crti.S and crtn.S provided directly by architectures.
417         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
418         [crti.S in sysdirs] (omit-deps): Likewise.
419         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
420         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
421         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
422         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
423         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
424         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
425         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
426         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
427         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
428         compiler output for sysdeps/generic/initfini.c.
429         * sysdeps/i386/elf/Makefile: Remove file.
430         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
432 2012-02-07  Marek Polacek  <polacek@redhat.com>
434         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
435         * sysdeps/gnu/_G_config.h: Likewise.
436         * sysdeps/mach/hurd/_G_config.h: Likewise.
438 2012-02-07  Marek Polacek  <polacek@redhat.com>
440         * math/Makefile (tests): Add tst-CMPLX2.
441         * math/tst-CMPLX2.c: New file.
443 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
445         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
447         * math/libm-test.inc (jn_test): Add missing L suffix.
449 2012-02-06  Marek Polacek  <polacek@redhat.com>
451         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
452         * sysdeps/i386/fpu/e_powf.S: Likewise.
453         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
454         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
455         * sysdeps/i386/fpu/e_acosh.S: Likewise.
456         * sysdeps/i386/fpu/e_pow.S: Likewise.
457         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
458         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
459         * sysdeps/i386/fpu/s_expm1.S: Likewise.
460         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
461         * sysdeps/i386/fpu/e_log2.S: Likewise.
462         * sysdeps/i386/fpu/e_log2l.S: Likewise.
463         * sysdeps/i386/fpu/e_scalb.S: Likewise.
464         * sysdeps/i386/fpu/e_powl.S: Likewise.
465         * sysdeps/i386/fpu/s_log1p.S: Likewise.
466         * sysdeps/i386/fpu/e_log10f.S: Likewise.
467         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
468         * sysdeps/i386/fpu/e_logl.S: Likewise.
469         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
470         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
471         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
472         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
473         * sysdeps/i386/fpu/e_log2f.S: Likewise.
474         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
475         * sysdeps/i386/fpu/e_log.S: Likewise.
476         * sysdeps/i386/fpu/s_cexp.S: Likewise.
477         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
478         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
479         * sysdeps/i386/fpu/e_logf.S: Likewise.
480         * sysdeps/i386/fpu/e_log10l.S: Likewise.
481         * sysdeps/i386/fpu/e_atanh.S: Likewise.
482         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
483         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
484         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
485         * sysdeps/i386/fpu/e_log10.S: Likewise.
486         * sysdeps/i386/fpu/s_frexp.S: Likewise.
487         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
488         * sysdeps/i386/fpu/s_asinh.S: Likewise.
489         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
490         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
491         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
492         * sysdeps/i386/asm-syntax.h: Likewise.
493         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
494         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
495         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
496         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
497         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
498         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
499         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
500         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
501         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
502         * sysdeps/powerpc/sysdep.h: Likewise.
503         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
504         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
506 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
508         [BZ #411]
509         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
511 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
513         * sysdeps/i386/sysdep.h: Include <features.h>.
514         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
515         version.
517 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
519         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
520         Define.
521         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
522         LOAD_PIC_REG_STR.
524 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
526         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
527         (SETUP_PIC_REG): Use GET_PC_THUNK.
528         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
529         macro.
531 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
533         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
534         for non-PIC compilation.
535         (SETUP_PIC_REG): Add .p2align directive.
536         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
537         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
538         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
539         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
540         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
541         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
542         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
544         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
545         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
546         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
547         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
548         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
549         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
550         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
551         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
552         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
553         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
554         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
555         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
556         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
557         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
558         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
559         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
560         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
561         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
562         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
563         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
564         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
565         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
566         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
567         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
568         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
569         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
570         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
571         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
572         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
573         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
574         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
575         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
576         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
578 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
580         * math/tst-CMPLX.c: Include <stdio.h>.
582 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
584         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
585         float.
586         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
587         * sysdeps/sparc/bits/mathdef.h: Likewise.
589 2012-01-31  Marek Polacek  <polacek@redhat.com>
591         * libio/libio.h: Don't define _PARAMS.
592         * locale/programs/config.h: Don't define PARAMS.
593         * stdlib/strtol_l.c: Likewise.
594         (__strtol_l): Remove PARAMS from the prototype.
596 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
598         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
599         names.  Just use the correct names.  Remove unnecessary wrapper
600         functions.
601         * malloc/arena.c: Likewise.
602         * malloc/hooks.c: Likewise.
604         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
605         ARENA_TEST says not to.  Simplify test for creation of a new arena.
606         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
608 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
610         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
611         into tail calls.
612         (update_get_addr): New function.
613         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
614         GET_ADDR_MODULE parameter.
616 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
618         * crypt/cert.c: Remove __STDC__ conditionals.
619         * crypt/crypt-entry.c: Likewise.
620         * crypt/crypt_util.c: Likewise.
621         * libio/filedoalloc.c: Likewise.
622         * libio/fileops.c: Likewise.
623         * libio/genops.c: Likewise.
624         * libio/iofclose.c: Likewise.
625         * libio/iofdopen.c: Likewise.
626         * libio/iofopen.c: Likewise.
627         * libio/iofopen64.c: Likewise.
628         * libio/iogetdelim.c: Likewise.
629         * libio/iopopen.c: Likewise.
630         * libio/obprintf.c: Likewise.
631         * libio/oldfileops.c: Likewise.
632         * libio/oldiofclose.c: Likewise.
633         * libio/oldiofdopen.c: Likewise.
634         * libio/oldiofopen.c: Likewise.
635         * libio/oldiopopen.c: Likewise.
636         * libio/wfiledoalloc.c: Likewise.
637         * libio/wgenops.c: Likewise.
638         * locale/programs/xmalloc.c: Likewise.
639         * misc/syslog.c: Likewise.
640         * stdio-common/xbug.c: Likewise.
641         * string/memchr.c: Likewise.
642         * string/memcmp.c: Likewise.
643         * string/memrchr.c: Likewise.
644         * string/rawmemchr.c: Likewise.
645         * sysdeps/posix/getcwd.c: Likewise.
646         * time/strftime_l.c: Likewise.
648 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
650         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
651         * config.make.in (config-cflags-sse2avx): Define.
652         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
653         Fix typo.
655 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
657         * scripts/config.guess: Update from upstream config git repository.
658         * scripts/config.sub: Likewise.
660 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
662         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
663         (EM_NUM): Update.
664         (R_TILEPRO_*, R_TILEGX_*): New macros.
666         * scripts/firstversions.awk: Fix bug in version range handling.
668         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
670         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
672         * include/sys/epoll.h: New file.
673         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
674         libc_hidden_def.
676 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
678         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
679         Avoid unnecessary __WORDSIZE == 64 test.
680         (fmaxf): Use VEX format if possible.
681         (fmax): Likewise.
682         (fminf): Likewise.
683         (fmin): Likewise.
685         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
686         * math/math_private.h: Remove libc_fegetround* and
687         libc_fesetround*.
688         * sysdeps/i386/configure.in: Check for -msse2avx.
689         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
690         also if SSE2AVX is defined.
691         Remove libc_fegetround* and libc_fesetround*.
692         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
693         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
694         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
695         of HAS_YMM_USABLE.
696         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
697         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
699         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
700         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
702         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
704 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
706         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
707         size is not set.
708         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
710 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
712         [BZ #13618]
713         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
714         relocation.
715         * Makeconfig (libm): Define.
716         * elf/Makefile: Add rules to build and run tst-relsort1.
717         * elf/tst-relsort1.c: New file.
718         * elf/tst-relsort1mod1.c: New file.
719         * elf/tst-relsort1mod2.c: New file.
721 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
723         * math/s_ldexp.c: Remove __STDC__ conditionals.
724         * math/s_ldexpf.c: Likewise.
725         * math/s_ldexpl.c: Likewise.
726         * math/s_nextafter.c: Likewise.
727         * math/s_nexttowardf.c: Likewise.
728         * math/s_significand.c: Likewise.
729         * math/s_significandf.c: Likewise.
730         * math/s_significandl.c: Likewise.
731         * math/w_jnl.c: Likewise.
732         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
733         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
734         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
735         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
736         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
737         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
738         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
739         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
740         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
741         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
742         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
743         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
746         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
747         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
748         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
749         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
751         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
752         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
753         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
754         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
755         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
756         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
757         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
758         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
759         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
760         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
761         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
762         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
763         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
764         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
765         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
766         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
767         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
768         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
769         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
770         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
771         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
772         * sysdeps/ieee754/k_standard.c: Likewise.
773         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
774         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
775         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
776         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
777         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
778         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
779         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
780         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
781         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
782         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
783         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
784         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
785         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
786         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
787         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
789         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
790         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
791         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
792         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
793         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
795         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
796         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
797         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
798         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
799         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
800         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
802         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
804         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
806         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
807         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
808         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
809         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
810         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
811         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
812         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
813         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
815         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
816         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
817         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
819         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
820         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
821         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
822         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
823         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
826         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
827         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
828         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
829         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
830         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
831         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
832         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
833         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
834         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
835         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
836         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
837         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
838         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
839         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
840         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
841         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
842         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
843         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
844         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
845         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
846         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
848         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
849         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
850         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
851         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
852         * sysdeps/ieee754/s_matherr.c: Likewise.
853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
855         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
856         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
858 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
860         * crypt/md5.h: Remove __STDC__ conditionals.
861         * libio/libioP.h: Likewise.
862         * locale/programs/config.h: Likewise.
863         * sysdeps/generic/sysdep.h: Likewise.
864         * sysdeps/i386/asm-syntax.h: Likewise.
865         * sysdeps/s390/asm-syntax.h: Likewise.
866         * sysdeps/unix/sysdep.h: Likewise.
867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
870 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
872         * libio/libio.h: Remove __STDC__ conditionals.
873         * malloc/obstack.h: Likewise.
874         * math/complex.h: Likewise.
875         * math/math.h: Likewise.
876         * sysdeps/generic/_G_config.h: Likewise.
877         * sysdeps/gnu/_G_config.h: Likewise.
878         * sysdeps/mach/hurd/_G_config.h: Likewise.
879         * sysdeps/powerpc/bits/mathdef.h: Likewise.
880         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
881         * sysdeps/sparc/bits/mathdef.h: Likewise.
883 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
885         [BZ #13583]
886         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
887         Clean up HAS_* macros.
888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
889         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
890         possible.
891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
892         HAS_AVX.
893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
899 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
901         * elf/tst-unique3.cc (gets): Remove declaration.
902         * elf/tst-unique3lib.cc (gets): Likewise.
903         * elf/tst-unique3lib2.cc (gets): Likewise.
904         * elf/tst-unique4.cc (gets): Likewise.
906 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
908         * include/stdio.h: Add C++ protection.  Add gets declarations and
909         definitions.
910         * debug/tst-chk1.c: Don't declare gets here.
911         * stdio-common/tst-gets.c: Likewise.
913 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
915         * posix/glob: Remove directory.
917 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
919         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
921 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
923         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
924         of the non-standard EPFNOSUPPORT.
926 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
928         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
929         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
930         ANYWHERE set to 1 only on KERN_NO_SPACE error.
932 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
934         * wcsmbs/uchar.h: Test __STDC_VERSION__.
936 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
938         * nscd/aicache.c (addhstaiX): Do not cache negative results of
939         transient errors.
940         * nscd/grpcache.c (cache_addgr): Likewise.
941         * nscd/hstcache.c (cache_addhst): Likewise.
942         * nscd/initgrcache.c (addinitgroupsX): Likewise.
943         * nscd/pwdcache.c (cache_addpw): Likewise.
944         * nscd/servicescache.c (cache_addserv): Likewise.
946 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
948         * malloc/malloc.c: Various cleanups.
949         * malloc/hooks.c: Likewise.
951         * stdlib/Makefile (tests): Add bug-fmtmsg1.
952         * stdlib/bug-fmtmsg1.c: New file.
954         * stdlib/fmtmsg.c (init): Add missing unlock.
955         Patch by Peng Haitao <penght@cn.fujitsu.com>.
957 2012-01-12  Marek Polacek  <polacek@redhat.com>
959         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
960         and _GNU_SOURCE.
962 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
964         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
965         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
966         macro to ensure uniqueness of label name.
967         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
968         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
970 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
972         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
974         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
975         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
976         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
977         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
979 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
981         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
983         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
984         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
985         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
987         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
989         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
990         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
992         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
994         * math/bits/math-finite.h: Add ldexp support.
996 2012-01-10  Marek Polacek  <polacek@redhat.com>
998         * locale/programs/localedef.h (show_archive_content): Add noreturn
999         attribute.
1001 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
1003         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1005 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
1007         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1009         * io/Makefile (headers): Add bits/poll2.h.
1011 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1014         typo #include statement.
1016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
1018         * include/sys/cdefs.h: Define __attribute_alloc_size.
1019         * catgets/gencat.c: Add alloc_size attribute and apply consistently
1020         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1021         * elf/pldd.c: Likewise.
1022         * iconv/iconv_charmap.c: Likewise.
1023         * iconv/iconvconfig.c: Likewise.
1024         * iconv/strtab.c: Likewise.
1025         * locale/programs/locale.c: Likewise.
1026         * locale/programs/localedef.h: Likewise.
1027         * locale/programs/simple-hash.c: Likewise.
1028         * nscd/nscd.h: Likewise.
1029         * nss/makedb.c: Likewise.
1030         * sysdeps/generic/ldconfig.h: Likewise.
1031         * locale/programs/localedef.c: Remove xmalloc prototype.
1032         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1034 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1037         appropriate.
1039 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
1041         * math/Makefile (tests): Add tst-CMPLX.
1042         * math/tst-CMPLX.c: New file.
1044         * math/complex.h (CMPLXL): Fix typo.
1046         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1047         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1048         GLIBC_2.16.
1049         * debug/tst-chk1.c: Add poll and ppoll tests.
1050         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1051         * include/sys/poll.h: Add hidden proto for ppoll.
1052         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1053         * sysdeps/mach/hurd/ppoll.c: Likewise.
1054         * io/ppoll.c: Likewise.
1055         * debug/poll_chk.c: New file.
1056         * debug/ppoll_chk.c: New file.
1057         * include/bits/poll2.h: New file.
1058         * io/bits/poll2.h: New file.
1060         [BZ #1350]
1061         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1063         * configure.in: static is always set to yes.  Remove.
1064         * config.make.in: Don't set build-static.
1065         * Makeconfig: Remove use of build-static.
1066         * dlfcn/Makefile: Likewise.
1067         * elf/Makefile: Likewise.
1068         * math/Makefile: Likewise.
1069         * misc/Makefile: Likewise.
1070         * nptl/Makefile: Likewise.
1071         * sysdeps/mach/hurd/Makefile: Likewise.
1073         * configure.in: PWD_P is not used anymore.
1074         * config.make.in: Remove PWD_P entry.
1076         * configure.in: Remove last remnants of RANLIB.
1077         No need to check for signed size_t anymore.
1078         Don't set libc_commonpagesize and libc_relro_required here for Alpha
1079         and IA-64.
1080         Remove __builtin_expect test because we require at least gcc 3.4.
1081         * aclocal.m4: Likewise.
1083         * wcsmbs/mbrtoc16.c: Implement using towc function.
1084         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1085         * wcsmbs/wcsmbsload.c: Likewise.
1086         * iconv/gconv_simple.c: Likewise.
1087         * iconv/gconv_int.h: Likewise.
1088         * iconv/gconv_builtin.h: Likewise.
1089         * iconv/iconv_prog.c: Remove CHAR16 handling.
1091         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1093         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1095         * configure.in: Remove --with-elf and --enable-bounded options.
1096         Dont set base_machine for ia64.  More non-ELF conditions removed.
1097         Remove testing and setting of leading underscore information.
1098         * config.make.in (build-bounded): Set to no.
1099         * config.h.in: Remove NO_UNDERSCORES entry.
1100         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
1101         them.
1102         * csu/start.c: Remove !NO_UNDERSCORE code.
1103         * locale/localeinfo.h: Likewise.
1104         * sysdeps/generic/machine-gmon.h: Likewise.
1105         * sysdeps/generic/sysdep.h: Likewise.
1106         * sysdeps/i386/sysdep.h: Likewise.
1107         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1108         * sysdeps/mach/sysdep.h: Likewise.
1109         * sysdeps/s390/s390-32/sysdep.h: Likewise.
1110         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1111         * sysdeps/sh/sysdep.h: Likewise.
1112         * sysdeps/sparc/sparc32/alloca.S: Likewise.
1113         * sysdeps/unix/i386/sysdep.S: Likewise.
1114         * sysdeps/unix/sparc/start.c: Likewise.
1115         * sysdeps/unix/sparc/sysdep.S: Likewise.
1116         * sysdeps/unix/sparc/sysdep.h: Likewise.
1117         * sysdeps/unix/start.c: Likewise.
1118         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1119         * sysdeps/x86_64/sysdep.h: Likewise.
1121 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
1123         [BZ #13553]
1124         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1125         for non-gcc.
1126         * argp/argp-fmtstream.h: Use const instead __const.
1127         * argp/argp.h: Likewise.
1128         * assert/assert.h: Likewise.
1129         * bits/fenv.h: Likewise.
1130         * bits/sched.h: Likewise.
1131         * bits/sigset.h: Likewise.
1132         * bits/sigthread.h: Likewise.
1133         * catgets/nl_types.h: Likewise.
1134         * conform/data/pthread.h-data: Likewise.
1135         * crypt/crypt-private.h: Likewise.
1136         * crypt/crypt.h: Likewise.
1137         * crypt/crypt_util.c: Likewise.
1138         * ctype/ctype.h: Likewise.
1139         * debug/execinfo.h: Likewise.
1140         * debug/mbsnrtowcs_chk.c: Likewise.
1141         * debug/mbsrtowcs_chk.c: Likewise.
1142         * debug/wcsnrtombs_chk.c: Likewise.
1143         * debug/wcsrtombs_chk.c: Likewise.
1144         * debug/wcstombs_chk.c: Likewise.
1145         * dirent/dirent.h: Likewise.
1146         * dlfcn/dlfcn.h: Likewise.
1147         * elf/neededtest4.c: Likewise.
1148         * grp/grp.h: Likewise.
1149         * gshadow/gshadow.h: Likewise.
1150         * iconv/gconv.h: Likewise.
1151         * iconv/gconv_int.h: Likewise.
1152         * iconv/gconv_simple.c: Likewise.
1153         * iconv/iconv.h: Likewise.
1154         * iconv/loop.c: Likewise.
1155         * iconv/skeleton.c: Likewise.
1156         * include/aio.h: Likewise.
1157         * include/aliases.h: Likewise.
1158         * include/argz.h: Likewise.
1159         * include/arpa/inet.h: Likewise.
1160         * include/assert.h: Likewise.
1161         * include/dirent.h: Likewise.
1162         * include/dlfcn.h: Likewise.
1163         * include/execinfo.h: Likewise.
1164         * include/fcntl.h: Likewise.
1165         * include/fenv.h: Likewise.
1166         * include/glob.h: Likewise.
1167         * include/grp.h: Likewise.
1168         * include/libintl.h: Likewise.
1169         * include/mntent.h: Likewise.
1170         * include/netdb.h: Likewise.
1171         * include/pwd.h: Likewise.
1172         * include/rpc/netdb.h: Likewise.
1173         * include/sched.h: Likewise.
1174         * include/search.h: Likewise.
1175         * include/shadow.h: Likewise.
1176         * include/signal.h: Likewise.
1177         * include/stdio.h: Likewise.
1178         * include/stdlib.h: Likewise.
1179         * include/string.h: Likewise.
1180         * include/sys/socket.h: Likewise.
1181         * include/sys/stat.h: Likewise.
1182         * include/sys/statfs.h: Likewise.
1183         * include/sys/statvfs.h: Likewise.
1184         * include/sys/syslog.h: Likewise.
1185         * include/sys/time.h: Likewise.
1186         * include/sys/uio.h: Likewise.
1187         * include/time.h: Likewise.
1188         * include/unistd.h: Likewise.
1189         * include/utmp.h: Likewise.
1190         * include/wchar.h: Likewise.
1191         * include/wctype.h: Likewise.
1192         * inet/aliases.h: Likewise.
1193         * inet/arpa/inet.h: Likewise.
1194         * inet/netinet/ether.h: Likewise.
1195         * inet/netinet/in.h: Likewise.
1196         * intl/libintl.h: Likewise.
1197         * io/bits/fcntl2.h: Likewise.
1198         * io/fcntl.h: Likewise.
1199         * io/ftw.h: Likewise.
1200         * io/sys/poll.h: Likewise.
1201         * io/sys/stat.h: Likewise.
1202         * io/sys/statfs.h: Likewise.
1203         * io/sys/statvfs.h: Likewise.
1204         * io/utime.h: Likewise.
1205         * libio/bits/stdio.h: Likewise.
1206         * libio/bits/stdio2.h: Likewise.
1207         * libio/libio.h: Likewise.
1208         * libio/libioP.h: Likewise.
1209         * libio/stdio.h: Likewise.
1210         * locale/lc-ctype.c: Likewise.
1211         * locale/locale.h: Likewise.
1212         * login/utmp.h: Likewise.
1213         * malloc/arena.c: Likewise.
1214         * malloc/malloc.c: Likewise.
1215         * malloc/malloc.h: Likewise.
1216         * malloc/mcheck.c: Likewise.
1217         * malloc/mtrace.c: Likewise.
1218         * math/bits/mathcalls.h: Likewise.
1219         * math/fenv.h: Likewise.
1220         * math/math_private.h: Likewise.
1221         * misc/bits/error.h: Likewise.
1222         * misc/bits/syslog.h: Likewise.
1223         * misc/err.h: Likewise.
1224         * misc/error.h: Likewise.
1225         * misc/fstab.h: Likewise.
1226         * misc/mntent.h: Likewise.
1227         * misc/regexp.h: Likewise.
1228         * misc/search.h: Likewise.
1229         * misc/sgtty.h: Likewise.
1230         * misc/sys/mman.h: Likewise.
1231         * misc/sys/syslog.h: Likewise.
1232         * misc/sys/uio.h: Likewise.
1233         * misc/sys/xattr.h: Likewise.
1234         * misc/ttyent.h: Likewise.
1235         * nis/rpcsvc/ypclnt.h: Likewise.
1236         * nss/nss.h: Likewise.
1237         * posix/bits/unistd.h: Likewise.
1238         * posix/fnmatch.h: Likewise.
1239         * posix/glob.h: Likewise.
1240         * posix/sched.h: Likewise.
1241         * posix/spawn.h: Likewise.
1242         * posix/sys/wait.h: Likewise.
1243         * posix/unistd.h: Likewise.
1244         * posix/wordexp.h: Likewise.
1245         * pwd/pwd.h: Likewise.
1246         * resolv/netdb.h: Likewise.
1247         * resource/sys/resource.h: Likewise.
1248         * rt/aio.h: Likewise.
1249         * rt/bits/mqueue2.h: Likewise.
1250         * rt/mqueue.h: Likewise.
1251         * shadow/shadow.h: Likewise.
1252         * signal/signal.h: Likewise.
1253         * socket/send.c: Likewise.
1254         * socket/sendto.c: Likewise.
1255         * socket/sys/socket.h: Likewise.
1256         * stdio-common/printf.h: Likewise.
1257         * stdlib/bits/stdlib.h: Likewise.
1258         * stdlib/fmtmsg.h: Likewise.
1259         * stdlib/monetary.h: Likewise.
1260         * stdlib/stdlib.h: Likewise.
1261         * stdlib/ucontext.h: Likewise.
1262         * streams/stropts.h: Likewise.
1263         * string/argz.h: Likewise.
1264         * string/bits/string2.h: Likewise.
1265         * string/string.h: Likewise.
1266         * string/strings.h: Likewise.
1267         * sunrpc/rpc/auth.h: Likewise.
1268         * sunrpc/rpc/auth_des.h: Likewise.
1269         * sunrpc/rpc/clnt.h: Likewise.
1270         * sunrpc/rpc/netdb.h: Likewise.
1271         * sunrpc/rpc/pmap_clnt.h: Likewise.
1272         * sunrpc/rpc/xdr.h: Likewise.
1273         * sysdeps/generic/inttypes.h: Likewise.
1274         * sysdeps/generic/net/if.h: Likewise.
1275         * sysdeps/generic/sys/swap.h: Likewise.
1276         * sysdeps/gnu/net/if.h: Likewise.
1277         * sysdeps/gnu/utmpx.h: Likewise.
1278         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1279         * sysdeps/i386/i486/bits/string.h: Likewise.
1280         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1281         * sysdeps/s390/bits/string.h: Likewise.
1282         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1283         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1284         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1285         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1286         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1287         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1288         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1289         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1290         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1291         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1292         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1293         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1294         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1295         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1296         * sysdeps/unix/sysv/linux/readv.c: Likewise.
1297         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1298         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1299         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1300         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1301         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1302         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1303         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1304         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1305         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1306         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1307         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1308         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1309         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1310         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1311         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1312         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1313         * sysvipc/sys/ipc.h: Likewise.
1314         * sysvipc/sys/msg.h: Likewise.
1315         * sysvipc/sys/sem.h: Likewise.
1316         * sysvipc/sys/shm.h: Likewise.
1317         * termios/termios.h: Likewise.
1318         * time/sys/time.h: Likewise.
1319         * time/time.h: Likewise.
1320         * wcsmbs/bits/wchar2.h: Likewise.
1321         * wcsmbs/uchar.h: Likewise.
1322         * wcsmbs/wchar.h: Likewise.
1323         * wctype/wctype.h: Likewise.
1325         [BZ #13551]
1326         * Makeconfig: Remove all but ELF support including AIX support.
1327         * Makerules: Likewise.
1328         * config.h.in: Likewise.
1329         * config.make.in: Likewise.
1330         * configure: Likewise.
1331         * configure.in: Likewise.
1332         * csu/Makefile: Likewise.
1333         * csu/version.c: Likewise.
1334         * debug/Makefile: Likewise.
1335         * dlfcn/Makefile: Likewise.
1336         * elf/Makefile: Likewise.
1337         * extra-lib.mk: Likewise.
1338         * iconv/Makefile: Likewise.
1339         * include/libc-symbols.h: Likewise.
1340         * include/shlib-compat.h: Likewise.
1341         * resolv/Makefile: Likewise.
1342         * resolv/res_libc.c: Likewise.
1343         * rt/Makefile: Likewise.
1344         * sysdeps/i386/asm-syntax.h: Likewise.
1345         * sysdeps/i386/sysdep.h: Likewise.
1346         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1347         * sysdeps/mach/sysdep.h: Likewise.
1348         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1349         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1350         * sysdeps/s390/asm-syntax.h: Likewise.
1351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
1352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
1353         * sysdeps/sh/sysdep.h: Likewise.
1354         * sysdeps/unix/sparc/sysdep.h: Likewise.
1355         * sysdeps/wordsize-32/divdi3.c: Likewise.
1356         * sysdeps/x86_64/sysdep.h: Likewise.
1358         * argp/Versions: Remove _argp_unlock_xxx.
1360         [BZ #13559]
1361         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
1362         * abilist/libBrokenLocale.abilist: Likewise.
1363         * abilist/libanl.abilist: Likewise.
1364         * abilist/libc.abilist: Likewise.
1365         * abilist/libcrypt.abilist: Likewise.
1366         * abilist/libdl.abilist: Likewise.
1367         * abilist/libm.abilist: Likewise.
1368         * abilist/libnsl.abilist: Likewise.
1369         * abilist/libpthread.abilist: Likewise.
1370         * abilist/libresolv.abilist: Likewise.
1371         * abilist/librt.abilist: Likewise.
1372         * abilist/libthread_db.abilist: Likewise.
1373         * abilist/libutil.abilist: Likewise.
1374         * abilist/libnss_db.abilist: New file.
1376         * scripts/abilist.awk: Add support for indirect functions.
1378         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1380         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1382         * shlib-versions: Remove entries for ports architectures.
1384         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
1385         files in ports.
1386         * elf/stackguard-macros.h: Remove support for IA-64.
1387         * elf/tst-auditmod1.c: Likewise.
1388         * sysdeps/generic/ldsodefs.h: Likewise.
1390         * sysdeps/unix/sysv/linux/configure.in: Ports should define
1391         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1392         configure files.
1394         [BZ #13552]
1395         * configure.in: Remove --enable-omitfp support.
1396         * FAQ.in: Adjust.
1397         * config.make.in: Likewise.
1398         * Makeconfig: Likewise.
1399         * manual/install.texi: Likewise.
1401         In case anyone cares, the IA-64 architecture could move to ports.
1402         * sysdeps/ia64/*: Removed.
1403         * sysdeps/unix/sysv/linux/ia64/*: Removed.
1404         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1406         [BZ #13555]
1407         * configure.in: Remove entries for unsupported architectures.
1409         [BZ #13533]
1410         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1411         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
1412         routines.
1413         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1414         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1415         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
1416         fall back to using wcrtomb.
1417         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1418         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
1419         renaming.
1420         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1421         * wcsmbs/tst-c16c32-1.c: New file.
1423         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1424         local variable.
1426         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1428         * elf/tst-unique3.cc: Add explicit declaration of gets.
1429         * elf/tst-unique3lib.cc: Likewise.
1430         * elf/tst-unique3lib2.cc: Likewise.
1431         * elf/tst-unique4.cc: Likewise.
1433         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1435 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
1437         [BZ #13566]
1438         * assert/assert.h (static_assert): Don't define for C++.
1439         * libio/stdio.h (gets): Do declare for C++ <= C++11.
1440         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1442 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
1444         * iconv/loop.c (single loop): Fix assertion in storing of
1445         remaining bytes.
1447         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1449 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
1451         * posix/getconf.c: Update copyright year.
1452         * nss/getent.c: Likewise.
1453         * nss/makedb.c: Likewise.
1454         * iconv/iconvconfig.c: Likewise.
1455         * iconv/iconv_prog.c: Likewise.
1456         * elf/ldconfig.c: Likewise.
1457         * elf/pldd.c: Likewise.
1458         * elf/sotruss.ksh: Likewise.
1459         * catgets/gencat.c: Likewise.
1460         * csu/version.c: Likewise.
1461         * elf/ldd.bash.in: Likewise.
1462         * elf/sprof.c (print_version): Likewise.
1463         * locale/programs/locale.c: Likewise.
1464         * locale/programs/localedef.c: Likewise.
1465         * login/programs/pt_chown.c: Likewise.
1466         * nscd/nscd.c (print_version): Likewise.
1467         * debug/xtrace.sh: Likewise.
1468         * malloc/memusage.sh: Likewise.
1469         * malloc/mtrace.pl: Likewise.
1470         * debug/catchsegv.sh: Likewise.
1472 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
1474         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1475         pure attribute.
1477 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
1479         [BZ #13533]
1480         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1481         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1482         transformations.
1483         * iconv/gconv_int.h: Likewise.
1484         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1485         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1486         from libc for GLIBC_2.16.
1487         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1488         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1489         * wcsmbs/uchar.h: Really define mbstate_t.
1490         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1491         * wcsmbs/c16rtomb.c: New file.
1492         * wcsmbs/mbrtoc16.c: New file.
1493         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1494         for C/POSIX locale.
1495         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1496         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1498         * wcsmbs/wchar.h: Add missing __restrict.
1500 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
1502         [BZ #13532]
1503         * time/Makefile (routines): Add timespec_get.
1504         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1505         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
1506         timespec for ISO C11.
1507         * time/timespec_get.c: New file.
1508         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1509         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1511         [BZ #13531]
1512         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1513         * stdlib/stdlib.h: Declare aligned_alloc.
1514         * Versions.def: Add GLIBC_2.16 for libc.
1515         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1517         [BZ 13527]
1518         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1519         ISO C11.
1521         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1522         code.
1524         [BZ #13528]
1525         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1527         [BZ #13529]
1528         * assert/assert.h (static_assert): Define.
1530         * version.h: Update for 2.16 development version.
1532         [BZ #13526]
1533         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1534         _ISOC11_SOURCE.
1536         * version.h (RELEASE): Bump for 2.15 release.
1537         * include/features.h (__GLIBC_MINOR__): Bump to 15.
1539         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1540         Patch by Marek Polacek <mpolacek@redhat.com>.
1542         * bits/byteswap.h: Protect long long constants with __extension__.
1543         * sysdeps/i386/bits/byteswap.h: Likewise.
1544         * sysdeps/ia64/bits/byteswap.h: Likewise.
1545         * sysdeps/s390/bits/byteswap.h: Likewise.
1546         * sysdeps/x86_64/bits/byteswap.h: Likewise.
1548 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1550         [BZ #13540]
1551         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1552         destination buffer.
1553         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1555 2011-12-23  Marek Polacek  <polacek@redhat.com>
1557         * elf/dl-addr.c (determine_info): Add inline keyword.
1558         * elf/tst-auditmod4b.c (check_avx): Likewise.
1559         * elf/tst-auditmod6b.c (check_avx): Likewise.
1560         * elf/tst-auditmod6c.c (check_avx): Likewise.
1561         * elf/tst-auditmod7b.c (check_avx): Likewise.
1563 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
1565         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1566         !__SSE_MATH__.
1568 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1570         [BZ #13540]
1571         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1572         processing for last bytes.
1574 2011-08-06  Bruno Haible  <bruno@clisp.org>
1576         [BZ #13061]
1577         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1578         U+0385, not to U+1FEE.
1580         [BZ #13062]
1581         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1582         entry for U+00A5 U+0301.
1584 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
1586         [BZ #13166]
1587         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1588         buffer for the output is too small.
1590         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1591         optimization.
1593         [BZ #13185]
1594         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1595         SSE flags if possible.
1597 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1599         [BZ #13540]
1600         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1601         processing for last bytes.
1603 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
1605         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1606         (syscall-list-default-options, syscall-list-default-condition)
1607         (syscall-list-includes): Define.
1608         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1609         list of ABIs and options and #if conditions for each ABI.  Do not
1610         handle common syscalls between ABIs specially.
1611         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1612         Remove.
1613         (syscall-list-variants, syscall-list-32bit-options)
1614         (syscall-list-32bit-condition, syscall-list-64bit-options)
1615         (syscall-list-64bit-condition): Define.
1616         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1617         (syscall-list-variants, syscall-list-32bit-options)
1618         (syscall-list-32bit-condition, syscall-list-64bit-options)
1619         (syscall-list-64bit-condition): Define.
1620         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1621         Remove.
1622         (syscall-list-variants, syscall-list-32bit-options)
1623         (syscall-list-32bit-condition, syscall-list-64bit-options)
1624         (syscall-list-64bit-condition): Define.
1625         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1626         Remove.
1627         (syscall-list-variants, syscall-list-32bit-options)
1628         (syscall-list-32bit-condition, syscall-list-64bit-options)
1629         (syscall-list-64bit-condition): Define.
1631 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
1633         * locale/iso-639.def: Add brx entry.
1635         [BZ #13328]
1636         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1637         Proposed by Mariusz_Cukr <marcukr@op.pl>.
1639         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1640         __feraiseexcept_renamed.
1642 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
1644         [BZ #13538]
1645         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1646         EPOLLET with unsigned values.
1647         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1648         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1650         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1651         to large cancellation.
1652         * math/s_cacoshf.c: Likewise.
1653         * math/s_cacoshl.c: Likewise.
1655 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
1657         [BZ #13305]
1658         [BZ #12786]
1659         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1660         * math/s_cacoshf.c: Likewise.
1661         * math/s_cacoshl.c: Likewise.
1663 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
1665         [BZ #13439]
1666         * iconv/gconv.h: Define __GCONV_SWAP.
1667         * iconvdata/unicode.c: The swap bit must be stored in __flags.
1668         * iconvdata/utf-16.c: Likewise.
1669         * iconvdata/utf-32.c: Likewise.
1671 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1673         [BZ #13524]
1674         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
1675         numerator after shifting it by one limb.
1677 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
1679         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
1680         under [__USE_EXTERN_INLINES].
1682 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
1684         [BZ #13446]
1685         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
1687 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1689         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
1690         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
1691         optimized code.
1692         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
1693         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1694         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1695         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1696         for strncasecmp/strncasecmp_l compilation.
1697         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1698         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1700 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
1702         [BZ #13484]
1703         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1704         of __asm__.
1706 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
1708         [BZ #13506]
1709         * time/tzfile.c (__tzfile_read): Check values from file header.
1711 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
1713         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1714         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1715         * powerpc/powerpc32/dl-start.S: Likewise.
1716         * powerpc/powerpc32/elf/start.S: Likewise.
1717         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1718         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1719         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1720         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1721         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1722         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1723         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1724         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1725         * powerpc/powerpc32/fpu/s_round.S: Likewise.
1726         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1727         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1728         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1729         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1730         * powerpc/powerpc32/memset.S: Likewise.
1731         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1732         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1733         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1734         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1735         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1736         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1737         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1738         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1739         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1740         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1741         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1742         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1743         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1745 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1747         * math/libm-test.inc: Added more nearbyint tests.
1748         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1749         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1750         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1751         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1753 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
1755         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1756         FD_CLOEXEC.
1758 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1760         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1761         Add wcscpy-ssse3 wcscpy-c.
1762         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1763         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1764         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1765         * sysdeps/x86_64/wcschr.S: New file.
1766         * sysdeps/x86_64/wcsrchr.S: New file.
1767         * string/test-strcmp.c: Remove checking of wcscmp function for
1768         wrong alignments.
1769         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1770         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1771         wcsrchr-sse2 wcsrchr-c.
1772         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1773         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1774         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1775         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1776         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1777         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1778         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1779         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1780         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1781         * wcsmbc/wcschr.c (WCSCHR): New macro.
1783 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
1785         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1786         * wcsmbs/test-wcsrchr.c: New file.
1787         * string/test-strrchr.c: Add wcsrchr support.
1788         (WIDE): New macro.
1789         * wcsmbs/test-wcscpy.c: New file.
1790         * string/test-strcpy.c: Add wcscpy support.
1791         (WIDE): New macro.
1793 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
1795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1796         the inner loop.
1798 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
1800         [BZ #13472]
1801         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1803 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
1805         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
1806         Minor optimizations.
1808         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1809         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1810         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1812 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
1814         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1815         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1816         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1817         for gcc to avoid warnings.
1818         * inet/Makefile (tests): Add tst-checks.
1819         * inet/tst-checks.c: New file.
1821         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1822         warning.
1824         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1825         __wmemcmp_sse2.
1827         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1828         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1830         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1832 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
1834         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1835         problem.
1837         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1839 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
1841         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1842         conditional on GCC version.
1843         (__arch_compare_and_exchange_val_8_acq)
1844         (__arch_compare_and_exchange_val_16_acq)
1845         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1846         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1847         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1849 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
1851         * sysdeps/sh/backtrace.c: New file.
1853 2011-12-02  Andreas Schwab  <schwab@redhat.com>
1855         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
1856         parenthesis.
1858 2011-12-01  Andreas Schwab  <schwab@redhat.com>
1860         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1861         falling back to utime.
1863 2011-11-30  Andreas Schwab  <schwab@redhat.com>
1865         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1866         expectations for float.
1868 2011-11-29  Andreas Schwab  <schwab@redhat.com>
1870         * locale/weight.h (findidx): Add parameter len.
1871         * locale/weightwc.h (findidx): Likewise.
1872         * posix/fnmatch_loop.c (FCT): Adjust caller.
1873         * posix/regcomp.c (build_equiv_class): Likewise.
1874         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1875         * posix/regexec.c (check_node_accept_bytes): Likewise.
1876         * string/strcoll_l.c (STRCOLL): Likewise.
1877         * string/strxfrm_l.c (STRXFRM): Likewise.
1879 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
1881         * Makefile.in: Remove CVSOPT handling.
1882         * configure.in: Remove use of AC_REVISION.
1883         * iconvdata/Makefile (distribute): No need to filter out CVS.
1884         * scripts/list-sources.sh: Remove CVS, subversion and monotone
1885         handling.
1887 2011-11-16  Andreas Schwab  <schwab@redhat.com>
1889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1890         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1891         [USE_AS_STRNCASECMP_L]: Likewise.
1892         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1893         NO_TLS_DIRECT_SEG_REFS.
1894         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1895         Fix argument offsets for non-PIC.
1896         [USE_AS_STRNCASECMP_L]: Likewise.
1897         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1898         NO_TLS_DIRECT_SEG_REFS.
1900 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
1902         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
1903         O_CLOEXEC.
1904         * locale/loadlocale.c (_nl_load_locale): Likewise.
1906 2011-11-15  Andreas Schwab  <schwab@redhat.com>
1908         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1909         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1911         (SYSCALL_GETTIME): Set errno on error.
1913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1914         count references to noai6ai_cached.
1916 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
1918         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1920         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1921         FD_CLOEXEC for /proc/self/maps.
1923         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1924         FD_CLOEXEC for /proc/meminfo.
1926         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1927         gai.conf.
1929         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
1930         FD_CLOEXEC for given file.
1932         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1934         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1935         FD_CLOEXEC for /etc/hosts.
1936         (_gethtent): Likewise.
1938         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1940         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1941         cancellation and set FD_CLOEXEC for /etc/netgroup.
1943         * nss/nss_files/files-key.c (search): Don't allow cancellation when
1944         reading /etc/publickey.
1946         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1947         allow cancellation when reading /etc/group.
1949         * nss/nss_files/files-alias.c (internal_setent): Don't allow
1950         cancellation.
1951         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
1953         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1954         when using data file.
1956         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1958         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1959         (write_nis_obj): Use "c" and "e" in fopen.
1961         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1963         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1965         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1967         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1969         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1970         locale.alias.
1972         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1974         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1976         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1978         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1979         file parsing and set FD_CLOEXEC.
1981 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
1983         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1985 2011-11-14  Andreas Schwab  <schwab@redhat.com>
1987         * malloc/arena.c (arena_get2): Don't call reused_arena when
1988         _int_new_arena failed.
1990 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
1992         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1993         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1994         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1995         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1998         to compile strcasecmp and strncasecmp.
1999         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2000         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2004 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
2006         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2007         locale-defines.sym to gen-as-const-headers.
2008         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2009         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2011         to compile strcasecmp and strncasecmp.
2012         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2013         strcasecmp_l and strncasecmp_l.
2014         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2015         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2016         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2017         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2018         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2019         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2020         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2021         * sysdeps/i386/i686/multiarch/strncase.S: New file.
2022         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2023         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2024         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2026 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
2028         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2029         result of SYSDEP_GETTIME_CPU to retval.
2030         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2031         parameter list to macro.  Remove trailing semicolon.  Adjust users.
2033         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2034         variable.
2036         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2037         mantissa words.
2038         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2040         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2041         from unused variable.
2043         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2044         DWARF definitions.
2045         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2046         for assembling.
2048         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2049         over namespaces.
2051         * sunrpc/rpc_prot.c (rejected): Fix case value.
2053         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2054         unsigned long long int to avoid warnings in shift.
2056         * posix/regex_internal.c (re_string_reconstruct): Actually use result
2057         of use of trans.
2058         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2059         variable tmp.
2061         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2062         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2063         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2065         * nis/nis_table.c (nis_list): Use variable of correct type for
2066         result of __follow_path call.
2068 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2070         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2071         of math functions ceil, trunc, floor, round, and sqrt, when
2072         avaliable on the platform.
2073         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2074         name clash.
2075         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2076         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2077         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2079 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
2081         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2082         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2084 2011-11-11  Roland McGrath  <roland@hack.frob.com>
2086         * include/unistd.h: Fix __readlink return type.
2087         Reported by Chris Metcalf <cmetcalf@tilera.com>.
2089 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
2091         * stdlib/ucontext.h: Undo last change for makecontext.
2093 2011-11-11  Andreas Schwab  <schwab@redhat.com>
2095         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2097         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2098         * setjmp/setjmp.h: Mark functions as non-leaf.
2099         * setjmp/bits/setjmp2.h: Likewise.
2100         * stdlib/ucontext.h: Likewise.
2102 2011-11-10  Andreas Schwab  <schwab@redhat.com>
2104         * malloc/arena.c (_int_new_arena): Don't increment narenas.
2105         (reused_arena): Don't check arena limit.
2106         (arena_get2): Atomically check arena limit.
2108 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
2110         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2111         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2114         instructions.
2116 2011-11-07  Andreas Schwab  <schwab@redhat.com>
2118         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2119         handler when locking.
2121         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2122         Fix size of allocated buffer.
2124 2011-11-04  Andreas Schwab  <schwab@redhat.com>
2126         [BZ #10103]
2127         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2128         declarations for long double functions.
2129         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2131         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2133 2011-11-03  Andreas Schwab  <schwab@redhat.com>
2135         * nscd/nscd.c (main): Don't start AVC thread until credentials are
2136         installed.
2138         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2139         is disabled.
2141 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2143         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2145 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2147         * include/alloca.h (stackinfo_alloca_round): Define.
2148         (extend_alloca): Use it.
2149         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2150         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2151         here.
2153         * scripts/check-local-headers.sh: Ignore libaudit.h.
2155         * nscd/Makefile (extra-objs): Make recursively expanded.
2157 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
2159         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2160         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2162         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2163         * posix/tst-rfc3484-2.c: Likewise.
2164         * posix/tst-rfc3484-3.c: Likewise.
2166         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2167         process_vm_writev.
2168         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2169         process_vm_writev.
2170         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2171         process_vm_writev from libc using GLIBC_2.15 version.
2173         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2175 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
2177         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2178         stack usage.
2180 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
2182         [BZ #13367]
2183         * nss/getent.c (initgroups_keys): Show error message in case no group
2184         names are given.
2186         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2187         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2188         __bump_nl_timestamp.
2189         * nscd/connections (nscd_init): When host database is served open
2190         netlink socket and request notification about configuration changes.
2191         (main_loop_poll): Track netlink file descriptor and bump timestamp
2192         in case data becomes available.
2193         (main_loop_epoll): Likewise.
2194         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2195         (database_pers_head): Add extra_data fileds.
2196         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2197         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2198         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2199         Adjust caller.
2200         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2201         in6ai data, call __free_in6ai.
2202         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2203         Add -DHAVE_NETLINK.
2204         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
2205         interface information.  Reuse previous data if netlink timestamp
2206         is not changed.
2207         (__bump_nl_timestamp): New function.
2208         (__free_in6ai): New function.
2210 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
2212         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2213         close_not_cancel_no_status here.
2214         (__check_pf): Reorganize code a bit to not call close twice if OOM.
2216 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
2218         [BZ #13276]
2219         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2220         return value.
2222         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2223         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2224         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2226 2011-07-03  Andreas Jaeger  <aj@suse.de>
2228         [BZ #10709]
2229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2230         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2231         * math/libm-test.inc (sin_test): Add test case.
2233 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
2235         [BZ #13337]
2236         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2237         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2239         * elf/chroot_canon.c (chroot_canon): Cleanups.
2241         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2243         [BZ #13335]
2244         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2245         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2247         * string/test-strchr.c: Make usable for strchrnul testing.
2248         * string/test-strchrnul.c: New file.
2249         * string/Makefile (strop-tests): Add strchrnul.
2251         * po/it.po: Update from translation team.
2252         * po/es.po: Likewise.
2254 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
2256         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2257         the three constants needed as parameters.  Drop the others.
2258         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2259         __m128i_strloadu_tolower.
2260         Create and initialize variable zero and use it in all the places
2261         where _mm_setzero_si128 was used.
2263         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2264         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2265         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2266         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2267         anymore.
2268         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2269         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2270         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2271         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2272         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2273         __mpranred, __mptan.
2274         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2275         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2276         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2277         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2278         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2279         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2280         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2281         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2282         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2284 2011-10-28  Andreas Schwab  <schwab@redhat.com>
2286         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2287         redefine if SHARED.
2288         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2291         wide char related routines to wcsmbs subdir.
2293 2011-10-27  Andreas Schwab  <schwab@redhat.com>
2295         [BZ #13344]
2296         * misc/sys/cdefs.h (__THROWNL): Define.
2297         * posix/unistd.h: Use __THREADNL instead of __THREAD
2298         for memory synchronization functions.
2300 2011-10-26  Roland McGrath  <roland@hack.frob.com>
2302         [BZ #13349]
2303         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2304         doesn't exist.
2305         * manual/stdio.texi (Obstack Streams): Node removed.
2307 2011-10-26  Andreas Schwab  <schwab@redhat.com>
2309         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2310         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2313         * math/math_private.h (math_force_eval): Allow non-addressable
2314         arguments.
2315         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2317 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
2319         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2320         file is not needed.
2322         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2323         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2324         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2325         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2326         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2327         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2328         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2329         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2330         Add AVX variants.
2331         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2332         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2333         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2334         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2335         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2336         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2337         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2338         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2339         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2340         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2341         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2342         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2343         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2344         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2345         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2346         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2347         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2348         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2349         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2351         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2352         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
2354         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2355         place.  Use VEX encoding when compiling for AVX.
2357 2011-10-25  Andreas Schwab  <schwab@redhat.com>
2359         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2360         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2362         * string/test-strchr.c (do_test): Don't generate NUL bytes.
2364 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
2366         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2367         useless if() expression.
2368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2369         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2370         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2372         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2373         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2374         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2375         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2376         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2377         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2378         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2379         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2380         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2381         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2382         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2383         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2384         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2385         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2386         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2388         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2390 2011-10-25  Andreas Schwab  <schwab@redhat.com>
2392         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2393         condition.
2394         * elf/dl-fini.c (_dl_sort_fini): Likewise.
2396 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
2398         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2399         .text section.  Avoid duplicate constants.
2400         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2401         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2402         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2404         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2406         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2407         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2408         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2409         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2410         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2411         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2412         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2413         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2414         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2415         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2416         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2417         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2418         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2420         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2421         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2422         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2423         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2424         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2425         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2426         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2427         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2428         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2429         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2430         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2431         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2432         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2433         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2434         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2435         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2436         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2437         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2438         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2439         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2440         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2441         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2442         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2443         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2444         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2446 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
2448         * sysdeps/x86_64/dla.h: Move to ...
2449         * sysdeps/x86_64/fpu/dla.h: ...here.
2450         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2451         situations.  Use __builtin_fma only for gcc 4.6 and up.
2453         * config.make.in: Add have-mfma4 entry.
2454         * configure.in: Substitute libc_cv_cc_fma4.
2455         * math/Makefile (dbl-only-routines): Add sincostab.
2456         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2457         Use __sincostab not sincos.
2458         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2459         name is a macro.
2460         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2463         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
2464         using __copysign.
2465         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
2466         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
2467         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2468         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2469         and __inv.
2470         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2471         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2472         __copysign.
2473         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
2474         define aliases when function name is a macro.
2475         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2476         sysdeps/ieee754/dbl-64/sincos.tbl.
2477         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2478         fma4-enabled routines.
2479         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2480         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2481         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2482         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2483         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2484         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2485         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2486         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2488         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2489         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2490         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2491         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2492         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2493         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2494         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2495         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2496         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2497         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2498         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2499         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2500         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2501         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2502         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2503         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2504         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2505         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2506         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2507         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2508         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2510         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2511         rename.
2512         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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-24  Andreas Schwab  <schwab@redhat.com>
2523         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2525 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
2527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2529         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2530         prediction.
2531         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2533         * string/strnlen.c: Don't define STRNLEN, reverse logic.
2534         Remove unused variable magic_bits.
2535         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2537         * string/strnlen.c: Define and use STRNLEN macro.
2538         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2539         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2540         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2541         * wcsmbs/wcslen.c: Define and use WCSLEN.
2542         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2543         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2544         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2545         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2546         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2547         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2548         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2550 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2553         strnlen-sse2-no-bsf.
2554         Rename strlen-no-bsf to strlen-sse2-no-bsf.
2555         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2556         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2557         Add strnlen support.
2558         (USE_AS_STRNLEN): New macro.
2559         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2560         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2561         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2562         * sysdeps/x86_64/wcslen.S: New file.
2564 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
2566         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2567         XMM-moves are used for copying on small sizes.
2569 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2571         * wcsmbs/Makefile (strop-tests): Add wcschr.
2572         * wcsmbs/test-wcschr.c: New file.
2573         * string/test-strchr.c: Update.
2574         Add wcschr support.
2575         (WIDE): New macro.
2577 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2579         * wcsmbs/Makefile (strop-tests): Add wcslen.
2580         * wcsmbs/test-wcslen.c: New file.
2581         * string/test-strlen.c: Update.
2582         Add wcslen support.
2583         (WIDE): New macro.
2585 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
2587         * po/it.po: Update from translation team.
2589 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2591         * sysdeps/x86_64/wcscmp.S: Update.
2592         Fix wrong comparison semantics.
2593         wcscmp shall use signed comparison not unsigned.
2594         Don't use substraction to avoid overflow bug.
2595         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2596         * wcsmbc/wcscmp.c: Likewise.
2597         * string/test-strcmp.c: Likewise.
2598         Add new tests to check cases with negative values.
2600 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
2602         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2603         * sysdeps/x86_64/dla.h: ...here.  New file.
2604         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2605         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2611         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2612         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2614 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
2616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2617         __ynl_finite aliases.
2619 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
2621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2623         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2624         define DLA_FMA.
2625         [DLA_FMA] (EMULV): Use DLA_FMA.
2626         [DLA_FMA] (MUL12): Use EMULV.
2627         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2628         that are not needed.
2629         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2630         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2631         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2632         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2633         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2634         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2637 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
2639         * math/s_nan.c: Undef __nan.
2640         * math/s_nanf.c: Undef __nanf.
2641         * math/s_nanl.c: Undef __nanl.
2642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2643         "math_private.h".
2645 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
2647         * math/s_catan.c: Add branch predictions.
2648         * math/s_catanf.c: Likewise.
2649         * math/s_catanh.c: Likewise.
2650         * math/s_catanhf.c: Likewise.
2651         * math/s_catanhl.c: Likewise.
2652         * math/s_catanl.c: Likewise.
2653         * math/s_cexp.c: Likewise.
2654         * math/s_cexpf.c: Likewise.
2655         * math/s_cexpl.c: Likewise.
2656         * math/s_clog.c: Likewise.
2657         * math/s_clog10.c: Likewise.
2658         * math/s_clog10f.c: Likewise.
2659         * math/s_clog10l.c: Likewise.
2660         * math/s_clogf.c: Likewise.
2661         * math/s_clogl.c: Likewise.
2662         * math/s_csqrt.c: Likewise.
2663         * math/s_csqrtf.c: Likewise.
2664         * math/s_csqrtl.c: Likewise.
2665         * math/s_ctanf.c: Likewise.
2666         * math/s_ctanh.c: Likewise.
2667         * math/s_ctanhf.c: Likewise.
2668         * math/s_ctanhl.c: Likewise.
2669         * math/s_ctanl.c: Likewise.
2671         * math/math_private.h: Define __nan, __nanf, __nanl.
2672         * math/s_cacosh.c: Include <math_private.h>.
2673         * math/s_cacoshl.c: Likewise.
2674         * math/s_casinh.c: Likewise.
2675         * math/s_casinhf.c: Likewise.
2676         * math/s_casinhl.c: Likewise.
2677         * math/s_ccos.c: Rely entire on ccosh.
2678         * math/s_ccosf.c: Rely entire on ccoshf.
2679         * math/s_ccosl.c: Rely entirely on ccoshl.
2680         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
2681         Remove tests for FE_INVALID.
2682         * math/s_ccoshf.c: Likewise.
2683         * math/s_ccoshl.c: Likewise.
2684         * math/s_csin.c: Likewise.
2685         * math/s_csinf.c: Likewise.
2686         * math/s_csinh.c Likewise.
2687         * math/s_csinhf.c: Likewise.
2688         * math/s_csinhl.c: Likewise.
2689         * math/s_csinl.c: Likewise.
2690         * math/s_ctan.c: Likewise.
2691         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
2692         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
2693         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2695 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
2697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2698         compilation problems.
2700         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2701         __builtin_expect.
2703 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
2705         * sysdeps/i386/configure.in: Test for -mfma4 option.
2706         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2707         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2708         COMMON_CPUID_INDEX_80000001.
2709         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2710         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2711         use it if FMA3 is not supported.
2712         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2714         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2715         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2717 2011-10-20  Andreas Schwab  <schwab@redhat.com>
2719         [BZ #12892]
2720         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2721         it would create a cycle with a link time dependency.
2723 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
2725         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2726         instruction.
2727         * string/Makefile (strop-tests): Add rawmemchr.
2728         * string/test-rawmemchr.c: New file.
2730         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2731         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
2732         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
2733         when compiling str{,n}casecmp and when AVX is available.  Hook up
2734         new optimized code in initializers.
2736 2011-10-19  Andreas Schwab  <schwab@redhat.com>
2738         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2739         __feraiseexcept instead of feraiseexcept.
2741 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
2743         * math/math_private.h: Define defaults for libc_fetestexcept and
2744         libc_feupdateenv.
2745         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2746         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2747         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2748         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2749         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2750         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2751         libc_fetestexcept and libc_feupdateenv.
2753         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2754         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2755         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2756         * sysdeps/x86_64/fpu/math_private.h: Define special version of
2757         libc_feholdexcept_setround.
2759         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2760         Add s_nearbyint-c and s_nearbyintf-c.
2761         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2762         nearbyintf inlines.
2763         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2764         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2765         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2766         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2768         * math/math_private.h: Define defaults for libc_fegetround,
2769         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2770         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2771         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2772         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2773         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2774         standard functions.
2775         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2776         Remove comments and hacks for old compiler versions.
2777         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2778         libc_fegetround, libc_fesetround, libc_feholdexcept, and
2779         libc_feholdexceptl.
2781 2011-10-18  Andreas Schwab  <schwab@redhat.com>
2783         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
2784         (__feraiseexcept_renamed): Add __NTH.
2785         (feraiseexcept): Add __NTH.  Rename local variables to fix
2786         namespace violations.
2788 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
2790         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2792         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2794         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2795         recently added interfaces.
2796         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2798         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2799         about macro parameter expansion.
2801         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2802         __NO_MATH_INLINES is defined.  Cleanups.
2804         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2805         and __floorf is target has SSE4.1.
2806         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2807         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2809         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2811         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2812         name.
2813         (floorf): Likewise.
2815         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2817 2011-10-17  Andreas Schwab  <schwab@redhat.com>
2819         * misc/sys/cdefs.h: Fix last change.
2821         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2822         database lookup.
2824 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
2826         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2828         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2829         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2830         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2831         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2832         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2833         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2834         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2835         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2836         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2837         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2838         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2839         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2840         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2841         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2842         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2843         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2844         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2845         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2846         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2847         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2848         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2849         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2851         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2852         ceil, ceilf, floor, floorf.
2854         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2855         Perform IRELATIVE relocations last.
2857         * elf/do-rel.h: Add another parameter nrelative, replacing the
2858         local variable with the same name.  Change name of the function
2859         to end in Rel or Rela (uppercase).
2860         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2861         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
2862         elf_dynamic_do_##reloc function.
2864 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
2866         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2867         is sufficient, at least on modern CPUs.
2869         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2871         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2872         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2874         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2875         __expl_finite.
2876         * math/bits/math-finite.h: Add entries for exp.
2877         * math/e_expl.c: Add __*_finite alias.
2878         * sysdeps/i386/fpu/e_exp.S: Likewise.
2879         * sysdeps/i386/fpu/e_expf.S: Likewise.
2880         * sysdeps/i386/fpu/e_expl.c: Likewise.
2881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2882         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2885         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2886         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2887         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2889         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2890         is sufficient, at least on modern CPUs.
2892         * ctype/ctype-info.c (__ctype_init): Define.
2893         * include/ctype.h (__ctype_init): Declare.
2894         (__ctype_b_loc): The variable is always initialized.
2895         (__ctype_toupper_loc): Likewise.
2896         (__ctype_tolower_loc): Likewise.
2897         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2898         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2900 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
2902         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2904         * configure.in: Also look in $cxxmachine/include for C++ system
2905         headers.
2907 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2909         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2910         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2911         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2912         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
2913         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2914         (USE_AS_WMEMCMP): New macro.
2915         Fixing indents.
2916         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2917         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2918         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2919         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2920         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2921         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2922         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2923         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2924         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2925         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2926         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2927         (USE_AS_WMEMCMP): New macro.
2928         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2929         * sysdeps/string/test-memcmp.c: Update.
2930         Fix simple_wmemcmp.
2931         Add new tests.
2932         * wcsmbs/wmemcmp.c: Update.
2933         (WMEMCMP): New macro.
2934         Fix overflow bug.
2936 2011-10-12  Andreas Jaeger  <aj@suse.de>
2938         [BZ #13268]
2939         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2941 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
2943         * libio/iofwide.c (do_length): Avoid warning.
2945         * ctype/ctype.h (__isctype_f): Add missing __THROW.
2947 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
2949         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2951         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2952         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2953         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2954         * sysdeps/i386/i686/fpu/e_log.S: New file.
2955         * sysdeps/i386/i686/fpu/e_logf.S: New file.
2956         * sysdeps/i386/i686/fpu/e_logl.S: New file.
2958         * ctype/ctype.h: Add support for inlined isXXX functions when
2959         compiling C++ code.
2961 2011-10-14  Andreas Schwab  <schwab@redhat.com>
2963         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2965         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2967 2011-10-13  Roland McGrath  <roland@hack.frob.com>
2969         [BZ #13291]
2970         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2972 2011-10-13  Andreas Schwab  <schwab@redhat.com>
2974         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2975         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2976         feraiseexcept.
2978         * sysdeps/x86_64/memrchr.S: Check for zero size.
2980         * string/stratcliff.c: Add memrchr tests.
2982 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
2984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2985         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2986         rawmemchr-sse2 rawmemchr-sse2-bsf.
2987         * sysdeps/i386/i686/multiarch/memchr.S: New file.
2988         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2989         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2990         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2991         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2992         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2993         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2994         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2995         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2996         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2997         * string/memrchr.c (MEMRCHR): New macro.
2999 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
3001         Add integration with gcc's -ffinite-math-only and optimize wrapper
3002         functions in libm.
3003         * Versions.def: Define GLIBC_2.15 version for libm.
3004         * math/Makefile (headers): Add bits/math-finite.h.
3005         * math/bits/math-finite.h: New file.
3006         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3007         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3008         * math/e_acoshl.c: Add __*_finite alias.
3009         * math/e_acosl.c: Likewise.
3010         * math/e_asinl.c: Likewise.
3011         * math/e_atan2l.c: Likewise.
3012         * math/e_atanhl.c: Likewise.
3013         * math/e_coshl.c: Likewise.
3014         * math/e_exp10.c: Likewise.
3015         * math/e_exp10f.c: Likewise.
3016         * math/e_exp10l.c: Likewise.
3017         * math/e_exp2l.c: Likewise.
3018         * math/e_fmodl.c: Likewise.
3019         * math/e_gammal_r.c: Likewise.
3020         * math/e_hypotl.c: Likewise.
3021         * math/e_j0l.c: Likewise.
3022         * math/e_j1l.c: Likewise.
3023         * math/e_jnl.c: Likewise.
3024         * math/e_lgammal_r.c: Likewise.
3025         * math/e_log10l.c: Likewise.
3026         * math/e_log2l.c: Likewise.
3027         * math/e_logl.c: Likewise.
3028         * math/e_powl.c: Likewise.
3029         * math/e_sinhl.c: Likewise.
3030         * math/e_sqrtl.c: Likewise.
3031         * math/e_scalb.c: Completely rewritten and optimized.
3032         * math/e_scalbf.c: Likewise.
3033         * math/e_scalbl.c: Likewise.
3034         * math/w_acos.c: Likewise.
3035         * math/w_acosf.c: Likewise.
3036         * math/w_acosl.c: Likewise.
3037         * math/w_acosh.c: Likewise.
3038         * math/w_acoshf.c: Likewise.
3039         * math/w_acoshl.c: Likewise.
3040         * math/w_asin.c: Likewise.
3041         * math/w_asinf.c: Likewise.
3042         * math/w_asinl.c: Likewise.
3043         * math/w_atan2.c: Likewise.
3044         * math/w_atan2f.c: Likewise.
3045         * math/w_atan2l.c: Likewise.
3046         * math/w_atanh.c: Likewise.
3047         * math/w_atanhf.c: Likewise.
3048         * math/w_atanhl.c: Likewise.
3049         * math/w_exp10.c: Likewise.
3050         * math/w_exp10f.c: Likewise.
3051         * math/w_exp10l.c: Likewise.
3052         * math/w_fmod.c: Likewise.
3053         * math/w_fmodf.c: Likewise.
3054         * math/w_fmodl.c: Likewise.
3055         * math/w_j0.c: Likewise.
3056         * math/w_j0f.c: Likewise.
3057         * math/w_j0l.c: Likewise.
3058         * math/w_j1.c: Likewise.
3059         * math/w_j1f.c: Likewise.
3060         * math/w_j1l.c: Likewise.
3061         * math/w_jn.c: Likewise.
3062         * math/w_jnf.c: Likewise.
3063         * math/w_log.c: Likewise.
3064         * math/w_logf.c: Likewise.
3065         * math/w_logl.c: Likewise.
3066         * math/w_log10.c: Likewise.
3067         * math/w_log10f.c: Likewise.
3068         * math/w_log10l.c: Likewise.
3069         * math/w_log2.c: Likewise.
3070         * math/w_log2f.c: Likewise.
3071         * math/w_log2l.c: Likewise.
3072         * math/w_pow.c: Likewise.
3073         * math/w_powf.c: Likewise.
3074         * math/w_powl.c: Likewise.
3075         * math/w_remainder.c: Likewise.
3076         * math/w_remainderf.c: Likewise.
3077         * math/w_remainderl.c: Likewise.
3078         * math/w_scalb.c: Likewise.
3079         * math/w_scalbf.c: Likewise.
3080         * math/w_scalbl.c: Likewise.
3081         * math/w_sqrt.c: Likewise.
3082         * math/w_sqrtf.c: Likewise.
3083         * math/w_sqrtl.c: Likewise.
3084         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3085         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
3086         used.
3087         * math/math_private.h: Declare __kernel_standard_f.
3088         * math/w_cosh.c: Remove cruft and optimize a bit.
3089         * math/w_coshf.c: Likewise.
3090         * math/w_coshl.c: Likewise.
3091         * math/w_exp2.c: Likewise.
3092         * math/w_exp2f.c: Likewise.
3093         * math/w_exp2l.c: Likewise.
3094         * math/w_hypot.c: Likewise.
3095         * math/w_hypotf.c: Likewise.
3096         * math/w_hypotl.c: Likewise.
3097         * math/w_lgamma.c: Likewise.
3098         * math/w_lgamma_r.c: Likewise.
3099         * math/w_lgammaf.c: Likewise.
3100         * math/w_lgammaf_r.c: Likewise.
3101         * math/w_lgammal.c: Likewise.
3102         * math/w_lgammal_r.c: Likewise.
3103         * math/w_sinh.c: Likewise.
3104         * math/w_sinhf.c: Likewise.
3105         * math/w_sinhl.c: Likewise.
3106         * math/w_tgamma.c: Likewise.
3107         * math/w_tgammaf.c: Likewise.
3108         * math/w_tgammal.c: Likewise.
3109         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3110         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3111         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3112         Minor optimizations.  Pretty printing.  Remove cruft.
3113         * sysdeps/i386/fpu/e_acosf.S: Likewise.
3114         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3115         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3116         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3117         * sysdeps/i386/fpu/e_acosl.c: Likewise.
3118         * sysdeps/i386/fpu/e_asin.S: Likewise.
3119         * sysdeps/i386/fpu/e_asinf.S: Likewise.
3120         * sysdeps/i386/fpu/e_atan2.S: Likewise.
3121         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3122         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3123         * sysdeps/i386/fpu/e_atanh.S: Likewise.
3124         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3125         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3126         * sysdeps/i386/fpu/e_exp10.S: Likewise.
3127         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3128         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3129         * sysdeps/i386/fpu/e_exp2.S: Likewise.
3130         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3131         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3132         * sysdeps/i386/fpu/e_fmod.S: Likewise.
3133         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3134         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3135         * sysdeps/i386/fpu/e_hypot.S: Likewise.
3136         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3137         * sysdeps/i386/fpu/e_log.S: Likewise.
3138         * sysdeps/i386/fpu/e_log10.S: Likewise.
3139         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3140         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3141         * sysdeps/i386/fpu/e_log2.S: Likewise.
3142         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3143         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3144         * sysdeps/i386/fpu/e_logf.S: Likewise.
3145         * sysdeps/i386/fpu/e_logl.S: Likewise.
3146         * sysdeps/i386/fpu/e_pow.S: Likewise.
3147         * sysdeps/i386/fpu/e_powf.S: Likewise.
3148         * sysdeps/i386/fpu/e_powl.S: Likewise.
3149         * sysdeps/i386/fpu/e_remainder.S: Likewise.
3150         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3151         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3152         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3153         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3154         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3155         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3156         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3157         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3158         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3159         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3161         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3162         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3163         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3164         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3165         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3166         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3167         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3168         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3169         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3170         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3171         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3172         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3173         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3174         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3175         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3178         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3179         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3180         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3181         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3182         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3183         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3184         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3185         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3186         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3187         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3188         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3189         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3190         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3191         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3192         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3193         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3194         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3195         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3196         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3197         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3198         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3199         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3200         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3201         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3202         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3203         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3204         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3205         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3206         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3207         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3208         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3209         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3210         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3211         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3212         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3213         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3214         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3215         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3216         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3217         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3218         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3219         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3222         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3223         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3224         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3225         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3226         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3227         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3228         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3229         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3230         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3232         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3233         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3234         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3235         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3236         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3237         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3238         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3239         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3240         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3241         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3242         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3243         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3244         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3245         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3246         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3247         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3248         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3249         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3250         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3251         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3252         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3253         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3254         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3255         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3256         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3257         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3258         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3259         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3260         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3261         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3262         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3263         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3264         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3265         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3266         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3267         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3268         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
3269         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3270         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3271         (__isnanf): Likewise.
3272         (__isinf_ns): Likewise.
3273         (__isinf_nsf): Likewise.
3274         (__finite): Likewise.
3275         (__finitef): Likewise.
3276         (__ieee754_sqrt): Define as macro.
3277         (__ieee754_sqrtf): Define as macro.
3278         (__ieee754_sqrtl): Define as macro.
3279         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3280         inlined copy.
3281         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3282         __FINITE_MATH_ONLY__ consistent.
3283         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3285 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
3287         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3288         of rawmemchr.
3290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3292 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
3294         * po/ja.po: Update from translation team.
3296 2011-10-08  Roland McGrath  <roland@hack.frob.com>
3298         * locale/programs/locarchive.c (prepare_address_space): New function.
3299         (create_archive, enlarge_archive, open_archive): Use it.
3301         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3302         inside [SHARED], where it is used.
3304         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3306         * nss/getent.c (netgroup_keys): Remove unused variable.
3307         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3309 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
3311         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3312         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3314         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3315         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3316         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3317         * math/Makefile (libm-calls): Add s_isinf_ns.
3318         * math/divtc3.c: Use __isinf_nsl instead of isinf.
3319         * math/multc3.c: Likewise.
3320         * math/s_casin.c: Likewise.
3321         * math/s_casinf.c: Likewise.
3322         * math/s_casinl.c: Likewise.
3323         * math/s_ccos.c: Likewise.
3324         * math/s_ccosf.c: Likewise.
3325         * math/s_ccosl.c: Likewise.
3326         * math/s_ctan.c: Likewise.
3327         * math/s_ctanf.c: Likewise.
3328         * math/s_ctanh.c: Likewise.
3329         * math/s_ctanhf.c: Likewise.
3330         * math/s_ctanhl.c: Likewise.
3331         * math/s_ctanl.c: Likewise.
3332         * math/w_fmod.c: Likewise.
3333         * math/w_fmodf.c: Likewise.
3334         * math/w_fmodl.c: Likewise.
3335         * math/w_remainder.c: Likewise.
3336         * math/w_remainderf.c: Likewise.
3337         * math/w_remainderl.c: Likewise.
3338         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3339         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3340         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3341         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3342         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3343         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3344         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3345         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3347         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3348         of the number.
3349         * stdio-common/printf_fphex.c: Likewise.
3350         * stdio-common/printf_size.c: Likewise.
3352         * math/e_exp10.c: Include math_private.h using <...> not "...".
3353         * math/e_exp10f.c: Likewise.
3354         * math/e_exp10l.c: Likewise.
3355         * math/e_exp2l.c: Likewise.
3356         * math/e_j0l.c: Likewise.
3357         * math/e_j1l.c: Likewise.
3358         * math/e_jnl.c: Likewise.
3359         * math/e_lgammal_r.c: Likewise.
3360         * math/e_rem_pio2l.c: Likewise.
3361         * math/e_scalb.c: Likewise.
3362         * math/e_scalbf.c: Likewise.
3363         * math/e_scalbl.c: Likewise.
3364         * math/k_cosl.c: Likewise.
3365         * math/k_sinl.c: Likewise.
3366         * math/k_tanl.c: Likewise.
3367         * math/s_cacoshf.c: Likewise.
3368         * math/s_catan.c: Likewise.
3369         * math/s_catanf.c: Likewise.
3370         * math/s_catanh.c: Likewise.
3371         * math/s_catanhf.c: Likewise.
3372         * math/s_catanhl.c: Likewise.
3373         * math/s_catanl.c: Likewise.
3374         * math/s_ccosh.c: Likewise.
3375         * math/s_ccoshf.c: Likewise.
3376         * math/s_ccoshl.c: Likewise.
3377         * math/s_cexp.c: Likewise.
3378         * math/s_cexpf.c: Likewise.
3379         * math/s_cexpl.c: Likewise.
3380         * math/s_clog.c: Likewise.
3381         * math/s_clog10.c: Likewise.
3382         * math/s_clog10f.c: Likewise.
3383         * math/s_clog10l.c: Likewise.
3384         * math/s_clogf.c: Likewise.
3385         * math/s_clogl.c: Likewise.
3386         * math/s_csin.c: Likewise.
3387         * math/s_csinf.c: Likewise.
3388         * math/s_csinh.c: Likewise.
3389         * math/s_csinhf.c: Likewise.
3390         * math/s_csinhl.c: Likewise.
3391         * math/s_csinl.c: Likewise.
3392         * math/s_csqrt.c: Likewise.
3393         * math/s_csqrtf.c: Likewise.
3394         * math/s_csqrtl.c: Likewise.
3395         * math/s_ctan.c: Likewise.
3396         * math/s_ctanf.c: Likewise.
3397         * math/s_ctanh.c: Likewise.
3398         * math/s_ctanhf.c: Likewise.
3399         * math/s_ctanhl.c: Likewise.
3400         * math/s_ctanl.c: Likewise.
3401         * math/s_ldexp.c: Likewise.
3402         * math/s_ldexpf.c: Likewise.
3403         * math/s_ldexpl.c: Likewise.
3404         * math/s_significand.c: Likewise.
3405         * math/s_significandf.c: Likewise.
3406         * math/s_significandl.c: Likewise.
3407         * math/w_acos.c: Likewise.
3408         * math/w_acosf.c: Likewise.
3409         * math/w_acosh.c: Likewise.
3410         * math/w_acoshf.c: Likewise.
3411         * math/w_acoshl.c: Likewise.
3412         * math/w_acosl.c: Likewise.
3413         * math/w_asin.c: Likewise.
3414         * math/w_asinf.c: Likewise.
3415         * math/w_asinl.c: Likewise.
3416         * math/w_atan2.c: Likewise.
3417         * math/w_atan2f.c: Likewise.
3418         * math/w_atan2l.c: Likewise.
3419         * math/w_atanh.c: Likewise.
3420         * math/w_atanhf.c: Likewise.
3421         * math/w_atanhl.c: Likewise.
3422         * math/w_cosh.c: Likewise.
3423         * math/w_coshf.c: Likewise.
3424         * math/w_coshl.c: Likewise.
3425         * math/w_dremf.c: Likewise.
3426         * math/w_exp10.c: Likewise.
3427         * math/w_exp10f.c: Likewise.
3428         * math/w_exp10l.c: Likewise.
3429         * math/w_exp2.c: Likewise.
3430         * math/w_exp2f.c: Likewise.
3431         * math/w_fmod.c: Likewise.
3432         * math/w_fmodf.c: Likewise.
3433         * math/w_fmodl.c: Likewise.
3434         * math/w_hypot.c: Likewise.
3435         * math/w_hypotf.c: Likewise.
3436         * math/w_hypotl.c: Likewise.
3437         * math/w_j0.c: Likewise.
3438         * math/w_j0f.c: Likewise.
3439         * math/w_j0l.c: Likewise.
3440         * math/w_j1.c: Likewise.
3441         * math/w_j1f.c: Likewise.
3442         * math/w_j1l.c: Likewise.
3443         * math/w_jn.c: Likewise.
3444         * math/w_jnf.c: Likewise.
3445         * math/w_jnl.c: Likewise.
3446         * math/w_lgamma.c: Likewise.
3447         * math/w_lgamma_r.c: Likewise.
3448         * math/w_lgammaf.c: Likewise.
3449         * math/w_lgammaf_r.c: Likewise.
3450         * math/w_lgammal.c: Likewise.
3451         * math/w_lgammal_r.c: Likewise.
3452         * math/w_log.c: Likewise.
3453         * math/w_log10.c: Likewise.
3454         * math/w_log10f.c: Likewise.
3455         * math/w_log10l.c: Likewise.
3456         * math/w_log2.c: Likewise.
3457         * math/w_log2f.c: Likewise.
3458         * math/w_log2l.c: Likewise.
3459         * math/w_logf.c: Likewise.
3460         * math/w_logl.c: Likewise.
3461         * math/w_pow.c: Likewise.
3462         * math/w_powf.c: Likewise.
3463         * math/w_powl.c: Likewise.
3464         * math/w_remainder.c: Likewise.
3465         * math/w_remainderf.c: Likewise.
3466         * math/w_remainderl.c: Likewise.
3467         * math/w_scalb.c: Likewise.
3468         * math/w_scalbf.c: Likewise.
3469         * math/w_scalbl.c: Likewise.
3470         * math/w_sinh.c: Likewise.
3471         * math/w_sinhf.c: Likewise.
3472         * math/w_sinhl.c: Likewise.
3473         * math/w_sqrt.c: Likewise.
3474         * math/w_sqrtf.c: Likewise.
3475         * math/w_sqrtl.c: Likewise.
3476         * math/w_tgamma.c: Likewise.
3477         * math/w_tgammaf.c: Likewise.
3478         * math/w_tgammal.c: Likewise.
3480         * po/ja.po: Update from translation team.
3482 2011-09-29  Andreas Jaeger  <aj@suse.de>
3484         [BZ #13179]
3485         * sunrpc/netname.c (netname2host): Fix logic.
3487         [BZ #6779]
3488         [BZ #6783]
3489         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3490         correctly.
3491         * math/w_remainder.c (__remainder): Likewise.
3492         * math/w_remainderf.c (__remainderf): Likewise.
3493         * math/libm-test.inc (remainder_test): Add test cases.
3495 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3497         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
3498         sdiv_qrnnd.
3500 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
3502         * string/test-memcmp.c: Avoid unncessary #defines.
3503         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3505 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3507         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3508         Use new sse2 version for core i3 - i7 as it's faster
3509         than sse42 version.
3510         (bit_Prefer_PMINUB_for_stringop): New.
3511         * sysdeps/x86_64/rawmemchr.S: Update.
3512         Replace with faster SSE2 version.
3513         * sysdeps/x86_64/memrchr.S: New file.
3514         * sysdeps/x86_64/memchr.S: Update.
3515         Replace with faster SSE2 version.
3517 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
3519         * elf/dl-load.c (lose): Add cast to avoid warning.
3521 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
3523         * po/ca.po: Update from translation team.
3525         * inet/getnetgrent_r.c: Hook up nscd.
3526         * nscd/Makefile (routines): Add nscd_netgroup.
3527         (nscd-modules): Add netgroupcache.
3528         (CFLAGS-netgroupcache.c): Define.
3529         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3530         (cache_search): Add const to second parameter.
3531         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3532         INNETGR.
3533         (dbs): Add netgrdb entry.
3534         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3535         (verify_persistent_db): Handle netgrdb.
3536         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3537         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3538         GETFDNETGR.
3539         (netgroup_response_header): Define.
3540         (innetgroup_response_header): Define.
3541         (datahead): Add netgroup_response_header and innetgroup_response_header
3542         elements.
3543         * nscd/nscd.conf: Add entries for netgroup cache.
3544         * nscd/nscd.h (dbtype): Add netgrdb.
3545         (_PATH_NSCD_NETGROUP_DB): Define.
3546         (netgroup_iov_disabled): Declare.
3547         (xmalloc, xcalloc, xrealloc): Move declarations here.
3548         (cache_search): Adjust prototype.
3549         Add netgroup-related prototypes.
3550         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3551         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3552         (__nscd_innetgr): Declare.
3553         * nscd/selinux.c (perms): Use access_vector_t as element type and
3554         add netgroup-related initializers.
3555         * nscd/netgroupcache.c: New file.
3556         * nscd/nscd_netgroup.c: New file.
3557         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3558         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3559         For four parameters use innetgr.
3560         * nss/nss_files/files-init.c: Add definition and callback for netgr.
3561         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3562         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3563         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3565         * nscd/connections.c (register_traced_file): Don't register file
3566         for disabled databases.
3568 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
3570         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3572         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3573         from tree and freeing node.
3575 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
3577         * nss/nsswitch.c (__nss_database_lookup): Handle
3578         nss_parse_service_list out of memory case.
3580 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
3582         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3583         out of memory case.
3585 2011-10-04  Andreas Schwab  <schwab@redhat.com>
3587         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3588         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3589         pass it down.
3590         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3591         elf_machine_rela, elf_machine_lazy_rel.
3592         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3593         (ELF_DYNAMIC_DO_REL): Likewise.
3594         (ELF_DYNAMIC_DO_RELA): Likewise.
3595         (ELF_DYNAMIC_RELOCATE): Likewise.
3596         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3597         to ELF_DYNAMIC_DO_REL.
3598         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3599         (dl_main): In trace mode always set __RTLD_NOIFUNC.
3600         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3601         elf_machine_rela.
3602         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3603         skip_ifunc, don't call ifunc function if non-zero.
3604         (elf_machine_rela): Likewise.
3605         (elf_machine_lazy_rel): Likewise.
3606         (elf_machine_lazy_rela): Likewise.
3607         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3608         (elf_machine_lazy_rel): Likewise.
3609         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3610         Likewise.
3611         (elf_machine_lazy_rel): Likewise.
3612         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3613         Likewise.
3614         (elf_machine_lazy_rel): Likewise.
3615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3616         (elf_machine_lazy_rel): Likewise.
3617         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3618         (elf_machine_lazy_rel): Likewise.
3619         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3620         (elf_machine_lazy_rel): Likewise.
3621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3622         (elf_machine_lazy_rel): Likewise.
3623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3624         (elf_machine_lazy_rel): Likewise.
3625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3626         (elf_machine_lazy_rel): Likewise.
3628 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
3630         * nss/nss_files/files-init.c (_nss_files_init): Use static
3631         initialization for all the *_traced_file variables.
3633 2011-09-28  Andreas Schwab  <schwab@redhat.com>
3635         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3637 2011-09-27  Roland McGrath  <roland@hack.frob.com>
3639         [BZ #13226]
3640         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3642 2011-09-27  Andreas Schwab  <schwab@redhat.com>
3644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3645         Reread the line before reparsing it.
3647 2011-09-26  Andreas Schwab  <schwab@redhat.com>
3649         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3651 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
3652             Maxim Kuvyrkov  <maxim@codesourcery.com>
3653             Joseph Myers  <joseph@codesourcery.com>
3655         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3656         if needed for __stack_chk_guard.
3658 2011-09-19  Roland McGrath  <roland@hack.frob.com>
3660         * sysdeps/posix/spawni.c (script_execute): Always define it.
3661         It will be optimized away if unused.
3662         (maybe_script_execute): New function.
3663         (__spawni): Call it.
3665         * Makerules: Don't include tls.make.
3666         (config-tls): Always set to thread.
3667         * tls.make.c: File removed.
3669 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
3671         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
3672         * config.make.in (CPPFLAGS-config): New substituted variable.
3674 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
3676         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
3678         [BZ #13192]
3679         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
3680         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
3682 2011-09-15  Roland McGrath  <roland@hack.frob.com>
3684         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
3685         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
3686         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3687         (CALL_FAIL): Likewise.
3688         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
3689         (CALL_FAIL): Macro removed.
3690         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
3692 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
3694         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3695         for __FINITE_MATH_ONLY__ == 1.
3697 2011-09-15  Andreas Schwab  <schwab@redhat.com>
3699         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3700         __ieee754_sqrt instead of sqrt.
3701         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3702         __ieee754_sqrtf instead of sqrtf.
3703         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3704         __floorf instead of floorf.
3705         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3706         __floorf, __truncf instead of floorf, truncf.
3708 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
3710         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3712         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3713         __extern_always_inline.
3714         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3715         32-bit.
3717 2011-09-14  Andreas Schwab  <schwab@redhat.com>
3719         * elf/rtld.c (dl_main): Also relocate in dependency order when
3720         doing symbol dependency testing.
3722 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
3724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3725         Always define `refsym'.
3727 2011-09-13  Andreas Schwab  <schwab@redhat.com>
3729         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3730         (__FD_ELT): Renamed from __FDELT.
3731         * misc/bits/select2.h (__FD_ELT): Likewise.
3732         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3733         __FD_MASK instead of __FDELT, __FDMASK.
3734         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3735         Likewise.
3736         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3737         Likewise.
3739         * elf/Makefile (gen-ldd): Fix pattern.
3741         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3742         (init_tls): Likewise.
3744 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
3746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3748 2011-09-12  Andreas Schwab  <schwab@redhat.com>
3750         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3751         `struct cmsghdr *' instead of `void *'.
3752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3753         Likewise.
3755 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
3757         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3758         if non-absolute.
3759         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3760         ldd_rewrite_script.
3762 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
3764         * configure.in: Remove --with-tls option.
3765         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3766         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3767         out in case it is missing.
3768         * sysdeps/ia64/elf/configure.in: Likewise.
3769         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3770         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3771         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3772         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3773         * sysdeps/sh/elf/configure.in: Likewise.
3774         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3775         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3776         * sysdeps/x86_64/elf/configure.in: Likewise.
3777         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3778         * sysdeps/mach/hurd/tls.h: Likewise.
3780         [BZ #13067]
3781         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3783         [BZ #13090]
3784         * configure.in: Fix use of AC_INIT.
3786         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3788 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
3790         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3791         __set_errno.
3792         * malloc/hooks.c: Likewise.
3794         [BZ #11929]
3795         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
3796         variables statically.
3797         (narenas): Initialize.
3798         (list_lock): Initialize.
3799         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
3800         initializtion of main_arena and list_lock.  Small cleanups.
3801         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3802         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
3803         Add initializers to main_arena and mp_.
3804         (malloc_state): Remove pagesize member.  Change all users to use
3805         GLRO(dl_pagesize).
3807         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3808         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
3809         is always initialized.
3811         * malloc/malloc.c: Removed unused configurations and dead code.
3812         * malloc/arena.c: Likewise.
3813         * malloc/hooks.c: Likewise.
3814         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
3816         * include/tls.h: Removed.  USE___THREAD must always be defined.
3817         * bits/libc-tsd.h: Don't handle !USE___THREAD.
3818         * elf/dl-libc.c: Likewise.
3819         * elf/dl-tsd.c: Likewise.
3820         * include/errno.h: Likewise.
3821         * include/netdb.h: Likewise.
3822         * include/resolv.h: Likewise.
3823         * inet/herrno-loc.c: Likewise.
3824         * inet/herrno.c: Likewise.
3825         * malloc/arena.c: Likewise.
3826         * malloc/hooks.c: Likewise.
3827         * malloc/malloc.c: Likewise.
3828         * resolv/res-state.c: Likewise.
3829         * resolv/res_libc.c: Likewise.
3830         * sysdeps/i386/dl-machine.h: Likewise.
3831         * sysdeps/ia64/dl-machine.h: Likewise.
3832         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3834         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3835         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3836         * sysdeps/sh/dl-machine.h: Likewise.
3837         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3838         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3839         * sysdeps/unix/i386/sysdep.S: Likewise.
3840         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3841         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3845         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3846         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3850         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3851         * sysdeps/x86_64/dl-machine.h: Likewise.
3852         * tls.make.c: Likewise.
3854         * configure.in: Remove --with-__thread option.  Make tests for
3855         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3856         tls_model attribute fail if no support is available.  Remove
3857         USE_IN_LIBIO.
3858         * Makeconfig: Adjust for dropped configure option.  All features are
3859         now mandatory.
3860         * Makerules: Likewise.
3861         * Versions.def: Likewise.
3862         * argp/argp-fmtstream.c: Likewise.
3863         * argp/argp-fmtstream.h: Likewise.
3864         * argp/argp-help.c: Likewise.
3865         * assert/assert.c: Likewise.
3866         * config.h.in: Likewise.
3867         * config.make.in: Likewise.
3868         * configure: Likewise.
3869         * configure.in: Likewise.
3870         * csu/Versions: Likewise.
3871         * csu/init.c: Likewise.
3872         * elf/tst-audit2.c: Likewise.
3873         * elf/tst-tls10.c: Likewise.
3874         * elf/tst-tls10.h: Likewise.
3875         * elf/tst-tls11.c: Likewise.
3876         * elf/tst-tls12.c: Likewise.
3877         * elf/tst-tls14.c: Likewise.
3878         * elf/tst-tlsmod11.c: Likewise.
3879         * elf/tst-tlsmod12.c: Likewise.
3880         * elf/tst-tlsmod13.c: Likewise.
3881         * elf/tst-tlsmod13a.c: Likewise.
3882         * elf/tst-tlsmod14a.c: Likewise.
3883         * elf/tst-tlsmod15b.c: Likewise.
3884         * elf/tst-tlsmod16a.c: Likewise.
3885         * elf/tst-tlsmod16b.c: Likewise.
3886         * elf/tst-tlsmod7.c: Likewise.
3887         * elf/tst-tlsmod8.c: Likewise.
3888         * elf/tst-tlsmod9.c: Likewise.
3889         * gmon/gmon.c: Likewise.
3890         * grp/fgetgrent_r.c: Likewise.
3891         * grp/putgrent.c: Likewise.
3892         * hurd/fopenport.c: Likewise.
3893         * include/libc-symbols.h: Likewise.
3894         * include/tls.h: Likewise.
3895         * intl/gettextP.h: Likewise.
3896         * intl/loadinfo.h: Likewise.
3897         * locale/global-locale.c: Likewise.
3898         * locale/localeinfo.h: Likewise.
3899         * mach/devstream.c: Likewise.
3900         * malloc/arena.c: Likewise.
3901         * malloc/set-freeres.c: Likewise.
3902         * misc/err.c: Likewise.
3903         * misc/getttyent.c: Likewise.
3904         * misc/mntent_r.c: Likewise.
3905         * posix/getopt.c: Likewise.
3906         * posix/wordexp.c: Likewise.
3907         * pwd/fgetpwent_r.c: Likewise.
3908         * resolv/Versions: Likewise.
3909         * resolv/res_hconf.c: Likewise.
3910         * shadow/fgetspent_r.c: Likewise.
3911         * shadow/putspent.c: Likewise.
3912         * stdio-common/printf_fphex.c: Likewise.
3913         * stdio-common/tmpfile.c: Likewise.
3914         * stdlib/abort.c: Likewise.
3915         * stdlib/fmtmsg.c: Likewise.
3916         * sunrpc/auth_unix.c: Likewise.
3917         * sunrpc/clnt_perr.c: Likewise.
3918         * sunrpc/clnt_tcp.c: Likewise.
3919         * sunrpc/clnt_udp.c: Likewise.
3920         * sunrpc/clnt_unix.c: Likewise.
3921         * sunrpc/openchild.c: Likewise.
3922         * sunrpc/svc_simple.c: Likewise.
3923         * sunrpc/svc_tcp.c: Likewise.
3924         * sunrpc/svc_udp.c: Likewise.
3925         * sunrpc/svc_unix.c: Likewise.
3926         * sunrpc/xdr.c: Likewise.
3927         * sunrpc/xdr_array.c: Likewise.
3928         * sunrpc/xdr_rec.c: Likewise.
3929         * sunrpc/xdr_ref.c: Likewise.
3930         * sunrpc/xdr_stdio.c: Likewise.
3932 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
3934         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3936 2011-07-03  Andreas Jaeger  <aj@suse.de>
3938         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3939         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3940         regenerate with gen-libm-tests.pl.
3942 2010-05-12  Petr Baudis  <pasky@suse.cz>
3944         [BZ #11589]
3945         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3946         around j0() zero points by switching to j1().
3947         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3948         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3952 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
3954         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3955         instead of 0.
3956         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3957         instead of 0.                              .
3958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3959         Patch in part by Pavel Roskin <proski@gnu.org>.
3961         [BZ #13138]
3962         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3963         realloc.
3964         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
3965         Free memory block if necessary.
3967         [BZ #12847]
3968         * libio/genops.c (INTDEF): For string streams the _lock pointer can
3969         be NULL.  Don't lock in this case.
3971 2011-09-09  Roland McGrath  <roland@hack.frob.com>
3973         * elf/elf.h (ELFOSABI_GNU): New macro.
3974         (ELFOSABI_LINUX): Define to that.
3976 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
3978         * string/strncat.c (strncat): Undef the symbol in case it has been
3979         defined in bits/string.h.
3981 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
3983         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3985         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
3986         link map.
3988 2011-08-17  Andreas Jaeger  <aj@suse.de>
3990         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3992 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3993             Ian Lance Taylor  <iant@google.com>
3995         * math/libm-test.inc (lround_test): New testcase.
3996         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3998 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
4000         * Makefile: Remove support for automatic cvs check-ins.
4001         * Makerules: Likewise.
4002         * config.make.in: Likewise.
4003         * configure.in: Likewise.
4004         * intl/Makefile: Likewise.
4005         * locale/Makefile: Likewise.
4006         * po/Makefile: Likewise.
4007         * posix/Makefile: Likewise.
4008         * sysdeps/gnu/Makefile: Likewise.
4009         * sysdeps/mach/hurd/Makefile: Likewise.
4010         * sysdeps/sparc/sparc32/Makefile: Likewise.
4012         [BZ #13118]
4013         * posix/Makefile (bug-regex32-ENV): Define.
4014         Patch by John Stanley <jpsinthemix@verizon.net>.
4016         * misc/Makefile (headers): Add bits/select2.h.
4017         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4018         * misc/bits/select2.h: New file.
4019         * include/bits/select2.h: New file.
4020         * debug/Makefile (routines): Add fdelt_chk.
4021         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4022         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4023         FD_ISSET.
4024         * debug/fdelt_chk.c: New file.
4026         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
4027         * wcsmbs/test-wmemcmp.c: Likewise.
4028         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4029         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4031 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4033         * string/Makefile (strop-tests): Add memcmp.
4034         * string/test-wmemcmp.c: New file.
4035         * string/test-memcmp.c: Add wmemcmp support.
4037 2011-09-08  Roland McGrath  <roland@hack.frob.com>
4039         [BZ #13153]
4040         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4041         2011-07-19 change.
4043         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4044         garbage value in a __mach_port_mod_refs call in the cases of the
4045         task-self and thread-self ports.
4047 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4049         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4051 2011-09-08  Andreas Schwab  <schwab@redhat.com>
4053         * elf/dl-load.c (lose): Check for non-null L.
4055 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
4057         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4059         * elf/dl-libc.c (dlerror_run): Pass back error code from
4060         dl_catch_error.
4062         [BZ #13123]
4063         * elf/dl-load.c (lose): Free l_origin if it is valid.
4065         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4066         names.
4067         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4068         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4069         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4071         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4072         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4074 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4076         * sysdeps/powerpc/fpu/e_hypot.c: New file.
4077         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4078         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4079         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4080         * sysdeps/powerpc/fpu/k_cosf.c: New file.
4081         * sysdeps/powerpc/fpu/k_sinf.c: New file.
4082         * sysdeps/powerpc/fpu/s_cosf.c: New file.
4083         * sysdeps/powerpc/fpu/s_sinf.c: New file.
4084         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4085         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4087 2011-08-15  Alan Modra  <amodra@gmail.com>
4089         [BZ #13092]
4090         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4091         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4092         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
4093         ppc_mcount to static-only-routines.
4094         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4095         __mcount_internal.
4096         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4097         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
4099 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
4101         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4102         for finite and infinity parameters.
4104 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4107         and add nop instructions for throughput optimization.
4108         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4110 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
4112         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4113         aligned copy for power7 with vector-scalar instructions.
4114         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4116 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
4118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4119         AVX check.
4121 2011-09-07  Andreas Schwab  <schwab@redhat.com>
4123         [BZ #13144]
4124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4125         last change.
4127 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
4129         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4130         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4131         syscall wrapper around clock_gettime in __vdso_clock_gettime.
4132         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4133         clock_gettime.
4135 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
4137         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4138         Forgot to demangle the pointer.
4140         * sysdeps/i386/sysdep.h: Define atom_text_section.
4141         * sysdeps/x86_64/sysdep.h: Likewise.
4142         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4143         section with atom_text_section.
4144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4146         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4148         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4150         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4151         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4152         already be defined.  Change to take two parameters and don't assign
4153         result to variable.  Adjust all users.
4154         Define INTERNAL_GETTIME if not already defined.
4155         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4156         call.
4157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4158         HAVE_CLOCK_GETTIME_VSYSCALL.
4159         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4161         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4162         gettimeofday vsyscall, just use time.
4164 2011-09-06  Andreas Schwab  <schwab@redhat.com>
4166         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4167         <errno.h>.
4169 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
4171         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4172         syscall on x86-64.
4173         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4174         syscall.
4175         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4177         syscall if possible.
4179 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
4181         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4182         e_ident.  Don't pass to find_mapsXX.
4183         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4185 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4188         strchr-sse2-no-bsf strrchr-sse2-no-bsf
4189         * sysdeps/x86_64/multiarch/strchr.S: Update.
4190         Check bit_slow_BSF bit.
4191         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4192         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4193         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4195 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
4197         [BZ #13134]
4198         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4199         before glibc 2.15.
4200         (tryshell): Define.
4201         (__spawni): Change last parameter to be flag.  Test
4202         SPAWN_XFLAGS_USE_PATH flag to use path or not.
4203         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4204         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4205         * posix/spawni.c: Likewise.
4206         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4207         * posix/spawnp.c: Likewise.  Change normal version to use
4208         SPAWN_XFLAGS_USE_PATH.
4209         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4210         SPAWN_XFLAGS_TRY_SHELL.
4212         [BZ #13150]
4213         * posix/glob.h: Remove gcc 1.x support.
4215         [BZ #13068]
4216         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4218 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4221         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4222         strrchr-sse2-bsf
4223         * sysdeps/i386/i686/multiarch/strchr.S: New file.
4224         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4225         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4226         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4227         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4228         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4230 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4232         * sysdeps/x86_64/wcscmp.S: New file.
4234         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4235         wcscmp-c wcscmp-sse2
4236         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4237         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4238         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4239         * wcsmbs/wcscmp.c: Allow renaming.
4241 2011-09-05  David S. Miller  <davem@davemloft.net>
4243         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4244         stack slot, rather than the struct return pointer slot.
4245         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4246         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4248         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4250 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
4252         * po/ja.po: Update from translation team.
4254         [BZ #13144]
4255         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4256         kernel in 64-bit binaries.
4258 2011-09-01  David S. Miller  <davem@davemloft.net>
4260         * elf/elf.h (HWCAP_SPARC_*): Move to..
4261         * sysdeps/sparc/sysdep.h: this new file and add new values.
4262         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4263         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4264         _DL_HWCAP_COUNT to 24.
4265         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4266         entries.
4267         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4268         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4269         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4271         instead of magic constants.
4272         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4274 2011-08-31  David S. Miller  <davem@davemloft.net>
4276         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4277         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4278         Reimplement to do errno handling inline.
4279         (SYSCALL_ERROR_HANDLER): New macro.
4280         (__SYSCALL_STRING): Do not do errno handling in asm.
4281         (__CLONE_SYSCALL_STRING): Delete.
4282         (__INTERNAL_SYSCALL_STRING): Delete.
4283         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4284         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4285         (PSEUDO): Reimplement to do errno handling inline.
4286         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4287         (SYSCALL_ERROR_HANDLER): New macro.
4288         (__SYSCALL_STRING): Do not do errno handling in asm.
4289         (__CLONE_SYSCALL_STRING): Delete.
4290         (__INTERNAL_SYSCALL_STRING): Delete.
4291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4292         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4293         i386.
4294         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4295         (inline_syscall*): Add 'err' argument.
4296         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4297         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4298         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4299         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4301         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4302         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4304 2011-08-30  Andreas Schwab  <schwab@redhat.com>
4306         * elf/rtld.c (dl_main): Relocate objects in dependency order.
4308 2011-08-29  Jiri Olsa <jolsa@redhat.com>
4310         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4311         directive.
4313 2011-08-24  David S. Miller  <davem@davemloft.net>
4315         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4317 2011-08-24  Andreas Schwab  <schwab@redhat.com>
4319         * elf/Makefile: Add rules to build and run unload8 test.
4320         * elf/unload8.c: New file.
4321         * elf/unload8mod1.c: New file.
4322         * elf/unload8mod1x.c: New file.
4323         * elf/unload8mod2.c: New file.
4324         * elf/unload8mod3.c: New file.
4326         * elf/dl-close.c (_dl_close_worker): Reset private search list if
4327         it wasn't used.
4329 2011-08-23  David S. Miller  <davem@davemloft.net>
4331         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4332         subtract stack bias.
4333         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4334         %sp not %fp in calculations.
4335         (_JMPBUF_UNWINDS_ADJ): Likewise.
4337         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4338         (aio_suspend): Call it to force an exception region around the
4339         AIO_MISC_WAIT() invocation.
4341 2011-08-23  Andreas Schwab  <schwab@redhat.com>
4343         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4344         backslash.
4346 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
4348         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4349         protection macro.
4350         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4351         and <dl-machine.h>.
4352         (Elf64_FuncDesc): Remove.
4354 2011-08-22  David S. Miller  <davem@davemloft.net>
4356         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4357         sigaltstack check, add missing cfi directives.
4358         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4359         missing cfi directives, and sigaltstack handling.
4361 2011-08-16  Andreas Schwab  <schwab@redhat.com>
4363         [BZ #11724]
4364         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4365         object is seen twice.
4366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
4368         * elf/Makefile (distribute): Add tst-initorder2.c.
4369         (tests): Add tst-initorder2.
4370         (modules-names): Add tst-initorder2a tst-initorder2b
4371         tst-initorder2c tst-initorder2d.  Add rules to build them.
4372         ($(objpfx)tst-initorder2.out): New rule.
4373         * elf/tst-initorder2.c: New file.
4374         * elf/tst-initorder2.exp: New file.
4376 2011-08-22  Andreas Schwab  <schwab@redhat.com>
4378         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4380         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4381         dependencies back to end of function.
4383         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4384         $(elfobjdir)/ld.so.
4386 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
4388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4389         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4390         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4391         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4392         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4393         of __vdso_gettimeofday.
4394         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4395         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
4396         attribute_hidden.
4397         (_libc_vdso_platform_setup): Remove initialization of
4398         __vdso_gettimeofday and __vdso_time.
4400 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
4402         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4403         and fgetc_unlocked.
4404         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4405         getc_unlocked.
4407         * elf/dl-open.c (add_to_global): Report additions to the global scope
4408         for LD_DEBUG=scopes.
4409         (dl_open_worker): Also print scope of newly loaded dependencies.
4410         (_dl_show_scope): Indicate if there is no scope.
4412         [BZ #13114]
4413         * stdio-common/Makefile (tests): Add bug24.
4414         * stdio-common/bug24.c: New file.
4416 2011-08-19  Andreas Jaeger  <aj@suse.de>
4418         [BZ #13114]
4419         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4420         non-existant file when using close-on-exec mode.
4422 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
4424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4425         the very first instruction.
4427         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4428         the CFI state in the end.
4429         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4430         inclusion of dl-trampoline.h.
4431         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4433 2011-08-19  Andreas Schwab  <schwab@redhat.com>
4435         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4436         expectations for long double.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4439         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4441 2011-08-14  David S. Miller  <davem@davemloft.net>
4443         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4444         artificual limit depends upon the system page size.
4446 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
4448         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4449         * resolv/Makefile: Define CFLAGS-libresolv.
4451 2011-08-17  Andreas Schwab  <schwab@redhat.com>
4453         * nss/makedb.c (compute_tables): Make variables used in nested
4454         function static.
4456 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
4458         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4459         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4460         if buffer was too small.
4462         * elf/pldd.c (main): Attach to all threads in the process.
4463         Rewrite /proc handling to use *at functions.
4465 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
4467         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4468         specifies first scope to show.
4469         (dl_open_worker): Update callers.  Move printing scope of new
4470         object to before the relocation.
4471         * elf/rtld.c (dl_main): Update _dl_show_scope call.
4472         * sysdeps/generic/ldsodefs.h: Update declaration.
4474         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4475         string for the scope number.
4477 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
4479         * nscd/servicescache.c (cache_addserv): Make sure written is always
4480         initialized.
4482 2011-08-14  Roland McGrath  <roland@hack.frob.com>
4484         * sysdeps/i386/i486/bits/atomic.h
4485         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4486         statement expression, so as to suppress "set but not used" warning.
4487         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4489         * string/strncat.c (STRNCAT): Use prototype definition.
4491         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4492         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4493         -Iprograms here.
4494         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4495         (localedef-modules): Add localedef.
4496         (locale-modules): Add locale.
4498         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4499         * elf/rtld.c (dl_main): Invert order of assignment in last change,
4500         to avoid a warning.
4502 2011-08-14  David S. Miller  <davem@davemloft.net>
4504         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4505         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4507 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
4509         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
4510         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4511         * elf/rtld.c (dl_main): Set l_name of vDSO.
4512         Call _dl_show_scope when DL_DEBUG_SCOPES.
4513         (process_dl_debug): Recognize scopes flag and also set it for all.
4514         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4515         Declare _dl_show_scope.
4517         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4518         (do_dlopen): Pass caller_dlopen to dl_open.
4519         (__libc_dlopen_mode): Initialize caller_dlopen.
4521         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4522         of libc.  Make tolower call locale-independent.  Optimize a bit by
4523         using isdigit instead of isalnum.
4524         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4526 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
4528         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4529         was a dependency or dynamically loaded.
4531 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
4533         * intl/l10nflist.c: Allow architecture-specific pop function.
4534         * sysdeps/x86_64/l10nflist.c: New file.
4536         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4537         classification.
4539 2011-08-10  Andreas Schwab  <schwab@redhat.com>
4541         * include/dirent.h: Add libc_hidden_proto for scandirat and
4542         scandirat64.  Don't declare __scandirat64.
4543         * dirent/scandirat.c: Add libc_hidden_def.
4544         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4545         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4547 2011-08-10  David S. Miller  <davem@davemloft.net>
4549         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4550         enum.
4551         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4553         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4555 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
4557         * Versions.def [libc]: Add GLIBC_2.15.
4558         * dirent/Makefile (routines): Add scandirat and scandirat64.
4559         * dirent/Versions [libc]: Export scandirat and scandirat64 for
4560         GLIBC_2.15.
4561         * dirent/dirent.h: Declare scandirat and scandirat64.
4562         * dirent/scandirat.c: New file.
4563         * dirent/scandirat64.c: New file.
4564         * sysdeps/wordsize-64/scandirat.c: New file.
4565         * sysdeps/wordsize-64/scandirat64.c: New file.
4566         * dirent/opendir.c: Define opendirat.
4567         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
4568         using scandirat.
4569         * dirent/scandir64.c: Adjust for scandir.c change.
4570         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
4571         __scandirat64, and __scandir_cancel_handler.
4572         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
4573         additional parameter and use openat instead of open (outside of ld.so).
4574         Add new __opendir as wrapper around __opendirat.
4575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4576         here without requiring old scandirat implementation.
4578 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
4580         * dirent/scandir.c (cancel_handler): Renamed to
4581         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
4582         defined.  Adjust users.
4583         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4584         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4586 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
4588         * string/test-string.h (IMPL): Use __STRING to expand name and then
4589         stringify it.
4591         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
4592         of cleanups.
4594 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4596         * string/Makefile: Update.
4597         (strop-tests): Append strncat.
4598         * string/test-wcscmp.c: New file.
4599         New comprehensive test for wcscmp.
4600         * string/test-strcmp.c: Update.
4601         (WIDE): New define.
4603 2011-07-22  Andreas Schwab  <schwab@redhat.com>
4605         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4606         line.
4608 2011-07-26  Andreas Schwab  <schwab@redhat.com>
4610         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4611         encoding to ACE if AI_IDN.
4613 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
4615         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4616         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4618 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4621         Fix overflow bug in strncat.
4622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4624         * string/test-strncat.c: Update.
4625         Add new tests for checking overflow bugs.
4627 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4629         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4630         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4631         * sysdeps/i386/i686/multiarch/strcat.S: New file.
4632         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4633         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4634         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4635         * sysdeps/i386/i686/multiarch/strncat.S: New file.
4636         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4637         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4639         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4640         (USE_AS_STRCAT): Define.
4641         Add strcat and strncat support.
4642         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4644 2011-07-25  Andreas Schwab  <schwab@redhat.com>
4646         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4647         __n bigger than INT_MAX+1.
4648         (__strncmp_g): Likewise.
4650 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
4652         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4653         * libio/stido.h: Likewise.
4655         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4656         (AF_NFC): Define.
4657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4658         (AF_NFC): Define.
4660         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
4661         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4662         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4663         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4666         [BZ #13021]
4667         * scripts/test-installation.pl: Don't expect libnss_test1 to be
4668         installed.
4670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
4671         typo.
4672         (_dl_x86_64_save_sse): Likewise.
4674 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
4676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
4677         OSXSAVE.
4678         (_dl_x86_64_save_sse): Likewise.
4680         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
4682         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
4684 2011-07-21  Andreas Schwab  <schwab@redhat.com>
4686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
4687         change.
4688         (_dl_x86_64_save_sse): Use correct AVX check.
4690 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4692         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
4693         bug in strncpy/strncat.
4694         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4696 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
4698         * string/tester.c (test_strcat): Add tests for different alignments
4699         of source and destination.
4700         (test_strncat): Likewise.
4702 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
4704         [BZ #12852]
4705         * posix/glob.c (glob): Check passed in values before using them in
4706         expressions to avoid some overflows.
4707         (glob_in_dir): Likewise.
4709         [BZ #13007]
4710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4711         check for AVX enablement so that we don't crash with old kernels and
4712         new hardware.
4713         * elf/tst-audit4.c: Add same checks here.
4714         * elf/tst-audit6.c: Likewise.
4716         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
4718 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
4720         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4722 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
4724         * po/cs.po: Update from translation team.
4725         * po/bg.po: Likewise.
4727 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
4729         * misc/sys/cdefs.h: Add support for const attribute.
4730         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4731         to gnu_dev_{major,minor,makedev} functions.
4733 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
4735         * intl/dcigettext.c (get_output_charset): Add missing bracket.
4737 2011-07-20  Andreas Schwab  <schwab@redhat.com>
4739         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4740         strlen results.
4742 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4745         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4746         register in order to avoid conflicts with the soft frame pointer
4747         being held in r11 when necessary.
4748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4749         (INTERNAL_VSYSCALL_NCS): Likewise.
4751 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
4753         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4754         * elf/dl-fini.c (_dl_fini): Adjust caller.
4755         * elf/dl-close.c (_dl_close_worker): Likewise.
4756         * sysdeps/generic/ldsodefs.h: Adjust declaration.
4758 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
4760         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4761         "aux_cache->nlibs < 0".
4763         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4764         in the reload-count case.
4766 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4769         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4770         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4771         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4772         * sysdeps/x86_64/multiarch/strcat.S: New file.
4773         * sysdeps/x86_64/multiarch/strncat.S: New file.
4774         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4775         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4776         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4777         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4778         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4779         (USE_AS_STRCAT): Define.
4780         Add strcat and strncat support.
4781         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4782         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4783         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4784         * string/strncat.c: Update.
4785         (USE_AS_STRNCAT): Define.
4786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4787         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4788         and i7.
4789         * sysdeps/x86_64/multiarch/init-arch.h
4790         (bit_Prefer_PMINUB_for_stringop): New.
4791         (index_Prefer_PMINUB_for_stringop): Likewise.
4792         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4793         bit_Prefer_PMINUB_for_stringop.
4795 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
4797         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4798         buffer64.
4799         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4800         of casting of buffer.
4801         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4802         buffer32 and buffer64.
4803         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4804         writes instead of casting of buffer.
4805         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4806         buffer32.
4807         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4808         casting of buffer.
4810 2011-07-19  Andreas Schwab  <schwab@redhat.com>
4812         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4814 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
4816         * nscd/nscd.c (termination_handler): Don't do anything for a database
4817         if it has not yet been initialized.
4819 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
4821         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4823 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
4825         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4827 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
4829         * po/nl.po: Update from translation team.
4830         * po/sv.po: Likewise.
4832 2011-07-16  Roland McGrath  <roland@hack.frob.com>
4834         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4835         now disallowed by GCC.
4837         * configure.in (use-default-link): Default to yes if a test -shared
4838         link meets our qualifications.
4839         * configure: Regenerated.
4841         * config.make.in (output-format): New variable.
4842         * configure.in: Check for ld --print-output-format support.
4843         * configure: Regenerated.
4844         * Makerules ($(common-objpfx)format.lds)
4845         [$(output-format) != unknown]: Just use $(output-format),
4846         instead of the linker-script munging.
4848 2011-07-14  Roland McGrath  <roland@hack.frob.com>
4850         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4851         of $(common-objpfx)shlib.lds.
4852         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4854         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4855         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4857         * configure.in (-z relro check): Adjust test code to add a large
4858         writable data section after it.
4859         * configure: Regenerated.
4861 2011-07-11  Roland McGrath  <roland@hack.frob.com>
4863         * configure.in (-z relro check): Fix test code to make the variable
4864         truly const.
4865         * configure: Regenerated.
4867 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
4869         * nscd/nscd.h (struct traced_file): Define.
4870         (struct database_dyn): Remove inotify_descr, reset_res, and filename
4871         elements.  Add traced_files.
4872         (inotify_fd): Declare.
4873         (register_traced_file): Declare.
4874         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4875         (inotify_fd): Export.
4876         (resolv_conf_descr): Remove.
4877         (nscd_init): Move inotify descriptor creation to main.
4878         Don't register files for notification here.
4879         (register_traced_file): New function.
4880         (invalidate_cache): Don't use reset_res to determine whether to call
4881         res_init, go through the list of registered files.
4882         (main_loop_poll): The inotify descriptors are now stored in the
4883         structures for the traced files.
4884         (main_loop_epoll): Likewise
4885         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
4886         to __nss_disable_nscd.
4887         * nscd/cache.c (prune_cache): There is no single inotify descriptor
4888         for a database anymore.  Check the records for all the registered
4889         files instead.
4890         * nss/Makefile (libnss_files-routines): Add files-init.
4891         (libnss_db-routines): Add db-init.
4892         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4893         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4894         * nss/nss_db/db-init.c: New file.
4895         * nss/nss_files/files-init.c: New file.
4896         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
4897         __nss_lookup_function.
4898         (__nss_lookup_function): Call nss_load_library.
4899         (nss_load_all_libraries): New function.
4900         (__nss_disable_nscd): Take parameter with callback function for files
4901         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
4902         used for the cached services.
4903         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4904         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4905         options for features to all the files in nscd.
4907         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4909 2011-07-10  Roland McGrath  <roland@hack.frob.com>
4911         * csu/elf-init.c (__libc_csu_init): Comment typo.
4913 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
4915         * po/pl.po: Update from translation team.
4916         * po/ja.po: Likewise.
4917         * po/ru.po: Likewise.
4918         * po/ko.po: Likewise.
4919         * po/fr.po: Likewise.
4921 2011-07-09  Roland McGrath  <roland@hack.frob.com>
4923         * configure.in (.ctors/.dtors header and trailer check):
4924         Use an empirical test on a built program.
4925         * configure: Regenerated.
4927         * configure.in (-z relro check): Use an empirical test on a built DSO.
4928         Detect, but do not require, on ia64.
4929         * configure: Regenerated.
4931         * configure.in (READELF): Find it with AC_CHECK_TOOL.
4932         Update tests that use readelf to use $READELF instead.
4933         * configure: Regenerated.
4935 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
4937         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4938         if the result is not used.
4940 2011-07-05  Andreas Jaeger  <aj@suse.de>
4942         [BZ#9696]
4943         * stdlib/tst-strtod.c: Add testcase.
4945 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
4947         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
4948         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4949         The latter has a higher limit.  Take additional parameter to pass to
4950         the new function.
4951         (__pathconf): Pass file to __statfs_link_max.
4952         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4953         __statfs_link_max.
4954         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4955         __statfs_link_max.
4957         [BZ #12868]
4958         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4959         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4960         Handle Lustre.
4961         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4962         (__statfs_filesize_max): Likewise.
4963         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4965 2011-07-05  Andreas Jaeger  <aj@suse.de>
4967         * resolv/res_comp.c (dn_skipname): Remove unused variable.
4969 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
4971         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4972         `status' variable.
4973         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4974         Likewise.
4976 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
4978         * Makefile (strop-tests): Add strncat.
4979         * string/test-strncat.c: New file.
4981 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
4983         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4985 2011-06-21  Andreas Jaeger  <aj@suse.de>
4987         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4988         Copy rule from iconvdata/Makefile.
4990 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
4992         [BZ #12922]
4993         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4994         but no long options are defined, just return 'W'.
4996 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
4998         [BZ #9696]
4999         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
5003         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5004         netgroups to read.
5005         (innetgr): Likewise.
5007 2011-07-05  Roland McGrath  <roland@hack.frob.com>
5009         * config.make.in (install_root): Default to $(DESTDIR).
5011 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
5013         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5015 2011-07-02  Roland McGrath  <roland@hack.frob.com>
5017         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5019         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5020         containing directory rather than embedding absolute directory names.
5022         * scripts/check-local-headers.sh: Rewritten using awk.
5023         Match by word, not by line.  Print error messages for matches.
5024         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5026         * Makerules [shlib-lds-flags empty]:
5027         ($(common-objpfx)libc_pic.opts): New target.
5028         ($(common-objpfx)libc_pic.os.clean): New target.
5029         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5031         * config.make.in (OBJCOPY): New variable.
5032         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5033         * configure: Regenerated.
5035         * config.make.in (use-default-link): New variable.
5036         * configure.in (use_default_link): Grok --with-default-link to set it.
5037         * configure: Regenerated.
5038         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5039         (shlib-lds, shlib-lds-flags): Define to empty.
5041         * Makerules (shlib-lds): New variable.
5042         (shlib-lds-flags): New variable.
5043         (build-shlib, build-moduile, build-module-asneeded): Use it.
5044         ($(common-objpfx)libc.so): Use $(shlib-lds).
5045         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5046         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5048         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5049         DT_FLAGS/DT_FLAGS_1 with zero flags.
5051         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5052         linker script munging.
5054 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
5056         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5057         as 128-bit value.
5058         * crypt/sha512.c (sha512_process_block): Perform total addition using
5059         128-bit if possible.
5060         (__sha512_finish_ctx): Likewise.
5061         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5062         as 64-bit value.
5063         * crypt/sha256.c (SWAP64): Define.
5064         (sha256_process_block): Perform total addition using 64-bit if
5065         possible.
5066         (__sha256_finish_ctx): Likewise.
5068 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
5070         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
5071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5072         * nscd/hstcache.c (cache_addhst): Likewise.
5073         * nscd/grpcache.c (cache_addgr): Likewise.
5074         * nscd/aicache.c (addhstaiX): Likewise
5075         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5077 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
5079         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5081         * nscd/hstcache.c (cache_addhst): Likewise.
5082         * nscd/grpcache.c (cache_addgr): Likewise.
5083         * nscd/aicache.c (addhstaiX): Likewise
5085 2011-07-01  Andreas Schwab  <schwab@redhat.com>
5087         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5088         domain only when needed.
5090 2011-06-30  Andreas Schwab  <schwab@redhat.com>
5092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5093         is always restored.
5095 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
5097         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5098         are re-adding the entry.
5099         * nscd/servicescache.c (cache_addserv): Likewise.
5101 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5103         * sysdeps/generic/dl-irel.h: fix protection against multiple
5104         inclusions.
5105         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5107 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
5109         [BZ #12935]
5110         * malloc/memusage.sh: Fix quoting in message.
5111         * debug/xtrace.sh: Likewise.
5113         * configure.in: Remove support for --experimental-malloc option, make
5114         it the default.
5115         * config.make.in: Likewise.
5116         * malloc/Makefile: Likewise.
5118 2011-06-27  Andreas Schwab  <schwab@redhat.com>
5120         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5121         two-byte characters.
5123 2011-06-27  Roland McGrath  <roland@hack.frob.com>
5125         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5126         AC_CACHE_CHECK invocation.
5127         * configure: Regenerated.
5129         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5131 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
5133         [BZ #12350]
5134         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
5135         bit from old_res_options.
5137         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5139         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5140         value type for setfct.
5142 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
5144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5145         __gettimeofday instead of gettimeofday.
5147 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
5149         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5151 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5153         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5156         info.
5158 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
5160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5161         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5162         strcpy-sse2-unaligned strncpy-sse2-unaligned
5163         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5164         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5165         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5166         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5167         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5168         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5170         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5171         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5172         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5173         (STRCPY): Support SSE2 and SSSE3 versions.
5175 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
5177         [BZ #12874]
5178         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5179         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5180         kernels which artificially limit size of requests.
5182 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
5184         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5185         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5186         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5187         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5188         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5189         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5190         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5191         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5192         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5194         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5195         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5196         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5197         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5198         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5200         Enable unaligned load optimization for Intel Core i3, i5 and i7
5201         processors.
5202         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5203         Define.
5204         (index_Fast_Unaligned_Load): Define.
5205         (HAS_FAST_UNALIGNED_LOAD): Define.
5207 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
5209         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5211 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
5213         [BZ #12907]
5214         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5215         until it is clear that the information is realy needed.
5216         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5218 2011-06-22  Andreas Schwab  <schwab@redhat.com>
5220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
5224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5225         /sys/devices/system/cpu/online if it is usable.
5227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5228         reading the information from the /proc filesystem to once a second.
5230 2011-06-21  Andreas Jaeger  <aj@suse.de>
5232         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5233         NULL after inclusion of kernel headers.
5235 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
5237         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5238         calls to internal_setent.
5240         [BZ #12885]
5241         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5242         addresses using gethostbyname4_r ignore IPv4 addresses.
5244         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5245         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
5247         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5249 2011-06-20  David S. Miller  <davem@davemloft.net>
5251         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5252         inclusions.
5253         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5255         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5256         (elf_irel): Use it.
5257         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5258         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5259         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5260         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5261         * sysdeps/x86_64/dl-irel.h: Likewise.
5263         * elf/dl-runtime.c: Use elf_ifunc_invoke.
5264         * elf/dl-sym.c: Likewise.
5266 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
5268         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
5269         need to dereference resplen2.
5271 2011-06-14  Andreas Schwab  <schwab@redhat.com>
5273         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5275 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
5277         * Makeconfig: Define vardbdir and inst_vardbdir.
5278         * nss/Makefile: Add rules to install db-Makefile.
5280         * nss/nss_db/db-XXX.c: Cleanup.
5282         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5283         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5284         GLIBC_PRIVATE.
5285         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5286         * nss/makedb.c: Implement -g option to specify that value strings
5287         are generated and should not be added to table iterated over for
5288         get*ent calls.
5289         * nss/nss_db/db-initgroups.c: New file.
5291         * nss/getent.c: Add support for initgroups lookups through getgrouplist
5292         interface.
5294         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5295         (internal_getgrouplist): Adjust to name change.
5296         Update use_initgroups_entry if this is not the first call.
5297         * nss/databases.def: Add initgroups entry.
5299         * nss/makedb.c (compute_tables): Check result of multiple hash table
5300         sizes to minimize maximum chain length.
5302 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
5304         * Versions.def: Add entry for libnss_db.
5305         * shlib-versions: Likewise.
5306         * nss/Makefile: Add rules to build libnss_db.
5307         * nss/Versions: Add libnss_db information.  Organize libnss_files
5308         entries better.
5309         * nss/db-Makefile: Add gshadow support.  Change rules for the new
5310         makedb progra.  Some minor improvements to generate smaller files.
5311         * nss/nss_db/nss_db.h: Move NSS database header data structures to
5312         here from...
5313         * nss/makedb.c: ...here.
5314         Improve database format to be smaller and require less memory at
5315         runtime.
5316         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
5317         db anymore.
5318         * nss/nss_db/db-netgrp.c: Likewise.
5319         * nss/nss_db/db-open.c: Likewise.
5320         * nss/nss_files/flies-XXX.x: Adjust comments.
5321         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5322         * nss/nss_files/files-grp.c: Likewise.
5323         * nss/nss_files/files-hosts.c: Likewise.
5324         * nss/nss_files/files-network.c: Likewise.
5325         * nss/nss_files/files-proto.c: Likewise.
5326         * nss/nss_files/files-pwd.c: Likewise.
5327         * nss/nss_files/files-rpc.c: Likewise.
5328         * nss/nss_files/files-service.c: Likewise.
5329         * nss/nss_files/files-sgrp.c: Likewise.
5330         * nss/nss_files/files-spwd.c: Likewise.
5331         * nss/nss_db/db-alias.c: Removed.
5332         * nss/nss_db/dummy-db.h: Removed.
5334 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
5336         * nss/makedb.c: Rewritten to not use database library.
5337         * nss/Makefile: Update to build new makedb program.
5339 2011-06-14  Andreas Jaeger  <aj@suse.de>
5341         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5342         memset declaration.
5344 2011-06-10  Andreas Schwab  <schwab@redhat.com>
5346         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5347         tmpbuf.
5349 2011-06-10  Roland McGrath  <roland@hack.frob.com>
5351         * Makerules (shlib.lds): Fail if the linker script comes out empty.
5352         * elf/Makefile ($(objpfx)ld.so): Likewise.
5354         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5355         Don't list ld.so twice in dependencies.
5357         * posix/bug-regex31.c: Include <stdlib.h>.
5359         * nscd/hstcache.c (cache_addhst): Remove unused variable.
5361         * nis/nss_compat/compat-spwd.c
5362         (getspent_next_nss_netgr): Remove unused variable.
5363         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5365         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5366         nonmembers" output to use the right array.
5368         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5370         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5372         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5373         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5374         * catgets/gencat.c (read_input_file): Likewise.
5375         * locale/programs/locarchive.c (enlarge_archive): Likewise.
5377         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5378         variable definition inside #if's controlling its use.
5380         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5382         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5384         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5386         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5387         unreachable code.
5389         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5391         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5392         * configure: Regenerated.
5394         * Makerules: Revert last change.
5395         * elf/Makefile: Likewise.
5397 2011-06-09  Roland McGrath  <roland@hack.frob.com>
5399         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5400         * elf/Makefile ($(objpfx)librtld.os): Likewise.
5401         (reloc-link): Likewise.
5403 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
5405         * elf/Makefile: Add rules to build pldd.
5406         * elf/pldd.c: New file.
5407         * elf/pldd-xx.c: New file.
5409 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
5411         * version.h: Update for 2.15 development version.
5413 2011-06-07  David S. Miller  <davem@davemloft.net>
5415         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5416         ifuncs.
5417         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5418         elf_machine_lazy_rel): Likewise.
5419         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5420         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5421         elf_machine_lazy_rel): Likewise.
5422         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5423         dl_hwcap via passed in argument.
5424         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5425         Likewise.
5427 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5429         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
5431 2011-06-06  Roland McGrath  <roland@hack.frob.com>
5433         [BZ #12849]
5434         * manual/fdl-1.1.texi: New file, verbatim from:
5435         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5436         * manual/lgpl-2.1.texi: New file, verbatim from:
5437         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5438         * manual/Makefile (licenses): New variable, list those new file names.
5439         (texis): Use it.
5440         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5442         * manual/fdl.texi: File removed.
5443         * manual/lesser.texi: File removed.
5444         * manual/libc.texinfo (Copying, Documentation License):
5445         Use new @include file names, put @appendix directive before @include.
5447 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
5449         [BZ #12841]
5450         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5451         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5452         (mq_open): Add __NTH.
5454 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
5456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5457         Assume Intel Core i3/i5/i7 processor if AVX is available.
5459 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
5461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5462         typo.
5464 2011-05-31  Andreas Schwab  <schwab@redhat.com>
5466         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5467         memory.  Use alloca_account.  Fix memory leak when retrying.
5469 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
5471         * version.h (RELEASE): Bump for 2.14 release.
5472         * include/features.h (__GLIBC_MINOR__): Bump to 14.
5474         * config.make.in (RANLIB): Remove entry.
5476 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
5478         * po/Makefile (po-sed-cmd): Add ksh to extensions.
5479         (libc.pot): Work around missing support for .ksh extension in xgettext.
5481         [BZ #12684]
5482         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5483         if both request failed.
5484         (send_dg): In case of server errors clear resplen or *resplen2.
5486         [BZ #12454]
5487         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5488         when there are multiple maps.
5489         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5490         (_dl_fini): Remove test here.
5492         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5494 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
5496         [BZ #12350]
5497         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5498         bit from old_res_options.
5499         (gaih_inet): Likewise.
5501         [BZ #11099]
5502         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
5503         as signed.
5505         * resolv/res_init.c (res_setoptions): Make the code more compact.
5507         [BZ #11558]
5508         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5509         set RES_USEVC.
5511         [BZ #11634]
5512         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5514         * malloc/malloc.h: Mark malloc hook variables as deprecated.
5516         [BZ #11781]
5517         * malloc/malloc.h: Declare malloc hook variables as volatile.
5519         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5520         in last patch.
5522         [BZ #11799]
5523         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5524         raise in the comment.
5525         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5526         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5527         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5529 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
5531         [BZ #12811]
5532         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5533         grow the buffers more if it already has to be sufficient.
5534         (build_wcs_upper_buffer): Likewise.
5535         * posix/regexec.c (check_matching): Likewise.
5536         (clean_state_log_if_needed): Likewise.
5537         (extend_buffers): Don't enlarge buffers beyond size of the input
5538         buffer.
5539         Patches mostly by Emil Wojak <emil@wojak.eu>.
5540         * posix/bug-regex32.c: New file.
5541         * posix/Makefile (tests): Add bug-regex32.
5543         * locale/findlocale.c (_nl_find_locale): Return right away if
5544         _nl_explode_name failed.
5545         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5547         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5549         * debug/xtrace.sh: Unify messages.
5550         * malloc/memusage.sh: Likewise.
5552         [BZ #12813]
5553         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5554         time symbol from vDSO.  Substitute with vsyscall if not available.
5555         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5556         __vdso_time.
5558         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5559         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5560         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5561         Add sendmmsg and internal_sendmmsg.
5562         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5563         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5564         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5566         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5567         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5568         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5570 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
5572         [BZ #12813]
5573         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5574         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
5575         available.
5576         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5577         __vdso_getcpu.
5579         [BZ #12814]
5580         * iconvdata/Makefile (tests): Add bug-iconv9.
5581         * iconvdata/bug-iconv9.c: New file.
5583 2011-05-27  Andreas Schwab  <schwab@redhat.com>
5585         [BZ #12814]
5586         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5588 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
5590         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5591         (struct user_regs_struct): Change intcs field back to cs.
5593 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
5595         * po/ja.po: Update from translation team.
5597 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
5599         [BZ #12795]
5600         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5601         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5603 2011-05-20  Andreas Schwab  <schwab@redhat.com>
5605         * stdlib/longlong.h: Update from GCC.
5607 2011-05-23  Andreas Schwab  <schwab@redhat.com>
5609         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5610         parameter name.
5611         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5612         Add parameter name.
5613         (__sysconf): Pass it down.
5615 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
5617         [BZ #12671]
5618         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5619         some situations.
5620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5621         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5622         add in in __libc_use_alloca calls.  Adjust callers.
5623         (glob): Use malloc in some situations.
5625         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5626         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5627         pltexit.
5629 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
5631         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5632         and CLOCK_BOOTTIME_ALARM.
5634         [BZ #12782]
5635         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5636         is returned.
5638         * string/_strerror.c (__strerror_r): Print negative errors as signed
5639         numbers.
5641         [BZ #12777]
5642         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5643         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5644         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5646         * configure.in: Fix typo in redirection and correct removal of test
5647         files in two cases.
5649         [BZ #12788]
5650         * locale/setlocale.c (new_composite_name): Fix test to check for
5651         identical name of all categories.
5653         [BZ #12792]
5654         * libio/filedoalloc.c (local_isatty): New function.
5655         (_IO_file_doallocate): Use local_isatty.
5656         * stdio-common/perror.c (perror): In case a new stream is used
5657         forward the stream error.
5658         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
5659         error flag.
5661 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
5663         [BZ #11869]
5664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
5665         alloca.
5666         * include/alloca.h (extend_alloca_account): Define.
5668         [BZ #11857]
5669         * posix/regex.h: Fix comments with documentation of user-accessible
5670         fields after compilation and describe correct free'ing of pattern
5671         after re_compile_pattern.
5672         Patch by Reuben Thomas <rrt@sc3d.org>.
5674 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
5676         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
5677         and -mno-altivec to prevent the compiler from using Altivec and/or
5678         VSX instructions when the corresponding registers are not available.
5680 2011-05-19  Andreas Schwab  <schwab@redhat.com>
5682         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
5684 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
5686         * libio/freopen.c (freopen): Use __dup2, not dup2.
5687         * libio/freopen64.c (freopen64): Likewise.
5689 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
5691         [BZ #12775]
5692         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
5693         * math/Makefile (tests): Add test-powl.
5694         (CFLAGS-test-powl.c): Define.
5695         * math/test-powl.c: New file.
5697 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
5699         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5701 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
5703         [BZ #11837]
5704         * iconvdata/gb18030.c: Update to GB18020-2005.
5706 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
5708         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5709         RE_SYNTAX_POSIX_AWK): Update to match recent development.
5710         Patch by Aharon Robbins <arnold@skeeve.com>.
5712         [BZ #11892]
5713         * stdlib/putenv.c (putenv): Don't always create copy of the variable
5714         on the stack.
5716         [BZ #11895]
5717         * misc/pselect.c (__pselect): Handle timeout value errors hidden
5718         through underflows.
5720         [BZ #12766]
5721         * misc/error.c (error_at_line): Ensure file_name and old_file_name
5722         point to strings before performing equality test for error_one_per_line
5723         mode.
5725         [BZ #11697]
5726         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5728         [BZ #11820]
5729         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5730         (struct user_fpregs_struct): Avoid __uint*_t types.
5732         [BZ #6420]
5733         * malloc/mtrace.c (tr_where): Add additional parameter to point to
5734         symbol info.  Use it instead of calling _dl_addr locally.
5735         (lock_and_info): New function.
5736         (tr_freehook): Call lock_and_info and pass symbol info as additional
5737         parameter to tr_where.
5738         (tr_mallochook): Likewise.
5739         (tr_reallochook): Likewise.
5740         (tr_memalignhook): Likewise.
5742         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
5743         used and couldn't be at all thread-safe.
5745 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
5747         * libio/freopen.c (freopen): Don't close old file descriptor
5748         before the new one is opened.  Instead dup the new file descriptor
5749         to the old one after the new stream is created.
5750         * libio/freopen64.c (freopen64): Likewise.
5751         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5752         * libio/fileops.c (_IO_new_file_close_it): Handle new
5753         _IO_FLAGS2_NOCLOSE flag.
5754         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5755         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5756         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5757         _IO_FLAGS2_NOCLOSE flag.
5758         * include/unistd.h: Add hidden_proto for dup3.
5759         Define __have_dup3.
5760         * io/dup3.c: Define hidden symbol.
5761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5763         [BZ #7101]
5764         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5765         when an incomplete long option is used.
5766         * posix/tst-getopt_long1.c: New file.
5767         * posix/Makefile (tests): Add tst-getopt_long1.
5769         [BZ #10138]
5770         * scripts/config.guess: Update from autoconf-2.68.
5771         * scripts/config.sub: Likewise.
5773         [BZ #10157]
5774         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5775         tests into ...
5776         (has_cpuclock): ...this.  New function.
5777         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5778         macro here based on has_cpuclock code.
5780         [BZ #10149]
5781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5782         First byte (not low byte) is now always NUL.
5783         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5786         Use non-cancelable interfaces.
5788         [BZ #9809]
5789         * locale/iso-639.def: Add entry for Sorani.
5791         [BZ #11901]
5792         * include/stdlib.h: Move include protection to the right place.
5793         Define abort_msg_s.  Declare __abort_msg with it.
5794         * stdlib/abort.c (__abort_msg): Adjust type.
5795         * assert/assert.c (__assert_fail_base): New function.  Majority
5796         of code from __assert_fail.  Allocate memory for __abort_msg with
5797         mmap.
5798         (__assert_fail): Now call __assert_fail_base.
5799         * assert/assert-perr.c: Remove bulk of implementation.  Use
5800         __assert_fail_base.
5801         * include/assert.hL Declare __assert_fail_base.
5802         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5803         mmap.
5804         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5806 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
5808         [BZ #11952]
5809         [BZ #12453]
5810         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5811         until all modules are registered in the DTV.
5812         * elf/Makefile: Add rules to build and run tst-tls19.
5813         * elf/tst-tls19.c: New file.
5814         * elf/tst-tls19mod1.c: New file.
5815         * elf/tst-tls19mod2.c: New file.
5816         * elf/tst-tls19mod3.c: New file.
5817         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5819         [BZ #12083]
5820         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5821         correctly.
5823         [BZ #12601]
5824         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5825         two-byte sequence errors.
5826         * iconvdata/Makefile (tests): Add bug-iconv8.
5827         * iconvdata/bug-iconv8.c: New file.
5829         [BZ #12626]
5830         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5831         buf2 definition.
5833         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5835         [BZ #12432]
5836         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5837         (dummy_getcfa): New function.
5838         (init): Get _Unwind_GetCFA address, use dummy if not found.
5839         (backtrace_helper): In recursion check, also check whether CFA changes.
5840         (__backtrace): Completely initialize arg.
5842         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
5843         storing incomplete byte sequence in state object.  Avoid testing for
5844         guaranteed too small input if we know there is enough data available.
5846 2011-05-11  Andreas Schwab  <schwab@redhat.com>
5848         * Makeconfig (+link-pie): Indent.
5849         * Rules (binaries-pie): Define if $(have-fpie) and
5850         $(build-shared).
5851         (binaries-shared): Also filter out $(binaries-pie).
5852         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5853         * nscd/Makefile (others-pie): Add nscd.
5854         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5855         ($(objpfx)nscd): Remove command override.
5856         * login/Makefile (others-pie): Add pt_chown.
5857         ($(objpfx)pt_chown): Remove command override.
5858         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5859         remove command overrides.
5861 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
5863         * libio/tst_putwc.c: Fix error messages.
5865         [BZ #12724]
5866         * libio/fileops.c (_IO_new_file_close_it): Always flush when
5867         currently writing and seek to current position when not.
5868         * libio/Makefile (tests): Add bug-fclose1.
5869         * libio/bug-fclose1.c: New file.
5871 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
5873         [BZ #12511]
5874         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5875         don't set DF_1_NODELETE here.
5876         (do_lookup_x): When entering new entry test for copy relocation
5877         and if necessary set DF_1_NODELETE flag.
5878         * elf/tst-unique4.cc: New file.
5879         * elf/tst-unique4.h: New file.
5880         * elf/tst-unique4lib.cc: New file.
5881         * elf/Makefile: Add rules to build and run tst-unique4.
5882         Patch by Piotr Bury <pbury@goahead.com>.
5884 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
5886         [BZ #12052]
5887         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5889         [BZ #12625]
5890         * misc/mntent_r.c (addmntent): Flush the stream after the output
5892         [BZ #12393]
5893         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5894         (is_trusted_path_normalize): Skip initial colon.  Append slash
5895         to empty buffer.  Duplicate is_trusted_path code but allow
5896         constructed patch to be prefix.
5897         (is_dst): Allow $ORIGIN followed by /.
5898         (_dl_dst_substitute): Correct clearing of check_for_trusted.
5899         Correct testing of result of is_trusted_path_normalize
5900         (decompose_rpath): Fix warning.
5902 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
5904         [BZ #11257]
5905         * grp/initgroups.c (internal_getgrouplist): When we found the service
5906         list through the initgroups entry in nsswitch.conf do not always
5907         continue on a successful lookup.  Don't always use the
5908         __nss_group_database value if it is set.
5909         * nss/nsswitch.conf (initgroups): Change action for successful db
5910         lookup to continue for compatibility.
5912 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
5914         [BZ #11532]
5915         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5916         and CP774 modules.
5917         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5918         and CP774 modules.
5919         * iconvdata/tst-tables.sh: Likewise.
5920         * iconvdata/cp770.c: New file.
5921         * iconvdata/cp771.c: New file.
5922         * iconvdata/cp772.c: New file.
5923         * iconvdata/cp773.c: New file.
5924         * iconvdata/cp774.c: New file.
5925         * iconvdata/testdata/CP770: New file.
5926         * iconvdata/testdata/CP770..UTF8: New file.
5927         * iconvdata/testdata/CP771: New file.
5928         * iconvdata/testdata/CP771..UTF8: New file.
5929         * iconvdata/testdata/CP772: New file.
5930         * iconvdata/testdata/CP772..UTF8: New file.
5931         * iconvdata/testdata/CP773: New file.
5932         * iconvdata/testdata/CP773..UTF8: New file.
5933         * iconvdata/testdata/CP774: New file.
5934         * iconvdata/testdata/CP774..UTF8: New file.
5936         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5937         END CHARMAP line.
5938         * iconvdata/gen-8bit-gap.sh: Likewise.
5939         * iconvdata/gen-8bit.sh: Likewise.
5941         * locale/iso-639.def: Add ary entry.
5943         [BZ #11258]
5944         * locale/C-translit.h.in: Add U20A1 transliteration.
5946         [BZ #12178]
5947         * locale/iso-639.def: Add wae entry.
5948         Patch by Kevin Bortis <bortis@translate-wae.ch>.
5950         [BZ #12545]
5951         * locale/programs/localedef.c (construct_output_path): Use ssize_t
5952         for n.
5954         [BZ #12711]
5955         * locale/C-translit.h.in: Add entry for U20B9.
5956         Patch by pravin.d.s@gmail.com.
5958 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
5960         [BZ #12713]
5961         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5962         ENAMETOOLONG use generic getcwd.
5963         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
5964         in rtld.  Use *stat64.
5965         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
5966         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
5967         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
5968         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5969         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5970         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5971         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5972         __fstatat64 macros.
5973         * include/dirent.h: Add libc_hidden_proto for rewinddir.
5974         * dirent/rewinddir.c: Add libc_hidden_def.
5975         * sysdeps/mach/hurd/rewinddir.c: Likewise.
5976         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
5978         * include/dirent.h (__alloc_dir): Add flags parameter.
5979         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5980         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5981         __alloc_dir.
5982         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
5983         from fdopendir if O_CLOEXEC is already set.
5985 2011-03-15  Alan Modra  <amodra@gmail.com>
5987         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5988         l_tls_firstbyte_offset non-zero.  Save padding offset in
5989         l_tls_firstbyte_offset for later use.
5990         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5991         freeing static tls block.
5993 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
5995         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5996         where #ifdef was intended.  The intent is to prevent ARG_MAX from
5997         being defined by the kernel headers.
5999 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
6001         [BZ #12734]
6002         * resolv/resolv.h: Define RES_NOTLDQUERY.
6003         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6004         no-tld-query and set RES_NOTLDQUERY.
6005         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6006         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6007         modern BIND to search name as TLD unless forbidden.
6009 2011-05-07  Petr Baudis  <pasky@suse.cz>
6010             Ulrich Drepper  <drepper@gmail.com>
6012         [BZ #12393]
6013         * elf/dl-load.c (fillin_rpath): Move trusted path check...
6014         (is_trusted_path): ...to here.
6015         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6016         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6017         using is_trusted_path_normalize() in setuid scripts.
6019 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6021         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6022         __BEGIN/__END_DECLS.
6024 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
6026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6027         NSS_STATUS_NOTFOUND if no record was found.
6029 2011-05-05  Andreas Schwab  <schwab@redhat.com>
6031         * sunrpc/Makefile (headers): Add rpc/netdb.h.
6032         (headers-not-in-tirpc): Remove rpc/netdb.h
6033         * resolv/netdb.h: Revert last change.
6035 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6037         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6038         circular dependency between libgcc.a and libc.a.
6040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
6042         * resolv/netdb.h: Don't include <rpc/netdb.h>.
6043         * nis/Makefile: Don't install rpcsvc/*.
6044         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6045         instead of <rpc/types.h>.
6046         (MAXHOSTNAMELEN): Define.
6048 2011-05-03  Andreas Schwab  <schwab@redhat.com>
6050         * elf/ldconfig.c (add_dir): Don't crash on empty path.
6052 2011-04-28  Maciej Babinski  <mbabinski@google.com>
6054         [BZ #12714]
6055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6056         gethostbyname4_r when IPv6 results are possible.
6058 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
6060         [BZ #12723]
6061         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6062         _PC_PIPE_BUF handling.
6064 2011-04-30  Bruno Haible  <bruno@clisp.org>
6066         [BZ #12717]
6067         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6068         * resolv/netdb.h (getnameinfo): Change type of flags parameter
6069         to 'int'.
6070         * inet/getnameinfo.c (getnameinfo): Likewise.
6072 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
6074         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6075         to groups setting in database lookup.
6076         * nss/nsswitch.conf: Add initgroups entry.
6078 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
6080         [BZ #12685]
6081         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6082         mode string.
6083         Patch by Eric Blake <eblake@redhat.com>.
6085 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
6087         * sunrpc/Makefile (need-export-routines): Add svc_run.
6088         (routines): Remove svc_run.
6089         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6090         * sunrpc/clnt_perr.c (clnt_perrno): Export.
6091         * sunrpc/svc_run.c (svc_run): Likewise.
6092         * sunrpc/svc_udp.c (svcudp_create): Likewise.
6094 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
6096         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6097         problem in reallocation in last patch.
6099 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
6101         * sunrpc/Makefile: Move inclusion of Rules.
6103 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
6105         * nss/nss_files/files-initgroups.c: New file.
6106         * nss/Makefile (libnss_files-routines): Add files-initgroups.
6107         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6108         _nss_files_initgroups_dyn.
6110 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
6112         * elf/elf.h (R_ARM_IRELATIVE): Define.
6114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
6116         * po/ru.po: Update from translation team.
6118 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
6120         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6121         dependencies.
6123 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
6125         [BZ #12653]
6126         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6127         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6128         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6132 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
6134         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6135         differing bytes.
6136         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6137         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6138         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6140 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
6142         [BZ #12420]
6143         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6144         storing it.
6145         * stdlib/bug-getcontext.c: New file.
6146         * stdlib/Makefile: Add rules to build and run bug-getcontext.
6148 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6150         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6151         instructions into .machine "z9-109".
6152         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6153         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6155 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6157         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6158         between environment variables and auxiliary vector.
6160 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
6162         * Makefile: Add rules to build linkobj/libc.so.
6163         * include/libc-symbols.h: Define libc_hidden_nolink.
6164         * include/rpc/auth.h: Mark functions which are to be hidden.
6165         * include/rpc/auth_des.h: Likewise.
6166         * include/rpc/auth_unix.h: Likewise.
6167         * include/rpc/clnt.h: Likewise.
6168         * include/rpc/des_crypt.h: Likewise.
6169         * include/rpc/key_prot.h: Likewise.
6170         * include/rpc/pmap_clnt.h: Likewise.
6171         * include/rpc/pmap_prot.h: Likewise.
6172         * include/rpc/pmap_rmt.h: Likewise.
6173         * include/rpc/rpc_msg.h: Likewise.
6174         * include/rpc/svc.h: Likewise.
6175         * include/rpc/svc_auth.h: Likewise.
6176         * include/rpc/xdr.h: Likewise.
6177         * nis/Makefile: Link all DSOs against linkobj/libc.so.
6178         * nss/Makefile: Likewise.
6179         * sunrpc/Makefile: Don't install headers.  Build library with normal
6180         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
6181         * sunrpc/auth_des.c: Hide exported symbols by default, export some
6182         for the compat linking library.  Remove use of INTDEF/INTUSE.
6183         * sunrpc/auth_none.c: Likewise.
6184         * sunrpc/auth_unix.c: Likewise.
6185         * sunrpc/authdes_prot.c: Likewise.
6186         * sunrpc/authuxprot.c: Likewise.
6187         * sunrpc/clnt_gen.c: Likewise.
6188         * sunrpc/clnt_perr.c: Likewise.
6189         * sunrpc/clnt_raw.c: Likewise.
6190         * sunrpc/clnt_simp.c: Likewise.
6191         * sunrpc/clnt_tcp.c: Likewise.
6192         * sunrpc/clnt_udp.c: Likewise.
6193         * sunrpc/clnt_unix.c: Likewise.
6194         * sunrpc/des_crypt.c: Likewise.
6195         * sunrpc/des_soft.c: Likewise.
6196         * sunrpc/get_myaddr.c: Likewise.
6197         * sunrpc/key_call.c: Likewise.
6198         * sunrpc/key_prot.c: Likewise.
6199         * sunrpc/netname.c: Likewise.
6200         * sunrpc/pm_getmaps.c: Likewise.
6201         * sunrpc/pm_getport.c: Likewise.
6202         * sunrpc/pmap_clnt.c: Likewise.
6203         * sunrpc/pmap_prot.c: Likewise.
6204         * sunrpc/pmap_prot2.c: Likewise.
6205         * sunrpc/pmap_rmt.c: Likewise.
6206         * sunrpc/publickey.c: Likewise.
6207         * sunrpc/rpc_cmsg.c: Likewise.
6208         * sunrpc/rpc_common.c: Likewise.
6209         * sunrpc/rpc_dtable.c: Likewise.
6210         * sunrpc/rpc_prot.c: Likewise.
6211         * sunrpc/rpc_thread.c: Likewise.
6212         * sunrpc/rtime.c: Likewise.
6213         * sunrpc/svc.c: Likewise.
6214         * sunrpc/svc_auth.c: Likewise.
6215         * sunrpc/svc_authux.c: Likewise.
6216         * sunrpc/svc_raw.c: Likewise.
6217         * sunrpc/svc_run.c: Likewise.
6218         * sunrpc/svc_simple.c: Likewise.
6219         * sunrpc/svc_tcp.c: Likewise.
6220         * sunrpc/svc_udp.c: Likewise.
6221         * sunrpc/svc_unix.c: Likewise.
6222         * sunrpc/svcauth_des.c: Likewise.
6223         * sunrpc/xcrypt.c: Likewise.
6224         * sunrpc/xdr.c: Likewise.
6225         * sunrpc/xdr_array.c: Likewise.
6226         * sunrpc/xdr_float.c: Likewise.
6227         * sunrpc/xdr_intXX_t.c: Likewise.
6228         * sunrpc/xdr_mem.c: Likewise.
6229         * sunrpc/xdr_rec.c: Likewise.
6230         * sunrpc/xdr_ref.c: Likewise.
6231         * sunrpc/xdr_sizeof.c: Likewise.
6232         * sunrpc/xdr_stdio.c: Likewise.
6234 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
6236         [BZ #12650]
6237         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6238         * sysdeps/ia64/dl-tls.h: Likewise.
6239         * sysdeps/powerpc/dl-tls.h: Likewise.
6240         * sysdeps/s390/dl-tls.h: Likewise.
6241         * sysdeps/sh/dl-tls.h: Likewise.
6242         * sysdeps/sparc/dl-tls.h: Likewise.
6243         * sysdeps/x86_64/dl-tls.h: Likewise.
6244         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6246 2011-03-14  Andreas Schwab  <schwab@redhat.com>
6248         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6249         rpath element also skip the following colon.
6250         (expand_dynamic_string_token): Add is_path parameter and pass
6251         down to DL_DST_REQUIRED and _dl_dst_substitute.
6252         (decompose_rpath): Call expand_dynamic_string_token with
6253         non-zero is_path.  Ignore empty rpaths.
6254         (_dl_map_object_from_fd): Call expand_dynamic_string_token
6255         with zero is_path.
6257 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6260         Make cancelable.
6262 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
6264         [BZ #12655]
6265         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6266         Patch by Filipe David Manana <fdmanana@apache.org>.
6268 2011-04-07  Andreas Schwab  <schwab@redhat.com>
6270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6271         Maintain aligned stack.
6272         (CHECK_RSP): Remove unused macro.
6274 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
6276         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6277         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6279 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
6281         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6283         * include/features.h: Mention __USE_XOPEN2K8 in comment.
6285 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
6287         [BZ #12518]
6288         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6289         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6290         * sysdeps/x86_64/memmove.c: New file.
6291         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6292         (memcpy): Renamed to ...
6293         (__new_memcpy): This.
6294         (memcpy): Provide GLIBC_2_14 memcpy.
6295         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6296         (memcpy): Provide GLIBC_2_2_5 memcpy.
6298 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
6300         [BZ #12631]
6301         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6303 2011-03-30  Andreas Schwab  <schwab@redhat.com>
6305         * misc/syncfs.c: New file.
6306         * misc/Makefile (routines): Add syncfs.
6307         * posix/unistd.h: Declare syncfs.
6308         * sysdeps/unix/syscalls.list: Add syncfs.
6310 2011-04-01  Andreas Schwab  <schwab@redhat.com>
6312         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6313         open_by_handle_at.
6314         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6315         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6317         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6319         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6320         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6322 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
6324         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6325         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6326         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6330         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6332         * io/Makefile: Compile fallocate.c, fallocate64.c, and
6333         sync_file_range.c with -fexceptions.
6334         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6335         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6336         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6337         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6338         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6339         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6341         sync_file_range as cancellation point
6342         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
6343         now a wrapper around __call_sync_file_range with cancellation handling.
6344         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6345         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
6346         function name to __call_sync_file_range.
6347         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6348         Add call_sync_file_range.
6350 2011-04-01  Andreas Schwab  <schwab@redhat.com>
6352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6353         bits/timex.h.
6355 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
6357         * iconv/iconv.h: Fix typo in comment.
6358         * io/fcntl.h: Likewise.
6359         * libio/stdio.h: Likewise.
6360         * posix/spawn.h: Likewise.
6361         * posix/unistd.h: Likewise.
6362         * stdlib/stdlib.h: Likewise.
6363         * time/time.h: Likewise.
6364         * wcsmbs/wchar.h: Likewise.
6366         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6367         open_by_handle): Add.
6368         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6369         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
6370         Augment a few comments.
6371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6372         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6376         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6377         open_by_handle.
6379         * io/fcntl.h (AT_EMPTY_PATH): Define.
6381 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
6383         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6384         * sysdeps/unix/sysv/linux/bits/time.h: New file.
6385         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6386         to...
6387         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
6388         * Versions.def: Add GLIBC_2.14.
6389         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6390         Export.
6392 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
6394         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6395         round counter.
6396         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6398 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
6400         [BZ #12597]
6401         * string/test-strncmp.c (do_page_test): New function.
6402         (check2): Likewise.
6403         (test_main): Call check2.
6404         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6406 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
6408         [BZ #12587]
6409         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6410         Handle cache information in CPU leaf 4.
6411         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6413 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
6415         [BZ #12583]
6416         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6417         character representation.
6418         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6420 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
6422         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6423         END(__isnan) to END(__isnanf) to match function entry point/label
6424         EALIGN(__isnanf,...).
6426 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
6428         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6430 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
6432         [BZ #12510]
6433         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6434         copy from the symbol referenced in the relocation to initialize the
6435         used variable.
6436         Patch by Piotr Bury <pbury@goahead.com>.
6437         * elf/Makefile: Add rules to build and tst-unique3.
6438         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6439         * elf/tst-unique3.cc: New file.
6440         * elf/tst-unique3.h: New file.
6441         * elf/tst-unique3lib.cc: New file.
6442         * elf/tst-unique3lib2.cc: New file.
6444         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6446 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
6448         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6449         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
6450         to _start.
6452 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
6454         * elf/dl-load.c (_dl_map_object): If we are looking for the first
6455         to-be-loaded object along a path to loader is ld.so.
6457 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
6458             Ulrich Drepper  <drepper@gmail.com>
6460         * sysdeps/x86_64/memset.S: After aligning destination, code
6461         branches to different locations depending on the value of
6462         misalignment, when multiarch is enabled. Fix this.
6464 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
6466         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6467         Set _x86_64_preferred_memory_instruction for AMD processsors.
6468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6469         Set bit_Prefer_SSE_for_memop for AMD processors.
6471 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
6473         * libio/fmemopen.c (fmemopen): Optimize a bit.
6475 2011-03-03  Andreas Schwab  <schwab@redhat.com>
6477         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6479 2011-03-03  Roland McGrath  <roland@redhat.com>
6481         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6483 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
6485         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
6486         __bzero_ultra1 instead of __memset_ultra1.
6488 2011-02-23  Andreas Schwab  <schwab@redhat.com>
6489             Ulrich Drepper  <drepper@gmail.com>
6491         [BZ #12509]
6492         * include/link.h (struct link_map): Add l_orig_initfini.
6493         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6494         returning unsuccessfully.
6495         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6496         close of a file loaded at startup, restore the original l_initfini
6497         list.
6498         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6499         list, store the pointer.
6500         * elf/Makefile ($(objpfx)noload-mem): New rule.
6501         (noload-ENV): Define.
6502         (tests): Add $(objpfx)noload-mem.
6503         * elf/noload.c: Include <memcheck.h>.
6504         (main): Call mtrace.  Close all opened handles.
6506 2011-02-17  Andreas Schwab  <schwab@redhat.com>
6508         [BZ #12454]
6509         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6510         dependencies are missing.
6512 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6514         Fix __if_freereq crash: Unlike the generic version which uses free,
6515         Hurd needs munmap.
6516         * sysdeps/mach/hurd/ifreq.h: New file.
6518 2011-01-27  Petr Baudis  <pasky@suse.cz>
6519             Ulrich Drepper  <drepper@gmail.com>
6521         [BZ 12445]#
6522         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6523         to extend_alloca().
6524         * stdio-common/bug23.c: New file.
6525         * stdio-common/Makefile (tests): Add bug23.
6527 2010-09-28  Andreas Schwab  <schwab@redhat.com>
6528             Ulrich Drepper  <drepper@gmail.com>
6530         [BZ #12489]
6531         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6532         before performing relro protection.  At old place add assertion
6533         to make sure nothing changed.
6535 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
6536             Glauber de Oliveira Costa  <glommer@gmail.com>
6538         * elf/elf.h: Add new ARM TLS relocs.
6540 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6543         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6544         cast from r3.
6545         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
6546         'tests' variable.
6547         * sysdeps/wordsize-64/tst-writev.c: New file.
6549 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
6551         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6552         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6553         insns in _dl_start to prevent a TOC reference before relocs are
6554         resolved.
6556 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
6558         [BZ #12469]
6559         * Makeconfig: Remove RANLIB definition.
6560         * Makerules: Don't use RANLIB.
6561         * aclocal.m4: Remove ranlib test.
6562         * configure.in: No need to check for ranlib.
6563         * elf/rtld-Rules: Don't use RANLIB.
6565 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6567         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6568         protection macro.
6569         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6570         inclusion protection macro.
6572         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6573         SIGRTMIN and SIGRTMAX and print information in that case only when
6574         SIGRTMIN is defined.
6576 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
6578         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6579         arginfo fn returning -1.
6581         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6582         and thousands string is zero terminated.
6584 2011-02-03  Andreas Schwab  <schwab@redhat.com>
6586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6587         sysdeps/unix/sysv/linux/bits/socket.h.
6589 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6591         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6592         (__CPU_COUNT): Remove old macros.
6593         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6594         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6595         (__CPU_ALLOC, __CPU_FREE): Add macros.
6596         (__sched_cpualloc, __sched_cpufree): Add declarations.
6598 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
6600         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6601         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6602         * nscd/aicache.c (addhstaiX): Return timeout of added value.
6603         (readdhstai): Return value of addhstaiX call.
6604         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6605         (addgrbyX): Return value returned by cache_addgr.
6606         (readdgrbyname): Return value returned by addgrbyX.
6607         (readdgrbygid): Likewise.
6608         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6609         (addpwbyX): Return value returned by cache_addpw.
6610         (readdpwbyname): Return value returned by addhstbyX.
6611         (readdpwbyuid): Likewise.
6612         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6613         (addservbyX): Return value returned by cache_addserv.
6614         (readdservbyname): Return value returned by addservbyX:
6615         (readdservbyport): Likewise.
6616         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6617         (addhstbyX): Return value returned by cache_addhst.
6618         (readdhstbyname): Return value returned by addhstbyX.
6619         (readdhstbyaddr): Likewise.
6620         (readdhstbynamev6): Likewise.
6621         (readdhstbyaddrv6): Likewise.
6622         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6623         (readdinitgroups): Return value returned by addinitgroupsX.
6624         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6625         (prune_cache): Keep track of timeout value of re-added entries.
6626         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6627         * nscd/nscd.h: Adjust prototypes of readd* functions.
6629 2011-02-04  Roland McGrath  <roland@redhat.com>
6631         * nis/nis_server.c (nis_servstate): Use the right name for 0.
6632         (nis_stats): Likewise.
6633         * nis/nis_modify.c (nis_modify): Likewise.
6634         * nis/nis_remove.c (nis_remove): Likewise.
6635         * nis/nis_add.c (nis_add): Likewise.
6637         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6639         * posix/fnmatch_loop.c: Add some consts.
6641         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6643 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6645         [BZ #12460]
6646         * config.make.in (config-cflags-novzeroupper): Define.
6647         * configure.in: Substitute libc_cv_cc_novzeroupper.
6648         * elf/Makefile (AVX-CFLAGS): Define.
6649         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6650         (CFLAGS-tst-auditmod4a.c): Likewise.
6651         (CFLAGS-tst-auditmod4b.c): Likewise.
6652         (CFLAGS-tst-auditmod6b.c): Likewise.
6653         (CFLAGS-tst-auditmod6c.c): Likewise.
6654         (CFLAGS-tst-auditmod7b.c): Likewise.
6655         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6657 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
6659         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6660         function to the callback.
6661         Patch partly by Jiri Olsa <jolsa@redhat.com>.
6663 2011-02-02  Andreas Schwab  <schwab@redhat.com>
6665         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
6666         of errno.
6668 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
6670         [BZ #11724]
6671         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
6672         of constructors.
6673         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
6674         of destructors.
6675         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
6677         [BZ #11724]
6678         * elf/Makefile: Add rules to build and run new test.
6679         * elf/tst-initorder.c: New file.
6680         * elf/tst-initorder.exp: New file.
6681         * elf/tst-initordera1.c: New file.
6682         * elf/tst-initordera2.c: New file.
6683         * elf/tst-initordera3.c: New file.
6684         * elf/tst-initordera4.c: New file.
6685         * elf/tst-initorderb1.c: New file.
6686         * elf/tst-initorderb2.c: New file.
6687         * elf/tst-order-a1.c: New file.
6688         * elf/tst-order-a2.c: New file.
6689         * elf/tst-order-a3.c: New file.
6690         * elf/tst-order-a4.c: New file.
6691         * elf/tst-order-b1.c: New file.
6692         * elf/tst-order-b2.c: New file.
6693         * elf/tst-order-main.c: New file.
6694         New test case by George Gensure <werkt0@gmail.com>.
6696 2010-10-01  Andreas Schwab  <schwab@redhat.com>
6698         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6699         decoding ACE if AI_CANONIDN.
6701 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
6703         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6705 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
6707         * version.h (RELEASE): Bump for 2.13 release.
6708         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6710         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6713         MADV_NOHUGEPAGE.
6714         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6716         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6717         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6718         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6719         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6721         * posix/getconf.c: Update copyright year.
6722         * catgets/gencat.c: Likewise.
6723         * csu/version.c: Likewise.
6724         * debug/catchsegv.sh: Likewise.
6725         * debug/xtrace.sh: Likewise.
6726         * elf/ldconfig.c: Likewise.
6727         * elf/ldd.bash.in: Likewise.
6728         * elf/sprof.c (print_version): Likewise.
6729         * iconv/iconv_prog.c: Likewise.
6730         * iconv/iconvconfig.c: Likewise.
6731         * locale/programs/locale.c: Likewise.
6732         * locale/programs/localedef.c: Likewise.
6733         * malloc/memusage.sh: Likewise.
6734         * malloc/mtrace.pl: Likewise.
6735         * nscd/nscd.c (print_version): Likewise.
6736         * nss/getent.c: Likewise.
6738         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6739         PF_CAIF, and PF_ALG.
6740         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6742 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
6744         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6745         (modules-names): Use them.
6746         (ifunc-test-modules, ifunc-pie-tests): Define.
6747         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6748         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6749         (test-extras): Likewise.
6750         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6751         $(compile-command.c).
6752         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6753         (all-built-dso): Define.
6754         (check-textrel.out, check-execstack.out): Depend on it.
6756         * configure.in: Don't override --enable-multi-arch.
6758 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
6760         [BZ #6812]
6761         * nscd/hstcache.c (tryagain): Define.
6762         (cache_addhst): Return tryagain not notfound for temporary errors.
6763         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6764         failed.
6766 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
6768         [BZ #10563]
6769         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6770         to make the syscall.
6771         * sysdeps/unix/sysv/linux/setgroups.c: New file.
6773         [BZ #12378]
6774         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6775         and fall back to matching as normal character if the string ends before
6776         the matching ']' is found.  This is what POSIX requires.
6777         * posix/testfnm.c: Adjust test result.
6778         * posix/globtest.sh: Adjust test result.  Add new test.
6779         * posix/tst-fnmatch.input: Likewise.
6780         * posix/tst-fnmatch2.c: Add new test.
6782 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
6784         * elf/Makefile (check-execstack): Revert last change.  Depend on
6785         check-execstack.h.
6786         (check-execstack.h): New target.
6787         (generated): Add check-execstack.h.
6788         * elf/check-execstack.c: Include "check-execstack.h".
6789         (main): Revert last change.
6790         (handle_file): Return zero if GNU_STACK is absent and
6791         DEFAULT_STACK_PERMS doesn't include PF_X.
6793 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
6795         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6796         in child fails because the descriptor is already closed.
6797         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6798         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6799         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6801         [BZ #12397]
6802         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6803         syscall.
6805         [BZ #10484]
6806         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6807         temporary buffer used to handle multi lookups locally.
6808         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
6810 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
6812         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6813         loader is ld.so.
6815 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
6817         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6818         alignment for SSE2.
6820 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
6822         [BZ #12394]
6823         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6824         characters.  When rounding increased number of integer digits recompute
6825         number of groups.
6826         * stdio-common/tst-grouping.c: New file.
6827         * stdio-common/Makefile: Add rules to build and run tst-grouping.
6829 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
6831         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6832         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
6834         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6835         void.
6836         * bits/select.h: Likewise.
6838 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
6840         * po/ja.po: Update from translation team.
6842 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
6844         [BZ #11155]
6845         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6846         implementation just like for lxstat, fxstatat, et al.
6848 2010-12-27  Jim Meyering  <meyering@redhat.com>
6850         [BZ #12348]
6851         * posix/regexec.c (build_trtable): Return failure indication upon
6852         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
6854 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
6856         [BZ #12201]
6857         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6858         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6859         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6860         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6862         [BZ #12207]
6863         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6865         [BZ #12204]
6866         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6867         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6869 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6871         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6872         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6873         script has SORT_BY_INIT_PRIORITY.
6874         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6875         NO_CTORS_DTORS_SECTIONS is defined.
6876         * elf/soinit.c: Likewise.
6877         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6878         NO_CTORS_DTORS_SECTIONS is defined.
6879         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6880         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6881         * sysdeps/sh/init-first.c: Likewise.
6882         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6884 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
6886         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6887         always use the slow path.
6889 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
6891         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6892         similar rule which adds the sysdep directories to the header search in
6893         order to pick up the correct platform stackinfo.h.
6894         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6895         perform test if it is, otherwise return successfully without testing.
6896         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6897         DEFAULT_STACK_PERMS define in stackinfo.h.
6898         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6899         defined in stackinfo.h.
6900         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6901         DEFAULT_STACK_PERMS defined in stackinfo.h.
6902         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6903         * sysdeps/ia64/stackinfo.h: Likewise.
6904         * sysdeps/s390/stackinfo.h: Likewise.
6905         * sysdeps/sh/stackinfo.h: Likewise.
6906         * sysdeps/sparc/stackinfo.h: Likewise.
6907         * sysdeps/x86_64/stackinfo.h: Likewise.
6908         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6909         PF_X for powerpc64.  Retain PF_X for powerpc32.
6911 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
6913         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6914         accurately.
6915         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6916         GETDENTS_64BIT_ALIGNED.
6918 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
6920         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
6922 2010-12-10  Andreas Schwab  <schwab@redhat.com>
6924         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6925         _GNU_SOURCE.
6927         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6928         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6929         Remove __restrict.
6930         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6931         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6933 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
6935         [BZ #11655]
6936         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6937         are initialized.
6939 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
6941         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6943 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
6945         * po/it.po: Update from translation team.
6947 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
6949         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6950         unused codes.
6952 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
6954         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6956 2010-11-24  Andreas Schwab  <schwab@redhat.com>
6958         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6959         specially.
6960         (gaih_getanswer_slice): Likewise.
6962 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
6964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6966 2010-05-31  Petr Baudis  <pasky@suse.cz>
6968         [BZ #11149]
6969         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6970         silently even in the chroot mode.
6972 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
6974         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6975         last patch a bit.  Pretty printing
6977 2010-05-31  Petr Baudis <pasky@suse.cz>
6979         [BZ #10085]
6980         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6981         initialization of skip_initgroups_dyn.
6983 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
6985         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6986         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6988 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
6990         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6992 2010-11-11  Andreas Schwab  <schwab@redhat.com>
6994         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6995         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6996         (tst-fnmatch-ENV): Set MALLOC_TRACE.
6997         ($(objpfx)tst-fnmatch-mem): New rule.
6998         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6999         * posix/tst-fnmatch.c (main): Call mtrace.
7001 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
7003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7004         Support Intel processor model 6 and model 0x2c.
7006 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
7008         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7009           signed comparison.
7011 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
7013         [BZ #12205]
7014         * string/test-strncasecmp.c (check_result): New function.
7015         (do_one_test): Use it.
7016         (check1): New function.
7017         (test_main): Use it.
7018         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7019         Support strcasecmp and strncasecmp.
7021 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
7023         [BZ #12194]
7024         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7027 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
7029         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7030         IFUNC support.
7031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7032         memset-x86-64.
7033         * sysdeps/x86_64/multiarch/bzero.S: New file.
7034         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7035         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7036         * sysdeps/x86_64/multiarch/memset.S: New file.
7037         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7039         Set bit_Prefer_SSE_for_memop for Intel processors.
7040         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7041         Define.
7042         (index_Prefer_SSE_for_memop): Define.
7043         (HAS_PREFER_SSE_FOR_MEMOP): Define.
7045 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
7047         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7048         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7050 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
7052         [BZ #12191]
7053         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7054         (__x86_64_raw_data_cache_size_half): Likewise.
7055         (__x86_64_raw_shared_cache_size): Likewise.
7056         (__x86_64_raw_shared_cache_size_half): Likewise.
7058         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7059         (__x86_64_raw_data_cache_size_half): Likewise.
7060         (__x86_64_raw_shared_cache_size): Likewise.
7061         (__x86_64_raw_shared_cache_size_half): Likewise.
7062         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7063         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7064         and __x86_64_raw_shared_cache_size_half.  Round
7065         __x86_64_data_cache_size_half, __x86_64_data_cache_size
7066         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7067         to multiple of 256 bytes.
7069 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
7071         [BZ #12167]
7072         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7073         of inacessible symlinks.  Verify result of symlink before returning it.
7074         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7075         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7077 2010-10-28  Erich Ritz  <erichritz@gmail.com>
7079         * math/math.h (isinf): Fix typo in comment.
7081 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
7083         * po/da.po: Update from translation team.
7085 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
7087         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7088         is added to the list.
7090 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7091             Ulrich Drepper  <drepper@gmail.com>
7093         * elf/dl-object.c (_dl_new_object): Don't append the new object to
7094         the global list here.  Move code to...
7095         (_dl_add_to_namespace_list): ...here.  New function.
7096         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7097         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7098         * elf/dl-load.c (lose): Don't remove the element from the list.
7099         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7100         (_dl_map_object): Likewise.
7102 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
7104         [BZ #12159]
7105         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7106         into all bytes of SSE register.
7107         Patch by Richard Li <richardpku@gmail.com>.
7109 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
7111         [BZ #12140]
7112         * malloc/malloc.c (_int_free): Fill correct number of bytes when
7113         perturbing.
7115 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
7117         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7118         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7119         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7120         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7122         submachine.
7123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7125 2010-10-22  Andreas Schwab  <schwab@redhat.com>
7127         * include/dlfcn.h (__RTLD_SECURE): Define.
7128         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
7129         mode & __RTLD_SECURE instead.
7130         (open_path): Rename preloaded parameter to secure.
7131         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7132         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7133         * elf/dl-deps.c (openaux): Likewise.
7134         * elf/rtld.c (struct map_args): Remove is_preloaded.
7135         (map_doit): Don't use it.
7136         (dl_main): Likewise.
7137         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7138         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7140 2010-09-09  Andreas Schwab  <schwab@redhat.com>
7142         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7143         (sysd-rules-targets): Remove duplicates.
7144         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7145         rtld-%.$o dependency.
7147 2010-10-18  Andreas Schwab  <schwab@redhat.com>
7149         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7150         _dl_map_object do it.
7152 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
7154         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7155         fast fma builtins, define the macros in the C99 standard.
7156         (FP_FAST_FMAF): Likewise.
7157         (FP_FAST_FMAL): Likewise.
7158         * sysdeps/x86_64/bits/mathdef.h: Likewise.
7160         * bits/mathdef.h: Update copyright year.
7161         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7163 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
7165         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7166         builtins, define the macros in the C99 standard.
7167         (FP_FAST_FMAF): Likewise.
7168         (FP_FAST_FMAL): Likewise.
7169         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7170         multiply/add.
7171         (FP_FAST_FMAF): Likewise.
7173 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
7175         [BZ #3268]
7176         * math/libm-test.inc (fma_test): Some new testcases.
7177         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7179         y and infinite z.  Do multiplication by C already in long double.
7180         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7182         y and infinite z.  Do bitwise or of inexact bit into u.d.
7183         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7184         * sysdeps/i386/fpu/s_fmaf.S: Removed.
7185         * sysdeps/i386/fpu/s_fma.S: Removed.
7186         * sysdeps/i386/fpu/s_fmal.S: Removed.
7188 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
7190         [BZ #3268]
7191         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7193         computation is not scheduled after fetestexcept.  Fix value
7194         of minimum denormal long double.
7196 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
7198         [BZ #3268]
7199         * math/libm-test.inc (fma_test): Add some more tests.
7200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7201         correctly.
7203 2010-10-15  Andreas Schwab  <schwab@redhat.com>
7205         * scripts/data/localplt-s390-linux-gnu.data: New file.
7206         * scripts/data/localplt-s390x-linux-gnu.data: New file.
7208 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
7210         [BZ #3268]
7211         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7212         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7213         instead of dbl-64.
7214         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7215         inlines.
7216         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7217         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7218         if one of x and y is very large and the other is subnormal.
7219         * sysdeps/s390/fpu/s_fmaf.c: New file.
7220         * sysdeps/s390/fpu/s_fma.c: New file.
7221         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7222         * sysdeps/powerpc/fpu/s_fma.S: New file.
7223         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7224         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7225         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7227 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
7229         [BZ #3268]
7230         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7231         fma tests.
7232         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7233         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7234         * sysdeps/i386/i686/multiarch/s_fma.c: Include
7235         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7236         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7237         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7238         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7240 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
7242         [BZ #12078]
7243         * posix/regcomp.c (parse_branch): One more memory leak plugged.
7244         * posix/bug-regex31.input: Add test case.
7246 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
7248         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7249         * posix/bug-regex31.input: New file.
7251         [BZ #12078]
7252         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7253         (parse_sub_exp): Fix last change, use postorder.
7255         * posix/bug-regex31.c: New file.
7256         * posix/Makefile: Add rules to build and run bug-regex31.
7258         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7260         [BZ #12078]
7261         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7263         [BZ #12108]
7264         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7265         to have entries in sys_siglist.
7267         [BZ #12093]
7268         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7269         be NULL.
7271 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
7273         [BZ #3268]
7274         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7275         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7276         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7277         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7278         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7279         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7280         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7281         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7282         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7283         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7284         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7285         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7286         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7287         * math/ftestexcept.c (fetestexcept): Likewise.
7288         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7289         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7290         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7291         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7292         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7293         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7294         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7296 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
7298         [BZ #12107]
7299         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7300         newline.
7302 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
7304         * string/bug-strstr1.c: New file.
7305         * string/Makefile: Add rules to build and run bug-strstr1.
7307 2010-10-05  Eric Blake  <eblake@redhat.com>
7309         [BZ #12092]
7310         * string/str-two-way.h (two_way_long_needle): Always clear memory
7311         when skipping input due to the shift table.
7313 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
7315         [BZ #12005]
7316         * malloc/mcheck.c: Handle large requests.
7318         [BZ #12077]
7319         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7320         for strncmp and strncasecmp.
7321         * string/stratcliff.c: Add tests for strcmp and strncmp.
7322         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7324 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7326         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7327         __set_fpscr.
7329 2010-09-30  Andreas Jaeger  <aj@suse.de>
7331         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7332         (CGROUP_SUPER_MAGIC): Define.
7333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7334         Handle btrfs and cgroup file systems.
7335         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7336         Likewise.
7338 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
7340         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7341         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7343 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7345         [BZ #12067]
7346         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7347         trying to locate the ELF header.
7349 2010-09-27  Andreas Schwab  <schwab@redhat.com>
7351         [BZ #11611]
7352         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7353         Mask out sign-bit copies when constructing f_fsid.
7355 2010-09-24  Petr Baudis <pasky@suse.cz>
7357         * debug/stack_chk_fail_local.c: Add missing licence exception.
7358         * debug/warning-nop.c: Likewise.
7360 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
7362         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7363         implementing getdents64 using getdents syscall, set d_type if
7364         __ASSUME_GETDENTS32_D_TYPE.
7366 2010-09-16  Andreas Schwab  <schwab@redhat.com>
7368         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7369         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7371 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
7373         [BZ #12037]
7374         * posix/unistd.h: Undo change of feature selection for ftruncate from
7375         2010-01-11.
7377 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
7379         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7380         detection.
7382 2010-09-20  Andreas Schwab  <schwab@redhat.com>
7384         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7385         fanotify_mark.
7386         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7388 2010-09-14  Andreas Schwab  <schwab@redhat.com>
7390         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7391         variables after CHECK_SP call.
7392         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7394 2010-09-13  Andreas Schwab  <schwab@redhat.com>
7395             Ulrich Drepper  <drepper@redhat.com>
7397         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7398         re-relocationg ld.so.
7399         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7400         _dl_init_paths call.
7401         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
7402         here anymore.
7404 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
7406         * resolv/res_init.c (__res_vinit): Count the default server we added.
7408 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
7409             Ulrich Drepper  <drepper@redhat.com>
7411         [BZ #11968]
7412         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7413         (____longjmp_chk): Use %ebx for saving value across system call.
7414         Add unwind info.
7416 2010-09-06  Andreas Schwab  <schwab@redhat.com>
7418         * manual/Makefile: Don't mix pattern rules with normal rules.
7420 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
7422         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7423         operation.
7424         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7425         * libio/iofopncook.c (_IO_cookie_init): Likewise.
7426         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7427         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7428         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7429         Likewise.
7431 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
7433         [BZ #11979]
7434         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7435         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7437 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
7439         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7440         * sysdeps/x86_64/addmul_1.S: Likewise.
7441         * sysdeps/x86_64/lshift.S: Likewise.
7442         * sysdeps/x86_64/mul_1.S: Likewise.
7443         * sysdeps/x86_64/rshift.S: Likewise.
7444         * sysdeps/x86_64/sub_n.S: Likewise.
7445         * sysdeps/x86_64/submul_1.S: Likewise.
7447 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7449         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7450         Define __sched_param instead of SCHED_* and sched_param when
7451         <bits/sched.h> is included with __need_schedparam defined.
7452         * bits/sched.h [__need_schedparam]
7453         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7454         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7455         (__defined_schedparam): Define to 1.
7456         (__sched_param): New structure, identical to sched_param.
7457         (__need_schedparam): Undefine.
7459 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
7461         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7462         (epoll_create1): Declare.
7464         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7466 2010-08-31  Andreas Schwab  <schwab@redhat.com>
7468         [BZ #7066]
7469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7470         shifting retval into place.
7472 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
7474         * nis/rpcsvc/nis.h: Update copyright notice.
7475         * nis/rpcsvc/nis.x: Likewise.
7476         * nis/rpcsvc/nis_callback.h: Likewise.
7477         * nis/rpcsvc/nis_callback.x: Likewise.
7478         * nis/rpcsvc/nis_object.x: Likewise.
7479         * nis/rpcsvc/nis_tags.h: Likewise.
7480         * nis/rpcsvc/yp.h: Likewise.
7481         * nis/rpcsvc/yp.x: Likewise.
7482         * nis/rpcsvc/ypupd.h: Likewise.
7483         * nis/yp_xdr.c: Likewise.
7484         * nis/ypupdate_xdr.c: Likewise.
7486         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
7487         mainly the body of pmap_getport.  Add parameters to specify timeouts.
7488         (pmap_getport): Use __libc_rpc_getport.
7489         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7490         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7491         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7493 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7496         fanotify_mark.
7498 2010-08-27  Roland McGrath  <roland@redhat.com>
7500         * sysdeps/i386/i686/multiarch/Makefile
7501         (CFLAGS-varshift.c): New variable.
7503 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
7505         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7506         * sysdeps/i386/i686/multiarch/varshift.c: New file.
7508         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7510         * sysdeps/x86_64/strlen.S: Minimal code improvement.
7512 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7514         * sysdeps/x86_64/strlen.S: Unroll the loop.
7515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7516         strlen-sse2 strlen-sse2-bsf.
7517         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7518         __strlen_no_bsf if bit_Slow_BSF is set.
7519         (__strlen_sse42): Removed.
7520         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7521         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7523 2010-08-25  Roland McGrath  <roland@redhat.com>
7525         * sysdeps/x86_64/multiarch/varshift.S: File removed.
7526         * sysdeps/x86_64/multiarch/varshift.c: New file.
7527         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7528         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7529         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7530         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7532 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7534         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7535         strlen-sse2 strlen-sse2-bsf.
7536         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7537         __strlen_sse2_bsf if bit_Slow_BSF is unset.
7538         (__strlen_sse2): Removed.
7539         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7540         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7542         bit_Slow_BSF for Atom.
7543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7544         (index_Slow_BSF): Define.
7545         (HAS_SLOW_BSF): Define.
7547 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
7549         [BZ #10851]
7550         * resolv/res_init.c (__res_vinit): When no server address at all
7551         is given default to loopback.
7553 2010-08-24  Roland McGrath  <roland@redhat.com>
7555         * configure.in: Remove config-name.h generation.
7556         * configure: Regenerated.
7557         * config-name.in: File removed.
7558         * scripts/config-uname.sh: New file.
7559         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7560         ($(objdir)config-name.h): New target.
7562         * sunrpc/rpc_parse.h: Avoid nested comment.
7564 2010-08-24  Richard Henderson  <rth@redhat.com>
7565             Ulrich Drepper  <drepper@redhat.com>
7566             H.J. Lu  <hongjiu.lu@intel.com>
7568         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7570         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7571         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
7572         _mm_alignr_epi8 with _mm_loadu_si128.
7573         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7574         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7575         (__m128i_shift_right): Removed.
7576         * sysdeps/i386/i686/multiarch/varshift.h: New file.
7577         * sysdeps/i386/i686/multiarch/varshift.S: New file.
7578         * sysdeps/x86_64/multiarch/varshift.h: New file.
7579         * sysdeps/x86_64/multiarch/varshift.S: New file.
7581 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
7583         * configure.in: Move assembler checks to before sysdep dir checking.
7585 2010-08-20  Petr Baudis  <pasky@suse.cz>
7587         * LICENSES: Sync the sunrpc license.
7589 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
7591         * sunrpc/auth_des.c: Update copyright notice once again.
7592         * sunrpc/auth_none.c: Likewise.
7593         * sunrpc/auth_unix.c: Likewise.
7594         * sunrpc/authdes_prot.c: Likewise.
7595         * sunrpc/authuxprot.c: Likewise.
7596         * sunrpc/bindrsvprt.c: Likewise.
7597         * sunrpc/clnt_gen.c: Likewise.
7598         * sunrpc/clnt_perr.c: Likewise.
7599         * sunrpc/clnt_raw.c: Likewise.
7600         * sunrpc/clnt_simp.c: Likewise.
7601         * sunrpc/clnt_tcp.c: Likewise.
7602         * sunrpc/clnt_udp.c: Likewise.
7603         * sunrpc/clnt_unix.c: Likewise.
7604         * sunrpc/des_crypt.c: Likewise.
7605         * sunrpc/des_soft.c: Likewise.
7606         * sunrpc/get_myaddr.c: Likewise.
7607         * sunrpc/getrpcport.c: Likewise.
7608         * sunrpc/key_call.c: Likewise.
7609         * sunrpc/key_prot.c: Likewise.
7610         * sunrpc/openchild.c: Likewise.
7611         * sunrpc/pm_getmaps.c: Likewise.
7612         * sunrpc/pm_getport.c: Likewise.
7613         * sunrpc/pmap_clnt.c: Likewise.
7614         * sunrpc/pmap_prot.c: Likewise.
7615         * sunrpc/pmap_prot2.c: Likewise.
7616         * sunrpc/pmap_rmt.c: Likewise.
7617         * sunrpc/rpc/auth.h: Likewise.
7618         * sunrpc/rpc/auth_unix.h: Likewise.
7619         * sunrpc/rpc/clnt.h: Likewise.
7620         * sunrpc/rpc/des_crypt.h: Likewise.
7621         * sunrpc/rpc/key_prot.h: Likewise.
7622         * sunrpc/rpc/netdb.h: Likewise.
7623         * sunrpc/rpc/pmap_clnt.h: Likewise.
7624         * sunrpc/rpc/pmap_prot.h: Likewise.
7625         * sunrpc/rpc/pmap_rmt.h: Likewise.
7626         * sunrpc/rpc/rpc.h: Likewise.
7627         * sunrpc/rpc/rpc_des.h: Likewise.
7628         * sunrpc/rpc/rpc_msg.h: Likewise.
7629         * sunrpc/rpc/svc.h: Likewise.
7630         * sunrpc/rpc/svc_auth.h: Likewise.
7631         * sunrpc/rpc/types.h: Likewise.
7632         * sunrpc/rpc/xdr.h: Likewise.
7633         * sunrpc/rpc_clntout.c: Likewise.
7634         * sunrpc/rpc_cmsg.c: Likewise.
7635         * sunrpc/rpc_common.c: Likewise.
7636         * sunrpc/rpc_cout.c: Likewise.
7637         * sunrpc/rpc_dtable.c: Likewise.
7638         * sunrpc/rpc_hout.c: Likewise.
7639         * sunrpc/rpc_main.c: Likewise.
7640         * sunrpc/rpc_parse.c: Likewise.
7641         * sunrpc/rpc_parse.h: Likewise.
7642         * sunrpc/rpc_prot.c: Likewise.
7643         * sunrpc/rpc_sample.c: Likewise.
7644         * sunrpc/rpc_scan.c: Likewise.
7645         * sunrpc/rpc_scan.h: Likewise.
7646         * sunrpc/rpc_svcout.c: Likewise.
7647         * sunrpc/rpc_tblout.c: Likewise.
7648         * sunrpc/rpc_util.c: Likewise.
7649         * sunrpc/rpc_util.h: Likewise.
7650         * sunrpc/rpcinfo.c: Likewise.
7651         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7652         * sunrpc/rpcsvc/key_prot.x: Likewise.
7653         * sunrpc/rpcsvc/klm_prot.x: Likewise.
7654         * sunrpc/rpcsvc/mount.x: Likewise.
7655         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7656         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7657         * sunrpc/rpcsvc/rex.x: Likewise.
7658         * sunrpc/rpcsvc/rstat.x: Likewise.
7659         * sunrpc/rpcsvc/rusers.x: Likewise.
7660         * sunrpc/rpcsvc/sm_inter.x: Likewise.
7661         * sunrpc/rpcsvc/spray.x: Likewise.
7662         * sunrpc/rpcsvc/yppasswd.x: Likewise.
7663         * sunrpc/rtime.c: Likewise.
7664         * sunrpc/svc.c: Likewise.
7665         * sunrpc/svc_auth.c: Likewise.
7666         * sunrpc/svc_authux.c: Likewise.
7667         * sunrpc/svc_raw.c: Likewise.
7668         * sunrpc/svc_run.c: Likewise.
7669         * sunrpc/svc_simple.c: Likewise.
7670         * sunrpc/svc_tcp.c: Likewise.
7671         * sunrpc/svc_udp.c: Likewise.
7672         * sunrpc/svc_unix.c: Likewise.
7673         * sunrpc/svcauth_des.c: Likewise.
7674         * sunrpc/xcrypt.c: Likewise.
7675         * sunrpc/xdr.c: Likewise.
7676         * sunrpc/xdr_array.c: Likewise.
7677         * sunrpc/xdr_float.c: Likewise.
7678         * sunrpc/xdr_mem.c: Likewise.
7679         * sunrpc/xdr_rec.c: Likewise.
7680         * sunrpc/xdr_ref.c: Likewise.
7681         * sunrpc/xdr_sizeof.c: Likewise.
7682         * sunrpc/xdr_stdio.c: Likewise.
7684         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
7685         handling.
7687 2010-08-19  Andreas Schwab  <schwab@redhat.com>
7689         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
7691 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
7693         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7694         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7696         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7697         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7698         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7699         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7700         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7701         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7702         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7703         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7704         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7705         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7706         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7708 2010-07-26  Anton Blanchard  <anton@samba.org>
7710         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7711         * malloc/arena.c (heap_trim): Likewise.
7713 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
7715         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7716         here.  Not...
7717         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7718         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7720 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7722         * sysdeps/i386/elf/Makefile: New file.
7724 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
7726         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7727         from fanotify_init.
7728         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7731 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
7733         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7734         of strncasecmp_l.
7735         * sysdeps/multiarch/strcmp.S: Likewise.
7737 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
7739         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7740         strncase_l-nonascii.
7741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7742         Add strncase_l-ssse3.
7743         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7744         * sysdeps/x86_64/strcmp.S: Likewise.
7745         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7746         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7747         * sysdeps/x86_64/strncase.S: New file.
7748         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7749         * sysdeps/x86_64/strncase_l.S: New file.
7750         * string/Makefile (strop-tests): Add strncasecmp.
7751         * string/test-strncasecmp.c: New file.
7753         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7754         warning.
7756         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7757         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7759 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
7761         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7763 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
7765         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7767         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7769 2010-05-01  Alan Modra  <amodra@gmail.com>
7771         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7772         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7773         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7774         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7775         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7776         tidying.  Don't tail-call __sigjmp_save for static lib.
7777         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7778         save location.
7779         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7780         (CALL_MCOUNT): Add eh info, and nop after bl.
7781         (TAIL_CALL_SYSCALL_ERROR): New macro.
7782         (PSEUDO_RET): Use it.
7783         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7784         Correct save location of integer regs and cr.
7785         (_dl_profile_resolve): Correct cr save location.  Delete nops
7786         after bl when SHARED.  Reduce cfi size a little by better
7787         placement of cfi directives.
7788         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7789         make a stack frame.  Instead use parm save area as a temp.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7791         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
7792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7793         Don't make a stack frame for parent, use parm save area.
7794         Increase child stack frame to 112 bytes.  Don't save unused reg,
7795         and adjust reg usage.  Set up cfi on error recovery and
7796         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7798         (__makecontext): Add dummy nop after jump to exit.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7800         Use correct parm save area and cr save, reduce stack frame.
7801         Correct cfi for possible PSEUDO_RET frame setup.
7802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7803         Branch to local label emitted by PSEUDO_RET rather than
7804         __syscall_error.
7806 2010-08-12  Andreas Schwab  <schwab@redhat.com>
7808         [BZ #11904]
7809         * locale/programs/locale.c (print_assignment): New function.
7810         (show_locale_vars): Use it.
7812 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
7814         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7815         field.
7816         (struct statfs64): Likewise.
7817         (_STATFS_F_FLAGS): Define.
7818         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7819         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7820         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7821         (ST_VALID): Define locally.
7822         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7823         __statvfs_getflags, use the provided value.
7824         * sysdeps/unix/sysv/linux/kernel-features.h: Define
7825         __ASSUME_STATFS_F_FLAGS.
7827         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7829         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7830         Add sys/fanotify.h.
7831         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7832         fanotify_mask for GLIBC_2.13.
7833         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7834         fanotify_init and fanotify_mark.
7835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7836         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7838         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7839         Add prlimit.
7840         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7841         prlimit64 for GLIBC_2.13.
7842         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7843         prlimit64.
7844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7845         syscall.
7846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7848         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7850         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
7851         add prlimit alias.
7852         * sysdeps/unix/sysv/linux/prlimit.c: New file.
7854         [BZ #11903]
7855         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7856         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7858         * nss/Makefile: Add rules to build and run tst-nss-test1.
7859         * shlib-versions: Add entry for libnss_test1.
7860         * nss/nss_test1.c: New file.
7861         * nss/tst-nss-test1.c: New file.
7863         * nss/nsswitch.c (__nss_database_custom): Define new variable.
7864         (__nss_configure_lookup): Set appropriate entry in
7865         __nss_configure_lookup to true.
7866         * nss/nsswitch.h: Define enum with indeces of databases in
7867         databases and __nss_database_custom arrays.  Declare
7868         __nss_database_custom.
7869         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7870         to avoid using nscd when custom rules are installed.
7871         * nss/getXXbyYY_r.c: Likewise.
7872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7874         * nss/nss_files/files-parse.c: Whitespace fixes.
7876 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
7878         [BZ #11883]
7879         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7880         * posix/fnmatch_loop.c: Likewise.
7882 2010-07-17  Andi Kleen  <ak@linux.intel.com>
7884         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7885         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7886         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7887         * Versions.def [GLIBC_2.13]: Add.
7889 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
7891         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7892         Also fail if tpwd after pwuid call is NULL.
7894 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7896         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7897         when converting to ms.
7899 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7901         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7902         EOPNOTSUPP errors with ENOTTY.
7903         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7904         EOPNOTSUPP errors with ENOTTY.
7906 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
7908         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7909         Add strcasecmp_l-ssse3.
7910         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7911         strcasecmp.
7912         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7913         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7914         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7916 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
7918         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7920         * string/Makefile (strop-tests): Add strcasecmp.
7921         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7922         strcasecmp_l-nonascii.
7923         (gen-as-const-headers): Add locale-defines.sym.
7924         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7925         * sysdeps/x86_64/strcasecmp.S: New file.
7926         * sysdeps/x86_64/strcasecmp_l.S: New file.
7927         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7928         * sysdeps/x86_64/locale-defines.sym: New file.
7929         * string/test-strcasecmp.c: New file.
7931         * string/test-strcasestr.c: Test both ends of the range of characters.
7932         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7934 2010-07-29  Roland McGrath  <roland@redhat.com>
7936         [BZ #11856]
7937         * manual/locale.texi (Yes-or-No Questions): Fix example code.
7939 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
7941         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7942         for ld.so.
7944 2010-07-27  Andreas Schwab  <schwab@redhat.com>
7946         * manual/memory.texi (Malloc Tunable Parameters): Document
7947         M_PERTURB.
7949 2010-07-26  Roland McGrath  <roland@redhat.com>
7951         [BZ #11840]
7952         * configure.in (-fgnu89-inline check): Set and substitute
7953         gnu89_inline, not libc_cv_gnu89_inline.
7954         * configure: Regenerated.
7955         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7957 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
7959         * string/test-strnlen.c: New file.
7960         * string/Makefile (strop-tests): Add strnlen.
7961         * string/tester.c (test_strnlen): Add a few more test cases.
7962         * string/tst-strlen.c: Better error reporting.
7964         * sysdeps/x86_64/strnlen.S: New file.
7966 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
7968         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7969         lower-latency instructions.
7971 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
7973         * string/test-strcasestr.c: New file.
7974         * string/test-strstr.c: New file.
7975         * string/Makefile (strop-tests): Add strstr and strcasestr.
7976         * string/str-two-way.h: Don't undefine MAX.
7977         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7979 2010-07-21  Andreas Schwab  <schwab@redhat.com>
7981         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7982         strcasestr-nonascii.
7983         (CFLAGS-strcasestr-nonascii.c): Define.
7984         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7986         Remove unused attribute.
7988 2010-07-20  Roland McGrath  <roland@redhat.com>
7990         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7991         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
7992         ld.so.cache was broken.  With it, there is no way to disable dsocaps
7993         like LD_HWCAP_MASK can disable hwcaps.
7995 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
7997         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7999 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
8001         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8002         call in strcasestr.
8003         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8004         __strcasestr_sse42_nonascii.
8005         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8006         strcasestr-nonascii.c.
8007         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8009 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
8011         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8012         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8013         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8014         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8016 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
8018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8019         fcntl.
8021 2010-07-06  Andreas Schwab  <schwab@redhat.com>
8023         [BZ #11577]
8024         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8025         dl_signal_cerror.
8027 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
8029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8030         _PC_PIPE_BUF using F_GETPIPE_SZ.
8032 2010-07-05  Roland McGrath  <roland@redhat.com>
8034         * manual/arith.texi (Rounding Functions): Fix rint description
8035         implicit in round description.
8037 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
8039         * elf/Makefile: Fix linking for a few tests to make recent linker
8040         happy.
8042 2010-06-30  Andreas Schwab  <schwab@redhat.com>
8044         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8045         $(common-objpfx)libc_nonshared.a.
8047 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
8049         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8050         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8051         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8052         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8053         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8054         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8055         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8056         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8071         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8072         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8073         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8074         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8075         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8076         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8077         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8078         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8079         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8080         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8081         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8082         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8098 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8100         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8101         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
8102         * string/memmove.c (memmove): Renamed to ...
8103         (MEMMOVE): ...this.  Default to memmove.
8104         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8105         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8106         (END_CHK): Define.
8107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8108         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8109         mempcpy-ssse3-back memmove-ssse3-back.
8110         * sysdeps/x86_64/multiarch/bcopy.S: New file .
8111         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8112         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8113         * sysdeps/x86_64/multiarch/memcpy.S: New file.
8114         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8115         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8116         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8117         * sysdeps/x86_64/multiarch/memmove.c: New file.
8118         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8119         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8120         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8121         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8122         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8123         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8124         Define.
8125         (index_Fast_Copy_Backward): Define.
8126         (HAS_ARCH_FEATURE): Define.
8127         (HAS_FAST_REP_STRING): Define.
8128         (HAS_FAST_COPY_BACKWARD): Define.
8130 2010-06-21  Andreas Schwab  <schwab@redhat.com>
8132         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8133         Restore proper fallback handling.
8135 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
8137         [BZ #11701]
8138         * posix/group_member.c (__group_member): Correct checking loop.
8140         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8141         OOM in getpwuid_r correctly.  Return error number when the caller
8142         should return, otherwise -1.
8143         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8144         call returning > 0 value.
8145         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8147 2010-06-07  Andreas Schwab  <schwab@redhat.com>
8149         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8150         libc_nonshared.a from targets in modules-names.
8152 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
8154         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8155         requires it.
8157 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
8159         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8160         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8161         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8162         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8164 2010-06-02  Andreas Schwab  <schwab@redhat.com>
8166         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8168 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
8170         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8171         and F_GETPIPE_SZ.
8172         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8176         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8177         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8179 2010-06-14  Roland McGrath  <roland@redhat.com>
8181         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8183 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
8185         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8186         __REDIRECT followed by __THROW.
8187         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8188         * posix/getopt.h (getopt): Likewise.
8190 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
8192         * hurd/lookup-at.c (__file_name_lookup_at): Accept
8193         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
8194         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8195         in AT_FLAGS.
8196         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8197         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8199 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
8201         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8203 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
8205         [BZ #11640]
8206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8207         Properly check family and model.
8209 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
8211         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8213 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
8215         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8217 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
8219         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8220         symbol reference.
8222 2010-05-19  Andreas Schwab  <schwab@redhat.com>
8224         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8225         symbol reference.
8227 2010-05-21  Andreas Schwab  <schwab@redhat.com>
8229         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8230         and internal_recvmmsg.
8231         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8232         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8233         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8234         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8236         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8237         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8238         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8240 2010-05-20  Andreas Schwab  <schwab@redhat.com>
8242         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8244 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
8246         POWER7 optimizations.
8247         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8248         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8250 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
8252         * version.h: Update for 2.13 development version.
8254 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
8256         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8257         exceptions.  Return 0.
8259 2010-05-07  Roland McGrath  <roland@redhat.com>
8261         * elf/ldconfig.c (main): Add a const.
8263 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
8265         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8266         (args_options): Add no-idn option.
8267         (ahosts_keys_int): Add idn_flags to ai_flags.
8268         (parse_option): Handle 'i' option to clear idn_flags.
8270         * malloc/malloc.c (_int_free): Possible race in the most recently
8271         added check.  Only act on the data if no current modification
8272         happened.
8274 See ChangeLog.17 for earlier changes.