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