]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add performance tests for strstr and strcasestr.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
dbc676d4
UD
12010-07-23 Ulrich Drepper <drepper@redhat.com>
2
3 * string/test-strcasestr.c: New file.
4 * string/test-strstr.c: New file.
5 * string/Makefile (strop-tests): Add strstr and strcasestr.
6 * string/str-two-way.h: Don't undefine MAX.
7 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8
f6a31e0e
AS
92010-07-21 Andreas Schwab <schwab@redhat.com>
10
11 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12 strcasestr-nonascii.
13 (CFLAGS-strcasestr-nonascii.c): Define.
14 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16 Remove unused attribute.
17
5dbc3b6c
RM
182010-07-20 Roland McGrath <roland@redhat.com>
19
20 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
21 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22 ld.so.cache was broken. With it, there is no way to disable dsocaps
23 like LD_HWCAP_MASK can disable hwcaps.
24
23d101d8
EPM
252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26
27 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28
cc9f2e47
UD
292010-07-16 Ulrich Drepper <drepper@redhat.com>
30
31 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32 call in strcasestr.
33 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34 __strcasestr_sse42_nonascii.
35 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36 strcasestr-nonascii.c.
37 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38
77c1b069
LM
392010-06-15 Luis Machado <luisgpm@br.ibm.com>
40
41 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45
440566c3
UD
462010-07-09 Ulrich Drepper <drepper@redhat.com>
47
48 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49 fcntl.
50
5be9d05d
AS
512010-07-06 Andreas Schwab <schwab@redhat.com>
52
53 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54 dl_signal_cerror.
55
8a492a67
UD
562010-07-06 Ulrich Drepper <drepper@redhat.com>
57
58 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59 _PC_PIPE_BUF using F_GETPIPE_SZ.
60
713df3d5
RM
612010-07-05 Roland McGrath <roland@redhat.com>
62
63 * manual/arith.texi (Rounding Functions): Fix rint description
64 implicit in round description.
65
702e8f14
UD
662010-07-02 Ulrich Drepper <drepper@redhat.com>
67
68 * elf/Makefile: Fix linking for a few tests to make recent linker
69 happy.
70
52ed8be9
AS
712010-06-30 Andreas Schwab <schwab@redhat.com>
72
73 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74 $(common-objpfx)libc_nonshared.a.
75
f47c9a11
LM
762010-06-21 Luis Machado <luisgpm@br.ibm.com>
77
78 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
87 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
98 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
99 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
100 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
101 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
102 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
103 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
104 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
105 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
106 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
107 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
108 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
109 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
110 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
111 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
126
6fb8cbcb
L
1272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
128
129 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
130 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
131 * string/memmove.c (memmove): Renamed to ...
132 (MEMMOVE): ...this. Default to memmove.
133 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
134 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
135 (END_CHK): Define.
136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
137 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
138 mempcpy-ssse3-back memmove-ssse3-back.
139 * sysdeps/x86_64/multiarch/bcopy.S: New file .
140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
142 * sysdeps/x86_64/multiarch/memcpy.S: New file.
143 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
144 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
145 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
146 * sysdeps/x86_64/multiarch/memmove.c: New file.
147 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
148 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
149 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
150 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
153 Define.
154 (index_Fast_Copy_Backward): Define.
155 (HAS_ARCH_FEATURE): Define.
156 (HAS_FAST_REP_STRING): Define.
157 (HAS_FAST_COPY_BACKWARD): Define.
158
4e733bac 1592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
160
161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
162 Restore proper fallback handling.
163
63c4ed22
UD
1642010-06-19 Ulrich Drepper <drepper@redhat.com>
165
ac2b484c
UD
166 [BZ #11701]
167 * posix/group_member.c (__group_member): Correct checking loop.
168
63c4ed22
UD
169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
170 OOM in getpwuid_r correctly. Return error number when the caller
171 should return, otherwise -1.
172 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
173 call returning > 0 value.
174 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
175
765ade4b
AS
1762010-06-07 Andreas Schwab <schwab@redhat.com>
177
178 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
179 libc_nonshared.a from targets in modules-names.
180
80da2e09
KS
1812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
182
183 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
184 requires it.
185
158db122
LM
1862010-06-10 Luis Machado <luisgpm@br.ibm.com>
187
188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
192
caa78cf8
AS
1932010-06-02 Andreas Schwab <schwab@redhat.com>
194
195 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
196
b2ef2c01
UD
1972010-06-14 Ulrich Drepper <drepper@redhat.com>
198
199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
200 and F_GETPIPE_SZ.
201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
207
fbd643b6
RM
2082010-06-14 Roland McGrath <roland@redhat.com>
209
210 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
211
f32f2869
JJ
2122010-06-07 Jakub Jelinek <jakub@redhat.com>
213
214 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
215 __REDIRECT followed by __THROW.
216 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
217 * posix/getopt.h (getopt): Likewise.
218
2a50c078
EPM
2192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
220
221 * hurd/lookup-at.c (__file_name_lookup_at): Accept
222 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
223 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
224 in AT_FLAGS.
225 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
226 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
227
eb5ad2eb
LM
2282010-05-28 Luis Machado <luisgpm@br.ibm.com>
229
230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
231
3c88fe1e
L
2322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
233
234 [BZ #11640]
235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
236 Properly check family and model.
237
d2f73151
TY
2382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
239
240 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
241
ebd2e13d
LM
2422010-05-24 Luis Machado <luisgpm@br.ibm.com>
243
244 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
245
b32b8b45
UD
2462010-05-21 Ulrich Drepper <drepper@redhat.com>
247
248 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
249 symbol reference.
250
9acbe24d
AS
2512010-05-19 Andreas Schwab <schwab@redhat.com>
252
253 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
254 symbol reference.
255
f0ccf6ea
AS
2562010-05-21 Andreas Schwab <schwab@redhat.com>
257
3d04ff3a
AS
258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
259 and internal_recvmmsg.
260 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
261 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
262 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
263 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
264
f0ccf6ea
AS
265 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
266 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
267 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
268
5b08ac57
AS
2692010-05-20 Andreas Schwab <schwab@redhat.com>
270
271 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
272
4828935d
LM
2732010-05-17 Luis Machado <luisgpm@br.ibm.com>
274
275 POWER7 optimizations.
276 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
277 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
278
373d545e
UD
2792010-05-19 Ulrich Drepper <drepper@redhat.com>
280
281 * version.h: Update for 2.13 development version.
282
21a2b1ae
AS
2832010-05-12 Andrew Stubbs <ams@codesourcery.com>
284
285 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
286 exceptions. Return 0.
287
3f7dcb2b
RM
2882010-05-07 Roland McGrath <roland@redhat.com>
289
290 * elf/ldconfig.c (main): Add a const.
291
5f24d53a 2922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 293
a160f8d8
UD
294 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
295 (args_options): Add no-idn option.
296 (ahosts_keys_int): Add idn_flags to ai_flags.
297 (parse_option): Handle 'i' option to clear idn_flags.
298
5f24d53a
UD
299 * malloc/malloc.c (_int_free): Possible race in the most recently
300 added check. Only act on the data if no current modification
301 happened.
265bb1ce
UD
302
303See ChangeLog.17 for earlier changes.