]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Pretty printing x86-64 SSE4.3 strcmp.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
fe36dd02
UD
12010-07-30 Ulrich Drepper <drepper@redhat.com>
2
66f6765a
UD
3 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
4
42e08a54
UD
5 * string/Makefile (strop-tests): Add strcasecmp.
6 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7 strcasecmp_l-nonascii.
8 (gen-as-const-headers): Add locale-defines.sym.
9 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10 * sysdeps/x86_64/strcasecmp.S: New file.
11 * sysdeps/x86_64/strcasecmp_l.S: New file.
12 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13 * sysdeps/x86_64/locale-defines.sym: New file.
14 * string/test-strcasecmp.c: New file.
15
fe36dd02
UD
16 * string/test-strcasestr.c: Test both ends of the range of characters.
17 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18
48cbc0d6
RM
192010-07-29 Roland McGrath <roland@redhat.com>
20
76e6d6bc 21 [BZ #11856]
48cbc0d6
RM
22 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23
880113d9
UD
242010-07-27 Ulrich Drepper <drepper@redhat.com>
25
26 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27 for ld.so.
28
deb9cabb
AS
292010-07-27 Andreas Schwab <schwab@redhat.com>
30
31 * manual/memory.texi (Malloc Tunable Parameters): Document
32 M_PERTURB.
33
1c7570ff
RM
342010-07-26 Roland McGrath <roland@redhat.com>
35
36 [BZ #11840]
37 * configure.in (-fgnu89-inline check): Set and substitute
38 gnu89_inline, not libc_cv_gnu89_inline.
39 * configure: Regenerated.
40 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41
24fb0f88
UD
422010-07-26 Ulrich Drepper <drepper@redhat.com>
43
44 * string/test-strnlen.c: New file.
45 * string/Makefile (strop-tests): Add strnlen.
46 * string/tester.c (test_strnlen): Add a few more test cases.
47 * string/tst-strlen.c: Better error reporting.
48
49 * sysdeps/x86_64/strnlen.S: New file.
50
8e96b93a
UD
512010-07-24 Ulrich Drepper <drepper@redhat.com>
52
53 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54 lower-latency instructions.
55
dbc676d4
UD
562010-07-23 Ulrich Drepper <drepper@redhat.com>
57
58 * string/test-strcasestr.c: New file.
59 * string/test-strstr.c: New file.
60 * string/Makefile (strop-tests): Add strstr and strcasestr.
61 * string/str-two-way.h: Don't undefine MAX.
62 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63
f6a31e0e
AS
642010-07-21 Andreas Schwab <schwab@redhat.com>
65
66 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67 strcasestr-nonascii.
68 (CFLAGS-strcasestr-nonascii.c): Define.
69 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71 Remove unused attribute.
72
5dbc3b6c
RM
732010-07-20 Roland McGrath <roland@redhat.com>
74
75 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77 ld.so.cache was broken. With it, there is no way to disable dsocaps
78 like LD_HWCAP_MASK can disable hwcaps.
79
23d101d8
EPM
802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
81
82 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83
cc9f2e47
UD
842010-07-16 Ulrich Drepper <drepper@redhat.com>
85
86 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
87 call in strcasestr.
88 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89 __strcasestr_sse42_nonascii.
90 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
91 strcasestr-nonascii.c.
92 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93
77c1b069
LM
942010-06-15 Luis Machado <luisgpm@br.ibm.com>
95
96 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
97 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
98 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
99 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
100
440566c3
UD
1012010-07-09 Ulrich Drepper <drepper@redhat.com>
102
103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
104 fcntl.
105
5be9d05d
AS
1062010-07-06 Andreas Schwab <schwab@redhat.com>
107
108 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
109 dl_signal_cerror.
110
8a492a67
UD
1112010-07-06 Ulrich Drepper <drepper@redhat.com>
112
113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
114 _PC_PIPE_BUF using F_GETPIPE_SZ.
115
713df3d5
RM
1162010-07-05 Roland McGrath <roland@redhat.com>
117
118 * manual/arith.texi (Rounding Functions): Fix rint description
119 implicit in round description.
120
702e8f14
UD
1212010-07-02 Ulrich Drepper <drepper@redhat.com>
122
123 * elf/Makefile: Fix linking for a few tests to make recent linker
124 happy.
125
52ed8be9
AS
1262010-06-30 Andreas Schwab <schwab@redhat.com>
127
128 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
129 $(common-objpfx)libc_nonshared.a.
130
f47c9a11
LM
1312010-06-21 Luis Machado <luisgpm@br.ibm.com>
132
133 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
134 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
135 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
136 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
137 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
138 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
139 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
140 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
155 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
156 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
157 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
158 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
159 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
160 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
161 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
162 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
163 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
164 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
165 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
166 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
181
6fb8cbcb
L
1822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
183
184 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
185 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
186 * string/memmove.c (memmove): Renamed to ...
187 (MEMMOVE): ...this. Default to memmove.
188 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
189 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
190 (END_CHK): Define.
191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
192 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
193 mempcpy-ssse3-back memmove-ssse3-back.
194 * sysdeps/x86_64/multiarch/bcopy.S: New file .
195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
196 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
197 * sysdeps/x86_64/multiarch/memcpy.S: New file.
198 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
199 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
200 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
201 * sysdeps/x86_64/multiarch/memmove.c: New file.
202 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
203 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
204 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
205 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
206 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
208 Define.
209 (index_Fast_Copy_Backward): Define.
210 (HAS_ARCH_FEATURE): Define.
211 (HAS_FAST_REP_STRING): Define.
212 (HAS_FAST_COPY_BACKWARD): Define.
213
4e733bac 2142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
215
216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
217 Restore proper fallback handling.
218
63c4ed22
UD
2192010-06-19 Ulrich Drepper <drepper@redhat.com>
220
ac2b484c
UD
221 [BZ #11701]
222 * posix/group_member.c (__group_member): Correct checking loop.
223
63c4ed22
UD
224 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
225 OOM in getpwuid_r correctly. Return error number when the caller
226 should return, otherwise -1.
227 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
228 call returning > 0 value.
229 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
230
765ade4b
AS
2312010-06-07 Andreas Schwab <schwab@redhat.com>
232
233 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
234 libc_nonshared.a from targets in modules-names.
235
80da2e09
KS
2362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
237
238 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
239 requires it.
240
158db122
LM
2412010-06-10 Luis Machado <luisgpm@br.ibm.com>
242
243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
244 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
245 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
247
caa78cf8
AS
2482010-06-02 Andreas Schwab <schwab@redhat.com>
249
250 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
251
b2ef2c01
UD
2522010-06-14 Ulrich Drepper <drepper@redhat.com>
253
254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
255 and F_GETPIPE_SZ.
256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
258 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
262
fbd643b6
RM
2632010-06-14 Roland McGrath <roland@redhat.com>
264
265 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
266
f32f2869
JJ
2672010-06-07 Jakub Jelinek <jakub@redhat.com>
268
269 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
270 __REDIRECT followed by __THROW.
271 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
272 * posix/getopt.h (getopt): Likewise.
273
2a50c078
EPM
2742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
275
276 * hurd/lookup-at.c (__file_name_lookup_at): Accept
277 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
278 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
279 in AT_FLAGS.
280 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
281 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
282
eb5ad2eb
LM
2832010-05-28 Luis Machado <luisgpm@br.ibm.com>
284
285 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
286
3c88fe1e
L
2872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
288
289 [BZ #11640]
290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
291 Properly check family and model.
292
d2f73151
TY
2932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
294
295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
296
ebd2e13d
LM
2972010-05-24 Luis Machado <luisgpm@br.ibm.com>
298
299 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
300
b32b8b45
UD
3012010-05-21 Ulrich Drepper <drepper@redhat.com>
302
303 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
304 symbol reference.
305
9acbe24d
AS
3062010-05-19 Andreas Schwab <schwab@redhat.com>
307
308 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
309 symbol reference.
310
f0ccf6ea
AS
3112010-05-21 Andreas Schwab <schwab@redhat.com>
312
3d04ff3a
AS
313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
314 and internal_recvmmsg.
315 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
316 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
317 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
318 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
319
f0ccf6ea
AS
320 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
321 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
322 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
323
5b08ac57
AS
3242010-05-20 Andreas Schwab <schwab@redhat.com>
325
326 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
327
4828935d
LM
3282010-05-17 Luis Machado <luisgpm@br.ibm.com>
329
330 POWER7 optimizations.
331 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
332 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
333
373d545e
UD
3342010-05-19 Ulrich Drepper <drepper@redhat.com>
335
336 * version.h: Update for 2.13 development version.
337
21a2b1ae
AS
3382010-05-12 Andrew Stubbs <ams@codesourcery.com>
339
340 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
341 exceptions. Return 0.
342
3f7dcb2b
RM
3432010-05-07 Roland McGrath <roland@redhat.com>
344
345 * elf/ldconfig.c (main): Add a const.
346
5f24d53a 3472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 348
a160f8d8
UD
349 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
350 (args_options): Add no-idn option.
351 (ahosts_keys_int): Add idn_flags to ai_flags.
352 (parse_option): Handle 'i' option to clear idn_flags.
353
5f24d53a
UD
354 * malloc/malloc.c (_int_free): Possible race in the most recently
355 added check. Only act on the data if no current modification
356 happened.
265bb1ce
UD
357
358See ChangeLog.17 for earlier changes.