2.12.90-16
[glibc.git] / ChangeLog
blobe3d8dd44d554c5f39bc48157fd453d53e4cdbbb7
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-05  Andreas Schwab  <schwab@redhat.com>
108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
109         decoding ACE if AI_CANONIDN.
111 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
113         [BZ #12005]
114         * malloc/mcheck.c: Handle large requests.
116         [BZ #12077]
117         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
118         for strncmp and strncasecmp.
119         * string/stratcliff.c: Add tests for strcmp and strncmp.
120         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
122 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
124         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
125         __set_fpscr.
127 2010-09-30  Andreas Jaeger  <aj@suse.de>
129         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
130         (CGROUP_SUPER_MAGIC): Define.
131         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
132         Handle btrfs and cgroup file systems.
133         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
134         Likewise.
136 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
138         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
139         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
141 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
143         [BZ #12067]
144         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
145         trying to locate the ELF header.
147 2010-09-27  Andreas Schwab  <schwab@redhat.com>
149         [BZ #11611]
150         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
151         Mask out sign-bit copies when constructing f_fsid.
153 2010-09-28  Andreas Schwab  <schwab@redhat.com>
155         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
156         before performing relro protection.
158 2010-09-27  Andreas Schwab  <schwab@redhat.com>
160         * include/link.h (struct link_map): Add l_free_initfini.
161         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
162         l_initfini.
163         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
164         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
165         set.
167         [BZ #11561]
168         * posix/regcomp.c (parse_bracket_exp): When looking up collating
169         elements compare against the byte sequence of it, not its name.
171         [BZ #6530]
172         * stdio-common/vfprintf.c (process_string_arg): Revert 2000-07-22
173         change.
175         * nss/nss_files/files-XXX.c (internal_getent): Declare linebuflen
176         as size_t.
178         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
179         backslash.
181 2010-09-24  Petr Baudis <pasky@suse.cz>
183         * debug/stack_chk_fail_local.c: Add missing licence exception.
184         * debug/warning-nop.c: Likewise.
186 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
188         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
189         implementing getdents64 using getdents syscall, set d_type if
190         __ASSUME_GETDENTS32_D_TYPE.
192 2010-09-16  Andreas Schwab  <schwab@redhat.com>
194         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
195         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
197 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
199         [BZ #12037]
200         * posix/unistd.h: Undo change of feature selection for ftruncate from
201         2010-01-11.
203 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
205         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
206         detection.
208 2010-09-20  Andreas Schwab  <schwab@redhat.com>
210         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
211         fanotify_mark.
212         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
214 2010-09-14  Andreas Schwab  <schwab@redhat.com>
216         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
217         variables after CHECK_SP call.
218         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
220 2010-09-13  Andreas Schwab  <schwab@redhat.com>
221             Ulrich Drepper  <drepper@redhat.com>
223         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
224         re-relocationg ld.so.
225         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
226         _dl_init_paths call.
227         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
228         here anymore.
230 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
232         * resolv/res_init.c (__res_vinit): Count the default server we added.
234 2010-09-13  Andreas Schwab  <schwab@redhat.com>
236         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
237         (sysd-rules-targets): Remove duplicates.
238         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
239         rtld-%.$o dependency.
241 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
242             Ulrich Drepper  <drepper@redhat.com>
244         [BZ #11968]
245         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
246         (____longjmp_chk): Use %ebx for saving value across system call.
247         Add unwind info.
249 2010-09-06  Andreas Schwab  <schwab@redhat.com>
251         * manual/Makefile: Don't mix pattern rules with normal rules.
253 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
255         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
256         operation.
257         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
258         * libio/iofopncook.c (_IO_cookie_init): Likewise.
259         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
260         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
262         Likewise.
264 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
266         [BZ #11979]
267         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
268         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
270 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
272         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
273         * sysdeps/x86_64/addmul_1.S: Likewise.
274         * sysdeps/x86_64/lshift.S: Likewise.
275         * sysdeps/x86_64/mul_1.S: Likewise.
276         * sysdeps/x86_64/rshift.S: Likewise.
277         * sysdeps/x86_64/sub_n.S: Likewise.
278         * sysdeps/x86_64/submul_1.S: Likewise.
280 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
282         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
283         Define __sched_param instead of SCHED_* and sched_param when
284         <bits/sched.h> is included with __need_schedparam defined.
285         * bits/sched.h [__need_schedparam]
286         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
287         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
288         (__defined_schedparam): Define to 1.
289         (__sched_param): New structure, identical to sched_param.
290         (__need_schedparam): Undefine.
292 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
294         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
295         (epoll_create1): Declare.
297         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
299 2010-08-31  Andreas Schwab  <schwab@redhat.com>
301         [BZ #7066]
302         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
303         shifting retval into place.
305 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
307         * nis/rpcsvc/nis.h: Update copyright notice.
308         * nis/rpcsvc/nis.x: Likewise.
309         * nis/rpcsvc/nis_callback.h: Likewise.
310         * nis/rpcsvc/nis_callback.x: Likewise.
311         * nis/rpcsvc/nis_object.x: Likewise.
312         * nis/rpcsvc/nis_tags.h: Likewise.
313         * nis/rpcsvc/yp.h: Likewise.
314         * nis/rpcsvc/yp.x: Likewise.
315         * nis/rpcsvc/ypupd.h: Likewise.
316         * nis/yp_xdr.c: Likewise.
317         * nis/ypupdate_xdr.c: Likewise.
319         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
320         mainly the body of pmap_getport.  Add parameters to specify timeouts.
321         (pmap_getport): Use __libc_rpc_getport.
322         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
323         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
324         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
326 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
329         fanotify_mark.
331 2010-08-27  Roland McGrath  <roland@redhat.com>
333         * sysdeps/i386/i686/multiarch/Makefile
334         (CFLAGS-varshift.c): New variable.
336 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
338         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
339         * sysdeps/i386/i686/multiarch/varshift.c: New file.
341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
343         * sysdeps/x86_64/strlen.S: Minimal code improvement.
345 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
347         * sysdeps/x86_64/strlen.S: Unroll the loop.
348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
349         strlen-sse2 strlen-sse2-bsf.
350         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
351         __strlen_no_bsf if bit_Slow_BSF is set.
352         (__strlen_sse42): Removed.
353         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
354         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
356 2010-08-25  Roland McGrath  <roland@redhat.com>
358         * sysdeps/x86_64/multiarch/varshift.S: File removed.
359         * sysdeps/x86_64/multiarch/varshift.c: New file.
360         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
361         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
362         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
365 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
367         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
368         strlen-sse2 strlen-sse2-bsf.
369         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
370         __strlen_sse2_bsf if bit_Slow_BSF is unset.
371         (__strlen_sse2): Removed.
372         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
373         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
375         bit_Slow_BSF for Atom.
376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
377         (index_Slow_BSF): Define.
378         (HAS_SLOW_BSF): Define.
380 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
382         [BZ #10851]
383         * resolv/res_init.c (__res_vinit): When no server address at all
384         is given default to loopback.
386 2010-08-24  Roland McGrath  <roland@redhat.com>
388         * configure.in: Remove config-name.h generation.
389         * configure: Regenerated.
390         * config-name.in: File removed.
391         * scripts/config-uname.sh: New file.
392         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
393         ($(objdir)config-name.h): New target.
395         * sunrpc/rpc_parse.h: Avoid nested comment.
397 2010-08-24  Richard Henderson  <rth@redhat.com>
398             Ulrich Drepper  <drepper@redhat.com>
399             H.J. Lu  <hongjiu.lu@intel.com>
401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
403         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
404         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
405         _mm_alignr_epi8 with _mm_loadu_si128.
406         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
407         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
408         (__m128i_shift_right): Removed.
409         * sysdeps/i386/i686/multiarch/varshift.h: New file.
410         * sysdeps/i386/i686/multiarch/varshift.S: New file.
411         * sysdeps/x86_64/multiarch/varshift.h: New file.
412         * sysdeps/x86_64/multiarch/varshift.S: New file.
414 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
416         * configure.in: Move assembler checks to before sysdep dir checking.
418 2010-08-20  Petr Baudis  <pasky@suse.cz>
420         * LICENSES: Sync the sunrpc license.
422 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
424         * sunrpc/auth_des.c: Update copyright notice once again.
425         * sunrpc/auth_none.c: Likewise.
426         * sunrpc/auth_unix.c: Likewise.
427         * sunrpc/authdes_prot.c: Likewise.
428         * sunrpc/authuxprot.c: Likewise.
429         * sunrpc/bindrsvprt.c: Likewise.
430         * sunrpc/clnt_gen.c: Likewise.
431         * sunrpc/clnt_perr.c: Likewise.
432         * sunrpc/clnt_raw.c: Likewise.
433         * sunrpc/clnt_simp.c: Likewise.
434         * sunrpc/clnt_tcp.c: Likewise.
435         * sunrpc/clnt_udp.c: Likewise.
436         * sunrpc/clnt_unix.c: Likewise.
437         * sunrpc/des_crypt.c: Likewise.
438         * sunrpc/des_soft.c: Likewise.
439         * sunrpc/get_myaddr.c: Likewise.
440         * sunrpc/getrpcport.c: Likewise.
441         * sunrpc/key_call.c: Likewise.
442         * sunrpc/key_prot.c: Likewise.
443         * sunrpc/openchild.c: Likewise.
444         * sunrpc/pm_getmaps.c: Likewise.
445         * sunrpc/pm_getport.c: Likewise.
446         * sunrpc/pmap_clnt.c: Likewise.
447         * sunrpc/pmap_prot.c: Likewise.
448         * sunrpc/pmap_prot2.c: Likewise.
449         * sunrpc/pmap_rmt.c: Likewise.
450         * sunrpc/rpc/auth.h: Likewise.
451         * sunrpc/rpc/auth_unix.h: Likewise.
452         * sunrpc/rpc/clnt.h: Likewise.
453         * sunrpc/rpc/des_crypt.h: Likewise.
454         * sunrpc/rpc/key_prot.h: Likewise.
455         * sunrpc/rpc/netdb.h: Likewise.
456         * sunrpc/rpc/pmap_clnt.h: Likewise.
457         * sunrpc/rpc/pmap_prot.h: Likewise.
458         * sunrpc/rpc/pmap_rmt.h: Likewise.
459         * sunrpc/rpc/rpc.h: Likewise.
460         * sunrpc/rpc/rpc_des.h: Likewise.
461         * sunrpc/rpc/rpc_msg.h: Likewise.
462         * sunrpc/rpc/svc.h: Likewise.
463         * sunrpc/rpc/svc_auth.h: Likewise.
464         * sunrpc/rpc/types.h: Likewise.
465         * sunrpc/rpc/xdr.h: Likewise.
466         * sunrpc/rpc_clntout.c: Likewise.
467         * sunrpc/rpc_cmsg.c: Likewise.
468         * sunrpc/rpc_common.c: Likewise.
469         * sunrpc/rpc_cout.c: Likewise.
470         * sunrpc/rpc_dtable.c: Likewise.
471         * sunrpc/rpc_hout.c: Likewise.
472         * sunrpc/rpc_main.c: Likewise.
473         * sunrpc/rpc_parse.c: Likewise.
474         * sunrpc/rpc_parse.h: Likewise.
475         * sunrpc/rpc_prot.c: Likewise.
476         * sunrpc/rpc_sample.c: Likewise.
477         * sunrpc/rpc_scan.c: Likewise.
478         * sunrpc/rpc_scan.h: Likewise.
479         * sunrpc/rpc_svcout.c: Likewise.
480         * sunrpc/rpc_tblout.c: Likewise.
481         * sunrpc/rpc_util.c: Likewise.
482         * sunrpc/rpc_util.h: Likewise.
483         * sunrpc/rpcinfo.c: Likewise.
484         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
485         * sunrpc/rpcsvc/key_prot.x: Likewise.
486         * sunrpc/rpcsvc/klm_prot.x: Likewise.
487         * sunrpc/rpcsvc/mount.x: Likewise.
488         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
489         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
490         * sunrpc/rpcsvc/rex.x: Likewise.
491         * sunrpc/rpcsvc/rstat.x: Likewise.
492         * sunrpc/rpcsvc/rusers.x: Likewise.
493         * sunrpc/rpcsvc/sm_inter.x: Likewise.
494         * sunrpc/rpcsvc/spray.x: Likewise.
495         * sunrpc/rpcsvc/yppasswd.x: Likewise.
496         * sunrpc/rtime.c: Likewise.
497         * sunrpc/svc.c: Likewise.
498         * sunrpc/svc_auth.c: Likewise.
499         * sunrpc/svc_authux.c: Likewise.
500         * sunrpc/svc_raw.c: Likewise.
501         * sunrpc/svc_run.c: Likewise.
502         * sunrpc/svc_simple.c: Likewise.
503         * sunrpc/svc_tcp.c: Likewise.
504         * sunrpc/svc_udp.c: Likewise.
505         * sunrpc/svc_unix.c: Likewise.
506         * sunrpc/svcauth_des.c: Likewise.
507         * sunrpc/xcrypt.c: Likewise.
508         * sunrpc/xdr.c: Likewise.
509         * sunrpc/xdr_array.c: Likewise.
510         * sunrpc/xdr_float.c: Likewise.
511         * sunrpc/xdr_mem.c: Likewise.
512         * sunrpc/xdr_rec.c: Likewise.
513         * sunrpc/xdr_ref.c: Likewise.
514         * sunrpc/xdr_sizeof.c: Likewise.
515         * sunrpc/xdr_stdio.c: Likewise.
517         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
518         handling.
520 2010-08-19  Andreas Schwab  <schwab@redhat.com>
522         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
524 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
526         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
528         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
529         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
530         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
531         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
532         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
533         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
535         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
536         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
537         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
538         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
539         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
541 2010-07-26  Anton Blanchard  <anton@samba.org>
543         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
544         * malloc/arena.c (heap_trim): Likewise.
546 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
548         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
549         here.  Not...
550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
551         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
553 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
555         * sysdeps/i386/elf/Makefile: New file.
557 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
559         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
560         from fanotify_init.
561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
564 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
566         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
567         of strncasecmp_l.
568         * sysdeps/multiarch/strcmp.S: Likewise.
570 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
572         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
573         strncase_l-nonascii.
574         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
575         Add strncase_l-ssse3.
576         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
577         * sysdeps/x86_64/strcmp.S: Likewise.
578         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
579         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
580         * sysdeps/x86_64/strncase.S: New file.
581         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
582         * sysdeps/x86_64/strncase_l.S: New file.
583         * string/Makefile (strop-tests): Add strncasecmp.
584         * string/test-strncasecmp.c: New file.
586         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
587         warning.
589         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
590         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
592 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
594         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
596 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
598         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
600         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
602 2010-05-01  Alan Modra  <amodra@gmail.com>
604         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
605         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
606         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
607         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
608         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
609         tidying.  Don't tail-call __sigjmp_save for static lib.
610         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
611         save location.
612         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
613         (CALL_MCOUNT): Add eh info, and nop after bl.
614         (TAIL_CALL_SYSCALL_ERROR): New macro.
615         (PSEUDO_RET): Use it.
616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
617         Correct save location of integer regs and cr.
618         (_dl_profile_resolve): Correct cr save location.  Delete nops
619         after bl when SHARED.  Reduce cfi size a little by better
620         placement of cfi directives.
621         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
622         make a stack frame.  Instead use parm save area as a temp.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
624         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
626         Don't make a stack frame for parent, use parm save area.
627         Increase child stack frame to 112 bytes.  Don't save unused reg,
628         and adjust reg usage.  Set up cfi on error recovery and
629         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
631         (__makecontext): Add dummy nop after jump to exit.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
633         Use correct parm save area and cr save, reduce stack frame.
634         Correct cfi for possible PSEUDO_RET frame setup.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
636         Branch to local label emitted by PSEUDO_RET rather than
637         __syscall_error.
639 2010-08-12  Andreas Schwab  <schwab@redhat.com>
641         [BZ #11904]
642         * locale/programs/locale.c (print_assignment): New function.
643         (show_locale_vars): Use it.
645 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
647         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
648         field.
649         (struct statfs64): Likewise.
650         (_STATFS_F_FLAGS): Define.
651         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
653         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
654         (ST_VALID): Define locally.
655         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
656         __statvfs_getflags, use the provided value.
657         * sysdeps/unix/sysv/linux/kernel-features.h: Define
658         __ASSUME_STATFS_F_FLAGS.
660         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
662         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
663         Add sys/fanotify.h.
664         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
665         fanotify_mask for GLIBC_2.13.
666         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
667         fanotify_init and fanotify_mark.
668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
669         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
672         Add prlimit.
673         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
674         prlimit64 for GLIBC_2.13.
675         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
676         prlimit64.
677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
678         syscall.
679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
681         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
682         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
684         add prlimit alias.
685         * sysdeps/unix/sysv/linux/prlimit.c: New file.
687         [BZ #11903]
688         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
689         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
691         * nss/Makefile: Add rules to build and run tst-nss-test1.
692         * shlib-versions: Add entry for libnss_test1.
693         * nss/nss_test1.c: New file.
694         * nss/tst-nss-test1.c: New file.
696         * nss/nsswitch.c (__nss_database_custom): Define new variable.
697         (__nss_configure_lookup): Set appropriate entry in
698         __nss_configure_lookup to true.
699         * nss/nsswitch.h: Define enum with indeces of databases in
700         databases and __nss_database_custom arrays.  Declare
701         __nss_database_custom.
702         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
703         to avoid using nscd when custom rules are installed.
704         * nss/getXXbyYY_r.c: Likewise.
705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
707         * nss/nss_files/files-parse.c: Whitespace fixes.
709 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
711         [BZ #11883]
712         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
713         * posix/fnmatch_loop.c: Likewise.
715 2010-07-17  Andi Kleen  <ak@linux.intel.com>
717         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
718         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
719         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
720         * Versions.def [GLIBC_2.13]: Add.
722 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
725         Also fail if tpwd after pwuid call is NULL.
727 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
729         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
730         when converting to ms.
732 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
734         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
735         EOPNOTSUPP errors with ENOTTY.
736         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
737         EOPNOTSUPP errors with ENOTTY.
739 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
741         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
742         Add strcasecmp_l-ssse3.
743         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
744         strcasecmp.
745         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
746         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
747         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
749 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
751         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
753         * string/Makefile (strop-tests): Add strcasecmp.
754         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
755         strcasecmp_l-nonascii.
756         (gen-as-const-headers): Add locale-defines.sym.
757         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
758         * sysdeps/x86_64/strcasecmp.S: New file.
759         * sysdeps/x86_64/strcasecmp_l.S: New file.
760         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
761         * sysdeps/x86_64/locale-defines.sym: New file.
762         * string/test-strcasecmp.c: New file.
764         * string/test-strcasestr.c: Test both ends of the range of characters.
765         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
767 2010-07-29  Roland McGrath  <roland@redhat.com>
769         [BZ #11856]
770         * manual/locale.texi (Yes-or-No Questions): Fix example code.
772 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
774         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
775         for ld.so.
777 2010-07-27  Andreas Schwab  <schwab@redhat.com>
779         * manual/memory.texi (Malloc Tunable Parameters): Document
780         M_PERTURB.
782 2010-07-26  Roland McGrath  <roland@redhat.com>
784         [BZ #11840]
785         * configure.in (-fgnu89-inline check): Set and substitute
786         gnu89_inline, not libc_cv_gnu89_inline.
787         * configure: Regenerated.
788         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
790 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
792         * string/test-strnlen.c: New file.
793         * string/Makefile (strop-tests): Add strnlen.
794         * string/tester.c (test_strnlen): Add a few more test cases.
795         * string/tst-strlen.c: Better error reporting.
797         * sysdeps/x86_64/strnlen.S: New file.
799 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
801         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
802         lower-latency instructions.
804 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
806         * string/test-strcasestr.c: New file.
807         * string/test-strstr.c: New file.
808         * string/Makefile (strop-tests): Add strstr and strcasestr.
809         * string/str-two-way.h: Don't undefine MAX.
810         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
812 2010-07-21  Andreas Schwab  <schwab@redhat.com>
814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
815         strcasestr-nonascii.
816         (CFLAGS-strcasestr-nonascii.c): Define.
817         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
818         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
819         Remove unused attribute.
821 2010-07-20  Roland McGrath  <roland@redhat.com>
823         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
824         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
825         ld.so.cache was broken.  With it, there is no way to disable dsocaps
826         like LD_HWCAP_MASK can disable hwcaps.
828 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
830         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
832 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
834         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
835         call in strcasestr.
836         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
837         __strcasestr_sse42_nonascii.
838         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
839         strcasestr-nonascii.c.
840         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
842 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
844         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
845         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
847         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
849 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
851         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
852         fcntl.
854 2010-07-06  Andreas Schwab  <schwab@redhat.com>
856         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
857         dl_signal_cerror.
859 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
861         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
862         _PC_PIPE_BUF using F_GETPIPE_SZ.
864 2010-07-05  Roland McGrath  <roland@redhat.com>
866         * manual/arith.texi (Rounding Functions): Fix rint description
867         implicit in round description.
869 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
871         * elf/Makefile: Fix linking for a few tests to make recent linker
872         happy.
874 2010-06-30  Andreas Schwab  <schwab@redhat.com>
876         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
877         $(common-objpfx)libc_nonshared.a.
879 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
881         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
882         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
883         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
884         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
885         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
886         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
887         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
888         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
903         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
904         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
905         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
906         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
907         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
908         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
909         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
910         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
911         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
912         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
913         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
914         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
930 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
932         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
933         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
934         * string/memmove.c (memmove): Renamed to ...
935         (MEMMOVE): ...this.  Default to memmove.
936         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
937         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
938         (END_CHK): Define.
939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
940         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
941         mempcpy-ssse3-back memmove-ssse3-back.
942         * sysdeps/x86_64/multiarch/bcopy.S: New file .
943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
944         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
945         * sysdeps/x86_64/multiarch/memcpy.S: New file.
946         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
947         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
948         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
949         * sysdeps/x86_64/multiarch/memmove.c: New file.
950         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
951         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
952         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
953         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
954         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
955         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
956         Define.
957         (index_Fast_Copy_Backward): Define.
958         (HAS_ARCH_FEATURE): Define.
959         (HAS_FAST_REP_STRING): Define.
960         (HAS_FAST_COPY_BACKWARD): Define.
962 2010-06-21  Andreas Schwab  <schwab@redhat.com>
964         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
965         Restore proper fallback handling.
967 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
969         [BZ #11701]
970         * posix/group_member.c (__group_member): Correct checking loop.
972         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
973         OOM in getpwuid_r correctly.  Return error number when the caller
974         should return, otherwise -1.
975         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
976         call returning > 0 value.
977         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
979 2010-07-01  Andreas Schwab  <schwab@redhat.com>
981         * include/sys/resource.h (__getrlimit): Add hidden proto.
982         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add libc_hidden_weak.
983         * sysdeps/mach/hurd/getrlimit.c: Add libc_hidden_def.
984         * resource/getrlimit.c: Likewise.
986 2010-06-28  Andreas Schwab  <schwab@redhat.com>
988         * allocatestack.c (setxid_mark_thread): Ensure that the exiting
989         thread is woken up.
991         * elf/Makefile: Add rules to build and run unload8 test.
992         * elf/unload8.c: New file.
993         * elf/unload8mod1.c: New file.
994         * elf/unload8mod1x.c: New file.
995         * elf/unload8mod2.c: New file.
996         * elf/unload8mod3.c: New file.
998         * elf/dl-close.c (_dl_close_worker): Reset private search list if
999         it wasn't used.
1001 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1003         * sysdeps/i386/i686/Makefile: Don't pass -mtune to assembler.
1005 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1007         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1008         libc_nonshared.a from targets in modules-names.
1010 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1012         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1013         requires it.
1015 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1017         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1018         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1019         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1022 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1024         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1026 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1028         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1029         and F_GETPIPE_SZ.
1030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1031         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1032         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1033         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1035         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1037 2010-06-14  Roland McGrath  <roland@redhat.com>
1039         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1041 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1043         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1044         __REDIRECT followed by __THROW.
1045         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1046         * posix/getopt.h (getopt): Likewise.
1048 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1050         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1051         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1052         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1053         in AT_FLAGS.
1054         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1055         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1057 2010-06-11  Andreas Schwab  <schwab@redhat.com>
1059         * elf/rtld.c (_dl_starting_up): Always define.
1060         (dl_main): Always set _dl_starting_up.
1061         * elf/dl-support.c (_dl_starting_up): Always define.
1062         * elf/dl-init.c (_dl_init): Always clear _dl_starting_up.
1064 2010-06-10  Andreas Schwab  <schwab@redhat.com>
1066         * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
1067         is always available.
1069         * sysdeps/unix/sysv/linux/i386/Versions: Export __uname under
1070         GLIBC_PRIVATE.
1071         * nptl/Versions: Export __getrlimit under GLIBC_PRIVATE.
1072         * sysdeps/unix/sysv/linux/i386/smp.h: Call __uname instead of uname.
1073         * nptl/nptl-init.c: Call __getrlimit instead of getrlimit.
1075 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1079 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1081         [BZ #11640]
1082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1083         Properly check family and model.
1085 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1087         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1089 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1091         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1093 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1095         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1096         symbol reference.
1098 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1100         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1101         symbol reference.
1103 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1105         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1106         and internal_recvmmsg.
1107         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1108         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1109         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1110         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1112         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1116 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1118         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1120 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1122         POWER7 optimizations.
1123         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1124         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1126 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1128         * version.h: Update for 2.13 development version.
1130 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1132         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1133         exceptions.  Return 0.
1135 2010-05-07  Roland McGrath  <roland@redhat.com>
1137         * elf/ldconfig.c (main): Add a const.
1139 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1141         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1142         (args_options): Add no-idn option.
1143         (ahosts_keys_int): Add idn_flags to ai_flags.
1144         (parse_option): Handle 'i' option to clear idn_flags.
1146         * malloc/malloc.c (_int_free): Possible race in the most recently
1147         added check.  Only act on the data if no current modification
1148         happened.
1150 See ChangeLog.17 for earlier changes.