Fix memory leak for some invalid regular expressions.
[glibc.git] / ChangeLog
blob15b47f90495cfd03647713ce315707ab2582388c
1 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
3         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
5         [BZ #12078]
6         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8         [BZ #12108]
9         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10         to have entries in sys_siglist.
12         [BZ #12093]
13         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14         be NULL.
16 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
18         [BZ #3268]
19         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
24         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32         * math/ftestexcept.c (fetestexcept): Likewise.
33         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43         [BZ #12107]
44         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45         newline.
47 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49         * string/bug-strstr1.c: New file.
50         * string/Makefile: Add rules to build and run bug-strstr1.
52 2010-10-05  Eric Blake  <eblake@redhat.com>
54         [BZ #12092]
55         * string/str-two-way.h (two_way_long_needle): Always clear memory
56         when skipping input due to the shift table.
58 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60         [BZ #12005]
61         * malloc/mcheck.c: Handle large requests.
63         [BZ #12077]
64         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65         for strncmp and strncasecmp.
66         * string/stratcliff.c: Add tests for strcmp and strncmp.
67         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72         __set_fpscr.
74 2010-09-30  Andreas Jaeger  <aj@suse.de>
76         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77         (CGROUP_SUPER_MAGIC): Define.
78         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79         Handle btrfs and cgroup file systems.
80         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81         Likewise.
83 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
86         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90         [BZ #12067]
91         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92         trying to locate the ELF header.
94 2010-09-27  Andreas Schwab  <schwab@redhat.com>
96         [BZ #11611]
97         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
98         Mask out sign-bit copies when constructing f_fsid.
100 2010-09-24  Petr Baudis <pasky@suse.cz>
102         * debug/stack_chk_fail_local.c: Add missing licence exception.
103         * debug/warning-nop.c: Likewise.
105 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
107         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
108         implementing getdents64 using getdents syscall, set d_type if
109         __ASSUME_GETDENTS32_D_TYPE.
111 2010-09-16  Andreas Schwab  <schwab@redhat.com>
113         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
114         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
116 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
118         [BZ #12037]
119         * posix/unistd.h: Undo change of feature selection for ftruncate from
120         2010-01-11.
122 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
124         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
125         detection.
127 2010-09-20  Andreas Schwab  <schwab@redhat.com>
129         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
130         fanotify_mark.
131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
133 2010-09-14  Andreas Schwab  <schwab@redhat.com>
135         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
136         variables after CHECK_SP call.
137         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
139 2010-09-13  Andreas Schwab  <schwab@redhat.com>
140             Ulrich Drepper  <drepper@redhat.com>
142         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
143         re-relocationg ld.so.
144         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
145         _dl_init_paths call.
146         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
147         here anymore.
149 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
151         * resolv/res_init.c (__res_vinit): Count the default server we added.
153 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
154             Ulrich Drepper  <drepper@redhat.com>
156         [BZ #11968]
157         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
158         (____longjmp_chk): Use %ebx for saving value across system call.
159         Add unwind info.
161 2010-09-06  Andreas Schwab  <schwab@redhat.com>
163         * manual/Makefile: Don't mix pattern rules with normal rules.
165 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
167         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
168         operation.
169         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
170         * libio/iofopncook.c (_IO_cookie_init): Likewise.
171         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
172         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
174         Likewise.
176 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
178         [BZ #11979]
179         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
180         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
182 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
184         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
185         * sysdeps/x86_64/addmul_1.S: Likewise.
186         * sysdeps/x86_64/lshift.S: Likewise.
187         * sysdeps/x86_64/mul_1.S: Likewise.
188         * sysdeps/x86_64/rshift.S: Likewise.
189         * sysdeps/x86_64/sub_n.S: Likewise.
190         * sysdeps/x86_64/submul_1.S: Likewise.
192 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
194         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
195         Define __sched_param instead of SCHED_* and sched_param when
196         <bits/sched.h> is included with __need_schedparam defined.
197         * bits/sched.h [__need_schedparam]
198         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
199         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
200         (__defined_schedparam): Define to 1.
201         (__sched_param): New structure, identical to sched_param.
202         (__need_schedparam): Undefine.
204 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
206         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
207         (epoll_create1): Declare.
209         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
211 2010-08-31  Andreas Schwab  <schwab@redhat.com>
213         [BZ #7066]
214         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
215         shifting retval into place.
217 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
219         * nis/rpcsvc/nis.h: Update copyright notice.
220         * nis/rpcsvc/nis.x: Likewise.
221         * nis/rpcsvc/nis_callback.h: Likewise.
222         * nis/rpcsvc/nis_callback.x: Likewise.
223         * nis/rpcsvc/nis_object.x: Likewise.
224         * nis/rpcsvc/nis_tags.h: Likewise.
225         * nis/rpcsvc/yp.h: Likewise.
226         * nis/rpcsvc/yp.x: Likewise.
227         * nis/rpcsvc/ypupd.h: Likewise.
228         * nis/yp_xdr.c: Likewise.
229         * nis/ypupdate_xdr.c: Likewise.
231         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
232         mainly the body of pmap_getport.  Add parameters to specify timeouts.
233         (pmap_getport): Use __libc_rpc_getport.
234         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
235         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
236         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
238 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
241         fanotify_mark.
243 2010-08-27  Roland McGrath  <roland@redhat.com>
245         * sysdeps/i386/i686/multiarch/Makefile
246         (CFLAGS-varshift.c): New variable.
248 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
250         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
251         * sysdeps/i386/i686/multiarch/varshift.c: New file.
253         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
255         * sysdeps/x86_64/strlen.S: Minimal code improvement.
257 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
259         * sysdeps/x86_64/strlen.S: Unroll the loop.
260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
261         strlen-sse2 strlen-sse2-bsf.
262         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
263         __strlen_no_bsf if bit_Slow_BSF is set.
264         (__strlen_sse42): Removed.
265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
266         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
268 2010-08-25  Roland McGrath  <roland@redhat.com>
270         * sysdeps/x86_64/multiarch/varshift.S: File removed.
271         * sysdeps/x86_64/multiarch/varshift.c: New file.
272         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
273         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
274         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
275         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
277 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
279         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
280         strlen-sse2 strlen-sse2-bsf.
281         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
282         __strlen_sse2_bsf if bit_Slow_BSF is unset.
283         (__strlen_sse2): Removed.
284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
287         bit_Slow_BSF for Atom.
288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
289         (index_Slow_BSF): Define.
290         (HAS_SLOW_BSF): Define.
292 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
294         [BZ #10851]
295         * resolv/res_init.c (__res_vinit): When no server address at all
296         is given default to loopback.
298 2010-08-24  Roland McGrath  <roland@redhat.com>
300         * configure.in: Remove config-name.h generation.
301         * configure: Regenerated.
302         * config-name.in: File removed.
303         * scripts/config-uname.sh: New file.
304         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
305         ($(objdir)config-name.h): New target.
307         * sunrpc/rpc_parse.h: Avoid nested comment.
309 2010-08-24  Richard Henderson  <rth@redhat.com>
310             Ulrich Drepper  <drepper@redhat.com>
311             H.J. Lu  <hongjiu.lu@intel.com>
313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
315         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
316         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
317         _mm_alignr_epi8 with _mm_loadu_si128.
318         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
319         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
320         (__m128i_shift_right): Removed.
321         * sysdeps/i386/i686/multiarch/varshift.h: New file.
322         * sysdeps/i386/i686/multiarch/varshift.S: New file.
323         * sysdeps/x86_64/multiarch/varshift.h: New file.
324         * sysdeps/x86_64/multiarch/varshift.S: New file.
326 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
328         * configure.in: Move assembler checks to before sysdep dir checking.
330 2010-08-20  Petr Baudis  <pasky@suse.cz>
332         * LICENSES: Sync the sunrpc license.
334 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
336         * sunrpc/auth_des.c: Update copyright notice once again.
337         * sunrpc/auth_none.c: Likewise.
338         * sunrpc/auth_unix.c: Likewise.
339         * sunrpc/authdes_prot.c: Likewise.
340         * sunrpc/authuxprot.c: Likewise.
341         * sunrpc/bindrsvprt.c: Likewise.
342         * sunrpc/clnt_gen.c: Likewise.
343         * sunrpc/clnt_perr.c: Likewise.
344         * sunrpc/clnt_raw.c: Likewise.
345         * sunrpc/clnt_simp.c: Likewise.
346         * sunrpc/clnt_tcp.c: Likewise.
347         * sunrpc/clnt_udp.c: Likewise.
348         * sunrpc/clnt_unix.c: Likewise.
349         * sunrpc/des_crypt.c: Likewise.
350         * sunrpc/des_soft.c: Likewise.
351         * sunrpc/get_myaddr.c: Likewise.
352         * sunrpc/getrpcport.c: Likewise.
353         * sunrpc/key_call.c: Likewise.
354         * sunrpc/key_prot.c: Likewise.
355         * sunrpc/openchild.c: Likewise.
356         * sunrpc/pm_getmaps.c: Likewise.
357         * sunrpc/pm_getport.c: Likewise.
358         * sunrpc/pmap_clnt.c: Likewise.
359         * sunrpc/pmap_prot.c: Likewise.
360         * sunrpc/pmap_prot2.c: Likewise.
361         * sunrpc/pmap_rmt.c: Likewise.
362         * sunrpc/rpc/auth.h: Likewise.
363         * sunrpc/rpc/auth_unix.h: Likewise.
364         * sunrpc/rpc/clnt.h: Likewise.
365         * sunrpc/rpc/des_crypt.h: Likewise.
366         * sunrpc/rpc/key_prot.h: Likewise.
367         * sunrpc/rpc/netdb.h: Likewise.
368         * sunrpc/rpc/pmap_clnt.h: Likewise.
369         * sunrpc/rpc/pmap_prot.h: Likewise.
370         * sunrpc/rpc/pmap_rmt.h: Likewise.
371         * sunrpc/rpc/rpc.h: Likewise.
372         * sunrpc/rpc/rpc_des.h: Likewise.
373         * sunrpc/rpc/rpc_msg.h: Likewise.
374         * sunrpc/rpc/svc.h: Likewise.
375         * sunrpc/rpc/svc_auth.h: Likewise.
376         * sunrpc/rpc/types.h: Likewise.
377         * sunrpc/rpc/xdr.h: Likewise.
378         * sunrpc/rpc_clntout.c: Likewise.
379         * sunrpc/rpc_cmsg.c: Likewise.
380         * sunrpc/rpc_common.c: Likewise.
381         * sunrpc/rpc_cout.c: Likewise.
382         * sunrpc/rpc_dtable.c: Likewise.
383         * sunrpc/rpc_hout.c: Likewise.
384         * sunrpc/rpc_main.c: Likewise.
385         * sunrpc/rpc_parse.c: Likewise.
386         * sunrpc/rpc_parse.h: Likewise.
387         * sunrpc/rpc_prot.c: Likewise.
388         * sunrpc/rpc_sample.c: Likewise.
389         * sunrpc/rpc_scan.c: Likewise.
390         * sunrpc/rpc_scan.h: Likewise.
391         * sunrpc/rpc_svcout.c: Likewise.
392         * sunrpc/rpc_tblout.c: Likewise.
393         * sunrpc/rpc_util.c: Likewise.
394         * sunrpc/rpc_util.h: Likewise.
395         * sunrpc/rpcinfo.c: Likewise.
396         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
397         * sunrpc/rpcsvc/key_prot.x: Likewise.
398         * sunrpc/rpcsvc/klm_prot.x: Likewise.
399         * sunrpc/rpcsvc/mount.x: Likewise.
400         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
401         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
402         * sunrpc/rpcsvc/rex.x: Likewise.
403         * sunrpc/rpcsvc/rstat.x: Likewise.
404         * sunrpc/rpcsvc/rusers.x: Likewise.
405         * sunrpc/rpcsvc/sm_inter.x: Likewise.
406         * sunrpc/rpcsvc/spray.x: Likewise.
407         * sunrpc/rpcsvc/yppasswd.x: Likewise.
408         * sunrpc/rtime.c: Likewise.
409         * sunrpc/svc.c: Likewise.
410         * sunrpc/svc_auth.c: Likewise.
411         * sunrpc/svc_authux.c: Likewise.
412         * sunrpc/svc_raw.c: Likewise.
413         * sunrpc/svc_run.c: Likewise.
414         * sunrpc/svc_simple.c: Likewise.
415         * sunrpc/svc_tcp.c: Likewise.
416         * sunrpc/svc_udp.c: Likewise.
417         * sunrpc/svc_unix.c: Likewise.
418         * sunrpc/svcauth_des.c: Likewise.
419         * sunrpc/xcrypt.c: Likewise.
420         * sunrpc/xdr.c: Likewise.
421         * sunrpc/xdr_array.c: Likewise.
422         * sunrpc/xdr_float.c: Likewise.
423         * sunrpc/xdr_mem.c: Likewise.
424         * sunrpc/xdr_rec.c: Likewise.
425         * sunrpc/xdr_ref.c: Likewise.
426         * sunrpc/xdr_sizeof.c: Likewise.
427         * sunrpc/xdr_stdio.c: Likewise.
429         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
430         handling.
432 2010-08-19  Andreas Schwab  <schwab@redhat.com>
434         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
436 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
438         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
439         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
440         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
441         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
442         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
443         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
444         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
445         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
446         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
447         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
448         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
449         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
450         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
451         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
453 2010-07-26  Anton Blanchard  <anton@samba.org>
455         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
456         * malloc/arena.c (heap_trim): Likewise.
458 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
460         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
461         here.  Not...
462         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
463         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
465 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
467         * sysdeps/i386/elf/Makefile: New file.
469 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
471         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
472         from fanotify_init.
473         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
474         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
476 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
478         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
479         of strncasecmp_l.
480         * sysdeps/multiarch/strcmp.S: Likewise.
482 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
484         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
485         strncase_l-nonascii.
486         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
487         Add strncase_l-ssse3.
488         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
489         * sysdeps/x86_64/strcmp.S: Likewise.
490         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
491         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
492         * sysdeps/x86_64/strncase.S: New file.
493         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
494         * sysdeps/x86_64/strncase_l.S: New file.
495         * string/Makefile (strop-tests): Add strncasecmp.
496         * string/test-strncasecmp.c: New file.
498         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
499         warning.
501         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
502         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
504 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
506         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
508 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
510         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
511         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
512         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
514 2010-05-01  Alan Modra  <amodra@gmail.com>
516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
517         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
518         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
519         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
520         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
521         tidying.  Don't tail-call __sigjmp_save for static lib.
522         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
523         save location.
524         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
525         (CALL_MCOUNT): Add eh info, and nop after bl.
526         (TAIL_CALL_SYSCALL_ERROR): New macro.
527         (PSEUDO_RET): Use it.
528         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
529         Correct save location of integer regs and cr.
530         (_dl_profile_resolve): Correct cr save location.  Delete nops
531         after bl when SHARED.  Reduce cfi size a little by better
532         placement of cfi directives.
533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
534         make a stack frame.  Instead use parm save area as a temp.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
536         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
538         Don't make a stack frame for parent, use parm save area.
539         Increase child stack frame to 112 bytes.  Don't save unused reg,
540         and adjust reg usage.  Set up cfi on error recovery and
541         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
543         (__makecontext): Add dummy nop after jump to exit.
544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
545         Use correct parm save area and cr save, reduce stack frame.
546         Correct cfi for possible PSEUDO_RET frame setup.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
548         Branch to local label emitted by PSEUDO_RET rather than
549         __syscall_error.
551 2010-08-12  Andreas Schwab  <schwab@redhat.com>
553         [BZ #11904]
554         * locale/programs/locale.c (print_assignment): New function.
555         (show_locale_vars): Use it.
557 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
559         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
560         field.
561         (struct statfs64): Likewise.
562         (_STATFS_F_FLAGS): Define.
563         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
564         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
565         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
566         (ST_VALID): Define locally.
567         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
568         __statvfs_getflags, use the provided value.
569         * sysdeps/unix/sysv/linux/kernel-features.h: Define
570         __ASSUME_STATFS_F_FLAGS.
572         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
574         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
575         Add sys/fanotify.h.
576         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
577         fanotify_mask for GLIBC_2.13.
578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
579         fanotify_init and fanotify_mark.
580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
581         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
584         Add prlimit.
585         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
586         prlimit64 for GLIBC_2.13.
587         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
588         prlimit64.
589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
590         syscall.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
593         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
594         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
596         add prlimit alias.
597         * sysdeps/unix/sysv/linux/prlimit.c: New file.
599         [BZ #11903]
600         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
601         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
603         * nss/Makefile: Add rules to build and run tst-nss-test1.
604         * shlib-versions: Add entry for libnss_test1.
605         * nss/nss_test1.c: New file.
606         * nss/tst-nss-test1.c: New file.
608         * nss/nsswitch.c (__nss_database_custom): Define new variable.
609         (__nss_configure_lookup): Set appropriate entry in
610         __nss_configure_lookup to true.
611         * nss/nsswitch.h: Define enum with indeces of databases in
612         databases and __nss_database_custom arrays.  Declare
613         __nss_database_custom.
614         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
615         to avoid using nscd when custom rules are installed.
616         * nss/getXXbyYY_r.c: Likewise.
617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
619         * nss/nss_files/files-parse.c: Whitespace fixes.
621 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
623         [BZ #11883]
624         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
625         * posix/fnmatch_loop.c: Likewise.
627 2010-07-17  Andi Kleen  <ak@linux.intel.com>
629         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
630         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
631         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
632         * Versions.def [GLIBC_2.13]: Add.
634 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
636         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
637         Also fail if tpwd after pwuid call is NULL.
639 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
641         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
642         when converting to ms.
644 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
646         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
647         EOPNOTSUPP errors with ENOTTY.
648         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
649         EOPNOTSUPP errors with ENOTTY.
651 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
653         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
654         Add strcasecmp_l-ssse3.
655         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
656         strcasecmp.
657         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
658         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
659         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
661 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
663         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
665         * string/Makefile (strop-tests): Add strcasecmp.
666         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
667         strcasecmp_l-nonascii.
668         (gen-as-const-headers): Add locale-defines.sym.
669         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
670         * sysdeps/x86_64/strcasecmp.S: New file.
671         * sysdeps/x86_64/strcasecmp_l.S: New file.
672         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
673         * sysdeps/x86_64/locale-defines.sym: New file.
674         * string/test-strcasecmp.c: New file.
676         * string/test-strcasestr.c: Test both ends of the range of characters.
677         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
679 2010-07-29  Roland McGrath  <roland@redhat.com>
681         [BZ #11856]
682         * manual/locale.texi (Yes-or-No Questions): Fix example code.
684 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
686         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
687         for ld.so.
689 2010-07-27  Andreas Schwab  <schwab@redhat.com>
691         * manual/memory.texi (Malloc Tunable Parameters): Document
692         M_PERTURB.
694 2010-07-26  Roland McGrath  <roland@redhat.com>
696         [BZ #11840]
697         * configure.in (-fgnu89-inline check): Set and substitute
698         gnu89_inline, not libc_cv_gnu89_inline.
699         * configure: Regenerated.
700         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
702 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
704         * string/test-strnlen.c: New file.
705         * string/Makefile (strop-tests): Add strnlen.
706         * string/tester.c (test_strnlen): Add a few more test cases.
707         * string/tst-strlen.c: Better error reporting.
709         * sysdeps/x86_64/strnlen.S: New file.
711 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
713         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
714         lower-latency instructions.
716 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
718         * string/test-strcasestr.c: New file.
719         * string/test-strstr.c: New file.
720         * string/Makefile (strop-tests): Add strstr and strcasestr.
721         * string/str-two-way.h: Don't undefine MAX.
722         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
724 2010-07-21  Andreas Schwab  <schwab@redhat.com>
726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
727         strcasestr-nonascii.
728         (CFLAGS-strcasestr-nonascii.c): Define.
729         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
730         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
731         Remove unused attribute.
733 2010-07-20  Roland McGrath  <roland@redhat.com>
735         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
736         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
737         ld.so.cache was broken.  With it, there is no way to disable dsocaps
738         like LD_HWCAP_MASK can disable hwcaps.
740 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
742         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
744 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
746         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
747         call in strcasestr.
748         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
749         __strcasestr_sse42_nonascii.
750         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
751         strcasestr-nonascii.c.
752         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
754 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
756         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
757         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
758         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
761 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
763         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
764         fcntl.
766 2010-07-06  Andreas Schwab  <schwab@redhat.com>
768         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
769         dl_signal_cerror.
771 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
774         _PC_PIPE_BUF using F_GETPIPE_SZ.
776 2010-07-05  Roland McGrath  <roland@redhat.com>
778         * manual/arith.texi (Rounding Functions): Fix rint description
779         implicit in round description.
781 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
783         * elf/Makefile: Fix linking for a few tests to make recent linker
784         happy.
786 2010-06-30  Andreas Schwab  <schwab@redhat.com>
788         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
789         $(common-objpfx)libc_nonshared.a.
791 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
793         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
794         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
795         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
796         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
797         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
798         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
799         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
800         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
815         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
816         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
817         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
818         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
819         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
820         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
821         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
822         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
823         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
824         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
825         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
826         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
842 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
844         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
845         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
846         * string/memmove.c (memmove): Renamed to ...
847         (MEMMOVE): ...this.  Default to memmove.
848         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
849         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
850         (END_CHK): Define.
851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
852         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
853         mempcpy-ssse3-back memmove-ssse3-back.
854         * sysdeps/x86_64/multiarch/bcopy.S: New file .
855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
857         * sysdeps/x86_64/multiarch/memcpy.S: New file.
858         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
859         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
860         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
861         * sysdeps/x86_64/multiarch/memmove.c: New file.
862         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
863         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
864         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
865         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
868         Define.
869         (index_Fast_Copy_Backward): Define.
870         (HAS_ARCH_FEATURE): Define.
871         (HAS_FAST_REP_STRING): Define.
872         (HAS_FAST_COPY_BACKWARD): Define.
874 2010-06-21  Andreas Schwab  <schwab@redhat.com>
876         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
877         Restore proper fallback handling.
879 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
881         [BZ #11701]
882         * posix/group_member.c (__group_member): Correct checking loop.
884         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
885         OOM in getpwuid_r correctly.  Return error number when the caller
886         should return, otherwise -1.
887         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
888         call returning > 0 value.
889         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
891 2010-06-07  Andreas Schwab  <schwab@redhat.com>
893         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
894         libc_nonshared.a from targets in modules-names.
896 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
898         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
899         requires it.
901 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
903         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
904         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
905         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
906         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
908 2010-06-02  Andreas Schwab  <schwab@redhat.com>
910         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
912 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
914         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
915         and F_GETPIPE_SZ.
916         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
917         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
918         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
921         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
923 2010-06-14  Roland McGrath  <roland@redhat.com>
925         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
927 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
929         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
930         __REDIRECT followed by __THROW.
931         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
932         * posix/getopt.h (getopt): Likewise.
934 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
936         * hurd/lookup-at.c (__file_name_lookup_at): Accept
937         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
938         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
939         in AT_FLAGS.
940         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
941         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
943 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
947 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
949         [BZ #11640]
950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
951         Properly check family and model.
953 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
955         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
957 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
959         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
961 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
963         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
964         symbol reference.
966 2010-05-19  Andreas Schwab  <schwab@redhat.com>
968         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
969         symbol reference.
971 2010-05-21  Andreas Schwab  <schwab@redhat.com>
973         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
974         and internal_recvmmsg.
975         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
976         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
977         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
978         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
980         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
981         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
982         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
984 2010-05-20  Andreas Schwab  <schwab@redhat.com>
986         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
988 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
990         POWER7 optimizations.
991         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
992         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
994 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
996         * version.h: Update for 2.13 development version.
998 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1000         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1001         exceptions.  Return 0.
1003 2010-05-07  Roland McGrath  <roland@redhat.com>
1005         * elf/ldconfig.c (main): Add a const.
1007 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1009         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1010         (args_options): Add no-idn option.
1011         (ahosts_keys_int): Add idn_flags to ai_flags.
1012         (parse_option): Handle 'i' option to clear idn_flags.
1014         * malloc/malloc.c (_int_free): Possible race in the most recently
1015         added check.  Only act on the data if no current modification
1016         happened.
1018 See ChangeLog.17 for earlier changes.