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