Merge remote branch 'origin/master' into fedora/master
[glibc.git] / ChangeLog
blobd4515a95809afcebbbde6c9a828b075f1e862756
1 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
3         * sunrpc/auth_des.c: Update copyright notice once again.
4         * sunrpc/auth_none.c: Likewise.
5         * sunrpc/auth_unix.c: Likewise.
6         * sunrpc/authdes_prot.c: Likewise.
7         * sunrpc/authuxprot.c: Likewise.
8         * sunrpc/bindrsvprt.c: Likewise.
9         * sunrpc/clnt_gen.c: Likewise.
10         * sunrpc/clnt_perr.c: Likewise.
11         * sunrpc/clnt_raw.c: Likewise.
12         * sunrpc/clnt_simp.c: Likewise.
13         * sunrpc/clnt_tcp.c: Likewise.
14         * sunrpc/clnt_udp.c: Likewise.
15         * sunrpc/clnt_unix.c: Likewise.
16         * sunrpc/des_crypt.c: Likewise.
17         * sunrpc/des_soft.c: Likewise.
18         * sunrpc/get_myaddr.c: Likewise.
19         * sunrpc/getrpcport.c: Likewise.
20         * sunrpc/key_call.c: Likewise.
21         * sunrpc/key_prot.c: Likewise.
22         * sunrpc/openchild.c: Likewise.
23         * sunrpc/pm_getmaps.c: Likewise.
24         * sunrpc/pm_getport.c: Likewise.
25         * sunrpc/pmap_clnt.c: Likewise.
26         * sunrpc/pmap_prot.c: Likewise.
27         * sunrpc/pmap_prot2.c: Likewise.
28         * sunrpc/pmap_rmt.c: Likewise.
29         * sunrpc/rpc/auth.h: Likewise.
30         * sunrpc/rpc/auth_unix.h: Likewise.
31         * sunrpc/rpc/clnt.h: Likewise.
32         * sunrpc/rpc/des_crypt.h: Likewise.
33         * sunrpc/rpc/key_prot.h: Likewise.
34         * sunrpc/rpc/netdb.h: Likewise.
35         * sunrpc/rpc/pmap_clnt.h: Likewise.
36         * sunrpc/rpc/pmap_prot.h: Likewise.
37         * sunrpc/rpc/pmap_rmt.h: Likewise.
38         * sunrpc/rpc/rpc.h: Likewise.
39         * sunrpc/rpc/rpc_des.h: Likewise.
40         * sunrpc/rpc/rpc_msg.h: Likewise.
41         * sunrpc/rpc/svc.h: Likewise.
42         * sunrpc/rpc/svc_auth.h: Likewise.
43         * sunrpc/rpc/types.h: Likewise.
44         * sunrpc/rpc/xdr.h: Likewise.
45         * sunrpc/rpc_clntout.c: Likewise.
46         * sunrpc/rpc_cmsg.c: Likewise.
47         * sunrpc/rpc_common.c: Likewise.
48         * sunrpc/rpc_cout.c: Likewise.
49         * sunrpc/rpc_dtable.c: Likewise.
50         * sunrpc/rpc_hout.c: Likewise.
51         * sunrpc/rpc_main.c: Likewise.
52         * sunrpc/rpc_parse.c: Likewise.
53         * sunrpc/rpc_parse.h: Likewise.
54         * sunrpc/rpc_prot.c: Likewise.
55         * sunrpc/rpc_sample.c: Likewise.
56         * sunrpc/rpc_scan.c: Likewise.
57         * sunrpc/rpc_scan.h: Likewise.
58         * sunrpc/rpc_svcout.c: Likewise.
59         * sunrpc/rpc_tblout.c: Likewise.
60         * sunrpc/rpc_util.c: Likewise.
61         * sunrpc/rpc_util.h: Likewise.
62         * sunrpc/rpcinfo.c: Likewise.
63         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64         * sunrpc/rpcsvc/key_prot.x: Likewise.
65         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66         * sunrpc/rpcsvc/mount.x: Likewise.
67         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69         * sunrpc/rpcsvc/rex.x: Likewise.
70         * sunrpc/rpcsvc/rstat.x: Likewise.
71         * sunrpc/rpcsvc/rusers.x: Likewise.
72         * sunrpc/rpcsvc/sm_inter.x: Likewise.
73         * sunrpc/rpcsvc/spray.x: Likewise.
74         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75         * sunrpc/rtime.c: Likewise.
76         * sunrpc/svc.c: Likewise.
77         * sunrpc/svc_auth.c: Likewise.
78         * sunrpc/svc_authux.c: Likewise.
79         * sunrpc/svc_raw.c: Likewise.
80         * sunrpc/svc_run.c: Likewise.
81         * sunrpc/svc_simple.c: Likewise.
82         * sunrpc/svc_tcp.c: Likewise.
83         * sunrpc/svc_udp.c: Likewise.
84         * sunrpc/svc_unix.c: Likewise.
85         * sunrpc/svcauth_des.c: Likewise.
86         * sunrpc/xcrypt.c: Likewise.
87         * sunrpc/xdr.c: Likewise.
88         * sunrpc/xdr_array.c: Likewise.
89         * sunrpc/xdr_float.c: Likewise.
90         * sunrpc/xdr_mem.c: Likewise.
91         * sunrpc/xdr_rec.c: Likewise.
92         * sunrpc/xdr_ref.c: Likewise.
93         * sunrpc/xdr_sizeof.c: Likewise.
94         * sunrpc/xdr_stdio.c: Likewise.
96         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
97         handling.
99 2010-08-19  Andreas Schwab  <schwab@redhat.com>
101         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
103 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
105         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
106         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
107         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
108         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
109         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
110         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
111         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
112         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
113         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
114         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
115         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
116         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
117         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
118         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
120 2010-07-26  Anton Blanchard  <anton@samba.org>
122         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
123         * malloc/arena.c (heap_trim): Likewise.
125 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
127         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
128         here.  Not...
129         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
130         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
132 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
134         * sysdeps/i386/elf/Makefile: New file.
136 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
138         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
139         from fanotify_init.
140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
143 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
145         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
146         of strncasecmp_l.
147         * sysdeps/multiarch/strcmp.S: Likewise.
149 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
151         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
152         strncase_l-nonascii.
153         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
154         Add strncase_l-ssse3.
155         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
156         * sysdeps/x86_64/strcmp.S: Likewise.
157         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
158         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
159         * sysdeps/x86_64/strncase.S: New file.
160         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
161         * sysdeps/x86_64/strncase_l.S: New file.
162         * string/Makefile (strop-tests): Add strncasecmp.
163         * string/test-strncasecmp.c: New file.
165         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
166         warning.
168         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
169         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
171 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
173         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
175 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
177         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
178         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
179         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
181 2010-05-01  Alan Modra  <amodra@gmail.com>
183         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
184         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
185         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
186         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
187         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
188         tidying.  Don't tail-call __sigjmp_save for static lib.
189         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
190         save location.
191         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
192         (CALL_MCOUNT): Add eh info, and nop after bl.
193         (TAIL_CALL_SYSCALL_ERROR): New macro.
194         (PSEUDO_RET): Use it.
195         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
196         Correct save location of integer regs and cr.
197         (_dl_profile_resolve): Correct cr save location.  Delete nops
198         after bl when SHARED.  Reduce cfi size a little by better
199         placement of cfi directives.
200         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
201         make a stack frame.  Instead use parm save area as a temp.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
203         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
205         Don't make a stack frame for parent, use parm save area.
206         Increase child stack frame to 112 bytes.  Don't save unused reg,
207         and adjust reg usage.  Set up cfi on error recovery and
208         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
210         (__makecontext): Add dummy nop after jump to exit.
211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
212         Use correct parm save area and cr save, reduce stack frame.
213         Correct cfi for possible PSEUDO_RET frame setup.
214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
215         Branch to local label emitted by PSEUDO_RET rather than
216         __syscall_error.
218 2010-08-12  Andreas Schwab  <schwab@redhat.com>
220         [BZ #11904]
221         * locale/programs/locale.c (print_assignment): New function.
222         (show_locale_vars): Use it.
224 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
226         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
227         field.
228         (struct statfs64): Likewise.
229         (_STATFS_F_FLAGS): Define.
230         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
231         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
232         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
233         (ST_VALID): Define locally.
234         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
235         __statvfs_getflags, use the provided value.
236         * sysdeps/unix/sysv/linux/kernel-features.h: Define
237         __ASSUME_STATFS_F_FLAGS.
239         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
241         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
242         Add sys/fanotify.h.
243         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
244         fanotify_mask for GLIBC_2.13.
245         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
246         fanotify_init and fanotify_mark.
247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
248         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
250         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
251         Add prlimit.
252         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
253         prlimit64 for GLIBC_2.13.
254         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
255         prlimit64.
256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
257         syscall.
258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
259         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
260         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
261         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
263         add prlimit alias.
264         * sysdeps/unix/sysv/linux/prlimit.c: New file.
266         [BZ #11903]
267         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
268         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
270         * nss/Makefile: Add rules to build and run tst-nss-test1.
271         * shlib-versions: Add entry for libnss_test1.
272         * nss/nss_test1.c: New file.
273         * nss/tst-nss-test1.c: New file.
275         * nss/nsswitch.c (__nss_database_custom): Define new variable.
276         (__nss_configure_lookup): Set appropriate entry in
277         __nss_configure_lookup to true.
278         * nss/nsswitch.h: Define enum with indeces of databases in
279         databases and __nss_database_custom arrays.  Declare
280         __nss_database_custom.
281         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
282         to avoid using nscd when custom rules are installed.
283         * nss/getXXbyYY_r.c: Likewise.
284         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
286         * nss/nss_files/files-parse.c: Whitespace fixes.
288 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
290         [BZ #11883]
291         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
292         * posix/fnmatch_loop.c: Likewise.
294 2010-07-17  Andi Kleen  <ak@linux.intel.com>
296         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
297         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
298         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
299         * Versions.def [GLIBC_2.13]: Add.
301 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
303         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
304         Also fail if tpwd after pwuid call is NULL.
306 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
308         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
309         when converting to ms.
311 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
313         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
314         EOPNOTSUPP errors with ENOTTY.
315         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
316         EOPNOTSUPP errors with ENOTTY.
318 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
320         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
321         Add strcasecmp_l-ssse3.
322         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
323         strcasecmp.
324         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
325         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
326         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
328 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
330         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
332         * string/Makefile (strop-tests): Add strcasecmp.
333         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
334         strcasecmp_l-nonascii.
335         (gen-as-const-headers): Add locale-defines.sym.
336         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
337         * sysdeps/x86_64/strcasecmp.S: New file.
338         * sysdeps/x86_64/strcasecmp_l.S: New file.
339         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
340         * sysdeps/x86_64/locale-defines.sym: New file.
341         * string/test-strcasecmp.c: New file.
343         * string/test-strcasestr.c: Test both ends of the range of characters.
344         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
346 2010-07-29  Roland McGrath  <roland@redhat.com>
348         [BZ #11856]
349         * manual/locale.texi (Yes-or-No Questions): Fix example code.
351 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
353         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
354         for ld.so.
356 2010-07-27  Andreas Schwab  <schwab@redhat.com>
358         * manual/memory.texi (Malloc Tunable Parameters): Document
359         M_PERTURB.
361 2010-07-26  Roland McGrath  <roland@redhat.com>
363         [BZ #11840]
364         * configure.in (-fgnu89-inline check): Set and substitute
365         gnu89_inline, not libc_cv_gnu89_inline.
366         * configure: Regenerated.
367         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
369 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
371         * string/test-strnlen.c: New file.
372         * string/Makefile (strop-tests): Add strnlen.
373         * string/tester.c (test_strnlen): Add a few more test cases.
374         * string/tst-strlen.c: Better error reporting.
376         * sysdeps/x86_64/strnlen.S: New file.
378 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
380         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
381         lower-latency instructions.
383 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
385         * string/test-strcasestr.c: New file.
386         * string/test-strstr.c: New file.
387         * string/Makefile (strop-tests): Add strstr and strcasestr.
388         * string/str-two-way.h: Don't undefine MAX.
389         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
391 2010-07-21  Andreas Schwab  <schwab@redhat.com>
393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
394         strcasestr-nonascii.
395         (CFLAGS-strcasestr-nonascii.c): Define.
396         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
397         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
398         Remove unused attribute.
400 2010-07-20  Roland McGrath  <roland@redhat.com>
402         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
403         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
404         ld.so.cache was broken.  With it, there is no way to disable dsocaps
405         like LD_HWCAP_MASK can disable hwcaps.
407 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
409         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
411 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
413         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
414         call in strcasestr.
415         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
416         __strcasestr_sse42_nonascii.
417         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
418         strcasestr-nonascii.c.
419         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
421 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
423         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
424         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
425         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
426         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
428 2010-07-18  Andreas Schwab  <schwab@linux-m68k.org>
430         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
431         operation.
432         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
433         * libio/iofopncook.c (_IO_cookie_init): Likewise.
434         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
435         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
437         Likewise.
439 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
441         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
442         fcntl.
444 2010-07-06  Andreas Schwab  <schwab@redhat.com>
446         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
447         dl_signal_cerror.
449 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
452         _PC_PIPE_BUF using F_GETPIPE_SZ.
454 2010-07-05  Roland McGrath  <roland@redhat.com>
456         * manual/arith.texi (Rounding Functions): Fix rint description
457         implicit in round description.
459 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
461         * elf/Makefile: Fix linking for a few tests to make recent linker
462         happy.
464 2010-06-30  Andreas Schwab  <schwab@redhat.com>
466         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
467         $(common-objpfx)libc_nonshared.a.
469 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
471         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
472         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
473         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
474         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
475         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
476         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
477         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
478         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
493         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
494         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
495         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
496         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
497         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
498         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
499         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
500         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
501         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
502         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
503         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
504         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
520 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
522         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
523         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
524         * string/memmove.c (memmove): Renamed to ...
525         (MEMMOVE): ...this.  Default to memmove.
526         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
527         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
528         (END_CHK): Define.
529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
530         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
531         mempcpy-ssse3-back memmove-ssse3-back.
532         * sysdeps/x86_64/multiarch/bcopy.S: New file .
533         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
534         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
535         * sysdeps/x86_64/multiarch/memcpy.S: New file.
536         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
537         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
538         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
539         * sysdeps/x86_64/multiarch/memmove.c: New file.
540         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
541         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
542         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
543         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
544         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
545         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
546         Define.
547         (index_Fast_Copy_Backward): Define.
548         (HAS_ARCH_FEATURE): Define.
549         (HAS_FAST_REP_STRING): Define.
550         (HAS_FAST_COPY_BACKWARD): Define.
552 2010-06-21  Andreas Schwab  <schwab@redhat.com>
554         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
555         Restore proper fallback handling.
557 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
559         [BZ #11701]
560         * posix/group_member.c (__group_member): Correct checking loop.
562         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
563         OOM in getpwuid_r correctly.  Return error number when the caller
564         should return, otherwise -1.
565         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
566         call returning > 0 value.
567         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
569 2010-07-01  Andreas Schwab  <schwab@redhat.com>
571         * include/sys/resource.h (__getrlimit): Add hidden proto.
572         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add libc_hidden_weak.
573         * sysdeps/mach/hurd/getrlimit.c: Add libc_hidden_def.
574         * resource/getrlimit.c: Likewise.
576 2010-06-28  Andreas Schwab  <schwab@redhat.com>
578         * allocatestack.c (setxid_mark_thread): Ensure that the exiting
579         thread is woken up.
581         * elf/Makefile: Add rules to build and run unload8 test.
582         * elf/unload8.c: New file.
583         * elf/unload8mod1.c: New file.
584         * elf/unload8mod1x.c: New file.
585         * elf/unload8mod2.c: New file.
586         * elf/unload8mod3.c: New file.
588         * elf/dl-close.c (_dl_close_worker): Reset private search list if
589         it wasn't used.
591 2010-06-21  Andreas Schwab  <schwab@redhat.com>
593         * sysdeps/i386/i686/Makefile: Don't pass -mtune to assembler.
595 2010-06-07  Andreas Schwab  <schwab@redhat.com>
597         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
598         libc_nonshared.a from targets in modules-names.
600 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
602         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
603         requires it.
605 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
607         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
608         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
609         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
610         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
612 2010-06-02  Andreas Schwab  <schwab@redhat.com>
614         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
616 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
618         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
619         and F_GETPIPE_SZ.
620         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
621         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
624         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
625         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
627 2010-06-14  Roland McGrath  <roland@redhat.com>
629         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
631 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
633         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
634         __REDIRECT followed by __THROW.
635         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
636         * posix/getopt.h (getopt): Likewise.
638 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
640         * hurd/lookup-at.c (__file_name_lookup_at): Accept
641         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
642         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
643         in AT_FLAGS.
644         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
645         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
647 2010-06-11  Andreas Schwab  <schwab@redhat.com>
649         * elf/rtld.c (_dl_starting_up): Always define.
650         (dl_main): Always set _dl_starting_up.
651         * elf/dl-support.c (_dl_starting_up): Always define.
652         * elf/dl-init.c (_dl_init): Always clear _dl_starting_up.
654 2010-06-10  Andreas Schwab  <schwab@redhat.com>
656         * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
657         is always available.
659         * sysdeps/unix/sysv/linux/i386/Versions: Export __uname under
660         GLIBC_PRIVATE.
661         * nptl/Versions: Export __getrlimit under GLIBC_PRIVATE.
662         * sysdeps/unix/sysv/linux/i386/smp.h: Call __uname instead of uname.
663         * nptl/nptl-init.c: Call __getrlimit instead of getrlimit.
665 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
667         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
669 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
671         [BZ #11640]
672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
673         Properly check family and model.
675 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
677         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
679 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
681         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
683 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
685         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
686         symbol reference.
688 2010-05-19  Andreas Schwab  <schwab@redhat.com>
690         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
691         symbol reference.
693 2010-05-21  Andreas Schwab  <schwab@redhat.com>
695         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
696         and internal_recvmmsg.
697         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
698         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
699         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
700         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
702         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
703         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
704         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
706 2010-05-20  Andreas Schwab  <schwab@redhat.com>
708         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
710 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
712         POWER7 optimizations.
713         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
714         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
716 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
718         * version.h: Update for 2.13 development version.
720 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
722         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
723         exceptions.  Return 0.
725 2010-05-07  Roland McGrath  <roland@redhat.com>
727         * elf/ldconfig.c (main): Add a const.
729 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
731         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
732         (args_options): Add no-idn option.
733         (ahosts_keys_int): Add idn_flags to ai_flags.
734         (parse_option): Handle 'i' option to clear idn_flags.
736         * malloc/malloc.c (_int_free): Possible race in the most recently
737         added check.  Only act on the data if no current modification
738         happened.
740 See ChangeLog.17 for earlier changes.