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