Remove invalid iconv aliases.
[glibc.git] / ChangeLog
blobe7f27472f0846de580bcc5275ee366550e505d35
1 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
3         [BZ #11979]
4         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
5         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
9         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10         * sysdeps/x86_64/addmul_1.S: Likewise.
11         * sysdeps/x86_64/lshift.S: Likewise.
12         * sysdeps/x86_64/mul_1.S: Likewise.
13         * sysdeps/x86_64/rshift.S: Likewise.
14         * sysdeps/x86_64/sub_n.S: Likewise.
15         * sysdeps/x86_64/submul_1.S: Likewise.
17 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20         Define __sched_param instead of SCHED_* and sched_param when
21         <bits/sched.h> is included with __need_schedparam defined.
22         * bits/sched.h [__need_schedparam]
23         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
24         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
25         (__defined_schedparam): Define to 1.
26         (__sched_param): New structure, identical to sched_param.
27         (__need_schedparam): Undefine.
29 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32         (epoll_create1): Declare.
34         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38         [BZ #7066]
39         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
40         shifting retval into place.
42 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44         * nis/rpcsvc/nis.h: Update copyright notice.
45         * nis/rpcsvc/nis.x: Likewise.
46         * nis/rpcsvc/nis_callback.h: Likewise.
47         * nis/rpcsvc/nis_callback.x: Likewise.
48         * nis/rpcsvc/nis_object.x: Likewise.
49         * nis/rpcsvc/nis_tags.h: Likewise.
50         * nis/rpcsvc/yp.h: Likewise.
51         * nis/rpcsvc/yp.x: Likewise.
52         * nis/rpcsvc/ypupd.h: Likewise.
53         * nis/yp_xdr.c: Likewise.
54         * nis/ypupdate_xdr.c: Likewise.
56         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58         (pmap_getport): Use __libc_rpc_getport.
59         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
65         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
66         fanotify_mark.
68 2010-08-27  Roland McGrath  <roland@redhat.com>
70         * sysdeps/i386/i686/multiarch/Makefile
71         (CFLAGS-varshift.c): New variable.
73 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
76         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84         * sysdeps/x86_64/strlen.S: Unroll the loop.
85         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86         strlen-sse2 strlen-sse2-bsf.
87         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88         __strlen_no_bsf if bit_Slow_BSF is set.
89         (__strlen_sse42): Removed.
90         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
91         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
93 2010-08-25  Roland McGrath  <roland@redhat.com>
95         * sysdeps/x86_64/multiarch/varshift.S: File removed.
96         * sysdeps/x86_64/multiarch/varshift.c: New file.
97         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
98         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
99         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
100         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
102 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
104         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
105         strlen-sse2 strlen-sse2-bsf.
106         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
107         __strlen_sse2_bsf if bit_Slow_BSF is unset.
108         (__strlen_sse2): Removed.
109         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
110         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
112         bit_Slow_BSF for Atom.
113         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
114         (index_Slow_BSF): Define.
115         (HAS_SLOW_BSF): Define.
117 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
119         [BZ #10851]
120         * resolv/res_init.c (__res_vinit): When no server address at all
121         is given default to loopback.
123 2010-08-24  Roland McGrath  <roland@redhat.com>
125         * configure.in: Remove config-name.h generation.
126         * configure: Regenerated.
127         * config-name.in: File removed.
128         * scripts/config-uname.sh: New file.
129         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
130         ($(objdir)config-name.h): New target.
132         * sunrpc/rpc_parse.h: Avoid nested comment.
134 2010-08-24  Richard Henderson  <rth@redhat.com>
135             Ulrich Drepper  <drepper@redhat.com>
136             H.J. Lu  <hongjiu.lu@intel.com>
138         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
140         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
141         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
142         _mm_alignr_epi8 with _mm_loadu_si128.
143         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
144         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
145         (__m128i_shift_right): Removed.
146         * sysdeps/i386/i686/multiarch/varshift.h: New file.
147         * sysdeps/i386/i686/multiarch/varshift.S: New file.
148         * sysdeps/x86_64/multiarch/varshift.h: New file.
149         * sysdeps/x86_64/multiarch/varshift.S: New file.
151 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
153         * configure.in: Move assembler checks to before sysdep dir checking.
155 2010-08-20  Petr Baudis  <pasky@suse.cz>
157         * LICENSES: Sync the sunrpc license.
159 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
161         * sunrpc/auth_des.c: Update copyright notice once again.
162         * sunrpc/auth_none.c: Likewise.
163         * sunrpc/auth_unix.c: Likewise.
164         * sunrpc/authdes_prot.c: Likewise.
165         * sunrpc/authuxprot.c: Likewise.
166         * sunrpc/bindrsvprt.c: Likewise.
167         * sunrpc/clnt_gen.c: Likewise.
168         * sunrpc/clnt_perr.c: Likewise.
169         * sunrpc/clnt_raw.c: Likewise.
170         * sunrpc/clnt_simp.c: Likewise.
171         * sunrpc/clnt_tcp.c: Likewise.
172         * sunrpc/clnt_udp.c: Likewise.
173         * sunrpc/clnt_unix.c: Likewise.
174         * sunrpc/des_crypt.c: Likewise.
175         * sunrpc/des_soft.c: Likewise.
176         * sunrpc/get_myaddr.c: Likewise.
177         * sunrpc/getrpcport.c: Likewise.
178         * sunrpc/key_call.c: Likewise.
179         * sunrpc/key_prot.c: Likewise.
180         * sunrpc/openchild.c: Likewise.
181         * sunrpc/pm_getmaps.c: Likewise.
182         * sunrpc/pm_getport.c: Likewise.
183         * sunrpc/pmap_clnt.c: Likewise.
184         * sunrpc/pmap_prot.c: Likewise.
185         * sunrpc/pmap_prot2.c: Likewise.
186         * sunrpc/pmap_rmt.c: Likewise.
187         * sunrpc/rpc/auth.h: Likewise.
188         * sunrpc/rpc/auth_unix.h: Likewise.
189         * sunrpc/rpc/clnt.h: Likewise.
190         * sunrpc/rpc/des_crypt.h: Likewise.
191         * sunrpc/rpc/key_prot.h: Likewise.
192         * sunrpc/rpc/netdb.h: Likewise.
193         * sunrpc/rpc/pmap_clnt.h: Likewise.
194         * sunrpc/rpc/pmap_prot.h: Likewise.
195         * sunrpc/rpc/pmap_rmt.h: Likewise.
196         * sunrpc/rpc/rpc.h: Likewise.
197         * sunrpc/rpc/rpc_des.h: Likewise.
198         * sunrpc/rpc/rpc_msg.h: Likewise.
199         * sunrpc/rpc/svc.h: Likewise.
200         * sunrpc/rpc/svc_auth.h: Likewise.
201         * sunrpc/rpc/types.h: Likewise.
202         * sunrpc/rpc/xdr.h: Likewise.
203         * sunrpc/rpc_clntout.c: Likewise.
204         * sunrpc/rpc_cmsg.c: Likewise.
205         * sunrpc/rpc_common.c: Likewise.
206         * sunrpc/rpc_cout.c: Likewise.
207         * sunrpc/rpc_dtable.c: Likewise.
208         * sunrpc/rpc_hout.c: Likewise.
209         * sunrpc/rpc_main.c: Likewise.
210         * sunrpc/rpc_parse.c: Likewise.
211         * sunrpc/rpc_parse.h: Likewise.
212         * sunrpc/rpc_prot.c: Likewise.
213         * sunrpc/rpc_sample.c: Likewise.
214         * sunrpc/rpc_scan.c: Likewise.
215         * sunrpc/rpc_scan.h: Likewise.
216         * sunrpc/rpc_svcout.c: Likewise.
217         * sunrpc/rpc_tblout.c: Likewise.
218         * sunrpc/rpc_util.c: Likewise.
219         * sunrpc/rpc_util.h: Likewise.
220         * sunrpc/rpcinfo.c: Likewise.
221         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
222         * sunrpc/rpcsvc/key_prot.x: Likewise.
223         * sunrpc/rpcsvc/klm_prot.x: Likewise.
224         * sunrpc/rpcsvc/mount.x: Likewise.
225         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
226         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
227         * sunrpc/rpcsvc/rex.x: Likewise.
228         * sunrpc/rpcsvc/rstat.x: Likewise.
229         * sunrpc/rpcsvc/rusers.x: Likewise.
230         * sunrpc/rpcsvc/sm_inter.x: Likewise.
231         * sunrpc/rpcsvc/spray.x: Likewise.
232         * sunrpc/rpcsvc/yppasswd.x: Likewise.
233         * sunrpc/rtime.c: Likewise.
234         * sunrpc/svc.c: Likewise.
235         * sunrpc/svc_auth.c: Likewise.
236         * sunrpc/svc_authux.c: Likewise.
237         * sunrpc/svc_raw.c: Likewise.
238         * sunrpc/svc_run.c: Likewise.
239         * sunrpc/svc_simple.c: Likewise.
240         * sunrpc/svc_tcp.c: Likewise.
241         * sunrpc/svc_udp.c: Likewise.
242         * sunrpc/svc_unix.c: Likewise.
243         * sunrpc/svcauth_des.c: Likewise.
244         * sunrpc/xcrypt.c: Likewise.
245         * sunrpc/xdr.c: Likewise.
246         * sunrpc/xdr_array.c: Likewise.
247         * sunrpc/xdr_float.c: Likewise.
248         * sunrpc/xdr_mem.c: Likewise.
249         * sunrpc/xdr_rec.c: Likewise.
250         * sunrpc/xdr_ref.c: Likewise.
251         * sunrpc/xdr_sizeof.c: Likewise.
252         * sunrpc/xdr_stdio.c: Likewise.
254         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
255         handling.
257 2010-08-19  Andreas Schwab  <schwab@redhat.com>
259         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
261 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
263         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
264         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
265         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
266         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
267         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
268         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
269         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
270         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
271         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
272         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
273         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
274         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
275         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
276         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
278 2010-07-26  Anton Blanchard  <anton@samba.org>
280         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
281         * malloc/arena.c (heap_trim): Likewise.
283 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
285         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
286         here.  Not...
287         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
288         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
290 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
292         * sysdeps/i386/elf/Makefile: New file.
294 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
296         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
297         from fanotify_init.
298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
301 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
303         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
304         of strncasecmp_l.
305         * sysdeps/multiarch/strcmp.S: Likewise.
307 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
309         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
310         strncase_l-nonascii.
311         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
312         Add strncase_l-ssse3.
313         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
314         * sysdeps/x86_64/strcmp.S: Likewise.
315         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
316         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
317         * sysdeps/x86_64/strncase.S: New file.
318         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
319         * sysdeps/x86_64/strncase_l.S: New file.
320         * string/Makefile (strop-tests): Add strncasecmp.
321         * string/test-strncasecmp.c: New file.
323         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
324         warning.
326         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
327         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
329 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
331         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
333 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
335         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
336         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
337         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
339 2010-05-01  Alan Modra  <amodra@gmail.com>
341         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
342         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
343         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
344         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
345         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
346         tidying.  Don't tail-call __sigjmp_save for static lib.
347         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
348         save location.
349         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
350         (CALL_MCOUNT): Add eh info, and nop after bl.
351         (TAIL_CALL_SYSCALL_ERROR): New macro.
352         (PSEUDO_RET): Use it.
353         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
354         Correct save location of integer regs and cr.
355         (_dl_profile_resolve): Correct cr save location.  Delete nops
356         after bl when SHARED.  Reduce cfi size a little by better
357         placement of cfi directives.
358         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
359         make a stack frame.  Instead use parm save area as a temp.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
361         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
363         Don't make a stack frame for parent, use parm save area.
364         Increase child stack frame to 112 bytes.  Don't save unused reg,
365         and adjust reg usage.  Set up cfi on error recovery and
366         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
368         (__makecontext): Add dummy nop after jump to exit.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
370         Use correct parm save area and cr save, reduce stack frame.
371         Correct cfi for possible PSEUDO_RET frame setup.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
373         Branch to local label emitted by PSEUDO_RET rather than
374         __syscall_error.
376 2010-08-12  Andreas Schwab  <schwab@redhat.com>
378         [BZ #11904]
379         * locale/programs/locale.c (print_assignment): New function.
380         (show_locale_vars): Use it.
382 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
384         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
385         field.
386         (struct statfs64): Likewise.
387         (_STATFS_F_FLAGS): Define.
388         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
389         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
390         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
391         (ST_VALID): Define locally.
392         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
393         __statvfs_getflags, use the provided value.
394         * sysdeps/unix/sysv/linux/kernel-features.h: Define
395         __ASSUME_STATFS_F_FLAGS.
397         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
399         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
400         Add sys/fanotify.h.
401         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
402         fanotify_mask for GLIBC_2.13.
403         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
404         fanotify_init and fanotify_mark.
405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
406         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
408         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
409         Add prlimit.
410         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
411         prlimit64 for GLIBC_2.13.
412         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
413         prlimit64.
414         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
415         syscall.
416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
417         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
418         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
419         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
420         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
421         add prlimit alias.
422         * sysdeps/unix/sysv/linux/prlimit.c: New file.
424         [BZ #11903]
425         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
426         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
428         * nss/Makefile: Add rules to build and run tst-nss-test1.
429         * shlib-versions: Add entry for libnss_test1.
430         * nss/nss_test1.c: New file.
431         * nss/tst-nss-test1.c: New file.
433         * nss/nsswitch.c (__nss_database_custom): Define new variable.
434         (__nss_configure_lookup): Set appropriate entry in
435         __nss_configure_lookup to true.
436         * nss/nsswitch.h: Define enum with indeces of databases in
437         databases and __nss_database_custom arrays.  Declare
438         __nss_database_custom.
439         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
440         to avoid using nscd when custom rules are installed.
441         * nss/getXXbyYY_r.c: Likewise.
442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
444         * nss/nss_files/files-parse.c: Whitespace fixes.
446 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
448         [BZ #11883]
449         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
450         * posix/fnmatch_loop.c: Likewise.
452 2010-07-17  Andi Kleen  <ak@linux.intel.com>
454         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
455         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
456         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
457         * Versions.def [GLIBC_2.13]: Add.
459 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
461         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
462         Also fail if tpwd after pwuid call is NULL.
464 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
466         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
467         when converting to ms.
469 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
471         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
472         EOPNOTSUPP errors with ENOTTY.
473         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
474         EOPNOTSUPP errors with ENOTTY.
476 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
478         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
479         Add strcasecmp_l-ssse3.
480         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
481         strcasecmp.
482         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
483         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
484         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
486 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
488         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
490         * string/Makefile (strop-tests): Add strcasecmp.
491         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
492         strcasecmp_l-nonascii.
493         (gen-as-const-headers): Add locale-defines.sym.
494         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
495         * sysdeps/x86_64/strcasecmp.S: New file.
496         * sysdeps/x86_64/strcasecmp_l.S: New file.
497         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
498         * sysdeps/x86_64/locale-defines.sym: New file.
499         * string/test-strcasecmp.c: New file.
501         * string/test-strcasestr.c: Test both ends of the range of characters.
502         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
504 2010-07-29  Roland McGrath  <roland@redhat.com>
506         [BZ #11856]
507         * manual/locale.texi (Yes-or-No Questions): Fix example code.
509 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
511         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
512         for ld.so.
514 2010-07-27  Andreas Schwab  <schwab@redhat.com>
516         * manual/memory.texi (Malloc Tunable Parameters): Document
517         M_PERTURB.
519 2010-07-26  Roland McGrath  <roland@redhat.com>
521         [BZ #11840]
522         * configure.in (-fgnu89-inline check): Set and substitute
523         gnu89_inline, not libc_cv_gnu89_inline.
524         * configure: Regenerated.
525         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
527 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
529         * string/test-strnlen.c: New file.
530         * string/Makefile (strop-tests): Add strnlen.
531         * string/tester.c (test_strnlen): Add a few more test cases.
532         * string/tst-strlen.c: Better error reporting.
534         * sysdeps/x86_64/strnlen.S: New file.
536 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
538         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
539         lower-latency instructions.
541 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
543         * string/test-strcasestr.c: New file.
544         * string/test-strstr.c: New file.
545         * string/Makefile (strop-tests): Add strstr and strcasestr.
546         * string/str-two-way.h: Don't undefine MAX.
547         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
549 2010-07-21  Andreas Schwab  <schwab@redhat.com>
551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
552         strcasestr-nonascii.
553         (CFLAGS-strcasestr-nonascii.c): Define.
554         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
555         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
556         Remove unused attribute.
558 2010-07-20  Roland McGrath  <roland@redhat.com>
560         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
561         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
562         ld.so.cache was broken.  With it, there is no way to disable dsocaps
563         like LD_HWCAP_MASK can disable hwcaps.
565 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
567         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
569 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
571         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
572         call in strcasestr.
573         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
574         __strcasestr_sse42_nonascii.
575         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
576         strcasestr-nonascii.c.
577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
579 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
581         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
582         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
584         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
586 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
588         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
589         fcntl.
591 2010-07-06  Andreas Schwab  <schwab@redhat.com>
593         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
594         dl_signal_cerror.
596 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
598         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
599         _PC_PIPE_BUF using F_GETPIPE_SZ.
601 2010-07-05  Roland McGrath  <roland@redhat.com>
603         * manual/arith.texi (Rounding Functions): Fix rint description
604         implicit in round description.
606 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
608         * elf/Makefile: Fix linking for a few tests to make recent linker
609         happy.
611 2010-06-30  Andreas Schwab  <schwab@redhat.com>
613         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
614         $(common-objpfx)libc_nonshared.a.
616 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
618         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
619         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
620         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
621         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
622         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
623         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
624         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
625         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
640         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
641         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
642         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
643         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
644         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
645         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
646         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
647         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
648         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
649         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
650         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
651         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
667 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
669         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
670         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
671         * string/memmove.c (memmove): Renamed to ...
672         (MEMMOVE): ...this.  Default to memmove.
673         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
674         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
675         (END_CHK): Define.
676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
677         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
678         mempcpy-ssse3-back memmove-ssse3-back.
679         * sysdeps/x86_64/multiarch/bcopy.S: New file .
680         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
681         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
682         * sysdeps/x86_64/multiarch/memcpy.S: New file.
683         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
684         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
685         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
686         * sysdeps/x86_64/multiarch/memmove.c: New file.
687         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
688         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
689         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
690         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
692         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
693         Define.
694         (index_Fast_Copy_Backward): Define.
695         (HAS_ARCH_FEATURE): Define.
696         (HAS_FAST_REP_STRING): Define.
697         (HAS_FAST_COPY_BACKWARD): Define.
699 2010-06-21  Andreas Schwab  <schwab@redhat.com>
701         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
702         Restore proper fallback handling.
704 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
706         [BZ #11701]
707         * posix/group_member.c (__group_member): Correct checking loop.
709         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
710         OOM in getpwuid_r correctly.  Return error number when the caller
711         should return, otherwise -1.
712         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
713         call returning > 0 value.
714         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
716 2010-06-07  Andreas Schwab  <schwab@redhat.com>
718         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
719         libc_nonshared.a from targets in modules-names.
721 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
723         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
724         requires it.
726 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
728         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
729         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
730         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
731         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
733 2010-06-02  Andreas Schwab  <schwab@redhat.com>
735         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
737 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
739         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
740         and F_GETPIPE_SZ.
741         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
743         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
745         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
746         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
748 2010-06-14  Roland McGrath  <roland@redhat.com>
750         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
752 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
754         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
755         __REDIRECT followed by __THROW.
756         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
757         * posix/getopt.h (getopt): Likewise.
759 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
761         * hurd/lookup-at.c (__file_name_lookup_at): Accept
762         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
763         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
764         in AT_FLAGS.
765         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
766         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
768 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
770         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
772 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
774         [BZ #11640]
775         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
776         Properly check family and model.
778 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
780         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
782 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
784         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
786 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
788         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
789         symbol reference.
791 2010-05-19  Andreas Schwab  <schwab@redhat.com>
793         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
794         symbol reference.
796 2010-05-21  Andreas Schwab  <schwab@redhat.com>
798         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
799         and internal_recvmmsg.
800         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
801         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
802         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
803         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
805         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
806         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
807         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
809 2010-05-20  Andreas Schwab  <schwab@redhat.com>
811         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
813 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
815         POWER7 optimizations.
816         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
817         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
819 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
821         * version.h: Update for 2.13 development version.
823 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
825         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
826         exceptions.  Return 0.
828 2010-05-07  Roland McGrath  <roland@redhat.com>
830         * elf/ldconfig.c (main): Add a const.
832 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
834         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
835         (args_options): Add no-idn option.
836         (ahosts_keys_int): Add idn_flags to ai_flags.
837         (parse_option): Handle 'i' option to clear idn_flags.
839         * malloc/malloc.c (_int_free): Possible race in the most recently
840         added check.  Only act on the data if no current modification
841         happened.
843 See ChangeLog.17 for earlier changes.