]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo in last commit.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9ea3de11
UD
12010-08-27 Ulrich Drepper <drepper@redhat.com>
2
3 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4
5 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6
623aac7f
L
72010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/x86_64/strlen.S: Unroll the loop.
10 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11 strlen-sse2 strlen-sse2-bsf.
12 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13 __strlen_no_bsf if bit_Slow_BSF is set.
14 (__strlen_sse42): Removed.
15 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17
8b2b7715
RM
182010-08-25 Roland McGrath <roland@redhat.com>
19
20 * sysdeps/x86_64/multiarch/varshift.S: File removed.
21 * sysdeps/x86_64/multiarch/varshift.c: New file.
22 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
24 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
25 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26
e73015f2
L
272010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28
29 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30 strlen-sse2 strlen-sse2-bsf.
31 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33 (__strlen_sse2): Removed.
34 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37 bit_Slow_BSF for Atom.
38 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39 (index_Slow_BSF): Define.
40 (HAS_SLOW_BSF): Define.
41
df24a73e
UD
422010-08-25 Ulrich Drepper <drepper@redhat.com>
43
44 [BZ #10851]
45 * resolv/res_init.c (__res_vinit): When no server address at all
46 is given default to loopback.
47
f2ac4868
RM
482010-08-24 Roland McGrath <roland@redhat.com>
49
09055553
RM
50 * configure.in: Remove config-name.h generation.
51 * configure: Regenerated.
52 * config-name.in: File removed.
53 * scripts/config-uname.sh: New file.
54 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55 ($(objdir)config-name.h): New target.
56
f2ac4868
RM
57 * sunrpc/rpc_parse.h: Avoid nested comment.
58
73f27d5e
RH
592010-08-24 Richard Henderson <rth@redhat.com>
60 Ulrich Drepper <drepper@redhat.com>
61 H.J. Lu <hongjiu.lu@intel.com>
62
63 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
65 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66 Replace _mm_srli_si128 with __m128i_shift_right. Replace
67 _mm_alignr_epi8 with _mm_loadu_si128.
68 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70 (__m128i_shift_right): Removed.
71 * sysdeps/i386/i686/multiarch/varshift.h: New file.
72 * sysdeps/i386/i686/multiarch/varshift.S: New file.
73 * sysdeps/x86_64/multiarch/varshift.h: New file.
74 * sysdeps/x86_64/multiarch/varshift.S: New file.
75
84b9230c
MF
762010-08-21 Mike Frysinger <vapier@gentoo.org>
77
78 * configure.in: Move assembler checks to before sysdep dir checking.
79
9bbd0ddc
PB
802010-08-20 Petr Baudis <pasky@suse.cz>
81
82 * LICENSES: Sync the sunrpc license.
83
9da4bb31
UD
842010-08-19 Ulrich Drepper <drepper@redhat.com>
85
a7ab6ec8
UD
86 * sunrpc/auth_des.c: Update copyright notice once again.
87 * sunrpc/auth_none.c: Likewise.
88 * sunrpc/auth_unix.c: Likewise.
89 * sunrpc/authdes_prot.c: Likewise.
90 * sunrpc/authuxprot.c: Likewise.
91 * sunrpc/bindrsvprt.c: Likewise.
92 * sunrpc/clnt_gen.c: Likewise.
93 * sunrpc/clnt_perr.c: Likewise.
94 * sunrpc/clnt_raw.c: Likewise.
95 * sunrpc/clnt_simp.c: Likewise.
96 * sunrpc/clnt_tcp.c: Likewise.
97 * sunrpc/clnt_udp.c: Likewise.
98 * sunrpc/clnt_unix.c: Likewise.
99 * sunrpc/des_crypt.c: Likewise.
100 * sunrpc/des_soft.c: Likewise.
101 * sunrpc/get_myaddr.c: Likewise.
102 * sunrpc/getrpcport.c: Likewise.
103 * sunrpc/key_call.c: Likewise.
104 * sunrpc/key_prot.c: Likewise.
105 * sunrpc/openchild.c: Likewise.
106 * sunrpc/pm_getmaps.c: Likewise.
107 * sunrpc/pm_getport.c: Likewise.
108 * sunrpc/pmap_clnt.c: Likewise.
109 * sunrpc/pmap_prot.c: Likewise.
110 * sunrpc/pmap_prot2.c: Likewise.
111 * sunrpc/pmap_rmt.c: Likewise.
112 * sunrpc/rpc/auth.h: Likewise.
113 * sunrpc/rpc/auth_unix.h: Likewise.
114 * sunrpc/rpc/clnt.h: Likewise.
115 * sunrpc/rpc/des_crypt.h: Likewise.
116 * sunrpc/rpc/key_prot.h: Likewise.
117 * sunrpc/rpc/netdb.h: Likewise.
118 * sunrpc/rpc/pmap_clnt.h: Likewise.
119 * sunrpc/rpc/pmap_prot.h: Likewise.
120 * sunrpc/rpc/pmap_rmt.h: Likewise.
121 * sunrpc/rpc/rpc.h: Likewise.
122 * sunrpc/rpc/rpc_des.h: Likewise.
123 * sunrpc/rpc/rpc_msg.h: Likewise.
124 * sunrpc/rpc/svc.h: Likewise.
125 * sunrpc/rpc/svc_auth.h: Likewise.
126 * sunrpc/rpc/types.h: Likewise.
127 * sunrpc/rpc/xdr.h: Likewise.
128 * sunrpc/rpc_clntout.c: Likewise.
129 * sunrpc/rpc_cmsg.c: Likewise.
130 * sunrpc/rpc_common.c: Likewise.
131 * sunrpc/rpc_cout.c: Likewise.
132 * sunrpc/rpc_dtable.c: Likewise.
133 * sunrpc/rpc_hout.c: Likewise.
134 * sunrpc/rpc_main.c: Likewise.
135 * sunrpc/rpc_parse.c: Likewise.
136 * sunrpc/rpc_parse.h: Likewise.
137 * sunrpc/rpc_prot.c: Likewise.
138 * sunrpc/rpc_sample.c: Likewise.
139 * sunrpc/rpc_scan.c: Likewise.
140 * sunrpc/rpc_scan.h: Likewise.
141 * sunrpc/rpc_svcout.c: Likewise.
142 * sunrpc/rpc_tblout.c: Likewise.
143 * sunrpc/rpc_util.c: Likewise.
144 * sunrpc/rpc_util.h: Likewise.
145 * sunrpc/rpcinfo.c: Likewise.
146 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
147 * sunrpc/rpcsvc/key_prot.x: Likewise.
148 * sunrpc/rpcsvc/klm_prot.x: Likewise.
149 * sunrpc/rpcsvc/mount.x: Likewise.
150 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
151 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
152 * sunrpc/rpcsvc/rex.x: Likewise.
153 * sunrpc/rpcsvc/rstat.x: Likewise.
154 * sunrpc/rpcsvc/rusers.x: Likewise.
155 * sunrpc/rpcsvc/sm_inter.x: Likewise.
156 * sunrpc/rpcsvc/spray.x: Likewise.
157 * sunrpc/rpcsvc/yppasswd.x: Likewise.
158 * sunrpc/rtime.c: Likewise.
159 * sunrpc/svc.c: Likewise.
160 * sunrpc/svc_auth.c: Likewise.
161 * sunrpc/svc_authux.c: Likewise.
162 * sunrpc/svc_raw.c: Likewise.
163 * sunrpc/svc_run.c: Likewise.
164 * sunrpc/svc_simple.c: Likewise.
165 * sunrpc/svc_tcp.c: Likewise.
166 * sunrpc/svc_udp.c: Likewise.
167 * sunrpc/svc_unix.c: Likewise.
168 * sunrpc/svcauth_des.c: Likewise.
169 * sunrpc/xcrypt.c: Likewise.
170 * sunrpc/xdr.c: Likewise.
171 * sunrpc/xdr_array.c: Likewise.
172 * sunrpc/xdr_float.c: Likewise.
173 * sunrpc/xdr_mem.c: Likewise.
174 * sunrpc/xdr_rec.c: Likewise.
175 * sunrpc/xdr_ref.c: Likewise.
176 * sunrpc/xdr_sizeof.c: Likewise.
177 * sunrpc/xdr_stdio.c: Likewise.
178
9da4bb31
UD
179 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
180 handling.
181
bdaa77bc
AS
1822010-08-19 Andreas Schwab <schwab@redhat.com>
183
184 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
185
fe2f79db
LM
1862010-08-19 Luis Machado <luisgpm@br.ibm.com>
187
188 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
189 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
190 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
191 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
192 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
193 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
194 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
195 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
196 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
197 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
198 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
199 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
200 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
201 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
202
b9b42ee0
AB
2032010-07-26 Anton Blanchard <anton@samba.org>
204
205 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
206 * malloc/arena.c (heap_trim): Likewise.
207
1c06ba31
UD
2082010-08-16 Ulrich Drepper <drepper@redhat.com>
209
210 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
211 here. Not...
212 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
213 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
214
f8392f40
L
2152010-08-12 H.J. Lu <hongjiu.lu@intel.com>
216
217 * sysdeps/i386/elf/Makefile: New file.
218
3162f12e
AS
2192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
220
221 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
222 from fanotify_init.
223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
225
28c90b2c
UD
2262010-08-15 Ulrich Drepper <drepper@redhat.com>
227
228 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
229 of strncasecmp_l.
1feccb6c 230 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 231
ca6bb004
UD
2322010-08-14 Ulrich Drepper <drepper@redhat.com>
233
e9f82e0d
UD
234 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
235 strncase_l-nonascii.
236 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
237 Add strncase_l-ssse3.
238 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
239 * sysdeps/x86_64/strcmp.S: Likewise.
240 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
241 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
242 * sysdeps/x86_64/strncase.S: New file.
243 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
244 * sysdeps/x86_64/strncase_l.S: New file.
245 * string/Makefile (strop-tests): Add strncasecmp.
246 * string/test-strncasecmp.c: New file.
247
248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
249 warning.
250
ca6bb004
UD
251 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
252 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
253
052fa7b3
AS
2542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
255
256 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
257
962dba78
UD
2582010-08-12 Ulrich Drepper <drepper@redhat.com>
259
260 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
263
bebff237
AM
2642010-05-01 Alan Modra <amodra@gmail.com>
265
266 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
267 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
268 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
269 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
270 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
271 tidying. Don't tail-call __sigjmp_save for static lib.
272 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
273 save location.
274 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
275 (CALL_MCOUNT): Add eh info, and nop after bl.
276 (TAIL_CALL_SYSCALL_ERROR): New macro.
277 (PSEUDO_RET): Use it.
278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
279 Correct save location of integer regs and cr.
280 (_dl_profile_resolve): Correct cr save location. Delete nops
281 after bl when SHARED. Reduce cfi size a little by better
282 placement of cfi directives.
283 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
284 make a stack frame. Instead use parm save area as a temp.
285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
286 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
288 Don't make a stack frame for parent, use parm save area.
289 Increase child stack frame to 112 bytes. Don't save unused reg,
290 and adjust reg usage. Set up cfi on error recovery and
291 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
293 (__makecontext): Add dummy nop after jump to exit.
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
295 Use correct parm save area and cr save, reduce stack frame.
296 Correct cfi for possible PSEUDO_RET frame setup.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
298 Branch to local label emitted by PSEUDO_RET rather than
299 __syscall_error.
300
02637374
AS
3012010-08-12 Andreas Schwab <schwab@redhat.com>
302
303 [BZ #11904]
304 * locale/programs/locale.c (print_assignment): New function.
305 (show_locale_vars): Use it.
306
c3e2f19b
UD
3072010-08-11 Ulrich Drepper <drepper@redhat.com>
308
3cdaa6ad
UD
309 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
310 field.
311 (struct statfs64): Likewise.
312 (_STATFS_F_FLAGS): Define.
313 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
315 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
316 (ST_VALID): Define locally.
317 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
318 __statvfs_getflags, use the provided value.
319 * sysdeps/unix/sysv/linux/kernel-features.h: Define
320 __ASSUME_STATFS_F_FLAGS.
321
754f7da3
UD
322 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
323
10b3bedc
UD
324 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
325 Add sys/fanotify.h.
326 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
327 fanotify_mask for GLIBC_2.13.
328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
329 fanotify_init and fanotify_mark.
330 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
331 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
332
c08fb0d7
UD
333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
334 Add prlimit.
335 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
336 prlimit64 for GLIBC_2.13.
337 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
338 prlimit64.
339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
340 syscall.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
343 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
344 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
346 add prlimit alias.
347 * sysdeps/unix/sysv/linux/prlimit.c: New file.
348
15bac72b
UD
349 [BZ #11903]
350 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
351 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
352
c3e2f19b
UD
353 * nss/Makefile: Add rules to build and run tst-nss-test1.
354 * shlib-versions: Add entry for libnss_test1.
355 * nss/nss_test1.c: New file.
356 * nss/tst-nss-test1.c: New file.
357
358 * nss/nsswitch.c (__nss_database_custom): Define new variable.
359 (__nss_configure_lookup): Set appropriate entry in
360 __nss_configure_lookup to true.
361 * nss/nsswitch.h: Define enum with indeces of databases in
362 databases and __nss_database_custom arrays. Declare
363 __nss_database_custom.
364 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
365 to avoid using nscd when custom rules are installed.
366 * nss/getXXbyYY_r.c: Likewise.
367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
368
369 * nss/nss_files/files-parse.c: Whitespace fixes.
370
f15ce4d8
UD
3712010-08-09 Ulrich Drepper <drepper@redhat.com>
372
373 [BZ #11883]
374 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
375 * posix/fnmatch_loop.c: Likewise.
376
d22e4cc9
AK
3772010-07-17 Andi Kleen <ak@linux.intel.com>
378
379 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
380 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
381 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
382 * Versions.def [GLIBC_2.13]: Add.
383
805bc17d
UD
3842010-08-06 Ulrich Drepper <drepper@redhat.com>
385
386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
387 Also fail if tpwd after pwuid call is NULL.
388
5a42321d
ST
3892010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
390
391 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
392 when converting to ms.
393
fd3ebeda
ST
3942010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
395
396 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
397 EOPNOTSUPP errors with ENOTTY.
398 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
399 EOPNOTSUPP errors with ENOTTY.
400
73507d3a
UD
4012010-07-31 Ulrich Drepper <drepper@redhat.com>
402
403 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
404 Add strcasecmp_l-ssse3.
405 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
406 strcasecmp.
407 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
408 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
409 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
410
fe36dd02
UD
4112010-07-30 Ulrich Drepper <drepper@redhat.com>
412
66f6765a
UD
413 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
414
42e08a54
UD
415 * string/Makefile (strop-tests): Add strcasecmp.
416 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
417 strcasecmp_l-nonascii.
418 (gen-as-const-headers): Add locale-defines.sym.
419 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
420 * sysdeps/x86_64/strcasecmp.S: New file.
421 * sysdeps/x86_64/strcasecmp_l.S: New file.
422 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
423 * sysdeps/x86_64/locale-defines.sym: New file.
424 * string/test-strcasecmp.c: New file.
425
fe36dd02
UD
426 * string/test-strcasestr.c: Test both ends of the range of characters.
427 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
428
48cbc0d6
RM
4292010-07-29 Roland McGrath <roland@redhat.com>
430
76e6d6bc 431 [BZ #11856]
48cbc0d6
RM
432 * manual/locale.texi (Yes-or-No Questions): Fix example code.
433
880113d9
UD
4342010-07-27 Ulrich Drepper <drepper@redhat.com>
435
436 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
437 for ld.so.
438
deb9cabb
AS
4392010-07-27 Andreas Schwab <schwab@redhat.com>
440
441 * manual/memory.texi (Malloc Tunable Parameters): Document
442 M_PERTURB.
443
1c7570ff
RM
4442010-07-26 Roland McGrath <roland@redhat.com>
445
446 [BZ #11840]
447 * configure.in (-fgnu89-inline check): Set and substitute
448 gnu89_inline, not libc_cv_gnu89_inline.
449 * configure: Regenerated.
450 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
451
24fb0f88
UD
4522010-07-26 Ulrich Drepper <drepper@redhat.com>
453
454 * string/test-strnlen.c: New file.
455 * string/Makefile (strop-tests): Add strnlen.
456 * string/tester.c (test_strnlen): Add a few more test cases.
457 * string/tst-strlen.c: Better error reporting.
458
459 * sysdeps/x86_64/strnlen.S: New file.
460
8e96b93a
UD
4612010-07-24 Ulrich Drepper <drepper@redhat.com>
462
463 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
464 lower-latency instructions.
465
dbc676d4
UD
4662010-07-23 Ulrich Drepper <drepper@redhat.com>
467
468 * string/test-strcasestr.c: New file.
469 * string/test-strstr.c: New file.
470 * string/Makefile (strop-tests): Add strstr and strcasestr.
471 * string/str-two-way.h: Don't undefine MAX.
472 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
473
f6a31e0e
AS
4742010-07-21 Andreas Schwab <schwab@redhat.com>
475
476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
477 strcasestr-nonascii.
478 (CFLAGS-strcasestr-nonascii.c): Define.
479 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
481 Remove unused attribute.
482
5dbc3b6c
RM
4832010-07-20 Roland McGrath <roland@redhat.com>
484
485 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
486 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
487 ld.so.cache was broken. With it, there is no way to disable dsocaps
488 like LD_HWCAP_MASK can disable hwcaps.
489
23d101d8
EPM
4902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
491
492 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
493
cc9f2e47
UD
4942010-07-16 Ulrich Drepper <drepper@redhat.com>
495
496 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
497 call in strcasestr.
498 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
499 __strcasestr_sse42_nonascii.
500 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
501 strcasestr-nonascii.c.
502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
503
77c1b069
LM
5042010-06-15 Luis Machado <luisgpm@br.ibm.com>
505
506 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
507 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
508 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
510
440566c3
UD
5112010-07-09 Ulrich Drepper <drepper@redhat.com>
512
513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
514 fcntl.
515
5be9d05d
AS
5162010-07-06 Andreas Schwab <schwab@redhat.com>
517
518 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
519 dl_signal_cerror.
520
8a492a67
UD
5212010-07-06 Ulrich Drepper <drepper@redhat.com>
522
523 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
524 _PC_PIPE_BUF using F_GETPIPE_SZ.
525
713df3d5
RM
5262010-07-05 Roland McGrath <roland@redhat.com>
527
528 * manual/arith.texi (Rounding Functions): Fix rint description
529 implicit in round description.
530
702e8f14
UD
5312010-07-02 Ulrich Drepper <drepper@redhat.com>
532
533 * elf/Makefile: Fix linking for a few tests to make recent linker
534 happy.
535
52ed8be9
AS
5362010-06-30 Andreas Schwab <schwab@redhat.com>
537
538 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
539 $(common-objpfx)libc_nonshared.a.
540
f47c9a11
LM
5412010-06-21 Luis Machado <luisgpm@br.ibm.com>
542
543 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
544 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
545 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
546 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
547 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
548 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
549 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
550 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
565 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
566 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
567 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
568 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
569 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
570 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
571 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
572 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
573 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
574 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
575 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
576 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
591
6fb8cbcb
L
5922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
593
594 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
595 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
596 * string/memmove.c (memmove): Renamed to ...
597 (MEMMOVE): ...this. Default to memmove.
598 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
599 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
600 (END_CHK): Define.
601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
602 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
603 mempcpy-ssse3-back memmove-ssse3-back.
604 * sysdeps/x86_64/multiarch/bcopy.S: New file .
605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
606 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
607 * sysdeps/x86_64/multiarch/memcpy.S: New file.
608 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
609 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
610 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
611 * sysdeps/x86_64/multiarch/memmove.c: New file.
612 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
613 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
614 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
615 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
616 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
618 Define.
619 (index_Fast_Copy_Backward): Define.
620 (HAS_ARCH_FEATURE): Define.
621 (HAS_FAST_REP_STRING): Define.
622 (HAS_FAST_COPY_BACKWARD): Define.
623
4e733bac 6242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
625
626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
627 Restore proper fallback handling.
628
63c4ed22
UD
6292010-06-19 Ulrich Drepper <drepper@redhat.com>
630
ac2b484c
UD
631 [BZ #11701]
632 * posix/group_member.c (__group_member): Correct checking loop.
633
63c4ed22
UD
634 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
635 OOM in getpwuid_r correctly. Return error number when the caller
636 should return, otherwise -1.
637 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
638 call returning > 0 value.
639 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
640
765ade4b
AS
6412010-06-07 Andreas Schwab <schwab@redhat.com>
642
643 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
644 libc_nonshared.a from targets in modules-names.
645
80da2e09
KS
6462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
647
648 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
649 requires it.
650
158db122
LM
6512010-06-10 Luis Machado <luisgpm@br.ibm.com>
652
653 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
657
caa78cf8
AS
6582010-06-02 Andreas Schwab <schwab@redhat.com>
659
660 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
661
b2ef2c01
UD
6622010-06-14 Ulrich Drepper <drepper@redhat.com>
663
664 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
665 and F_GETPIPE_SZ.
666 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
670 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
672
fbd643b6
RM
6732010-06-14 Roland McGrath <roland@redhat.com>
674
675 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
676
f32f2869
JJ
6772010-06-07 Jakub Jelinek <jakub@redhat.com>
678
679 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
680 __REDIRECT followed by __THROW.
681 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
682 * posix/getopt.h (getopt): Likewise.
683
2a50c078
EPM
6842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
685
686 * hurd/lookup-at.c (__file_name_lookup_at): Accept
687 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
688 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
689 in AT_FLAGS.
690 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
691 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
692
eb5ad2eb
LM
6932010-05-28 Luis Machado <luisgpm@br.ibm.com>
694
695 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
696
3c88fe1e
L
6972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
698
699 [BZ #11640]
700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
701 Properly check family and model.
702
d2f73151
TY
7032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
704
705 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
706
ebd2e13d
LM
7072010-05-24 Luis Machado <luisgpm@br.ibm.com>
708
709 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
710
b32b8b45
UD
7112010-05-21 Ulrich Drepper <drepper@redhat.com>
712
713 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
714 symbol reference.
715
9acbe24d
AS
7162010-05-19 Andreas Schwab <schwab@redhat.com>
717
718 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
719 symbol reference.
720
f0ccf6ea
AS
7212010-05-21 Andreas Schwab <schwab@redhat.com>
722
3d04ff3a
AS
723 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
724 and internal_recvmmsg.
725 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
726 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
727 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
728 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
729
f0ccf6ea
AS
730 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
731 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
732 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
733
5b08ac57
AS
7342010-05-20 Andreas Schwab <schwab@redhat.com>
735
736 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
737
4828935d
LM
7382010-05-17 Luis Machado <luisgpm@br.ibm.com>
739
740 POWER7 optimizations.
741 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
742 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
743
373d545e
UD
7442010-05-19 Ulrich Drepper <drepper@redhat.com>
745
746 * version.h: Update for 2.13 development version.
747
21a2b1ae
AS
7482010-05-12 Andrew Stubbs <ams@codesourcery.com>
749
750 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
751 exceptions. Return 0.
752
3f7dcb2b
RM
7532010-05-07 Roland McGrath <roland@redhat.com>
754
755 * elf/ldconfig.c (main): Add a const.
756
5f24d53a 7572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 758
a160f8d8
UD
759 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
760 (args_options): Add no-idn option.
761 (ahosts_keys_int): Add idn_flags to ai_flags.
762 (parse_option): Handle 'i' option to clear idn_flags.
763
5f24d53a
UD
764 * malloc/malloc.c (_int_free): Possible race in the most recently
765 added check. Only act on the data if no current modification
766 happened.
265bb1ce
UD
767
768See ChangeLog.17 for earlier changes.