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