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