powerpc: PPCA2/A2 optimized memcpy function
[glibc.git] / ChangeLog
blob3f6dd1ab44fcbb6711f55203dec7dd5c35ec7057
1 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
3         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
5         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
8         submachine.
9         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11 2010-10-22  Andreas Schwab  <schwab@redhat.com>
13         * include/dlfcn.h (__RTLD_SECURE): Define.
14         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
15         mode & __RTLD_SECURE instead.
16         (open_path): Rename preloaded parameter to secure.
17         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
18         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19         * elf/dl-deps.c (openaux): Likewise.
20         * elf/rtld.c (struct map_args): Remove is_preloaded.
21         (map_doit): Don't use it.
22         (dl_main): Likewise.
23         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
24         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26 2010-09-09  Andreas Schwab  <schwab@redhat.com>
28         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29         (sysd-rules-targets): Remove duplicates.
30         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31         rtld-%.$o dependency.
33 2010-10-18  Andreas Schwab  <schwab@redhat.com>
35         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36         _dl_map_object do it.
38 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41         fast fma builtins, define the macros in the C99 standard.
42         (FP_FAST_FMAF): Likewise.
43         (FP_FAST_FMAL): Likewise.
44         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46         * bits/mathdef.h: Update copyright year.
47         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
51         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52         builtins, define the macros in the C99 standard.
53         (FP_FAST_FMAF): Likewise.
54         (FP_FAST_FMAL): Likewise.
55         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56         multiply/add.
57         (FP_FAST_FMAF): Likewise.
59 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61         [BZ #3268]
62         * math/libm-test.inc (fma_test): Some new testcases.
63         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65         y and infinite z.  Do multiplication by C already in long double.
66         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
67         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68         y and infinite z.  Do bitwise or of inexact bit into u.d.
69         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70         * sysdeps/i386/fpu/s_fmaf.S: Removed.
71         * sysdeps/i386/fpu/s_fma.S: Removed.
72         * sysdeps/i386/fpu/s_fmal.S: Removed.
74 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76         [BZ #3268]
77         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79         computation is not scheduled after fetestexcept.  Fix value
80         of minimum denormal long double.
82 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84         [BZ #3268]
85         * math/libm-test.inc (fma_test): Add some more tests.
86         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87         correctly.
89 2010-10-15  Andreas Schwab  <schwab@redhat.com>
91         * scripts/data/localplt-s390-linux-gnu.data: New file.
92         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
96         [BZ #3268]
97         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
98         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
99         instead of dbl-64.
100         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
101         inlines.
102         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
104         if one of x and y is very large and the other is subnormal.
105         * sysdeps/s390/fpu/s_fmaf.c: New file.
106         * sysdeps/s390/fpu/s_fma.c: New file.
107         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
108         * sysdeps/powerpc/fpu/s_fma.S: New file.
109         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
110         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
111         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
113 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
115         [BZ #3268]
116         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
117         fma tests.
118         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
119         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
120         * sysdeps/i386/i686/multiarch/s_fma.c: Include
121         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
122         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
123         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
124         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
126 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
128         [BZ #12078]
129         * posix/regcomp.c (parse_branch): One more memory leak plugged.
130         * posix/bug-regex31.input: Add test case.
132 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
134         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
135         * posix/bug-regex31.input: New file.
137         [BZ #12078]
138         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
139         (parse_sub_exp): Fix last change, use postorder.
141         * posix/bug-regex31.c: New file.
142         * posix/Makefile: Add rules to build and run bug-regex31.
144         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
146         [BZ #12078]
147         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
149         [BZ #12108]
150         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
151         to have entries in sys_siglist.
153         [BZ #12093]
154         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
155         be NULL.
157 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
159         [BZ #3268]
160         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
161         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
162         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
163         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
164         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
165         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
166         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
167         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
168         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
169         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
170         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
171         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
172         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
173         * math/ftestexcept.c (fetestexcept): Likewise.
174         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
175         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
176         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
177         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
178         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
179         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
180         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
182 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
184         [BZ #12107]
185         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
186         newline.
188 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
190         * string/bug-strstr1.c: New file.
191         * string/Makefile: Add rules to build and run bug-strstr1.
193 2010-10-05  Eric Blake  <eblake@redhat.com>
195         [BZ #12092]
196         * string/str-two-way.h (two_way_long_needle): Always clear memory
197         when skipping input due to the shift table.
199 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
201         [BZ #12005]
202         * malloc/mcheck.c: Handle large requests.
204         [BZ #12077]
205         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
206         for strncmp and strncasecmp.
207         * string/stratcliff.c: Add tests for strcmp and strncmp.
208         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
210 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
212         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
213         __set_fpscr.
215 2010-09-30  Andreas Jaeger  <aj@suse.de>
217         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
218         (CGROUP_SUPER_MAGIC): Define.
219         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
220         Handle btrfs and cgroup file systems.
221         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
222         Likewise.
224 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
226         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
227         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
229 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
231         [BZ #12067]
232         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
233         trying to locate the ELF header.
235 2010-09-27  Andreas Schwab  <schwab@redhat.com>
237         [BZ #11611]
238         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
239         Mask out sign-bit copies when constructing f_fsid.
241 2010-09-24  Petr Baudis <pasky@suse.cz>
243         * debug/stack_chk_fail_local.c: Add missing licence exception.
244         * debug/warning-nop.c: Likewise.
246 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
248         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
249         implementing getdents64 using getdents syscall, set d_type if
250         __ASSUME_GETDENTS32_D_TYPE.
252 2010-09-16  Andreas Schwab  <schwab@redhat.com>
254         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
255         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
257 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
259         [BZ #12037]
260         * posix/unistd.h: Undo change of feature selection for ftruncate from
261         2010-01-11.
263 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
265         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
266         detection.
268 2010-09-20  Andreas Schwab  <schwab@redhat.com>
270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
271         fanotify_mark.
272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
274 2010-09-14  Andreas Schwab  <schwab@redhat.com>
276         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
277         variables after CHECK_SP call.
278         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
280 2010-09-13  Andreas Schwab  <schwab@redhat.com>
281             Ulrich Drepper  <drepper@redhat.com>
283         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
284         re-relocationg ld.so.
285         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
286         _dl_init_paths call.
287         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
288         here anymore.
290 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
292         * resolv/res_init.c (__res_vinit): Count the default server we added.
294 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
295             Ulrich Drepper  <drepper@redhat.com>
297         [BZ #11968]
298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
299         (____longjmp_chk): Use %ebx for saving value across system call.
300         Add unwind info.
302 2010-09-06  Andreas Schwab  <schwab@redhat.com>
304         * manual/Makefile: Don't mix pattern rules with normal rules.
306 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
308         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
309         operation.
310         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
311         * libio/iofopncook.c (_IO_cookie_init): Likewise.
312         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
313         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
314         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
315         Likewise.
317 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
319         [BZ #11979]
320         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
321         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
323 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
325         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
326         * sysdeps/x86_64/addmul_1.S: Likewise.
327         * sysdeps/x86_64/lshift.S: Likewise.
328         * sysdeps/x86_64/mul_1.S: Likewise.
329         * sysdeps/x86_64/rshift.S: Likewise.
330         * sysdeps/x86_64/sub_n.S: Likewise.
331         * sysdeps/x86_64/submul_1.S: Likewise.
333 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
335         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
336         Define __sched_param instead of SCHED_* and sched_param when
337         <bits/sched.h> is included with __need_schedparam defined.
338         * bits/sched.h [__need_schedparam]
339         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
340         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
341         (__defined_schedparam): Define to 1.
342         (__sched_param): New structure, identical to sched_param.
343         (__need_schedparam): Undefine.
345 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
347         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
348         (epoll_create1): Declare.
350         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
352 2010-08-31  Andreas Schwab  <schwab@redhat.com>
354         [BZ #7066]
355         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
356         shifting retval into place.
358 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
360         * nis/rpcsvc/nis.h: Update copyright notice.
361         * nis/rpcsvc/nis.x: Likewise.
362         * nis/rpcsvc/nis_callback.h: Likewise.
363         * nis/rpcsvc/nis_callback.x: Likewise.
364         * nis/rpcsvc/nis_object.x: Likewise.
365         * nis/rpcsvc/nis_tags.h: Likewise.
366         * nis/rpcsvc/yp.h: Likewise.
367         * nis/rpcsvc/yp.x: Likewise.
368         * nis/rpcsvc/ypupd.h: Likewise.
369         * nis/yp_xdr.c: Likewise.
370         * nis/ypupdate_xdr.c: Likewise.
372         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
373         mainly the body of pmap_getport.  Add parameters to specify timeouts.
374         (pmap_getport): Use __libc_rpc_getport.
375         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
376         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
377         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
379 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
382         fanotify_mark.
384 2010-08-27  Roland McGrath  <roland@redhat.com>
386         * sysdeps/i386/i686/multiarch/Makefile
387         (CFLAGS-varshift.c): New variable.
389 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
391         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
392         * sysdeps/i386/i686/multiarch/varshift.c: New file.
394         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
396         * sysdeps/x86_64/strlen.S: Minimal code improvement.
398 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
400         * sysdeps/x86_64/strlen.S: Unroll the loop.
401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
402         strlen-sse2 strlen-sse2-bsf.
403         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
404         __strlen_no_bsf if bit_Slow_BSF is set.
405         (__strlen_sse42): Removed.
406         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
407         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
409 2010-08-25  Roland McGrath  <roland@redhat.com>
411         * sysdeps/x86_64/multiarch/varshift.S: File removed.
412         * sysdeps/x86_64/multiarch/varshift.c: New file.
413         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
414         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
415         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
418 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
421         strlen-sse2 strlen-sse2-bsf.
422         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
423         __strlen_sse2_bsf if bit_Slow_BSF is unset.
424         (__strlen_sse2): Removed.
425         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
426         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
428         bit_Slow_BSF for Atom.
429         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
430         (index_Slow_BSF): Define.
431         (HAS_SLOW_BSF): Define.
433 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
435         [BZ #10851]
436         * resolv/res_init.c (__res_vinit): When no server address at all
437         is given default to loopback.
439 2010-08-24  Roland McGrath  <roland@redhat.com>
441         * configure.in: Remove config-name.h generation.
442         * configure: Regenerated.
443         * config-name.in: File removed.
444         * scripts/config-uname.sh: New file.
445         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
446         ($(objdir)config-name.h): New target.
448         * sunrpc/rpc_parse.h: Avoid nested comment.
450 2010-08-24  Richard Henderson  <rth@redhat.com>
451             Ulrich Drepper  <drepper@redhat.com>
452             H.J. Lu  <hongjiu.lu@intel.com>
454         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
456         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
457         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
458         _mm_alignr_epi8 with _mm_loadu_si128.
459         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
460         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
461         (__m128i_shift_right): Removed.
462         * sysdeps/i386/i686/multiarch/varshift.h: New file.
463         * sysdeps/i386/i686/multiarch/varshift.S: New file.
464         * sysdeps/x86_64/multiarch/varshift.h: New file.
465         * sysdeps/x86_64/multiarch/varshift.S: New file.
467 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
469         * configure.in: Move assembler checks to before sysdep dir checking.
471 2010-08-20  Petr Baudis  <pasky@suse.cz>
473         * LICENSES: Sync the sunrpc license.
475 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
477         * sunrpc/auth_des.c: Update copyright notice once again.
478         * sunrpc/auth_none.c: Likewise.
479         * sunrpc/auth_unix.c: Likewise.
480         * sunrpc/authdes_prot.c: Likewise.
481         * sunrpc/authuxprot.c: Likewise.
482         * sunrpc/bindrsvprt.c: Likewise.
483         * sunrpc/clnt_gen.c: Likewise.
484         * sunrpc/clnt_perr.c: Likewise.
485         * sunrpc/clnt_raw.c: Likewise.
486         * sunrpc/clnt_simp.c: Likewise.
487         * sunrpc/clnt_tcp.c: Likewise.
488         * sunrpc/clnt_udp.c: Likewise.
489         * sunrpc/clnt_unix.c: Likewise.
490         * sunrpc/des_crypt.c: Likewise.
491         * sunrpc/des_soft.c: Likewise.
492         * sunrpc/get_myaddr.c: Likewise.
493         * sunrpc/getrpcport.c: Likewise.
494         * sunrpc/key_call.c: Likewise.
495         * sunrpc/key_prot.c: Likewise.
496         * sunrpc/openchild.c: Likewise.
497         * sunrpc/pm_getmaps.c: Likewise.
498         * sunrpc/pm_getport.c: Likewise.
499         * sunrpc/pmap_clnt.c: Likewise.
500         * sunrpc/pmap_prot.c: Likewise.
501         * sunrpc/pmap_prot2.c: Likewise.
502         * sunrpc/pmap_rmt.c: Likewise.
503         * sunrpc/rpc/auth.h: Likewise.
504         * sunrpc/rpc/auth_unix.h: Likewise.
505         * sunrpc/rpc/clnt.h: Likewise.
506         * sunrpc/rpc/des_crypt.h: Likewise.
507         * sunrpc/rpc/key_prot.h: Likewise.
508         * sunrpc/rpc/netdb.h: Likewise.
509         * sunrpc/rpc/pmap_clnt.h: Likewise.
510         * sunrpc/rpc/pmap_prot.h: Likewise.
511         * sunrpc/rpc/pmap_rmt.h: Likewise.
512         * sunrpc/rpc/rpc.h: Likewise.
513         * sunrpc/rpc/rpc_des.h: Likewise.
514         * sunrpc/rpc/rpc_msg.h: Likewise.
515         * sunrpc/rpc/svc.h: Likewise.
516         * sunrpc/rpc/svc_auth.h: Likewise.
517         * sunrpc/rpc/types.h: Likewise.
518         * sunrpc/rpc/xdr.h: Likewise.
519         * sunrpc/rpc_clntout.c: Likewise.
520         * sunrpc/rpc_cmsg.c: Likewise.
521         * sunrpc/rpc_common.c: Likewise.
522         * sunrpc/rpc_cout.c: Likewise.
523         * sunrpc/rpc_dtable.c: Likewise.
524         * sunrpc/rpc_hout.c: Likewise.
525         * sunrpc/rpc_main.c: Likewise.
526         * sunrpc/rpc_parse.c: Likewise.
527         * sunrpc/rpc_parse.h: Likewise.
528         * sunrpc/rpc_prot.c: Likewise.
529         * sunrpc/rpc_sample.c: Likewise.
530         * sunrpc/rpc_scan.c: Likewise.
531         * sunrpc/rpc_scan.h: Likewise.
532         * sunrpc/rpc_svcout.c: Likewise.
533         * sunrpc/rpc_tblout.c: Likewise.
534         * sunrpc/rpc_util.c: Likewise.
535         * sunrpc/rpc_util.h: Likewise.
536         * sunrpc/rpcinfo.c: Likewise.
537         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
538         * sunrpc/rpcsvc/key_prot.x: Likewise.
539         * sunrpc/rpcsvc/klm_prot.x: Likewise.
540         * sunrpc/rpcsvc/mount.x: Likewise.
541         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
542         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
543         * sunrpc/rpcsvc/rex.x: Likewise.
544         * sunrpc/rpcsvc/rstat.x: Likewise.
545         * sunrpc/rpcsvc/rusers.x: Likewise.
546         * sunrpc/rpcsvc/sm_inter.x: Likewise.
547         * sunrpc/rpcsvc/spray.x: Likewise.
548         * sunrpc/rpcsvc/yppasswd.x: Likewise.
549         * sunrpc/rtime.c: Likewise.
550         * sunrpc/svc.c: Likewise.
551         * sunrpc/svc_auth.c: Likewise.
552         * sunrpc/svc_authux.c: Likewise.
553         * sunrpc/svc_raw.c: Likewise.
554         * sunrpc/svc_run.c: Likewise.
555         * sunrpc/svc_simple.c: Likewise.
556         * sunrpc/svc_tcp.c: Likewise.
557         * sunrpc/svc_udp.c: Likewise.
558         * sunrpc/svc_unix.c: Likewise.
559         * sunrpc/svcauth_des.c: Likewise.
560         * sunrpc/xcrypt.c: Likewise.
561         * sunrpc/xdr.c: Likewise.
562         * sunrpc/xdr_array.c: Likewise.
563         * sunrpc/xdr_float.c: Likewise.
564         * sunrpc/xdr_mem.c: Likewise.
565         * sunrpc/xdr_rec.c: Likewise.
566         * sunrpc/xdr_ref.c: Likewise.
567         * sunrpc/xdr_sizeof.c: Likewise.
568         * sunrpc/xdr_stdio.c: Likewise.
570         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
571         handling.
573 2010-08-19  Andreas Schwab  <schwab@redhat.com>
575         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
577 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
579         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
580         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
581         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
582         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
583         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
584         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
585         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
586         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
587         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
588         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
589         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
590         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
591         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
592         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
594 2010-07-26  Anton Blanchard  <anton@samba.org>
596         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
597         * malloc/arena.c (heap_trim): Likewise.
599 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
601         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
602         here.  Not...
603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
604         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
606 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
608         * sysdeps/i386/elf/Makefile: New file.
610 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
612         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
613         from fanotify_init.
614         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
617 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
619         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
620         of strncasecmp_l.
621         * sysdeps/multiarch/strcmp.S: Likewise.
623 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
625         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
626         strncase_l-nonascii.
627         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
628         Add strncase_l-ssse3.
629         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
630         * sysdeps/x86_64/strcmp.S: Likewise.
631         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
632         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
633         * sysdeps/x86_64/strncase.S: New file.
634         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
635         * sysdeps/x86_64/strncase_l.S: New file.
636         * string/Makefile (strop-tests): Add strncasecmp.
637         * string/test-strncasecmp.c: New file.
639         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
640         warning.
642         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
643         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
645 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
647         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
649 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
651         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
652         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
653         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
655 2010-05-01  Alan Modra  <amodra@gmail.com>
657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
658         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
659         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
660         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
661         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
662         tidying.  Don't tail-call __sigjmp_save for static lib.
663         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
664         save location.
665         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
666         (CALL_MCOUNT): Add eh info, and nop after bl.
667         (TAIL_CALL_SYSCALL_ERROR): New macro.
668         (PSEUDO_RET): Use it.
669         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
670         Correct save location of integer regs and cr.
671         (_dl_profile_resolve): Correct cr save location.  Delete nops
672         after bl when SHARED.  Reduce cfi size a little by better
673         placement of cfi directives.
674         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
675         make a stack frame.  Instead use parm save area as a temp.
676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
677         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
679         Don't make a stack frame for parent, use parm save area.
680         Increase child stack frame to 112 bytes.  Don't save unused reg,
681         and adjust reg usage.  Set up cfi on error recovery and
682         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
684         (__makecontext): Add dummy nop after jump to exit.
685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
686         Use correct parm save area and cr save, reduce stack frame.
687         Correct cfi for possible PSEUDO_RET frame setup.
688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
689         Branch to local label emitted by PSEUDO_RET rather than
690         __syscall_error.
692 2010-08-12  Andreas Schwab  <schwab@redhat.com>
694         [BZ #11904]
695         * locale/programs/locale.c (print_assignment): New function.
696         (show_locale_vars): Use it.
698 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
700         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
701         field.
702         (struct statfs64): Likewise.
703         (_STATFS_F_FLAGS): Define.
704         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
705         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
706         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
707         (ST_VALID): Define locally.
708         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
709         __statvfs_getflags, use the provided value.
710         * sysdeps/unix/sysv/linux/kernel-features.h: Define
711         __ASSUME_STATFS_F_FLAGS.
713         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
715         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
716         Add sys/fanotify.h.
717         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
718         fanotify_mask for GLIBC_2.13.
719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
720         fanotify_init and fanotify_mark.
721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
722         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
724         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
725         Add prlimit.
726         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
727         prlimit64 for GLIBC_2.13.
728         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
729         prlimit64.
730         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
731         syscall.
732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
733         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
734         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
735         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
736         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
737         add prlimit alias.
738         * sysdeps/unix/sysv/linux/prlimit.c: New file.
740         [BZ #11903]
741         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
742         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
744         * nss/Makefile: Add rules to build and run tst-nss-test1.
745         * shlib-versions: Add entry for libnss_test1.
746         * nss/nss_test1.c: New file.
747         * nss/tst-nss-test1.c: New file.
749         * nss/nsswitch.c (__nss_database_custom): Define new variable.
750         (__nss_configure_lookup): Set appropriate entry in
751         __nss_configure_lookup to true.
752         * nss/nsswitch.h: Define enum with indeces of databases in
753         databases and __nss_database_custom arrays.  Declare
754         __nss_database_custom.
755         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
756         to avoid using nscd when custom rules are installed.
757         * nss/getXXbyYY_r.c: Likewise.
758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
760         * nss/nss_files/files-parse.c: Whitespace fixes.
762 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
764         [BZ #11883]
765         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
766         * posix/fnmatch_loop.c: Likewise.
768 2010-07-17  Andi Kleen  <ak@linux.intel.com>
770         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
771         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
772         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
773         * Versions.def [GLIBC_2.13]: Add.
775 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
777         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
778         Also fail if tpwd after pwuid call is NULL.
780 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
782         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
783         when converting to ms.
785 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
787         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
788         EOPNOTSUPP errors with ENOTTY.
789         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
790         EOPNOTSUPP errors with ENOTTY.
792 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
794         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
795         Add strcasecmp_l-ssse3.
796         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
797         strcasecmp.
798         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
799         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
800         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
802 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
804         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
806         * string/Makefile (strop-tests): Add strcasecmp.
807         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
808         strcasecmp_l-nonascii.
809         (gen-as-const-headers): Add locale-defines.sym.
810         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
811         * sysdeps/x86_64/strcasecmp.S: New file.
812         * sysdeps/x86_64/strcasecmp_l.S: New file.
813         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
814         * sysdeps/x86_64/locale-defines.sym: New file.
815         * string/test-strcasecmp.c: New file.
817         * string/test-strcasestr.c: Test both ends of the range of characters.
818         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
820 2010-07-29  Roland McGrath  <roland@redhat.com>
822         [BZ #11856]
823         * manual/locale.texi (Yes-or-No Questions): Fix example code.
825 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
827         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
828         for ld.so.
830 2010-07-27  Andreas Schwab  <schwab@redhat.com>
832         * manual/memory.texi (Malloc Tunable Parameters): Document
833         M_PERTURB.
835 2010-07-26  Roland McGrath  <roland@redhat.com>
837         [BZ #11840]
838         * configure.in (-fgnu89-inline check): Set and substitute
839         gnu89_inline, not libc_cv_gnu89_inline.
840         * configure: Regenerated.
841         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
843 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
845         * string/test-strnlen.c: New file.
846         * string/Makefile (strop-tests): Add strnlen.
847         * string/tester.c (test_strnlen): Add a few more test cases.
848         * string/tst-strlen.c: Better error reporting.
850         * sysdeps/x86_64/strnlen.S: New file.
852 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
854         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
855         lower-latency instructions.
857 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
859         * string/test-strcasestr.c: New file.
860         * string/test-strstr.c: New file.
861         * string/Makefile (strop-tests): Add strstr and strcasestr.
862         * string/str-two-way.h: Don't undefine MAX.
863         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
865 2010-07-21  Andreas Schwab  <schwab@redhat.com>
867         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
868         strcasestr-nonascii.
869         (CFLAGS-strcasestr-nonascii.c): Define.
870         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
871         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
872         Remove unused attribute.
874 2010-07-20  Roland McGrath  <roland@redhat.com>
876         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
877         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
878         ld.so.cache was broken.  With it, there is no way to disable dsocaps
879         like LD_HWCAP_MASK can disable hwcaps.
881 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
883         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
885 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
887         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
888         call in strcasestr.
889         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
890         __strcasestr_sse42_nonascii.
891         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
892         strcasestr-nonascii.c.
893         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
895 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
897         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
898         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
899         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
900         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
902 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
904         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
905         fcntl.
907 2010-07-06  Andreas Schwab  <schwab@redhat.com>
909         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
910         dl_signal_cerror.
912 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
915         _PC_PIPE_BUF using F_GETPIPE_SZ.
917 2010-07-05  Roland McGrath  <roland@redhat.com>
919         * manual/arith.texi (Rounding Functions): Fix rint description
920         implicit in round description.
922 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
924         * elf/Makefile: Fix linking for a few tests to make recent linker
925         happy.
927 2010-06-30  Andreas Schwab  <schwab@redhat.com>
929         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
930         $(common-objpfx)libc_nonshared.a.
932 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
934         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
935         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
936         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
937         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
938         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
939         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
940         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
941         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
956         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
957         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
958         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
959         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
960         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
961         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
962         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
963         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
964         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
965         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
966         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
967         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
983 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
985         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
986         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
987         * string/memmove.c (memmove): Renamed to ...
988         (MEMMOVE): ...this.  Default to memmove.
989         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
990         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
991         (END_CHK): Define.
992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
993         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
994         mempcpy-ssse3-back memmove-ssse3-back.
995         * sysdeps/x86_64/multiarch/bcopy.S: New file .
996         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
998         * sysdeps/x86_64/multiarch/memcpy.S: New file.
999         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1000         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1001         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1002         * sysdeps/x86_64/multiarch/memmove.c: New file.
1003         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1004         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1005         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1006         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1009         Define.
1010         (index_Fast_Copy_Backward): Define.
1011         (HAS_ARCH_FEATURE): Define.
1012         (HAS_FAST_REP_STRING): Define.
1013         (HAS_FAST_COPY_BACKWARD): Define.
1015 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1017         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1018         Restore proper fallback handling.
1020 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1022         [BZ #11701]
1023         * posix/group_member.c (__group_member): Correct checking loop.
1025         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1026         OOM in getpwuid_r correctly.  Return error number when the caller
1027         should return, otherwise -1.
1028         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1029         call returning > 0 value.
1030         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1032 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1034         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1035         libc_nonshared.a from targets in modules-names.
1037 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1039         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1040         requires it.
1042 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1044         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1045         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1046         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1047         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1049 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1051         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1053 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1055         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1056         and F_GETPIPE_SZ.
1057         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1058         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1061         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1062         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1064 2010-06-14  Roland McGrath  <roland@redhat.com>
1066         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1068 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1070         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1071         __REDIRECT followed by __THROW.
1072         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1073         * posix/getopt.h (getopt): Likewise.
1075 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1077         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1078         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1079         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1080         in AT_FLAGS.
1081         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1082         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1084 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1086         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1088 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1090         [BZ #11640]
1091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1092         Properly check family and model.
1094 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1096         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1098 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1100         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1102 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1104         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1105         symbol reference.
1107 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1109         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1110         symbol reference.
1112 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1114         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1115         and internal_recvmmsg.
1116         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1117         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1118         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1119         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1121         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1122         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1123         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1125 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1127         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1129 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1131         POWER7 optimizations.
1132         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1133         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1135 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1137         * version.h: Update for 2.13 development version.
1139 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1141         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1142         exceptions.  Return 0.
1144 2010-05-07  Roland McGrath  <roland@redhat.com>
1146         * elf/ldconfig.c (main): Add a const.
1148 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1150         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1151         (args_options): Add no-idn option.
1152         (ahosts_keys_int): Add idn_flags to ai_flags.
1153         (parse_option): Handle 'i' option to clear idn_flags.
1155         * malloc/malloc.c (_int_free): Possible race in the most recently
1156         added check.  Only act on the data if no current modification
1157         happened.
1159 See ChangeLog.17 for earlier changes.