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