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