70b6faf20f24a638b383ab099508735ac9094e5f
[platform/upstream/glibc.git] / ChangeLog
1 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
2
3         [BZ #12587]
4         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5         Handle cache information in CPU leaf 4.
6         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7
8 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
9
10         [BZ #12583]
11         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12         character representation.
13         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14
15 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
16
17         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18         END(__isnan) to END(__isnanf) to match function entry point/label
19         EALIGN(__isnanf,...).
20
21 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
22
23         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24
25 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26
27         [BZ #12510]
28         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29         copy from the symbol referenced in the relocation to initialize the
30         used variable.
31         Patch by Piotr Bury <pbury@goahead.com>.
32         * elf/Makefile: Add rules to build and tst-unique3.
33         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34         * elf/tst-unique3.cc: New file.
35         * elf/tst-unique3.h: New file.
36         * elf/tst-unique3lib.cc: New file.
37         * elf/tst-unique3lib2.cc: New file.
38
39         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40
41 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42
43         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45         to _start.
46
47 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48
49         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50         to-be-loaded object along a path to loader is ld.so.
51
52 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53             Ulrich Drepper  <drepper@gmail.com>
54
55         * sysdeps/x86_64/memset.S: After aligning destination, code
56         branches to different locations depending on the value of
57         misalignment, when multiarch is enabled. Fix this.
58
59 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60
61         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62         Set _x86_64_preferred_memory_instruction for AMD processsors.
63         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64         Set bit_Prefer_SSE_for_memop for AMD processors.
65
66 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67
68         * libio/fmemopen.c (fmemopen): Optimize a bit.
69
70 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71
72         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73
74 2011-03-03  Roland McGrath  <roland@redhat.com>
75
76         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77
78 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79
80         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81         __bzero_ultra1 instead of __memset_ultra1.
82
83 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84             Ulrich Drepper  <drepper@gmail.com>
85
86         [BZ #12509]
87         * include/link.h (struct link_map): Add l_orig_initfini.
88         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89         returning unsuccessfully.
90         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91         close of a file loaded at startup, restore the original l_initfini
92         list.
93         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94         list, store the pointer.
95         * elf/Makefile ($(objpfx)noload-mem): New rule.
96         (noload-ENV): Define.
97         (tests): Add $(objpfx)noload-mem.
98         * elf/noload.c: Include <memcheck.h>.
99         (main): Call mtrace.  Close all opened handles.
100
101 2011-02-17  Andreas Schwab  <schwab@redhat.com>
102
103         [BZ #12454]
104         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
105         dependencies are missing.
106
107 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
108
109         Fix __if_freereq crash: Unlike the generic version which uses free,
110         Hurd needs munmap.
111         * sysdeps/mach/hurd/ifreq.h: New file.
112
113 2011-01-27  Petr Baudis  <pasky@suse.cz>
114             Ulrich Drepper  <drepper@gmail.com>
115
116         [BZ 12445]#
117         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
118         to extend_alloca().
119         * stdio-common/bug23.c: New file.
120         * stdio-common/Makefile (tests): Add bug23.
121
122 2010-09-28  Andreas Schwab  <schwab@redhat.com>
123             Ulrich Drepper  <drepper@gmail.com>
124
125         [BZ #12489]
126         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
127         before performing relro protection.  At old place add assertion
128         to make sure nothing changed.
129
130 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
131             Glauber de Oliveira Costa  <glommer@gmail.com>
132
133         * elf/elf.h: Add new ARM TLS relocs.
134
135 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
136
137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
138         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
139         cast from r3.
140         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
141         'tests' variable.
142         * sysdeps/wordsize-64/tst-writev.c: New file.
143
144 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
145
146         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
147         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
148         insns in _dl_start to prevent a TOC reference before relocs are
149         resolved.
150
151 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
152
153         [BZ #12469]
154         * Makeconfig: Remove RANLIB definition.
155         * Makerules: Don't use RANLIB.
156         * aclocal.m4: Remove ranlib test.
157         * configure.in: No need to check for ranlib.
158         * elf/rtld-Rules: Don't use RANLIB.
159
160 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
161
162         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
163         protection macro.
164         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
165         inclusion protection macro.
166
167         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
168         SIGRTMIN and SIGRTMAX and print information in that case only when
169         SIGRTMIN is defined.
170
171 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
172
173         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
174         arginfo fn returning -1.
175
176         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
177         and thousands string is zero terminated.
178
179 2011-02-03  Andreas Schwab  <schwab@redhat.com>
180
181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
182         sysdeps/unix/sysv/linux/bits/socket.h.
183
184 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
185
186         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
187         (__CPU_COUNT): Remove old macros.
188         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
189         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
190         (__CPU_ALLOC, __CPU_FREE): Add macros.
191         (__sched_cpualloc, __sched_cpufree): Add declarations.
192
193 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
194
195         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
196         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
197         * nscd/aicache.c (addhstaiX): Return timeout of added value.
198         (readdhstai): Return value of addhstaiX call.
199         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
200         (addgrbyX): Return value returned by cache_addgr.
201         (readdgrbyname): Return value returned by addgrbyX.
202         (readdgrbygid): Likewise.
203         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
204         (addpwbyX): Return value returned by cache_addpw.
205         (readdpwbyname): Return value returned by addhstbyX.
206         (readdpwbyuid): Likewise.
207         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
208         (addservbyX): Return value returned by cache_addserv.
209         (readdservbyname): Return value returned by addservbyX:
210         (readdservbyport): Likewise.
211         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
212         (addhstbyX): Return value returned by cache_addhst.
213         (readdhstbyname): Return value returned by addhstbyX.
214         (readdhstbyaddr): Likewise.
215         (readdhstbynamev6): Likewise.
216         (readdhstbyaddrv6): Likewise.
217         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
218         (readdinitgroups): Return value returned by addinitgroupsX.
219         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
220         (prune_cache): Keep track of timeout value of re-added entries.
221         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
222         * nscd/nscd.h: Adjust prototypes of readd* functions.
223
224 2011-02-04  Roland McGrath  <roland@redhat.com>
225
226         * nis/nis_server.c (nis_servstate): Use the right name for 0.
227         (nis_stats): Likewise.
228         * nis/nis_modify.c (nis_modify): Likewise.
229         * nis/nis_remove.c (nis_remove): Likewise.
230         * nis/nis_add.c (nis_add): Likewise.
231
232         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
233
234         * posix/fnmatch_loop.c: Add some consts.
235
236         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
237
238 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
239
240         [BZ #12460]
241         * config.make.in (config-cflags-novzeroupper): Define.
242         * configure.in: Substitute libc_cv_cc_novzeroupper.
243         * elf/Makefile (AVX-CFLAGS): Define.
244         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
245         (CFLAGS-tst-auditmod4a.c): Likewise.
246         (CFLAGS-tst-auditmod4b.c): Likewise.
247         (CFLAGS-tst-auditmod6b.c): Likewise.
248         (CFLAGS-tst-auditmod6c.c): Likewise.
249         (CFLAGS-tst-auditmod7b.c): Likewise.
250         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
251
252 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
253
254         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
255         function to the callback.
256         Patch partly by Jiri Olsa <jolsa@redhat.com>.
257
258 2011-02-02  Andreas Schwab  <schwab@redhat.com>
259
260         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
261         of errno.
262
263 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
264
265         [BZ #11724]
266         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
267         of constructors.
268         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
269         of destructors.
270         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
271
272         [BZ #11724]
273         * elf/Makefile: Add rules to build and run new test.
274         * elf/tst-initorder.c: New file.
275         * elf/tst-initorder.exp: New file.
276         * elf/tst-initordera1.c: New file.
277         * elf/tst-initordera2.c: New file.
278         * elf/tst-initordera3.c: New file.
279         * elf/tst-initordera4.c: New file.
280         * elf/tst-initorderb1.c: New file.
281         * elf/tst-initorderb2.c: New file.
282         * elf/tst-order-a1.c: New file.
283         * elf/tst-order-a2.c: New file.
284         * elf/tst-order-a3.c: New file.
285         * elf/tst-order-a4.c: New file.
286         * elf/tst-order-b1.c: New file.
287         * elf/tst-order-b2.c: New file.
288         * elf/tst-order-main.c: New file.
289         New test case by George Gensure <werkt0@gmail.com>.
290
291 2010-10-01  Andreas Schwab  <schwab@redhat.com>
292
293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
294         decoding ACE if AI_CANONIDN.
295
296 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
297
298         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
299
300 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
301
302         * version.h (RELEASE): Bump for 2.13 release.
303         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
304
305         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
306
307         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
308         MADV_NOHUGEPAGE.
309         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
310         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
311         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
312         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
313         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
315
316         * posix/getconf.c: Update copyright year.
317         * catgets/gencat.c: Likewise.
318         * csu/version.c: Likewise.
319         * debug/catchsegv.sh: Likewise.
320         * debug/xtrace.sh: Likewise.
321         * elf/ldconfig.c: Likewise.
322         * elf/ldd.bash.in: Likewise.
323         * elf/sprof.c (print_version): Likewise.
324         * iconv/iconv_prog.c: Likewise.
325         * iconv/iconvconfig.c: Likewise.
326         * locale/programs/locale.c: Likewise.
327         * locale/programs/localedef.c: Likewise.
328         * malloc/memusage.sh: Likewise.
329         * malloc/mtrace.pl: Likewise.
330         * nscd/nscd.c (print_version): Likewise.
331         * nss/getent.c: Likewise.
332
333         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
334         PF_CAIF, and PF_ALG.
335         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
336
337 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
338
339         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
340         (modules-names): Use them.
341         (ifunc-test-modules, ifunc-pie-tests): Define.
342         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
343         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
344         (test-extras): Likewise.
345         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
346         $(compile-command.c).
347         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
348         (all-built-dso): Define.
349         (check-textrel.out, check-execstack.out): Depend on it.
350
351         * configure.in: Don't override --enable-multi-arch.
352
353 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
354
355         [BZ #6812]
356         * nscd/hstcache.c (tryagain): Define.
357         (cache_addhst): Return tryagain not notfound for temporary errors.
358         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
359         failed.
360
361 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
362
363         [BZ #10563]
364         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
365         to make the syscall.
366         * sysdeps/unix/sysv/linux/setgroups.c: New file.
367
368         [BZ #12378]
369         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
370         and fall back to matching as normal character if the string ends before
371         the matching ']' is found.  This is what POSIX requires.
372         * posix/testfnm.c: Adjust test result.
373         * posix/globtest.sh: Adjust test result.  Add new test.
374         * posix/tst-fnmatch.input: Likewise.
375         * posix/tst-fnmatch2.c: Add new test.
376
377 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
378
379         * elf/Makefile (check-execstack): Revert last change.  Depend on
380         check-execstack.h.
381         (check-execstack.h): New target.
382         (generated): Add check-execstack.h.
383         * elf/check-execstack.c: Include "check-execstack.h".
384         (main): Revert last change.
385         (handle_file): Return zero if GNU_STACK is absent and
386         DEFAULT_STACK_PERMS doesn't include PF_X.
387
388 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
389
390         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
391         in child fails because the descriptor is already closed.
392         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
393         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
394         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
395
396         [BZ #12397]
397         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
398         syscall.
399
400         [BZ #10484]
401         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
402         temporary buffer used to handle multi lookups locally.
403         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
404
405 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
406
407         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
408         loader is ld.so.
409
410 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
411
412         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
413         alignment for SSE2.
414
415 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
416
417         [BZ #12394]
418         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
419         characters.  When rounding increased number of integer digits recompute
420         number of groups.
421         * stdio-common/tst-grouping.c: New file.
422         * stdio-common/Makefile: Add rules to build and run tst-grouping.
423
424 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
425
426         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
427         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
428
429         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
430         void.
431         * bits/select.h: Likewise.
432
433 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
434
435         * po/ja.po: Update from translation team.
436
437 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
438
439         [BZ #11155]
440         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
441         implementation just like for lxstat, fxstatat, et al.
442
443 2010-12-27  Jim Meyering  <meyering@redhat.com>
444
445         [BZ #12348]
446         * posix/regexec.c (build_trtable): Return failure indication upon
447         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
448
449 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
450
451         [BZ #12201]
452         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
453         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
454         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
455         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
456
457         [BZ #12207]
458         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
459
460         [BZ #12204]
461         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
462         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
463
464 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
465
466         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
467         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
468         script has SORT_BY_INIT_PRIORITY.
469         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
470         NO_CTORS_DTORS_SECTIONS is defined.
471         * elf/soinit.c: Likewise.
472         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
473         NO_CTORS_DTORS_SECTIONS is defined.
474         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
475         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
476         * sysdeps/sh/init-first.c: Likewise.
477         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
478
479 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
480
481         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
482         always use the slow path.
483
484 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
485
486         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
487         similar rule which adds the sysdep directories to the header search in
488         order to pick up the correct platform stackinfo.h.
489         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
490         perform test if it is, otherwise return successfully without testing.
491         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
492         DEFAULT_STACK_PERMS define in stackinfo.h.
493         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
494         defined in stackinfo.h.
495         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
496         DEFAULT_STACK_PERMS defined in stackinfo.h.
497         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
498         * sysdeps/ia64/stackinfo.h: Likewise.
499         * sysdeps/s390/stackinfo.h: Likewise.
500         * sysdeps/sh/stackinfo.h: Likewise.
501         * sysdeps/sparc/stackinfo.h: Likewise.
502         * sysdeps/x86_64/stackinfo.h: Likewise.
503         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
504         PF_X for powerpc64.  Retain PF_X for powerpc32.
505
506 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
507
508         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
509         accurately.
510         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
511         GETDENTS_64BIT_ALIGNED.
512
513 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
514
515         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
516
517 2010-12-10  Andreas Schwab  <schwab@redhat.com>
518
519         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
520         _GNU_SOURCE.
521
522         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
523         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
524         Remove __restrict.
525         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
526         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
527
528 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
529
530         [BZ #11655]
531         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
532         are initialized.
533
534 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
535
536         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
537
538 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
539
540         * po/it.po: Update from translation team.
541
542 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
543
544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
545         unused codes.
546
547 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
548
549         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
550
551 2010-11-24  Andreas Schwab  <schwab@redhat.com>
552
553         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
554         specially.
555         (gaih_getanswer_slice): Likewise.
556
557 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
558
559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
560
561 2010-05-31  Petr Baudis  <pasky@suse.cz>
562
563         [BZ #11149]
564         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
565         silently even in the chroot mode.
566
567 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
568
569         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
570         last patch a bit.  Pretty printing
571
572 2010-05-31  Petr Baudis <pasky@suse.cz>
573
574         [BZ #10085]
575         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
576         initialization of skip_initgroups_dyn.
577
578 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
579
580         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
581         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
582
583 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
584
585         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
586
587 2010-11-11  Andreas Schwab  <schwab@redhat.com>
588
589         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
590         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
591         (tst-fnmatch-ENV): Set MALLOC_TRACE.
592         ($(objpfx)tst-fnmatch-mem): New rule.
593         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
594         * posix/tst-fnmatch.c (main): Call mtrace.
595
596 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
597
598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
599         Support Intel processor model 6 and model 0x2c.
600
601 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
602
603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
604           signed comparison.
605
606 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
607
608         [BZ #12205]
609         * string/test-strncasecmp.c (check_result): New function.
610         (do_one_test): Use it.
611         (check1): New function.
612         (test_main): Use it.
613         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
614         Support strcasecmp and strncasecmp.
615
616 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
617
618         [BZ #12194]
619         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
620         * sysdeps/x86_64/bits/byteswap.h: Likewise.
621
622 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
623
624         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
625         IFUNC support.
626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
627         memset-x86-64.
628         * sysdeps/x86_64/multiarch/bzero.S: New file.
629         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
630         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
631         * sysdeps/x86_64/multiarch/memset.S: New file.
632         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
634         Set bit_Prefer_SSE_for_memop for Intel processors.
635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
636         Define.
637         (index_Prefer_SSE_for_memop): Define.
638         (HAS_PREFER_SSE_FOR_MEMOP): Define.
639
640 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
641
642         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
643         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
644
645 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
646
647         [BZ #12191]
648         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
649         (__x86_64_raw_data_cache_size_half): Likewise.
650         (__x86_64_raw_shared_cache_size): Likewise.
651         (__x86_64_raw_shared_cache_size_half): Likewise.
652
653         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
654         (__x86_64_raw_data_cache_size_half): Likewise.
655         (__x86_64_raw_shared_cache_size): Likewise.
656         (__x86_64_raw_shared_cache_size_half): Likewise.
657         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
658         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
659         and __x86_64_raw_shared_cache_size_half.  Round
660         __x86_64_data_cache_size_half, __x86_64_data_cache_size
661         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
662         to multiple of 256 bytes.
663
664 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
665
666         [BZ #12167]
667         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
668         of inacessible symlinks.  Verify result of symlink before returning it.
669         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
670         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
671
672 2010-10-28  Erich Ritz  <erichritz@gmail.com>
673
674         * math/math.h (isinf): Fix typo in comment.
675
676 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
677
678         * po/da.po: Update from translation team.
679
680 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
681
682         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
683         is added to the list.
684
685 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
686             Ulrich Drepper  <drepper@gmail.com>
687
688         * elf/dl-object.c (_dl_new_object): Don't append the new object to
689         the global list here.  Move code to...
690         (_dl_add_to_namespace_list): ...here.  New function.
691         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
692         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
693         * elf/dl-load.c (lose): Don't remove the element from the list.
694         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
695         (_dl_map_object): Likewise.
696
697 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
698
699         [BZ #12159]
700         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
701         into all bytes of SSE register.
702         Patch by Richard Li <richardpku@gmail.com>.
703
704 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
705
706         [BZ #12140]
707         * malloc/malloc.c (_int_free): Fill correct number of bytes when
708         perturbing.
709
710 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
711
712         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
713         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
714         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
715         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
717         submachine.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
719
720 2010-10-22  Andreas Schwab  <schwab@redhat.com>
721
722         * include/dlfcn.h (__RTLD_SECURE): Define.
723         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
724         mode & __RTLD_SECURE instead.
725         (open_path): Rename preloaded parameter to secure.
726         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
727         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
728         * elf/dl-deps.c (openaux): Likewise.
729         * elf/rtld.c (struct map_args): Remove is_preloaded.
730         (map_doit): Don't use it.
731         (dl_main): Likewise.
732         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
733         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
734
735 2010-09-09  Andreas Schwab  <schwab@redhat.com>
736
737         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
738         (sysd-rules-targets): Remove duplicates.
739         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
740         rtld-%.$o dependency.
741
742 2010-10-18  Andreas Schwab  <schwab@redhat.com>
743
744         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
745         _dl_map_object do it.
746
747 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
748
749         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
750         fast fma builtins, define the macros in the C99 standard.
751         (FP_FAST_FMAF): Likewise.
752         (FP_FAST_FMAL): Likewise.
753         * sysdeps/x86_64/bits/mathdef.h: Likewise.
754
755         * bits/mathdef.h: Update copyright year.
756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
757
758 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
759
760         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
761         builtins, define the macros in the C99 standard.
762         (FP_FAST_FMAF): Likewise.
763         (FP_FAST_FMAL): Likewise.
764         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
765         multiply/add.
766         (FP_FAST_FMAF): Likewise.
767
768 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
769
770         [BZ #3268]
771         * math/libm-test.inc (fma_test): Some new testcases.
772         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
773         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
774         y and infinite z.  Do multiplication by C already in long double.
775         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
777         y and infinite z.  Do bitwise or of inexact bit into u.d.
778         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
779         * sysdeps/i386/fpu/s_fmaf.S: Removed.
780         * sysdeps/i386/fpu/s_fma.S: Removed.
781         * sysdeps/i386/fpu/s_fmal.S: Removed.
782
783 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
784
785         [BZ #3268]
786         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
788         computation is not scheduled after fetestexcept.  Fix value
789         of minimum denormal long double.
790
791 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
792
793         [BZ #3268]
794         * math/libm-test.inc (fma_test): Add some more tests.
795         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
796         correctly.
797
798 2010-10-15  Andreas Schwab  <schwab@redhat.com>
799
800         * scripts/data/localplt-s390-linux-gnu.data: New file.
801         * scripts/data/localplt-s390x-linux-gnu.data: New file.
802
803 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
804
805         [BZ #3268]
806         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
807         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
808         instead of dbl-64.
809         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
810         inlines.
811         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
813         if one of x and y is very large and the other is subnormal.
814         * sysdeps/s390/fpu/s_fmaf.c: New file.
815         * sysdeps/s390/fpu/s_fma.c: New file.
816         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
817         * sysdeps/powerpc/fpu/s_fma.S: New file.
818         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
819         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
820         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
821
822 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
823
824         [BZ #3268]
825         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
826         fma tests.
827         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
828         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
829         * sysdeps/i386/i686/multiarch/s_fma.c: Include
830         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
831         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
832         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
833         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
834
835 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
836
837         [BZ #12078]
838         * posix/regcomp.c (parse_branch): One more memory leak plugged.
839         * posix/bug-regex31.input: Add test case.
840
841 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
842
843         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
844         * posix/bug-regex31.input: New file.
845
846         [BZ #12078]
847         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
848         (parse_sub_exp): Fix last change, use postorder.
849
850         * posix/bug-regex31.c: New file.
851         * posix/Makefile: Add rules to build and run bug-regex31.
852
853         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
854
855         [BZ #12078]
856         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
857
858         [BZ #12108]
859         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
860         to have entries in sys_siglist.
861
862         [BZ #12093]
863         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
864         be NULL.
865
866 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
867
868         [BZ #3268]
869         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
870         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
871         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
872         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
873         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
874         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
875         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
876         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
877         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
878         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
879         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
880         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
881         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
882         * math/ftestexcept.c (fetestexcept): Likewise.
883         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
884         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
885         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
886         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
887         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
888         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
890
891 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
892
893         [BZ #12107]
894         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
895         newline.
896
897 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
898
899         * string/bug-strstr1.c: New file.
900         * string/Makefile: Add rules to build and run bug-strstr1.
901
902 2010-10-05  Eric Blake  <eblake@redhat.com>
903
904         [BZ #12092]
905         * string/str-two-way.h (two_way_long_needle): Always clear memory
906         when skipping input due to the shift table.
907
908 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
909
910         [BZ #12005]
911         * malloc/mcheck.c: Handle large requests.
912
913         [BZ #12077]
914         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
915         for strncmp and strncasecmp.
916         * string/stratcliff.c: Add tests for strcmp and strncmp.
917         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
918
919 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
920
921         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
922         __set_fpscr.
923
924 2010-09-30  Andreas Jaeger  <aj@suse.de>
925
926         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
927         (CGROUP_SUPER_MAGIC): Define.
928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
929         Handle btrfs and cgroup file systems.
930         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
931         Likewise.
932
933 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
934
935         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
936         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
937
938 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
939
940         [BZ #12067]
941         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
942         trying to locate the ELF header.
943
944 2010-09-27  Andreas Schwab  <schwab@redhat.com>
945
946         [BZ #11611]
947         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
948         Mask out sign-bit copies when constructing f_fsid.
949
950 2010-09-24  Petr Baudis <pasky@suse.cz>
951
952         * debug/stack_chk_fail_local.c: Add missing licence exception.
953         * debug/warning-nop.c: Likewise.
954
955 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
956
957         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
958         implementing getdents64 using getdents syscall, set d_type if
959         __ASSUME_GETDENTS32_D_TYPE.
960
961 2010-09-16  Andreas Schwab  <schwab@redhat.com>
962
963         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
964         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
965
966 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
967
968         [BZ #12037]
969         * posix/unistd.h: Undo change of feature selection for ftruncate from
970         2010-01-11.
971
972 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
973
974         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
975         detection.
976
977 2010-09-20  Andreas Schwab  <schwab@redhat.com>
978
979         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
980         fanotify_mark.
981         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
982
983 2010-09-14  Andreas Schwab  <schwab@redhat.com>
984
985         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
986         variables after CHECK_SP call.
987         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
988
989 2010-09-13  Andreas Schwab  <schwab@redhat.com>
990             Ulrich Drepper  <drepper@redhat.com>
991
992         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
993         re-relocationg ld.so.
994         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
995         _dl_init_paths call.
996         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
997         here anymore.
998
999 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
1000
1001         * resolv/res_init.c (__res_vinit): Count the default server we added.
1002
1003 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
1004             Ulrich Drepper  <drepper@redhat.com>
1005
1006         [BZ #11968]
1007         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1008         (____longjmp_chk): Use %ebx for saving value across system call.
1009         Add unwind info.
1010
1011 2010-09-06  Andreas Schwab  <schwab@redhat.com>
1012
1013         * manual/Makefile: Don't mix pattern rules with normal rules.
1014
1015 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1016
1017         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1018         operation.
1019         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1020         * libio/iofopncook.c (_IO_cookie_init): Likewise.
1021         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1022         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1023         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1024         Likewise.
1025
1026 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
1027
1028         [BZ #11979]
1029         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1030         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1031
1032 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
1033
1034         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1035         * sysdeps/x86_64/addmul_1.S: Likewise.
1036         * sysdeps/x86_64/lshift.S: Likewise.
1037         * sysdeps/x86_64/mul_1.S: Likewise.
1038         * sysdeps/x86_64/rshift.S: Likewise.
1039         * sysdeps/x86_64/sub_n.S: Likewise.
1040         * sysdeps/x86_64/submul_1.S: Likewise.
1041
1042 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1043
1044         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1045         Define __sched_param instead of SCHED_* and sched_param when
1046         <bits/sched.h> is included with __need_schedparam defined.
1047         * bits/sched.h [__need_schedparam]
1048         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1049         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1050         (__defined_schedparam): Define to 1.
1051         (__sched_param): New structure, identical to sched_param.
1052         (__need_schedparam): Undefine.
1053
1054 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
1055
1056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1057         (epoll_create1): Declare.
1058
1059         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1060
1061 2010-08-31  Andreas Schwab  <schwab@redhat.com>
1062
1063         [BZ #7066]
1064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1065         shifting retval into place.
1066
1067 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
1068
1069         * nis/rpcsvc/nis.h: Update copyright notice.
1070         * nis/rpcsvc/nis.x: Likewise.
1071         * nis/rpcsvc/nis_callback.h: Likewise.
1072         * nis/rpcsvc/nis_callback.x: Likewise.
1073         * nis/rpcsvc/nis_object.x: Likewise.
1074         * nis/rpcsvc/nis_tags.h: Likewise.
1075         * nis/rpcsvc/yp.h: Likewise.
1076         * nis/rpcsvc/yp.x: Likewise.
1077         * nis/rpcsvc/ypupd.h: Likewise.
1078         * nis/yp_xdr.c: Likewise.
1079         * nis/ypupdate_xdr.c: Likewise.
1080
1081         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
1082         mainly the body of pmap_getport.  Add parameters to specify timeouts.
1083         (pmap_getport): Use __libc_rpc_getport.
1084         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1085         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1086         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1087
1088 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
1089
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1091         fanotify_mark.
1092
1093 2010-08-27  Roland McGrath  <roland@redhat.com>
1094
1095         * sysdeps/i386/i686/multiarch/Makefile
1096         (CFLAGS-varshift.c): New variable.
1097
1098 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
1099
1100         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1101         * sysdeps/i386/i686/multiarch/varshift.c: New file.
1102
1103         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1104
1105         * sysdeps/x86_64/strlen.S: Minimal code improvement.
1106
1107 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1108
1109         * sysdeps/x86_64/strlen.S: Unroll the loop.
1110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1111         strlen-sse2 strlen-sse2-bsf.
1112         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1113         __strlen_no_bsf if bit_Slow_BSF is set.
1114         (__strlen_sse42): Removed.
1115         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1116         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1117
1118 2010-08-25  Roland McGrath  <roland@redhat.com>
1119
1120         * sysdeps/x86_64/multiarch/varshift.S: File removed.
1121         * sysdeps/x86_64/multiarch/varshift.c: New file.
1122         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1123         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1124         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1125         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1126
1127 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1128
1129         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1130         strlen-sse2 strlen-sse2-bsf.
1131         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1132         __strlen_sse2_bsf if bit_Slow_BSF is unset.
1133         (__strlen_sse2): Removed.
1134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1137         bit_Slow_BSF for Atom.
1138         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1139         (index_Slow_BSF): Define.
1140         (HAS_SLOW_BSF): Define.
1141
1142 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
1143
1144         [BZ #10851]
1145         * resolv/res_init.c (__res_vinit): When no server address at all
1146         is given default to loopback.
1147
1148 2010-08-24  Roland McGrath  <roland@redhat.com>
1149
1150         * configure.in: Remove config-name.h generation.
1151         * configure: Regenerated.
1152         * config-name.in: File removed.
1153         * scripts/config-uname.sh: New file.
1154         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1155         ($(objdir)config-name.h): New target.
1156
1157         * sunrpc/rpc_parse.h: Avoid nested comment.
1158
1159 2010-08-24  Richard Henderson  <rth@redhat.com>
1160             Ulrich Drepper  <drepper@redhat.com>
1161             H.J. Lu  <hongjiu.lu@intel.com>
1162
1163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1165         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1166         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
1167         _mm_alignr_epi8 with _mm_loadu_si128.
1168         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1169         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1170         (__m128i_shift_right): Removed.
1171         * sysdeps/i386/i686/multiarch/varshift.h: New file.
1172         * sysdeps/i386/i686/multiarch/varshift.S: New file.
1173         * sysdeps/x86_64/multiarch/varshift.h: New file.
1174         * sysdeps/x86_64/multiarch/varshift.S: New file.
1175
1176 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
1177
1178         * configure.in: Move assembler checks to before sysdep dir checking.
1179
1180 2010-08-20  Petr Baudis  <pasky@suse.cz>
1181
1182         * LICENSES: Sync the sunrpc license.
1183
1184 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
1185
1186         * sunrpc/auth_des.c: Update copyright notice once again.
1187         * sunrpc/auth_none.c: Likewise.
1188         * sunrpc/auth_unix.c: Likewise.
1189         * sunrpc/authdes_prot.c: Likewise.
1190         * sunrpc/authuxprot.c: Likewise.
1191         * sunrpc/bindrsvprt.c: Likewise.
1192         * sunrpc/clnt_gen.c: Likewise.
1193         * sunrpc/clnt_perr.c: Likewise.
1194         * sunrpc/clnt_raw.c: Likewise.
1195         * sunrpc/clnt_simp.c: Likewise.
1196         * sunrpc/clnt_tcp.c: Likewise.
1197         * sunrpc/clnt_udp.c: Likewise.
1198         * sunrpc/clnt_unix.c: Likewise.
1199         * sunrpc/des_crypt.c: Likewise.
1200         * sunrpc/des_soft.c: Likewise.
1201         * sunrpc/get_myaddr.c: Likewise.
1202         * sunrpc/getrpcport.c: Likewise.
1203         * sunrpc/key_call.c: Likewise.
1204         * sunrpc/key_prot.c: Likewise.
1205         * sunrpc/openchild.c: Likewise.
1206         * sunrpc/pm_getmaps.c: Likewise.
1207         * sunrpc/pm_getport.c: Likewise.
1208         * sunrpc/pmap_clnt.c: Likewise.
1209         * sunrpc/pmap_prot.c: Likewise.
1210         * sunrpc/pmap_prot2.c: Likewise.
1211         * sunrpc/pmap_rmt.c: Likewise.
1212         * sunrpc/rpc/auth.h: Likewise.
1213         * sunrpc/rpc/auth_unix.h: Likewise.
1214         * sunrpc/rpc/clnt.h: Likewise.
1215         * sunrpc/rpc/des_crypt.h: Likewise.
1216         * sunrpc/rpc/key_prot.h: Likewise.
1217         * sunrpc/rpc/netdb.h: Likewise.
1218         * sunrpc/rpc/pmap_clnt.h: Likewise.
1219         * sunrpc/rpc/pmap_prot.h: Likewise.
1220         * sunrpc/rpc/pmap_rmt.h: Likewise.
1221         * sunrpc/rpc/rpc.h: Likewise.
1222         * sunrpc/rpc/rpc_des.h: Likewise.
1223         * sunrpc/rpc/rpc_msg.h: Likewise.
1224         * sunrpc/rpc/svc.h: Likewise.
1225         * sunrpc/rpc/svc_auth.h: Likewise.
1226         * sunrpc/rpc/types.h: Likewise.
1227         * sunrpc/rpc/xdr.h: Likewise.
1228         * sunrpc/rpc_clntout.c: Likewise.
1229         * sunrpc/rpc_cmsg.c: Likewise.
1230         * sunrpc/rpc_common.c: Likewise.
1231         * sunrpc/rpc_cout.c: Likewise.
1232         * sunrpc/rpc_dtable.c: Likewise.
1233         * sunrpc/rpc_hout.c: Likewise.
1234         * sunrpc/rpc_main.c: Likewise.
1235         * sunrpc/rpc_parse.c: Likewise.
1236         * sunrpc/rpc_parse.h: Likewise.
1237         * sunrpc/rpc_prot.c: Likewise.
1238         * sunrpc/rpc_sample.c: Likewise.
1239         * sunrpc/rpc_scan.c: Likewise.
1240         * sunrpc/rpc_scan.h: Likewise.
1241         * sunrpc/rpc_svcout.c: Likewise.
1242         * sunrpc/rpc_tblout.c: Likewise.
1243         * sunrpc/rpc_util.c: Likewise.
1244         * sunrpc/rpc_util.h: Likewise.
1245         * sunrpc/rpcinfo.c: Likewise.
1246         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1247         * sunrpc/rpcsvc/key_prot.x: Likewise.
1248         * sunrpc/rpcsvc/klm_prot.x: Likewise.
1249         * sunrpc/rpcsvc/mount.x: Likewise.
1250         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1251         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1252         * sunrpc/rpcsvc/rex.x: Likewise.
1253         * sunrpc/rpcsvc/rstat.x: Likewise.
1254         * sunrpc/rpcsvc/rusers.x: Likewise.
1255         * sunrpc/rpcsvc/sm_inter.x: Likewise.
1256         * sunrpc/rpcsvc/spray.x: Likewise.
1257         * sunrpc/rpcsvc/yppasswd.x: Likewise.
1258         * sunrpc/rtime.c: Likewise.
1259         * sunrpc/svc.c: Likewise.
1260         * sunrpc/svc_auth.c: Likewise.
1261         * sunrpc/svc_authux.c: Likewise.
1262         * sunrpc/svc_raw.c: Likewise.
1263         * sunrpc/svc_run.c: Likewise.
1264         * sunrpc/svc_simple.c: Likewise.
1265         * sunrpc/svc_tcp.c: Likewise.
1266         * sunrpc/svc_udp.c: Likewise.
1267         * sunrpc/svc_unix.c: Likewise.
1268         * sunrpc/svcauth_des.c: Likewise.
1269         * sunrpc/xcrypt.c: Likewise.
1270         * sunrpc/xdr.c: Likewise.
1271         * sunrpc/xdr_array.c: Likewise.
1272         * sunrpc/xdr_float.c: Likewise.
1273         * sunrpc/xdr_mem.c: Likewise.
1274         * sunrpc/xdr_rec.c: Likewise.
1275         * sunrpc/xdr_ref.c: Likewise.
1276         * sunrpc/xdr_sizeof.c: Likewise.
1277         * sunrpc/xdr_stdio.c: Likewise.
1278
1279         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1280         handling.
1281
1282 2010-08-19  Andreas Schwab  <schwab@redhat.com>
1283
1284         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1285
1286 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
1287
1288         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1289         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1290         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1291         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1292         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1293         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1294         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1295         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1296         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1297         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1298         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1299         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1300         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1301         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1302
1303 2010-07-26  Anton Blanchard  <anton@samba.org>
1304
1305         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1306         * malloc/arena.c (heap_trim): Likewise.
1307
1308 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
1309
1310         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1311         here.  Not...
1312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1313         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1314
1315 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1316
1317         * sysdeps/i386/elf/Makefile: New file.
1318
1319 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1320
1321         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1322         from fanotify_init.
1323         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1324         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1325
1326 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
1327
1328         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1329         of strncasecmp_l.
1330         * sysdeps/multiarch/strcmp.S: Likewise.
1331
1332 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
1333
1334         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1335         strncase_l-nonascii.
1336         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1337         Add strncase_l-ssse3.
1338         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1339         * sysdeps/x86_64/strcmp.S: Likewise.
1340         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1341         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1342         * sysdeps/x86_64/strncase.S: New file.
1343         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1344         * sysdeps/x86_64/strncase_l.S: New file.
1345         * string/Makefile (strop-tests): Add strncasecmp.
1346         * string/test-strncasecmp.c: New file.
1347
1348         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1349         warning.
1350
1351         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1352         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1353
1354 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1355
1356         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1357
1358 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
1359
1360         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1361         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1362         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1363
1364 2010-05-01  Alan Modra  <amodra@gmail.com>
1365
1366         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1367         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1368         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1369         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1370         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1371         tidying.  Don't tail-call __sigjmp_save for static lib.
1372         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1373         save location.
1374         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1375         (CALL_MCOUNT): Add eh info, and nop after bl.
1376         (TAIL_CALL_SYSCALL_ERROR): New macro.
1377         (PSEUDO_RET): Use it.
1378         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1379         Correct save location of integer regs and cr.
1380         (_dl_profile_resolve): Correct cr save location.  Delete nops
1381         after bl when SHARED.  Reduce cfi size a little by better
1382         placement of cfi directives.
1383         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1384         make a stack frame.  Instead use parm save area as a temp.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1386         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1388         Don't make a stack frame for parent, use parm save area.
1389         Increase child stack frame to 112 bytes.  Don't save unused reg,
1390         and adjust reg usage.  Set up cfi on error recovery and
1391         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1393         (__makecontext): Add dummy nop after jump to exit.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1395         Use correct parm save area and cr save, reduce stack frame.
1396         Correct cfi for possible PSEUDO_RET frame setup.
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1398         Branch to local label emitted by PSEUDO_RET rather than
1399         __syscall_error.
1400
1401 2010-08-12  Andreas Schwab  <schwab@redhat.com>
1402
1403         [BZ #11904]
1404         * locale/programs/locale.c (print_assignment): New function.
1405         (show_locale_vars): Use it.
1406
1407 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
1408
1409         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1410         field.
1411         (struct statfs64): Likewise.
1412         (_STATFS_F_FLAGS): Define.
1413         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1414         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1415         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1416         (ST_VALID): Define locally.
1417         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1418         __statvfs_getflags, use the provided value.
1419         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1420         __ASSUME_STATFS_F_FLAGS.
1421
1422         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1423
1424         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1425         Add sys/fanotify.h.
1426         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1427         fanotify_mask for GLIBC_2.13.
1428         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1429         fanotify_init and fanotify_mark.
1430         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1431         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1432
1433         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1434         Add prlimit.
1435         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1436         prlimit64 for GLIBC_2.13.
1437         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1438         prlimit64.
1439         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1440         syscall.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1442         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1443         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1444         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1445         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
1446         add prlimit alias.
1447         * sysdeps/unix/sysv/linux/prlimit.c: New file.
1448
1449         [BZ #11903]
1450         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1451         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1452
1453         * nss/Makefile: Add rules to build and run tst-nss-test1.
1454         * shlib-versions: Add entry for libnss_test1.
1455         * nss/nss_test1.c: New file.
1456         * nss/tst-nss-test1.c: New file.
1457
1458         * nss/nsswitch.c (__nss_database_custom): Define new variable.
1459         (__nss_configure_lookup): Set appropriate entry in
1460         __nss_configure_lookup to true.
1461         * nss/nsswitch.h: Define enum with indeces of databases in
1462         databases and __nss_database_custom arrays.  Declare
1463         __nss_database_custom.
1464         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1465         to avoid using nscd when custom rules are installed.
1466         * nss/getXXbyYY_r.c: Likewise.
1467         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1468
1469         * nss/nss_files/files-parse.c: Whitespace fixes.
1470
1471 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
1472
1473         [BZ #11883]
1474         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1475         * posix/fnmatch_loop.c: Likewise.
1476
1477 2010-07-17  Andi Kleen  <ak@linux.intel.com>
1478
1479         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1480         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1481         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1482         * Versions.def [GLIBC_2.13]: Add.
1483
1484 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
1485
1486         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1487         Also fail if tpwd after pwuid call is NULL.
1488
1489 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1490
1491         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1492         when converting to ms.
1493
1494 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1495
1496         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1497         EOPNOTSUPP errors with ENOTTY.
1498         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1499         EOPNOTSUPP errors with ENOTTY.
1500
1501 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
1502
1503         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1504         Add strcasecmp_l-ssse3.
1505         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1506         strcasecmp.
1507         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1508         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1509         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1510
1511 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
1512
1513         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1514
1515         * string/Makefile (strop-tests): Add strcasecmp.
1516         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1517         strcasecmp_l-nonascii.
1518         (gen-as-const-headers): Add locale-defines.sym.
1519         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1520         * sysdeps/x86_64/strcasecmp.S: New file.
1521         * sysdeps/x86_64/strcasecmp_l.S: New file.
1522         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1523         * sysdeps/x86_64/locale-defines.sym: New file.
1524         * string/test-strcasecmp.c: New file.
1525
1526         * string/test-strcasestr.c: Test both ends of the range of characters.
1527         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1528
1529 2010-07-29  Roland McGrath  <roland@redhat.com>
1530
1531         [BZ #11856]
1532         * manual/locale.texi (Yes-or-No Questions): Fix example code.
1533
1534 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
1535
1536         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1537         for ld.so.
1538
1539 2010-07-27  Andreas Schwab  <schwab@redhat.com>
1540
1541         * manual/memory.texi (Malloc Tunable Parameters): Document
1542         M_PERTURB.
1543
1544 2010-07-26  Roland McGrath  <roland@redhat.com>
1545
1546         [BZ #11840]
1547         * configure.in (-fgnu89-inline check): Set and substitute
1548         gnu89_inline, not libc_cv_gnu89_inline.
1549         * configure: Regenerated.
1550         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1551
1552 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
1553
1554         * string/test-strnlen.c: New file.
1555         * string/Makefile (strop-tests): Add strnlen.
1556         * string/tester.c (test_strnlen): Add a few more test cases.
1557         * string/tst-strlen.c: Better error reporting.
1558
1559         * sysdeps/x86_64/strnlen.S: New file.
1560
1561 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
1562
1563         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1564         lower-latency instructions.
1565
1566 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
1567
1568         * string/test-strcasestr.c: New file.
1569         * string/test-strstr.c: New file.
1570         * string/Makefile (strop-tests): Add strstr and strcasestr.
1571         * string/str-two-way.h: Don't undefine MAX.
1572         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1573
1574 2010-07-21  Andreas Schwab  <schwab@redhat.com>
1575
1576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1577         strcasestr-nonascii.
1578         (CFLAGS-strcasestr-nonascii.c): Define.
1579         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1580         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1581         Remove unused attribute.
1582
1583 2010-07-20  Roland McGrath  <roland@redhat.com>
1584
1585         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1586         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
1587         ld.so.cache was broken.  With it, there is no way to disable dsocaps
1588         like LD_HWCAP_MASK can disable hwcaps.
1589
1590 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1591
1592         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1593
1594 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
1595
1596         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1597         call in strcasestr.
1598         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1599         __strcasestr_sse42_nonascii.
1600         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1601         strcasestr-nonascii.c.
1602         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1603
1604 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
1605
1606         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1607         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1608         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1609         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1610
1611 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
1612
1613         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1614         fcntl.
1615
1616 2010-07-06  Andreas Schwab  <schwab@redhat.com>
1617
1618         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1619         dl_signal_cerror.
1620
1621 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
1622
1623         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1624         _PC_PIPE_BUF using F_GETPIPE_SZ.
1625
1626 2010-07-05  Roland McGrath  <roland@redhat.com>
1627
1628         * manual/arith.texi (Rounding Functions): Fix rint description
1629         implicit in round description.
1630
1631 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
1632
1633         * elf/Makefile: Fix linking for a few tests to make recent linker
1634         happy.
1635
1636 2010-06-30  Andreas Schwab  <schwab@redhat.com>
1637
1638         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1639         $(common-objpfx)libc_nonshared.a.
1640
1641 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
1642
1643         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1644         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1645         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1646         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1647         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1648         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1649         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1650         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1665         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1666         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1667         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1668         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1669         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1670         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1671         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1672         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1673         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1674         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1675         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1676         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1691
1692 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1693
1694         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1695         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
1696         * string/memmove.c (memmove): Renamed to ...
1697         (MEMMOVE): ...this.  Default to memmove.
1698         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1699         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1700         (END_CHK): Define.
1701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1702         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1703         mempcpy-ssse3-back memmove-ssse3-back.
1704         * sysdeps/x86_64/multiarch/bcopy.S: New file .
1705         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1706         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1707         * sysdeps/x86_64/multiarch/memcpy.S: New file.
1708         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1709         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1710         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1711         * sysdeps/x86_64/multiarch/memmove.c: New file.
1712         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1713         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1714         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1715         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1716         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1717         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1718         Define.
1719         (index_Fast_Copy_Backward): Define.
1720         (HAS_ARCH_FEATURE): Define.
1721         (HAS_FAST_REP_STRING): Define.
1722         (HAS_FAST_COPY_BACKWARD): Define.
1723
1724 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1725
1726         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1727         Restore proper fallback handling.
1728
1729 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1730
1731         [BZ #11701]
1732         * posix/group_member.c (__group_member): Correct checking loop.
1733
1734         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1735         OOM in getpwuid_r correctly.  Return error number when the caller
1736         should return, otherwise -1.
1737         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1738         call returning > 0 value.
1739         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1740
1741 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1742
1743         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1744         libc_nonshared.a from targets in modules-names.
1745
1746 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1747
1748         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1749         requires it.
1750
1751 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1752
1753         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1755         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1756         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1757
1758 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1759
1760         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1761
1762 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1763
1764         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1765         and F_GETPIPE_SZ.
1766         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1767         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1768         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1770         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1771         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1772
1773 2010-06-14  Roland McGrath  <roland@redhat.com>
1774
1775         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1776
1777 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1778
1779         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1780         __REDIRECT followed by __THROW.
1781         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1782         * posix/getopt.h (getopt): Likewise.
1783
1784 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1785
1786         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1787         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1788         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1789         in AT_FLAGS.
1790         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1791         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1792
1793 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1794
1795         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1796
1797 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1798
1799         [BZ #11640]
1800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1801         Properly check family and model.
1802
1803 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1804
1805         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1806
1807 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1808
1809         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1810
1811 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1812
1813         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1814         symbol reference.
1815
1816 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1817
1818         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1819         symbol reference.
1820
1821 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1822
1823         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1824         and internal_recvmmsg.
1825         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1826         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1827         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1828         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1829
1830         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1831         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1832         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1833
1834 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1835
1836         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1837
1838 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1839
1840         POWER7 optimizations.
1841         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1842         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1843
1844 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1845
1846         * version.h: Update for 2.13 development version.
1847
1848 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1849
1850         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1851         exceptions.  Return 0.
1852
1853 2010-05-07  Roland McGrath  <roland@redhat.com>
1854
1855         * elf/ldconfig.c (main): Add a const.
1856
1857 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1858
1859         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1860         (args_options): Add no-idn option.
1861         (ahosts_keys_int): Add idn_flags to ai_flags.
1862         (parse_option): Handle 'i' option to clear idn_flags.
1863
1864         * malloc/malloc.c (_int_free): Possible race in the most recently
1865         added check.  Only act on the data if no current modification
1866         happened.
1867
1868 See ChangeLog.17 for earlier changes.