Fix non-ASCII case of SSE4.2 strcasstr.
[glibc.git] / ChangeLog
blob3d0f979690fda8fd3c10a5f6a4e5d17d7584a904
1 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
4         call in strcasestr.
5         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
6         __strcasestr_sse42_nonascii.
7         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8         strcasestr-nonascii.c.
9         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
13         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
20         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
21         fcntl.
23 2010-07-06  Andreas Schwab  <schwab@redhat.com>
25         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26         dl_signal_cerror.
28 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
30         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31         _PC_PIPE_BUF using F_GETPIPE_SZ.
33 2010-07-05  Roland McGrath  <roland@redhat.com>
35         * manual/arith.texi (Rounding Functions): Fix rint description
36         implicit in round description.
38 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
40         * elf/Makefile: Fix linking for a few tests to make recent linker
41         happy.
43 2010-06-30  Andreas Schwab  <schwab@redhat.com>
45         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46         $(common-objpfx)libc_nonshared.a.
48 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
67         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
68         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
72         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
86         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
87         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
91         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
97         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
99 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
101         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
102         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
103         * string/memmove.c (memmove): Renamed to ...
104         (MEMMOVE): ...this.  Default to memmove.
105         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
106         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
107         (END_CHK): Define.
108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
109         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
110         mempcpy-ssse3-back memmove-ssse3-back.
111         * sysdeps/x86_64/multiarch/bcopy.S: New file .
112         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
113         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
114         * sysdeps/x86_64/multiarch/memcpy.S: New file.
115         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
116         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
117         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
118         * sysdeps/x86_64/multiarch/memmove.c: New file.
119         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
120         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
121         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
122         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
123         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
124         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
125         Define.
126         (index_Fast_Copy_Backward): Define.
127         (HAS_ARCH_FEATURE): Define.
128         (HAS_FAST_REP_STRING): Define.
129         (HAS_FAST_COPY_BACKWARD): Define.
131 2010-06-21  Andreas Schwab  <schwab@redhat.com>
133         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
134         Restore proper fallback handling.
136 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
138         [BZ #11701]
139         * posix/group_member.c (__group_member): Correct checking loop.
141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
142         OOM in getpwuid_r correctly.  Return error number when the caller
143         should return, otherwise -1.
144         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
145         call returning > 0 value.
146         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
148 2010-06-07  Andreas Schwab  <schwab@redhat.com>
150         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
151         libc_nonshared.a from targets in modules-names.
153 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
155         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
156         requires it.
158 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
161         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
162         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
165 2010-06-02  Andreas Schwab  <schwab@redhat.com>
167         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
169 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
171         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
172         and F_GETPIPE_SZ.
173         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
174         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
177         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
180 2010-06-14  Roland McGrath  <roland@redhat.com>
182         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
184 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
186         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
187         __REDIRECT followed by __THROW.
188         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
189         * posix/getopt.h (getopt): Likewise.
191 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
193         * hurd/lookup-at.c (__file_name_lookup_at): Accept
194         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
195         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
196         in AT_FLAGS.
197         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
198         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
200 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
202         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
204 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
206         [BZ #11640]
207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
208         Properly check family and model.
210 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
212         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
214 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
216         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
218 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
220         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
221         symbol reference.
223 2010-05-19  Andreas Schwab  <schwab@redhat.com>
225         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
226         symbol reference.
228 2010-05-21  Andreas Schwab  <schwab@redhat.com>
230         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
231         and internal_recvmmsg.
232         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
233         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
234         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
235         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
237         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
238         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
239         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
241 2010-05-20  Andreas Schwab  <schwab@redhat.com>
243         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
245 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
247         POWER7 optimizations.
248         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
249         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
251 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
253         * version.h: Update for 2.13 development version.
255 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
257         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
258         exceptions.  Return 0.
260 2010-05-07  Roland McGrath  <roland@redhat.com>
262         * elf/ldconfig.c (main): Add a const.
264 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
266         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
267         (args_options): Add no-idn option.
268         (ahosts_keys_int): Add idn_flags to ai_flags.
269         (parse_option): Handle 'i' option to clear idn_flags.
271         * malloc/malloc.c (_int_free): Possible race in the most recently
272         added check.  Only act on the data if no current modification
273         happened.
275 See ChangeLog.17 for earlier changes.