Correct implementation of fmaf.
[glibc.git] / ChangeLog
blob8255ce00970e840b1c020923a9b39db35d3c9d4a
1 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
3         [BZ #3268]
4         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
5         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17         * math/ftestexcept.c (fetestexcept): Likewise.
18         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
24         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
28         [BZ #12107]
29         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30         newline.
32 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
34         * string/bug-strstr1.c: New file.
35         * string/Makefile: Add rules to build and run bug-strstr1.
37 2010-10-05  Eric Blake  <eblake@redhat.com>
39         [BZ #12092]
40         * string/str-two-way.h (two_way_long_needle): Always clear memory
41         when skipping input due to the shift table.
43 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45         [BZ #12005]
46         * malloc/mcheck.c: Handle large requests.
48         [BZ #12077]
49         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50         for strncmp and strncasecmp.
51         * string/stratcliff.c: Add tests for strcmp and strncmp.
52         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57         __set_fpscr.
59 2010-09-30  Andreas Jaeger  <aj@suse.de>
61         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
62         (CGROUP_SUPER_MAGIC): Define.
63         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64         Handle btrfs and cgroup file systems.
65         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66         Likewise.
68 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
73 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75         [BZ #12067]
76         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77         trying to locate the ELF header.
79 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81         [BZ #11611]
82         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
83         Mask out sign-bit copies when constructing f_fsid.
85 2010-09-24  Petr Baudis <pasky@suse.cz>
87         * debug/stack_chk_fail_local.c: Add missing licence exception.
88         * debug/warning-nop.c: Likewise.
90 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
93         implementing getdents64 using getdents syscall, set d_type if
94         __ASSUME_GETDENTS32_D_TYPE.
96 2010-09-16  Andreas Schwab  <schwab@redhat.com>
98         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
99         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
103         [BZ #12037]
104         * posix/unistd.h: Undo change of feature selection for ftruncate from
105         2010-01-11.
107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
110         detection.
112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
115         fanotify_mark.
116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
121         variables after CHECK_SP call.
122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
125             Ulrich Drepper  <drepper@redhat.com>
127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
128         re-relocationg ld.so.
129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
130         _dl_init_paths call.
131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
132         here anymore.
134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
136         * resolv/res_init.c (__res_vinit): Count the default server we added.
138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
139             Ulrich Drepper  <drepper@redhat.com>
141         [BZ #11968]
142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
143         (____longjmp_chk): Use %ebx for saving value across system call.
144         Add unwind info.
146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
148         * manual/Makefile: Don't mix pattern rules with normal rules.
150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
153         operation.
154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
159         Likewise.
161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
163         [BZ #11979]
164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
170         * sysdeps/x86_64/addmul_1.S: Likewise.
171         * sysdeps/x86_64/lshift.S: Likewise.
172         * sysdeps/x86_64/mul_1.S: Likewise.
173         * sysdeps/x86_64/rshift.S: Likewise.
174         * sysdeps/x86_64/sub_n.S: Likewise.
175         * sysdeps/x86_64/submul_1.S: Likewise.
177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
180         Define __sched_param instead of SCHED_* and sched_param when
181         <bits/sched.h> is included with __need_schedparam defined.
182         * bits/sched.h [__need_schedparam]
183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
185         (__defined_schedparam): Define to 1.
186         (__sched_param): New structure, identical to sched_param.
187         (__need_schedparam): Undefine.
189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
192         (epoll_create1): Declare.
194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
198         [BZ #7066]
199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
200         shifting retval into place.
202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
204         * nis/rpcsvc/nis.h: Update copyright notice.
205         * nis/rpcsvc/nis.x: Likewise.
206         * nis/rpcsvc/nis_callback.h: Likewise.
207         * nis/rpcsvc/nis_callback.x: Likewise.
208         * nis/rpcsvc/nis_object.x: Likewise.
209         * nis/rpcsvc/nis_tags.h: Likewise.
210         * nis/rpcsvc/yp.h: Likewise.
211         * nis/rpcsvc/yp.x: Likewise.
212         * nis/rpcsvc/ypupd.h: Likewise.
213         * nis/yp_xdr.c: Likewise.
214         * nis/ypupdate_xdr.c: Likewise.
216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
218         (pmap_getport): Use __libc_rpc_getport.
219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
226         fanotify_mark.
228 2010-08-27  Roland McGrath  <roland@redhat.com>
230         * sysdeps/i386/i686/multiarch/Makefile
231         (CFLAGS-varshift.c): New variable.
233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
244         * sysdeps/x86_64/strlen.S: Unroll the loop.
245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
246         strlen-sse2 strlen-sse2-bsf.
247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
248         __strlen_no_bsf if bit_Slow_BSF is set.
249         (__strlen_sse42): Removed.
250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
253 2010-08-25  Roland McGrath  <roland@redhat.com>
255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
256         * sysdeps/x86_64/multiarch/varshift.c: New file.
257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
265         strlen-sse2 strlen-sse2-bsf.
266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
268         (__strlen_sse2): Removed.
269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
272         bit_Slow_BSF for Atom.
273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
274         (index_Slow_BSF): Define.
275         (HAS_SLOW_BSF): Define.
277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
279         [BZ #10851]
280         * resolv/res_init.c (__res_vinit): When no server address at all
281         is given default to loopback.
283 2010-08-24  Roland McGrath  <roland@redhat.com>
285         * configure.in: Remove config-name.h generation.
286         * configure: Regenerated.
287         * config-name.in: File removed.
288         * scripts/config-uname.sh: New file.
289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
290         ($(objdir)config-name.h): New target.
292         * sunrpc/rpc_parse.h: Avoid nested comment.
294 2010-08-24  Richard Henderson  <rth@redhat.com>
295             Ulrich Drepper  <drepper@redhat.com>
296             H.J. Lu  <hongjiu.lu@intel.com>
298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
302         _mm_alignr_epi8 with _mm_loadu_si128.
303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
305         (__m128i_shift_right): Removed.
306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
308         * sysdeps/x86_64/multiarch/varshift.h: New file.
309         * sysdeps/x86_64/multiarch/varshift.S: New file.
311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
313         * configure.in: Move assembler checks to before sysdep dir checking.
315 2010-08-20  Petr Baudis  <pasky@suse.cz>
317         * LICENSES: Sync the sunrpc license.
319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
321         * sunrpc/auth_des.c: Update copyright notice once again.
322         * sunrpc/auth_none.c: Likewise.
323         * sunrpc/auth_unix.c: Likewise.
324         * sunrpc/authdes_prot.c: Likewise.
325         * sunrpc/authuxprot.c: Likewise.
326         * sunrpc/bindrsvprt.c: Likewise.
327         * sunrpc/clnt_gen.c: Likewise.
328         * sunrpc/clnt_perr.c: Likewise.
329         * sunrpc/clnt_raw.c: Likewise.
330         * sunrpc/clnt_simp.c: Likewise.
331         * sunrpc/clnt_tcp.c: Likewise.
332         * sunrpc/clnt_udp.c: Likewise.
333         * sunrpc/clnt_unix.c: Likewise.
334         * sunrpc/des_crypt.c: Likewise.
335         * sunrpc/des_soft.c: Likewise.
336         * sunrpc/get_myaddr.c: Likewise.
337         * sunrpc/getrpcport.c: Likewise.
338         * sunrpc/key_call.c: Likewise.
339         * sunrpc/key_prot.c: Likewise.
340         * sunrpc/openchild.c: Likewise.
341         * sunrpc/pm_getmaps.c: Likewise.
342         * sunrpc/pm_getport.c: Likewise.
343         * sunrpc/pmap_clnt.c: Likewise.
344         * sunrpc/pmap_prot.c: Likewise.
345         * sunrpc/pmap_prot2.c: Likewise.
346         * sunrpc/pmap_rmt.c: Likewise.
347         * sunrpc/rpc/auth.h: Likewise.
348         * sunrpc/rpc/auth_unix.h: Likewise.
349         * sunrpc/rpc/clnt.h: Likewise.
350         * sunrpc/rpc/des_crypt.h: Likewise.
351         * sunrpc/rpc/key_prot.h: Likewise.
352         * sunrpc/rpc/netdb.h: Likewise.
353         * sunrpc/rpc/pmap_clnt.h: Likewise.
354         * sunrpc/rpc/pmap_prot.h: Likewise.
355         * sunrpc/rpc/pmap_rmt.h: Likewise.
356         * sunrpc/rpc/rpc.h: Likewise.
357         * sunrpc/rpc/rpc_des.h: Likewise.
358         * sunrpc/rpc/rpc_msg.h: Likewise.
359         * sunrpc/rpc/svc.h: Likewise.
360         * sunrpc/rpc/svc_auth.h: Likewise.
361         * sunrpc/rpc/types.h: Likewise.
362         * sunrpc/rpc/xdr.h: Likewise.
363         * sunrpc/rpc_clntout.c: Likewise.
364         * sunrpc/rpc_cmsg.c: Likewise.
365         * sunrpc/rpc_common.c: Likewise.
366         * sunrpc/rpc_cout.c: Likewise.
367         * sunrpc/rpc_dtable.c: Likewise.
368         * sunrpc/rpc_hout.c: Likewise.
369         * sunrpc/rpc_main.c: Likewise.
370         * sunrpc/rpc_parse.c: Likewise.
371         * sunrpc/rpc_parse.h: Likewise.
372         * sunrpc/rpc_prot.c: Likewise.
373         * sunrpc/rpc_sample.c: Likewise.
374         * sunrpc/rpc_scan.c: Likewise.
375         * sunrpc/rpc_scan.h: Likewise.
376         * sunrpc/rpc_svcout.c: Likewise.
377         * sunrpc/rpc_tblout.c: Likewise.
378         * sunrpc/rpc_util.c: Likewise.
379         * sunrpc/rpc_util.h: Likewise.
380         * sunrpc/rpcinfo.c: Likewise.
381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
382         * sunrpc/rpcsvc/key_prot.x: Likewise.
383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
384         * sunrpc/rpcsvc/mount.x: Likewise.
385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
387         * sunrpc/rpcsvc/rex.x: Likewise.
388         * sunrpc/rpcsvc/rstat.x: Likewise.
389         * sunrpc/rpcsvc/rusers.x: Likewise.
390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
391         * sunrpc/rpcsvc/spray.x: Likewise.
392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
393         * sunrpc/rtime.c: Likewise.
394         * sunrpc/svc.c: Likewise.
395         * sunrpc/svc_auth.c: Likewise.
396         * sunrpc/svc_authux.c: Likewise.
397         * sunrpc/svc_raw.c: Likewise.
398         * sunrpc/svc_run.c: Likewise.
399         * sunrpc/svc_simple.c: Likewise.
400         * sunrpc/svc_tcp.c: Likewise.
401         * sunrpc/svc_udp.c: Likewise.
402         * sunrpc/svc_unix.c: Likewise.
403         * sunrpc/svcauth_des.c: Likewise.
404         * sunrpc/xcrypt.c: Likewise.
405         * sunrpc/xdr.c: Likewise.
406         * sunrpc/xdr_array.c: Likewise.
407         * sunrpc/xdr_float.c: Likewise.
408         * sunrpc/xdr_mem.c: Likewise.
409         * sunrpc/xdr_rec.c: Likewise.
410         * sunrpc/xdr_ref.c: Likewise.
411         * sunrpc/xdr_sizeof.c: Likewise.
412         * sunrpc/xdr_stdio.c: Likewise.
414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
415         handling.
417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
438 2010-07-26  Anton Blanchard  <anton@samba.org>
440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
441         * malloc/arena.c (heap_trim): Likewise.
443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
446         here.  Not...
447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
452         * sysdeps/i386/elf/Makefile: New file.
454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
457         from fanotify_init.
458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
464         of strncasecmp_l.
465         * sysdeps/multiarch/strcmp.S: Likewise.
467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
470         strncase_l-nonascii.
471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
472         Add strncase_l-ssse3.
473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
474         * sysdeps/x86_64/strcmp.S: Likewise.
475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
477         * sysdeps/x86_64/strncase.S: New file.
478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
479         * sysdeps/x86_64/strncase_l.S: New file.
480         * string/Makefile (strop-tests): Add strncasecmp.
481         * string/test-strncasecmp.c: New file.
483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
484         warning.
486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
499 2010-05-01  Alan Modra  <amodra@gmail.com>
501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
506         tidying.  Don't tail-call __sigjmp_save for static lib.
507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
508         save location.
509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
510         (CALL_MCOUNT): Add eh info, and nop after bl.
511         (TAIL_CALL_SYSCALL_ERROR): New macro.
512         (PSEUDO_RET): Use it.
513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
514         Correct save location of integer regs and cr.
515         (_dl_profile_resolve): Correct cr save location.  Delete nops
516         after bl when SHARED.  Reduce cfi size a little by better
517         placement of cfi directives.
518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
519         make a stack frame.  Instead use parm save area as a temp.
520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
523         Don't make a stack frame for parent, use parm save area.
524         Increase child stack frame to 112 bytes.  Don't save unused reg,
525         and adjust reg usage.  Set up cfi on error recovery and
526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
528         (__makecontext): Add dummy nop after jump to exit.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
530         Use correct parm save area and cr save, reduce stack frame.
531         Correct cfi for possible PSEUDO_RET frame setup.
532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
533         Branch to local label emitted by PSEUDO_RET rather than
534         __syscall_error.
536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
538         [BZ #11904]
539         * locale/programs/locale.c (print_assignment): New function.
540         (show_locale_vars): Use it.
542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
545         field.
546         (struct statfs64): Likewise.
547         (_STATFS_F_FLAGS): Define.
548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
551         (ST_VALID): Define locally.
552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
553         __statvfs_getflags, use the provided value.
554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
555         __ASSUME_STATFS_F_FLAGS.
557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
560         Add sys/fanotify.h.
561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
562         fanotify_mask for GLIBC_2.13.
563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
564         fanotify_init and fanotify_mark.
565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
569         Add prlimit.
570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
571         prlimit64 for GLIBC_2.13.
572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
573         prlimit64.
574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
575         syscall.
576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
581         add prlimit alias.
582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
584         [BZ #11903]
585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
588         * nss/Makefile: Add rules to build and run tst-nss-test1.
589         * shlib-versions: Add entry for libnss_test1.
590         * nss/nss_test1.c: New file.
591         * nss/tst-nss-test1.c: New file.
593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
594         (__nss_configure_lookup): Set appropriate entry in
595         __nss_configure_lookup to true.
596         * nss/nsswitch.h: Define enum with indeces of databases in
597         databases and __nss_database_custom arrays.  Declare
598         __nss_database_custom.
599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
600         to avoid using nscd when custom rules are installed.
601         * nss/getXXbyYY_r.c: Likewise.
602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
604         * nss/nss_files/files-parse.c: Whitespace fixes.
606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
608         [BZ #11883]
609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
610         * posix/fnmatch_loop.c: Likewise.
612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
617         * Versions.def [GLIBC_2.13]: Add.
619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
622         Also fail if tpwd after pwuid call is NULL.
624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
627         when converting to ms.
629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
632         EOPNOTSUPP errors with ENOTTY.
633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
634         EOPNOTSUPP errors with ENOTTY.
636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
639         Add strcasecmp_l-ssse3.
640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
641         strcasecmp.
642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
650         * string/Makefile (strop-tests): Add strcasecmp.
651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
652         strcasecmp_l-nonascii.
653         (gen-as-const-headers): Add locale-defines.sym.
654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
655         * sysdeps/x86_64/strcasecmp.S: New file.
656         * sysdeps/x86_64/strcasecmp_l.S: New file.
657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
658         * sysdeps/x86_64/locale-defines.sym: New file.
659         * string/test-strcasecmp.c: New file.
661         * string/test-strcasestr.c: Test both ends of the range of characters.
662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
664 2010-07-29  Roland McGrath  <roland@redhat.com>
666         [BZ #11856]
667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
672         for ld.so.
674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
676         * manual/memory.texi (Malloc Tunable Parameters): Document
677         M_PERTURB.
679 2010-07-26  Roland McGrath  <roland@redhat.com>
681         [BZ #11840]
682         * configure.in (-fgnu89-inline check): Set and substitute
683         gnu89_inline, not libc_cv_gnu89_inline.
684         * configure: Regenerated.
685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
689         * string/test-strnlen.c: New file.
690         * string/Makefile (strop-tests): Add strnlen.
691         * string/tester.c (test_strnlen): Add a few more test cases.
692         * string/tst-strlen.c: Better error reporting.
694         * sysdeps/x86_64/strnlen.S: New file.
696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
699         lower-latency instructions.
701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
703         * string/test-strcasestr.c: New file.
704         * string/test-strstr.c: New file.
705         * string/Makefile (strop-tests): Add strstr and strcasestr.
706         * string/str-two-way.h: Don't undefine MAX.
707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
712         strcasestr-nonascii.
713         (CFLAGS-strcasestr-nonascii.c): Define.
714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
716         Remove unused attribute.
718 2010-07-20  Roland McGrath  <roland@redhat.com>
720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
723         like LD_HWCAP_MASK can disable hwcaps.
725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
732         call in strcasestr.
733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
734         __strcasestr_sse42_nonascii.
735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
736         strcasestr-nonascii.c.
737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
749         fcntl.
751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
753         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
754         dl_signal_cerror.
756 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
758         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
759         _PC_PIPE_BUF using F_GETPIPE_SZ.
761 2010-07-05  Roland McGrath  <roland@redhat.com>
763         * manual/arith.texi (Rounding Functions): Fix rint description
764         implicit in round description.
766 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
768         * elf/Makefile: Fix linking for a few tests to make recent linker
769         happy.
771 2010-06-30  Andreas Schwab  <schwab@redhat.com>
773         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
774         $(common-objpfx)libc_nonshared.a.
776 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
778         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
779         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
780         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
781         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
782         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
783         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
784         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
785         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
800         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
801         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
802         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
803         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
804         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
805         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
806         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
807         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
808         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
809         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
810         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
811         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
827 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
829         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
830         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
831         * string/memmove.c (memmove): Renamed to ...
832         (MEMMOVE): ...this.  Default to memmove.
833         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
834         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
835         (END_CHK): Define.
836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
837         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
838         mempcpy-ssse3-back memmove-ssse3-back.
839         * sysdeps/x86_64/multiarch/bcopy.S: New file .
840         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
841         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
842         * sysdeps/x86_64/multiarch/memcpy.S: New file.
843         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
844         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
845         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
846         * sysdeps/x86_64/multiarch/memmove.c: New file.
847         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
848         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
849         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
850         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
851         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
852         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
853         Define.
854         (index_Fast_Copy_Backward): Define.
855         (HAS_ARCH_FEATURE): Define.
856         (HAS_FAST_REP_STRING): Define.
857         (HAS_FAST_COPY_BACKWARD): Define.
859 2010-06-21  Andreas Schwab  <schwab@redhat.com>
861         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
862         Restore proper fallback handling.
864 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
866         [BZ #11701]
867         * posix/group_member.c (__group_member): Correct checking loop.
869         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
870         OOM in getpwuid_r correctly.  Return error number when the caller
871         should return, otherwise -1.
872         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
873         call returning > 0 value.
874         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
876 2010-06-07  Andreas Schwab  <schwab@redhat.com>
878         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
879         libc_nonshared.a from targets in modules-names.
881 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
883         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
884         requires it.
886 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
888         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
889         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
890         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
891         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
893 2010-06-02  Andreas Schwab  <schwab@redhat.com>
895         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
897 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
899         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
900         and F_GETPIPE_SZ.
901         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
905         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
906         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
908 2010-06-14  Roland McGrath  <roland@redhat.com>
910         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
912 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
914         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
915         __REDIRECT followed by __THROW.
916         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
917         * posix/getopt.h (getopt): Likewise.
919 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
921         * hurd/lookup-at.c (__file_name_lookup_at): Accept
922         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
923         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
924         in AT_FLAGS.
925         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
926         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
928 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
930         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
932 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
934         [BZ #11640]
935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
936         Properly check family and model.
938 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
940         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
942 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
944         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
946 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
948         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
949         symbol reference.
951 2010-05-19  Andreas Schwab  <schwab@redhat.com>
953         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
954         symbol reference.
956 2010-05-21  Andreas Schwab  <schwab@redhat.com>
958         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
959         and internal_recvmmsg.
960         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
961         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
962         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
963         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
965         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
966         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
967         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
969 2010-05-20  Andreas Schwab  <schwab@redhat.com>
971         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
973 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
975         POWER7 optimizations.
976         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
977         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
979 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
981         * version.h: Update for 2.13 development version.
983 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
985         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
986         exceptions.  Return 0.
988 2010-05-07  Roland McGrath  <roland@redhat.com>
990         * elf/ldconfig.c (main): Add a const.
992 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
994         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
995         (args_options): Add no-idn option.
996         (ahosts_keys_int): Add idn_flags to ai_flags.
997         (parse_option): Handle 'i' option to clear idn_flags.
999         * malloc/malloc.c (_int_free): Possible race in the most recently
1000         added check.  Only act on the data if no current modification
1001         happened.
1003 See ChangeLog.17 for earlier changes.