Support fanotify_mark syscall on powerpc32
[glibc.git] / ChangeLog
blob834be75bfd16a2dab3bdf181d513e018fbb40320
1 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4         fanotify_mark.
6 2010-08-27  Roland McGrath  <roland@redhat.com>
8         * sysdeps/i386/i686/multiarch/Makefile
9         (CFLAGS-varshift.c): New variable.
11 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14         * sysdeps/i386/i686/multiarch/varshift.c: New file.
16         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18         * sysdeps/x86_64/strlen.S: Minimal code improvement.
20 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22         * sysdeps/x86_64/strlen.S: Unroll the loop.
23         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24         strlen-sse2 strlen-sse2-bsf.
25         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26         __strlen_no_bsf if bit_Slow_BSF is set.
27         (__strlen_sse42): Removed.
28         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
29         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31 2010-08-25  Roland McGrath  <roland@redhat.com>
33         * sysdeps/x86_64/multiarch/varshift.S: File removed.
34         * sysdeps/x86_64/multiarch/varshift.c: New file.
35         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
42         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43         strlen-sse2 strlen-sse2-bsf.
44         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46         (__strlen_sse2): Removed.
47         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50         bit_Slow_BSF for Atom.
51         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52         (index_Slow_BSF): Define.
53         (HAS_SLOW_BSF): Define.
55 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57         [BZ #10851]
58         * resolv/res_init.c (__res_vinit): When no server address at all
59         is given default to loopback.
61 2010-08-24  Roland McGrath  <roland@redhat.com>
63         * configure.in: Remove config-name.h generation.
64         * configure: Regenerated.
65         * config-name.in: File removed.
66         * scripts/config-uname.sh: New file.
67         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68         ($(objdir)config-name.h): New target.
70         * sunrpc/rpc_parse.h: Avoid nested comment.
72 2010-08-24  Richard Henderson  <rth@redhat.com>
73             Ulrich Drepper  <drepper@redhat.com>
74             H.J. Lu  <hongjiu.lu@intel.com>
76         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80         _mm_alignr_epi8 with _mm_loadu_si128.
81         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
83         (__m128i_shift_right): Removed.
84         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85         * sysdeps/i386/i686/multiarch/varshift.S: New file.
86         * sysdeps/x86_64/multiarch/varshift.h: New file.
87         * sysdeps/x86_64/multiarch/varshift.S: New file.
89 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
91         * configure.in: Move assembler checks to before sysdep dir checking.
93 2010-08-20  Petr Baudis  <pasky@suse.cz>
95         * LICENSES: Sync the sunrpc license.
97 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
99         * sunrpc/auth_des.c: Update copyright notice once again.
100         * sunrpc/auth_none.c: Likewise.
101         * sunrpc/auth_unix.c: Likewise.
102         * sunrpc/authdes_prot.c: Likewise.
103         * sunrpc/authuxprot.c: Likewise.
104         * sunrpc/bindrsvprt.c: Likewise.
105         * sunrpc/clnt_gen.c: Likewise.
106         * sunrpc/clnt_perr.c: Likewise.
107         * sunrpc/clnt_raw.c: Likewise.
108         * sunrpc/clnt_simp.c: Likewise.
109         * sunrpc/clnt_tcp.c: Likewise.
110         * sunrpc/clnt_udp.c: Likewise.
111         * sunrpc/clnt_unix.c: Likewise.
112         * sunrpc/des_crypt.c: Likewise.
113         * sunrpc/des_soft.c: Likewise.
114         * sunrpc/get_myaddr.c: Likewise.
115         * sunrpc/getrpcport.c: Likewise.
116         * sunrpc/key_call.c: Likewise.
117         * sunrpc/key_prot.c: Likewise.
118         * sunrpc/openchild.c: Likewise.
119         * sunrpc/pm_getmaps.c: Likewise.
120         * sunrpc/pm_getport.c: Likewise.
121         * sunrpc/pmap_clnt.c: Likewise.
122         * sunrpc/pmap_prot.c: Likewise.
123         * sunrpc/pmap_prot2.c: Likewise.
124         * sunrpc/pmap_rmt.c: Likewise.
125         * sunrpc/rpc/auth.h: Likewise.
126         * sunrpc/rpc/auth_unix.h: Likewise.
127         * sunrpc/rpc/clnt.h: Likewise.
128         * sunrpc/rpc/des_crypt.h: Likewise.
129         * sunrpc/rpc/key_prot.h: Likewise.
130         * sunrpc/rpc/netdb.h: Likewise.
131         * sunrpc/rpc/pmap_clnt.h: Likewise.
132         * sunrpc/rpc/pmap_prot.h: Likewise.
133         * sunrpc/rpc/pmap_rmt.h: Likewise.
134         * sunrpc/rpc/rpc.h: Likewise.
135         * sunrpc/rpc/rpc_des.h: Likewise.
136         * sunrpc/rpc/rpc_msg.h: Likewise.
137         * sunrpc/rpc/svc.h: Likewise.
138         * sunrpc/rpc/svc_auth.h: Likewise.
139         * sunrpc/rpc/types.h: Likewise.
140         * sunrpc/rpc/xdr.h: Likewise.
141         * sunrpc/rpc_clntout.c: Likewise.
142         * sunrpc/rpc_cmsg.c: Likewise.
143         * sunrpc/rpc_common.c: Likewise.
144         * sunrpc/rpc_cout.c: Likewise.
145         * sunrpc/rpc_dtable.c: Likewise.
146         * sunrpc/rpc_hout.c: Likewise.
147         * sunrpc/rpc_main.c: Likewise.
148         * sunrpc/rpc_parse.c: Likewise.
149         * sunrpc/rpc_parse.h: Likewise.
150         * sunrpc/rpc_prot.c: Likewise.
151         * sunrpc/rpc_sample.c: Likewise.
152         * sunrpc/rpc_scan.c: Likewise.
153         * sunrpc/rpc_scan.h: Likewise.
154         * sunrpc/rpc_svcout.c: Likewise.
155         * sunrpc/rpc_tblout.c: Likewise.
156         * sunrpc/rpc_util.c: Likewise.
157         * sunrpc/rpc_util.h: Likewise.
158         * sunrpc/rpcinfo.c: Likewise.
159         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
160         * sunrpc/rpcsvc/key_prot.x: Likewise.
161         * sunrpc/rpcsvc/klm_prot.x: Likewise.
162         * sunrpc/rpcsvc/mount.x: Likewise.
163         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
164         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
165         * sunrpc/rpcsvc/rex.x: Likewise.
166         * sunrpc/rpcsvc/rstat.x: Likewise.
167         * sunrpc/rpcsvc/rusers.x: Likewise.
168         * sunrpc/rpcsvc/sm_inter.x: Likewise.
169         * sunrpc/rpcsvc/spray.x: Likewise.
170         * sunrpc/rpcsvc/yppasswd.x: Likewise.
171         * sunrpc/rtime.c: Likewise.
172         * sunrpc/svc.c: Likewise.
173         * sunrpc/svc_auth.c: Likewise.
174         * sunrpc/svc_authux.c: Likewise.
175         * sunrpc/svc_raw.c: Likewise.
176         * sunrpc/svc_run.c: Likewise.
177         * sunrpc/svc_simple.c: Likewise.
178         * sunrpc/svc_tcp.c: Likewise.
179         * sunrpc/svc_udp.c: Likewise.
180         * sunrpc/svc_unix.c: Likewise.
181         * sunrpc/svcauth_des.c: Likewise.
182         * sunrpc/xcrypt.c: Likewise.
183         * sunrpc/xdr.c: Likewise.
184         * sunrpc/xdr_array.c: Likewise.
185         * sunrpc/xdr_float.c: Likewise.
186         * sunrpc/xdr_mem.c: Likewise.
187         * sunrpc/xdr_rec.c: Likewise.
188         * sunrpc/xdr_ref.c: Likewise.
189         * sunrpc/xdr_sizeof.c: Likewise.
190         * sunrpc/xdr_stdio.c: Likewise.
192         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
193         handling.
195 2010-08-19  Andreas Schwab  <schwab@redhat.com>
197         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
199 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
201         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
202         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
203         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
204         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
205         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
206         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
207         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
208         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
209         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
210         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
211         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
212         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
213         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
214         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
216 2010-07-26  Anton Blanchard  <anton@samba.org>
218         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
219         * malloc/arena.c (heap_trim): Likewise.
221 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
223         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
224         here.  Not...
225         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
226         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
228 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
230         * sysdeps/i386/elf/Makefile: New file.
232 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
234         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
235         from fanotify_init.
236         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
239 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
241         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
242         of strncasecmp_l.
243         * sysdeps/multiarch/strcmp.S: Likewise.
245 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
247         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
248         strncase_l-nonascii.
249         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
250         Add strncase_l-ssse3.
251         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
252         * sysdeps/x86_64/strcmp.S: Likewise.
253         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
254         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
255         * sysdeps/x86_64/strncase.S: New file.
256         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
257         * sysdeps/x86_64/strncase_l.S: New file.
258         * string/Makefile (strop-tests): Add strncasecmp.
259         * string/test-strncasecmp.c: New file.
261         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
262         warning.
264         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
265         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
267 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
269         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
271 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
273         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
274         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
275         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
277 2010-05-01  Alan Modra  <amodra@gmail.com>
279         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
280         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
281         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
282         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
283         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
284         tidying.  Don't tail-call __sigjmp_save for static lib.
285         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
286         save location.
287         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
288         (CALL_MCOUNT): Add eh info, and nop after bl.
289         (TAIL_CALL_SYSCALL_ERROR): New macro.
290         (PSEUDO_RET): Use it.
291         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
292         Correct save location of integer regs and cr.
293         (_dl_profile_resolve): Correct cr save location.  Delete nops
294         after bl when SHARED.  Reduce cfi size a little by better
295         placement of cfi directives.
296         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
297         make a stack frame.  Instead use parm save area as a temp.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
299         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
301         Don't make a stack frame for parent, use parm save area.
302         Increase child stack frame to 112 bytes.  Don't save unused reg,
303         and adjust reg usage.  Set up cfi on error recovery and
304         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
306         (__makecontext): Add dummy nop after jump to exit.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
308         Use correct parm save area and cr save, reduce stack frame.
309         Correct cfi for possible PSEUDO_RET frame setup.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
311         Branch to local label emitted by PSEUDO_RET rather than
312         __syscall_error.
314 2010-08-12  Andreas Schwab  <schwab@redhat.com>
316         [BZ #11904]
317         * locale/programs/locale.c (print_assignment): New function.
318         (show_locale_vars): Use it.
320 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
322         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
323         field.
324         (struct statfs64): Likewise.
325         (_STATFS_F_FLAGS): Define.
326         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
328         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
329         (ST_VALID): Define locally.
330         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
331         __statvfs_getflags, use the provided value.
332         * sysdeps/unix/sysv/linux/kernel-features.h: Define
333         __ASSUME_STATFS_F_FLAGS.
335         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
337         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
338         Add sys/fanotify.h.
339         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
340         fanotify_mask for GLIBC_2.13.
341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
342         fanotify_init and fanotify_mark.
343         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
344         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
346         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
347         Add prlimit.
348         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
349         prlimit64 for GLIBC_2.13.
350         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
351         prlimit64.
352         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
353         syscall.
354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
356         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
357         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
358         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
359         add prlimit alias.
360         * sysdeps/unix/sysv/linux/prlimit.c: New file.
362         [BZ #11903]
363         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
364         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
366         * nss/Makefile: Add rules to build and run tst-nss-test1.
367         * shlib-versions: Add entry for libnss_test1.
368         * nss/nss_test1.c: New file.
369         * nss/tst-nss-test1.c: New file.
371         * nss/nsswitch.c (__nss_database_custom): Define new variable.
372         (__nss_configure_lookup): Set appropriate entry in
373         __nss_configure_lookup to true.
374         * nss/nsswitch.h: Define enum with indeces of databases in
375         databases and __nss_database_custom arrays.  Declare
376         __nss_database_custom.
377         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
378         to avoid using nscd when custom rules are installed.
379         * nss/getXXbyYY_r.c: Likewise.
380         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
382         * nss/nss_files/files-parse.c: Whitespace fixes.
384 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
386         [BZ #11883]
387         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
388         * posix/fnmatch_loop.c: Likewise.
390 2010-07-17  Andi Kleen  <ak@linux.intel.com>
392         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
393         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
394         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
395         * Versions.def [GLIBC_2.13]: Add.
397 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
399         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
400         Also fail if tpwd after pwuid call is NULL.
402 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
404         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
405         when converting to ms.
407 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
409         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
410         EOPNOTSUPP errors with ENOTTY.
411         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
412         EOPNOTSUPP errors with ENOTTY.
414 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
416         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
417         Add strcasecmp_l-ssse3.
418         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
419         strcasecmp.
420         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
421         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
422         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
424 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
426         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
428         * string/Makefile (strop-tests): Add strcasecmp.
429         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
430         strcasecmp_l-nonascii.
431         (gen-as-const-headers): Add locale-defines.sym.
432         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
433         * sysdeps/x86_64/strcasecmp.S: New file.
434         * sysdeps/x86_64/strcasecmp_l.S: New file.
435         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
436         * sysdeps/x86_64/locale-defines.sym: New file.
437         * string/test-strcasecmp.c: New file.
439         * string/test-strcasestr.c: Test both ends of the range of characters.
440         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
442 2010-07-29  Roland McGrath  <roland@redhat.com>
444         [BZ #11856]
445         * manual/locale.texi (Yes-or-No Questions): Fix example code.
447 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
449         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
450         for ld.so.
452 2010-07-27  Andreas Schwab  <schwab@redhat.com>
454         * manual/memory.texi (Malloc Tunable Parameters): Document
455         M_PERTURB.
457 2010-07-26  Roland McGrath  <roland@redhat.com>
459         [BZ #11840]
460         * configure.in (-fgnu89-inline check): Set and substitute
461         gnu89_inline, not libc_cv_gnu89_inline.
462         * configure: Regenerated.
463         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
465 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
467         * string/test-strnlen.c: New file.
468         * string/Makefile (strop-tests): Add strnlen.
469         * string/tester.c (test_strnlen): Add a few more test cases.
470         * string/tst-strlen.c: Better error reporting.
472         * sysdeps/x86_64/strnlen.S: New file.
474 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
476         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
477         lower-latency instructions.
479 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
481         * string/test-strcasestr.c: New file.
482         * string/test-strstr.c: New file.
483         * string/Makefile (strop-tests): Add strstr and strcasestr.
484         * string/str-two-way.h: Don't undefine MAX.
485         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
487 2010-07-21  Andreas Schwab  <schwab@redhat.com>
489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
490         strcasestr-nonascii.
491         (CFLAGS-strcasestr-nonascii.c): Define.
492         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
493         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
494         Remove unused attribute.
496 2010-07-20  Roland McGrath  <roland@redhat.com>
498         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
499         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
500         ld.so.cache was broken.  With it, there is no way to disable dsocaps
501         like LD_HWCAP_MASK can disable hwcaps.
503 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
505         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
507 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
509         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
510         call in strcasestr.
511         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
512         __strcasestr_sse42_nonascii.
513         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
514         strcasestr-nonascii.c.
515         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
517 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
519         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
520         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
521         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
522         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
524 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
526         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
527         fcntl.
529 2010-07-06  Andreas Schwab  <schwab@redhat.com>
531         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
532         dl_signal_cerror.
534 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
536         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
537         _PC_PIPE_BUF using F_GETPIPE_SZ.
539 2010-07-05  Roland McGrath  <roland@redhat.com>
541         * manual/arith.texi (Rounding Functions): Fix rint description
542         implicit in round description.
544 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
546         * elf/Makefile: Fix linking for a few tests to make recent linker
547         happy.
549 2010-06-30  Andreas Schwab  <schwab@redhat.com>
551         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
552         $(common-objpfx)libc_nonshared.a.
554 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
556         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
557         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
558         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
559         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
560         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
561         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
562         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
563         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
578         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
579         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
580         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
581         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
582         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
583         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
584         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
585         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
586         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
587         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
588         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
589         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
605 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
607         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
608         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
609         * string/memmove.c (memmove): Renamed to ...
610         (MEMMOVE): ...this.  Default to memmove.
611         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
612         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
613         (END_CHK): Define.
614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
615         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
616         mempcpy-ssse3-back memmove-ssse3-back.
617         * sysdeps/x86_64/multiarch/bcopy.S: New file .
618         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
619         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
620         * sysdeps/x86_64/multiarch/memcpy.S: New file.
621         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
622         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
623         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
624         * sysdeps/x86_64/multiarch/memmove.c: New file.
625         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
626         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
627         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
628         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
629         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
630         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
631         Define.
632         (index_Fast_Copy_Backward): Define.
633         (HAS_ARCH_FEATURE): Define.
634         (HAS_FAST_REP_STRING): Define.
635         (HAS_FAST_COPY_BACKWARD): Define.
637 2010-06-21  Andreas Schwab  <schwab@redhat.com>
639         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
640         Restore proper fallback handling.
642 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
644         [BZ #11701]
645         * posix/group_member.c (__group_member): Correct checking loop.
647         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
648         OOM in getpwuid_r correctly.  Return error number when the caller
649         should return, otherwise -1.
650         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
651         call returning > 0 value.
652         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
654 2010-06-07  Andreas Schwab  <schwab@redhat.com>
656         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
657         libc_nonshared.a from targets in modules-names.
659 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
661         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
662         requires it.
664 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
666         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
667         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
668         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
669         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
671 2010-06-02  Andreas Schwab  <schwab@redhat.com>
673         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
675 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
677         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
678         and F_GETPIPE_SZ.
679         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
680         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
682         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
683         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
684         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
686 2010-06-14  Roland McGrath  <roland@redhat.com>
688         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
690 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
692         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
693         __REDIRECT followed by __THROW.
694         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
695         * posix/getopt.h (getopt): Likewise.
697 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
699         * hurd/lookup-at.c (__file_name_lookup_at): Accept
700         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
701         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
702         in AT_FLAGS.
703         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
704         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
706 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
708         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
710 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
712         [BZ #11640]
713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
714         Properly check family and model.
716 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
718         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
720 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
722         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
724 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
726         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
727         symbol reference.
729 2010-05-19  Andreas Schwab  <schwab@redhat.com>
731         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
732         symbol reference.
734 2010-05-21  Andreas Schwab  <schwab@redhat.com>
736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
737         and internal_recvmmsg.
738         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
739         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
740         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
741         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
743         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
744         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
745         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
747 2010-05-20  Andreas Schwab  <schwab@redhat.com>
749         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
751 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
753         POWER7 optimizations.
754         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
755         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
757 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
759         * version.h: Update for 2.13 development version.
761 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
763         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
764         exceptions.  Return 0.
766 2010-05-07  Roland McGrath  <roland@redhat.com>
768         * elf/ldconfig.c (main): Add a const.
770 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
772         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
773         (args_options): Add no-idn option.
774         (ahosts_keys_int): Add idn_flags to ai_flags.
775         (parse_option): Handle 'i' option to clear idn_flags.
777         * malloc/malloc.c (_int_free): Possible race in the most recently
778         added check.  Only act on the data if no current modification
779         happened.
781 See ChangeLog.17 for earlier changes.