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