1 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
2 Ulrich Drepper <drepper@redhat.com>
5 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6 (____longjmp_chk): Use %ebx for saving value across system call.
9 2010-09-06 Andreas Schwab <schwab@redhat.com>
11 * manual/Makefile: Don't mix pattern rules with normal rules.
13 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33 * sysdeps/x86_64/addmul_1.S: Likewise.
34 * sysdeps/x86_64/lshift.S: Likewise.
35 * sysdeps/x86_64/mul_1.S: Likewise.
36 * sysdeps/x86_64/rshift.S: Likewise.
37 * sysdeps/x86_64/sub_n.S: Likewise.
38 * sysdeps/x86_64/submul_1.S: Likewise.
40 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43 Define __sched_param instead of SCHED_* and sched_param when
44 <bits/sched.h> is included with __need_schedparam defined.
45 * bits/sched.h [__need_schedparam]
46 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48 (__defined_schedparam): Define to 1.
49 (__sched_param): New structure, identical to sched_param.
50 (__need_schedparam): Undefine.
52 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55 (epoll_create1): Declare.
57 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59 2010-08-31 Andreas Schwab <schwab@redhat.com>
62 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63 shifting retval into place.
65 2010-09-01 Ulrich Drepper <drepper@redhat.com>
67 * nis/rpcsvc/nis.h: Update copyright notice.
68 * nis/rpcsvc/nis.x: Likewise.
69 * nis/rpcsvc/nis_callback.h: Likewise.
70 * nis/rpcsvc/nis_callback.x: Likewise.
71 * nis/rpcsvc/nis_object.x: Likewise.
72 * nis/rpcsvc/nis_tags.h: Likewise.
73 * nis/rpcsvc/yp.h: Likewise.
74 * nis/rpcsvc/yp.x: Likewise.
75 * nis/rpcsvc/ypupd.h: Likewise.
76 * nis/yp_xdr.c: Likewise.
77 * nis/ypupdate_xdr.c: Likewise.
79 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
80 mainly the body of pmap_getport. Add parameters to specify timeouts.
81 (pmap_getport): Use __libc_rpc_getport.
82 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
83 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
86 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
91 2010-08-27 Roland McGrath <roland@redhat.com>
93 * sysdeps/i386/i686/multiarch/Makefile
94 (CFLAGS-varshift.c): New variable.
96 2010-08-27 Ulrich Drepper <drepper@redhat.com>
98 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
99 * sysdeps/i386/i686/multiarch/varshift.c: New file.
101 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
103 * sysdeps/x86_64/strlen.S: Minimal code improvement.
105 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
107 * sysdeps/x86_64/strlen.S: Unroll the loop.
108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
109 strlen-sse2 strlen-sse2-bsf.
110 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
111 __strlen_no_bsf if bit_Slow_BSF is set.
112 (__strlen_sse42): Removed.
113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
114 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
116 2010-08-25 Roland McGrath <roland@redhat.com>
118 * sysdeps/x86_64/multiarch/varshift.S: File removed.
119 * sysdeps/x86_64/multiarch/varshift.c: New file.
120 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
121 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
122 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
123 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
125 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
127 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
128 strlen-sse2 strlen-sse2-bsf.
129 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
130 __strlen_sse2_bsf if bit_Slow_BSF is unset.
131 (__strlen_sse2): Removed.
132 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
133 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
135 bit_Slow_BSF for Atom.
136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
137 (index_Slow_BSF): Define.
138 (HAS_SLOW_BSF): Define.
140 2010-08-25 Ulrich Drepper <drepper@redhat.com>
143 * resolv/res_init.c (__res_vinit): When no server address at all
144 is given default to loopback.
146 2010-08-24 Roland McGrath <roland@redhat.com>
148 * configure.in: Remove config-name.h generation.
149 * configure: Regenerated.
150 * config-name.in: File removed.
151 * scripts/config-uname.sh: New file.
152 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
153 ($(objdir)config-name.h): New target.
155 * sunrpc/rpc_parse.h: Avoid nested comment.
157 2010-08-24 Richard Henderson <rth@redhat.com>
158 Ulrich Drepper <drepper@redhat.com>
159 H.J. Lu <hongjiu.lu@intel.com>
161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
163 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
164 Replace _mm_srli_si128 with __m128i_shift_right. Replace
165 _mm_alignr_epi8 with _mm_loadu_si128.
166 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
167 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
168 (__m128i_shift_right): Removed.
169 * sysdeps/i386/i686/multiarch/varshift.h: New file.
170 * sysdeps/i386/i686/multiarch/varshift.S: New file.
171 * sysdeps/x86_64/multiarch/varshift.h: New file.
172 * sysdeps/x86_64/multiarch/varshift.S: New file.
174 2010-08-21 Mike Frysinger <vapier@gentoo.org>
176 * configure.in: Move assembler checks to before sysdep dir checking.
178 2010-08-20 Petr Baudis <pasky@suse.cz>
180 * LICENSES: Sync the sunrpc license.
182 2010-08-19 Ulrich Drepper <drepper@redhat.com>
184 * sunrpc/auth_des.c: Update copyright notice once again.
185 * sunrpc/auth_none.c: Likewise.
186 * sunrpc/auth_unix.c: Likewise.
187 * sunrpc/authdes_prot.c: Likewise.
188 * sunrpc/authuxprot.c: Likewise.
189 * sunrpc/bindrsvprt.c: Likewise.
190 * sunrpc/clnt_gen.c: Likewise.
191 * sunrpc/clnt_perr.c: Likewise.
192 * sunrpc/clnt_raw.c: Likewise.
193 * sunrpc/clnt_simp.c: Likewise.
194 * sunrpc/clnt_tcp.c: Likewise.
195 * sunrpc/clnt_udp.c: Likewise.
196 * sunrpc/clnt_unix.c: Likewise.
197 * sunrpc/des_crypt.c: Likewise.
198 * sunrpc/des_soft.c: Likewise.
199 * sunrpc/get_myaddr.c: Likewise.
200 * sunrpc/getrpcport.c: Likewise.
201 * sunrpc/key_call.c: Likewise.
202 * sunrpc/key_prot.c: Likewise.
203 * sunrpc/openchild.c: Likewise.
204 * sunrpc/pm_getmaps.c: Likewise.
205 * sunrpc/pm_getport.c: Likewise.
206 * sunrpc/pmap_clnt.c: Likewise.
207 * sunrpc/pmap_prot.c: Likewise.
208 * sunrpc/pmap_prot2.c: Likewise.
209 * sunrpc/pmap_rmt.c: Likewise.
210 * sunrpc/rpc/auth.h: Likewise.
211 * sunrpc/rpc/auth_unix.h: Likewise.
212 * sunrpc/rpc/clnt.h: Likewise.
213 * sunrpc/rpc/des_crypt.h: Likewise.
214 * sunrpc/rpc/key_prot.h: Likewise.
215 * sunrpc/rpc/netdb.h: Likewise.
216 * sunrpc/rpc/pmap_clnt.h: Likewise.
217 * sunrpc/rpc/pmap_prot.h: Likewise.
218 * sunrpc/rpc/pmap_rmt.h: Likewise.
219 * sunrpc/rpc/rpc.h: Likewise.
220 * sunrpc/rpc/rpc_des.h: Likewise.
221 * sunrpc/rpc/rpc_msg.h: Likewise.
222 * sunrpc/rpc/svc.h: Likewise.
223 * sunrpc/rpc/svc_auth.h: Likewise.
224 * sunrpc/rpc/types.h: Likewise.
225 * sunrpc/rpc/xdr.h: Likewise.
226 * sunrpc/rpc_clntout.c: Likewise.
227 * sunrpc/rpc_cmsg.c: Likewise.
228 * sunrpc/rpc_common.c: Likewise.
229 * sunrpc/rpc_cout.c: Likewise.
230 * sunrpc/rpc_dtable.c: Likewise.
231 * sunrpc/rpc_hout.c: Likewise.
232 * sunrpc/rpc_main.c: Likewise.
233 * sunrpc/rpc_parse.c: Likewise.
234 * sunrpc/rpc_parse.h: Likewise.
235 * sunrpc/rpc_prot.c: Likewise.
236 * sunrpc/rpc_sample.c: Likewise.
237 * sunrpc/rpc_scan.c: Likewise.
238 * sunrpc/rpc_scan.h: Likewise.
239 * sunrpc/rpc_svcout.c: Likewise.
240 * sunrpc/rpc_tblout.c: Likewise.
241 * sunrpc/rpc_util.c: Likewise.
242 * sunrpc/rpc_util.h: Likewise.
243 * sunrpc/rpcinfo.c: Likewise.
244 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
245 * sunrpc/rpcsvc/key_prot.x: Likewise.
246 * sunrpc/rpcsvc/klm_prot.x: Likewise.
247 * sunrpc/rpcsvc/mount.x: Likewise.
248 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
249 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
250 * sunrpc/rpcsvc/rex.x: Likewise.
251 * sunrpc/rpcsvc/rstat.x: Likewise.
252 * sunrpc/rpcsvc/rusers.x: Likewise.
253 * sunrpc/rpcsvc/sm_inter.x: Likewise.
254 * sunrpc/rpcsvc/spray.x: Likewise.
255 * sunrpc/rpcsvc/yppasswd.x: Likewise.
256 * sunrpc/rtime.c: Likewise.
257 * sunrpc/svc.c: Likewise.
258 * sunrpc/svc_auth.c: Likewise.
259 * sunrpc/svc_authux.c: Likewise.
260 * sunrpc/svc_raw.c: Likewise.
261 * sunrpc/svc_run.c: Likewise.
262 * sunrpc/svc_simple.c: Likewise.
263 * sunrpc/svc_tcp.c: Likewise.
264 * sunrpc/svc_udp.c: Likewise.
265 * sunrpc/svc_unix.c: Likewise.
266 * sunrpc/svcauth_des.c: Likewise.
267 * sunrpc/xcrypt.c: Likewise.
268 * sunrpc/xdr.c: Likewise.
269 * sunrpc/xdr_array.c: Likewise.
270 * sunrpc/xdr_float.c: Likewise.
271 * sunrpc/xdr_mem.c: Likewise.
272 * sunrpc/xdr_rec.c: Likewise.
273 * sunrpc/xdr_ref.c: Likewise.
274 * sunrpc/xdr_sizeof.c: Likewise.
275 * sunrpc/xdr_stdio.c: Likewise.
277 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
280 2010-08-19 Andreas Schwab <schwab@redhat.com>
282 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
284 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
286 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
287 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
288 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
289 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
290 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
291 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
292 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
293 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
295 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
296 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
297 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
298 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
299 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
301 2010-07-26 Anton Blanchard <anton@samba.org>
303 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
304 * malloc/arena.c (heap_trim): Likewise.
306 2010-08-16 Ulrich Drepper <drepper@redhat.com>
308 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
310 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
311 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
313 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
315 * sysdeps/i386/elf/Makefile: New file.
317 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
319 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
322 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
324 2010-08-15 Ulrich Drepper <drepper@redhat.com>
326 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
328 * sysdeps/multiarch/strcmp.S: Likewise.
330 2010-08-14 Ulrich Drepper <drepper@redhat.com>
332 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
334 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
335 Add strncase_l-ssse3.
336 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
337 * sysdeps/x86_64/strcmp.S: Likewise.
338 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
339 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
340 * sysdeps/x86_64/strncase.S: New file.
341 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
342 * sysdeps/x86_64/strncase_l.S: New file.
343 * string/Makefile (strop-tests): Add strncasecmp.
344 * string/test-strncasecmp.c: New file.
346 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
349 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
350 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
352 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
354 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
356 2010-08-12 Ulrich Drepper <drepper@redhat.com>
358 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
359 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
360 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
362 2010-05-01 Alan Modra <amodra@gmail.com>
364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
365 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
366 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
367 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
368 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
369 tidying. Don't tail-call __sigjmp_save for static lib.
370 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
372 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
373 (CALL_MCOUNT): Add eh info, and nop after bl.
374 (TAIL_CALL_SYSCALL_ERROR): New macro.
375 (PSEUDO_RET): Use it.
376 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
377 Correct save location of integer regs and cr.
378 (_dl_profile_resolve): Correct cr save location. Delete nops
379 after bl when SHARED. Reduce cfi size a little by better
380 placement of cfi directives.
381 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
382 make a stack frame. Instead use parm save area as a temp.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
384 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
386 Don't make a stack frame for parent, use parm save area.
387 Increase child stack frame to 112 bytes. Don't save unused reg,
388 and adjust reg usage. Set up cfi on error recovery and
389 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
391 (__makecontext): Add dummy nop after jump to exit.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
393 Use correct parm save area and cr save, reduce stack frame.
394 Correct cfi for possible PSEUDO_RET frame setup.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
396 Branch to local label emitted by PSEUDO_RET rather than
399 2010-08-12 Andreas Schwab <schwab@redhat.com>
402 * locale/programs/locale.c (print_assignment): New function.
403 (show_locale_vars): Use it.
405 2010-08-11 Ulrich Drepper <drepper@redhat.com>
407 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
409 (struct statfs64): Likewise.
410 (_STATFS_F_FLAGS): Define.
411 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
413 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
414 (ST_VALID): Define locally.
415 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
416 __statvfs_getflags, use the provided value.
417 * sysdeps/unix/sysv/linux/kernel-features.h: Define
418 __ASSUME_STATFS_F_FLAGS.
420 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
422 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
424 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
425 fanotify_mask for GLIBC_2.13.
426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
427 fanotify_init and fanotify_mark.
428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
429 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
431 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
433 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
434 prlimit64 for GLIBC_2.13.
435 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
440 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
441 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
442 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
445 * sysdeps/unix/sysv/linux/prlimit.c: New file.
448 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
449 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
451 * nss/Makefile: Add rules to build and run tst-nss-test1.
452 * shlib-versions: Add entry for libnss_test1.
453 * nss/nss_test1.c: New file.
454 * nss/tst-nss-test1.c: New file.
456 * nss/nsswitch.c (__nss_database_custom): Define new variable.
457 (__nss_configure_lookup): Set appropriate entry in
458 __nss_configure_lookup to true.
459 * nss/nsswitch.h: Define enum with indeces of databases in
460 databases and __nss_database_custom arrays. Declare
461 __nss_database_custom.
462 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
463 to avoid using nscd when custom rules are installed.
464 * nss/getXXbyYY_r.c: Likewise.
465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
467 * nss/nss_files/files-parse.c: Whitespace fixes.
469 2010-08-09 Ulrich Drepper <drepper@redhat.com>
472 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
473 * posix/fnmatch_loop.c: Likewise.
475 2010-07-17 Andi Kleen <ak@linux.intel.com>
477 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
478 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
479 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
480 * Versions.def [GLIBC_2.13]: Add.
482 2010-08-06 Ulrich Drepper <drepper@redhat.com>
484 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
485 Also fail if tpwd after pwuid call is NULL.
487 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
489 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
490 when converting to ms.
492 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
494 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
495 EOPNOTSUPP errors with ENOTTY.
496 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
497 EOPNOTSUPP errors with ENOTTY.
499 2010-07-31 Ulrich Drepper <drepper@redhat.com>
501 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
502 Add strcasecmp_l-ssse3.
503 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
505 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
506 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
507 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
509 2010-07-30 Ulrich Drepper <drepper@redhat.com>
511 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
513 * string/Makefile (strop-tests): Add strcasecmp.
514 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
515 strcasecmp_l-nonascii.
516 (gen-as-const-headers): Add locale-defines.sym.
517 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
518 * sysdeps/x86_64/strcasecmp.S: New file.
519 * sysdeps/x86_64/strcasecmp_l.S: New file.
520 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
521 * sysdeps/x86_64/locale-defines.sym: New file.
522 * string/test-strcasecmp.c: New file.
524 * string/test-strcasestr.c: Test both ends of the range of characters.
525 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
527 2010-07-29 Roland McGrath <roland@redhat.com>
530 * manual/locale.texi (Yes-or-No Questions): Fix example code.
532 2010-07-27 Ulrich Drepper <drepper@redhat.com>
534 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
537 2010-07-27 Andreas Schwab <schwab@redhat.com>
539 * manual/memory.texi (Malloc Tunable Parameters): Document
542 2010-07-26 Roland McGrath <roland@redhat.com>
545 * configure.in (-fgnu89-inline check): Set and substitute
546 gnu89_inline, not libc_cv_gnu89_inline.
547 * configure: Regenerated.
548 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
550 2010-07-26 Ulrich Drepper <drepper@redhat.com>
552 * string/test-strnlen.c: New file.
553 * string/Makefile (strop-tests): Add strnlen.
554 * string/tester.c (test_strnlen): Add a few more test cases.
555 * string/tst-strlen.c: Better error reporting.
557 * sysdeps/x86_64/strnlen.S: New file.
559 2010-07-24 Ulrich Drepper <drepper@redhat.com>
561 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
562 lower-latency instructions.
564 2010-07-23 Ulrich Drepper <drepper@redhat.com>
566 * string/test-strcasestr.c: New file.
567 * string/test-strstr.c: New file.
568 * string/Makefile (strop-tests): Add strstr and strcasestr.
569 * string/str-two-way.h: Don't undefine MAX.
570 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
572 2010-07-21 Andreas Schwab <schwab@redhat.com>
574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
576 (CFLAGS-strcasestr-nonascii.c): Define.
577 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
578 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
579 Remove unused attribute.
581 2010-07-20 Roland McGrath <roland@redhat.com>
583 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
584 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
585 ld.so.cache was broken. With it, there is no way to disable dsocaps
586 like LD_HWCAP_MASK can disable hwcaps.
588 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
590 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
592 2010-07-16 Ulrich Drepper <drepper@redhat.com>
594 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
596 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
597 __strcasestr_sse42_nonascii.
598 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
599 strcasestr-nonascii.c.
600 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
602 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
604 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
606 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
607 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
609 2010-07-09 Ulrich Drepper <drepper@redhat.com>
611 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
614 2010-07-06 Andreas Schwab <schwab@redhat.com>
616 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
619 2010-07-06 Ulrich Drepper <drepper@redhat.com>
621 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
622 _PC_PIPE_BUF using F_GETPIPE_SZ.
624 2010-07-05 Roland McGrath <roland@redhat.com>
626 * manual/arith.texi (Rounding Functions): Fix rint description
627 implicit in round description.
629 2010-07-02 Ulrich Drepper <drepper@redhat.com>
631 * elf/Makefile: Fix linking for a few tests to make recent linker
634 2010-06-30 Andreas Schwab <schwab@redhat.com>
636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
637 $(common-objpfx)libc_nonshared.a.
639 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
641 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
642 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
643 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
644 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
645 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
646 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
647 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
648 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
663 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
664 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
665 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
666 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
667 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
668 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
669 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
670 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
671 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
672 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
673 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
674 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
690 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
692 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
693 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
694 * string/memmove.c (memmove): Renamed to ...
695 (MEMMOVE): ...this. Default to memmove.
696 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
697 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
700 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
701 mempcpy-ssse3-back memmove-ssse3-back.
702 * sysdeps/x86_64/multiarch/bcopy.S: New file .
703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
705 * sysdeps/x86_64/multiarch/memcpy.S: New file.
706 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
707 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
708 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
709 * sysdeps/x86_64/multiarch/memmove.c: New file.
710 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
711 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
712 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
713 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
714 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
715 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
717 (index_Fast_Copy_Backward): Define.
718 (HAS_ARCH_FEATURE): Define.
719 (HAS_FAST_REP_STRING): Define.
720 (HAS_FAST_COPY_BACKWARD): Define.
722 2010-06-21 Andreas Schwab <schwab@redhat.com>
724 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
725 Restore proper fallback handling.
727 2010-06-19 Ulrich Drepper <drepper@redhat.com>
730 * posix/group_member.c (__group_member): Correct checking loop.
732 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
733 OOM in getpwuid_r correctly. Return error number when the caller
734 should return, otherwise -1.
735 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
736 call returning > 0 value.
737 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
739 2010-06-07 Andreas Schwab <schwab@redhat.com>
741 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
742 libc_nonshared.a from targets in modules-names.
744 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
746 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
749 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
751 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
753 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
756 2010-06-02 Andreas Schwab <schwab@redhat.com>
758 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
760 2010-06-14 Ulrich Drepper <drepper@redhat.com>
762 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
769 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
771 2010-06-14 Roland McGrath <roland@redhat.com>
773 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
775 2010-06-07 Jakub Jelinek <jakub@redhat.com>
777 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
778 __REDIRECT followed by __THROW.
779 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
780 * posix/getopt.h (getopt): Likewise.
782 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
784 * hurd/lookup-at.c (__file_name_lookup_at): Accept
785 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
786 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
788 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
789 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
791 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
793 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
795 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
799 Properly check family and model.
801 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
803 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
805 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
807 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
809 2010-05-21 Ulrich Drepper <drepper@redhat.com>
811 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
814 2010-05-19 Andreas Schwab <schwab@redhat.com>
816 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
819 2010-05-21 Andreas Schwab <schwab@redhat.com>
821 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
822 and internal_recvmmsg.
823 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
824 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
825 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
826 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
828 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
829 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
830 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
832 2010-05-20 Andreas Schwab <schwab@redhat.com>
834 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
836 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
838 POWER7 optimizations.
839 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
840 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
842 2010-05-19 Ulrich Drepper <drepper@redhat.com>
844 * version.h: Update for 2.13 development version.
846 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
848 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
849 exceptions. Return 0.
851 2010-05-07 Roland McGrath <roland@redhat.com>
853 * elf/ldconfig.c (main): Add a const.
855 2010-05-06 Ulrich Drepper <drepper@redhat.com>
857 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
858 (args_options): Add no-idn option.
859 (ahosts_keys_int): Add idn_flags to ai_flags.
860 (parse_option): Handle 'i' option to clear idn_flags.
862 * malloc/malloc.c (_int_free): Possible race in the most recently
863 added check. Only act on the data if no current modification
866 See ChangeLog.17 for earlier changes.