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