Add optimized strncasecmp versions for x86-64.
[glibc.git] / ChangeLog
blobdd78abe472fdf5b62a4f6d6d5c736f83442a4f05
1 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
4         strncase_l-nonascii.
5         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
6         Add strncase_l-ssse3.
7         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8         * sysdeps/x86_64/strcmp.S: Likewise.
9         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11         * sysdeps/x86_64/strncase.S: New file.
12         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13         * sysdeps/x86_64/strncase_l.S: New file.
14         * string/Makefile (strop-tests): Add strncasecmp.
15         * string/test-strncasecmp.c: New file.
17         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18         warning.
20         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
21         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
25         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
29         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33 2010-05-01  Alan Modra  <amodra@gmail.com>
35         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40         tidying.  Don't tail-call __sigjmp_save for static lib.
41         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42         save location.
43         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44         (CALL_MCOUNT): Add eh info, and nop after bl.
45         (TAIL_CALL_SYSCALL_ERROR): New macro.
46         (PSEUDO_RET): Use it.
47         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48         Correct save location of integer regs and cr.
49         (_dl_profile_resolve): Correct cr save location.  Delete nops
50         after bl when SHARED.  Reduce cfi size a little by better
51         placement of cfi directives.
52         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53         make a stack frame.  Instead use parm save area as a temp.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57         Don't make a stack frame for parent, use parm save area.
58         Increase child stack frame to 112 bytes.  Don't save unused reg,
59         and adjust reg usage.  Set up cfi on error recovery and
60         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62         (__makecontext): Add dummy nop after jump to exit.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64         Use correct parm save area and cr save, reduce stack frame.
65         Correct cfi for possible PSEUDO_RET frame setup.
66         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
67         Branch to local label emitted by PSEUDO_RET rather than
68         __syscall_error.
70 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72         [BZ #11904]
73         * locale/programs/locale.c (print_assignment): New function.
74         (show_locale_vars): Use it.
76 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79         field.
80         (struct statfs64): Likewise.
81         (_STATFS_F_FLAGS): Define.
82         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
83         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85         (ST_VALID): Define locally.
86         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
87         __statvfs_getflags, use the provided value.
88         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89         __ASSUME_STATFS_F_FLAGS.
91         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94         Add sys/fanotify.h.
95         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96         fanotify_mask for GLIBC_2.13.
97         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
98         fanotify_init and fanotify_mark.
99         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
100         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
102         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
103         Add prlimit.
104         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
105         prlimit64 for GLIBC_2.13.
106         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
107         prlimit64.
108         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
109         syscall.
110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
111         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
112         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
113         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
115         add prlimit alias.
116         * sysdeps/unix/sysv/linux/prlimit.c: New file.
118         [BZ #11903]
119         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
120         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
122         * nss/Makefile: Add rules to build and run tst-nss-test1.
123         * shlib-versions: Add entry for libnss_test1.
124         * nss/nss_test1.c: New file.
125         * nss/tst-nss-test1.c: New file.
127         * nss/nsswitch.c (__nss_database_custom): Define new variable.
128         (__nss_configure_lookup): Set appropriate entry in
129         __nss_configure_lookup to true.
130         * nss/nsswitch.h: Define enum with indeces of databases in
131         databases and __nss_database_custom arrays.  Declare
132         __nss_database_custom.
133         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
134         to avoid using nscd when custom rules are installed.
135         * nss/getXXbyYY_r.c: Likewise.
136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
138         * nss/nss_files/files-parse.c: Whitespace fixes.
140 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
142         [BZ #11883]
143         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
144         * posix/fnmatch_loop.c: Likewise.
146 2010-07-17  Andi Kleen  <ak@linux.intel.com>
148         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
149         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
150         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
151         * Versions.def [GLIBC_2.13]: Add.
153 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
155         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
156         Also fail if tpwd after pwuid call is NULL.
158 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
160         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
161         when converting to ms.
163 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
165         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
166         EOPNOTSUPP errors with ENOTTY.
167         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
168         EOPNOTSUPP errors with ENOTTY.
170 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
172         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
173         Add strcasecmp_l-ssse3.
174         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
175         strcasecmp.
176         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
177         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
178         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
180 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
182         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
184         * string/Makefile (strop-tests): Add strcasecmp.
185         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
186         strcasecmp_l-nonascii.
187         (gen-as-const-headers): Add locale-defines.sym.
188         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
189         * sysdeps/x86_64/strcasecmp.S: New file.
190         * sysdeps/x86_64/strcasecmp_l.S: New file.
191         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
192         * sysdeps/x86_64/locale-defines.sym: New file.
193         * string/test-strcasecmp.c: New file.
195         * string/test-strcasestr.c: Test both ends of the range of characters.
196         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
198 2010-07-29  Roland McGrath  <roland@redhat.com>
200         [BZ #11856]
201         * manual/locale.texi (Yes-or-No Questions): Fix example code.
203 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
205         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
206         for ld.so.
208 2010-07-27  Andreas Schwab  <schwab@redhat.com>
210         * manual/memory.texi (Malloc Tunable Parameters): Document
211         M_PERTURB.
213 2010-07-26  Roland McGrath  <roland@redhat.com>
215         [BZ #11840]
216         * configure.in (-fgnu89-inline check): Set and substitute
217         gnu89_inline, not libc_cv_gnu89_inline.
218         * configure: Regenerated.
219         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
221 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
223         * string/test-strnlen.c: New file.
224         * string/Makefile (strop-tests): Add strnlen.
225         * string/tester.c (test_strnlen): Add a few more test cases.
226         * string/tst-strlen.c: Better error reporting.
228         * sysdeps/x86_64/strnlen.S: New file.
230 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
232         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
233         lower-latency instructions.
235 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
237         * string/test-strcasestr.c: New file.
238         * string/test-strstr.c: New file.
239         * string/Makefile (strop-tests): Add strstr and strcasestr.
240         * string/str-two-way.h: Don't undefine MAX.
241         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
243 2010-07-21  Andreas Schwab  <schwab@redhat.com>
245         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
246         strcasestr-nonascii.
247         (CFLAGS-strcasestr-nonascii.c): Define.
248         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
249         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
250         Remove unused attribute.
252 2010-07-20  Roland McGrath  <roland@redhat.com>
254         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
255         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
256         ld.so.cache was broken.  With it, there is no way to disable dsocaps
257         like LD_HWCAP_MASK can disable hwcaps.
259 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
261         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
263 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
265         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
266         call in strcasestr.
267         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
268         __strcasestr_sse42_nonascii.
269         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
270         strcasestr-nonascii.c.
271         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
273 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
275         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
276         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
277         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
278         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
280 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
282         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
283         fcntl.
285 2010-07-06  Andreas Schwab  <schwab@redhat.com>
287         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
288         dl_signal_cerror.
290 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
292         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
293         _PC_PIPE_BUF using F_GETPIPE_SZ.
295 2010-07-05  Roland McGrath  <roland@redhat.com>
297         * manual/arith.texi (Rounding Functions): Fix rint description
298         implicit in round description.
300 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
302         * elf/Makefile: Fix linking for a few tests to make recent linker
303         happy.
305 2010-06-30  Andreas Schwab  <schwab@redhat.com>
307         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
308         $(common-objpfx)libc_nonshared.a.
310 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
312         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
313         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
314         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
315         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
316         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
317         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
318         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
319         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
334         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
335         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
336         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
337         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
338         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
339         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
340         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
341         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
342         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
343         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
344         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
345         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
361 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
363         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
364         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
365         * string/memmove.c (memmove): Renamed to ...
366         (MEMMOVE): ...this.  Default to memmove.
367         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
368         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
369         (END_CHK): Define.
370         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
371         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
372         mempcpy-ssse3-back memmove-ssse3-back.
373         * sysdeps/x86_64/multiarch/bcopy.S: New file .
374         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
375         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
376         * sysdeps/x86_64/multiarch/memcpy.S: New file.
377         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
378         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
379         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
380         * sysdeps/x86_64/multiarch/memmove.c: New file.
381         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
382         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
383         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
384         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
385         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
386         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
387         Define.
388         (index_Fast_Copy_Backward): Define.
389         (HAS_ARCH_FEATURE): Define.
390         (HAS_FAST_REP_STRING): Define.
391         (HAS_FAST_COPY_BACKWARD): Define.
393 2010-06-21  Andreas Schwab  <schwab@redhat.com>
395         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
396         Restore proper fallback handling.
398 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
400         [BZ #11701]
401         * posix/group_member.c (__group_member): Correct checking loop.
403         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
404         OOM in getpwuid_r correctly.  Return error number when the caller
405         should return, otherwise -1.
406         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
407         call returning > 0 value.
408         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
410 2010-06-07  Andreas Schwab  <schwab@redhat.com>
412         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
413         libc_nonshared.a from targets in modules-names.
415 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
417         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
418         requires it.
420 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
422         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
423         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
424         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
425         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
427 2010-06-02  Andreas Schwab  <schwab@redhat.com>
429         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
431 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
433         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
434         and F_GETPIPE_SZ.
435         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
440         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
442 2010-06-14  Roland McGrath  <roland@redhat.com>
444         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
446 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
448         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
449         __REDIRECT followed by __THROW.
450         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
451         * posix/getopt.h (getopt): Likewise.
453 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
455         * hurd/lookup-at.c (__file_name_lookup_at): Accept
456         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
457         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
458         in AT_FLAGS.
459         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
460         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
462 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
464         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
466 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
468         [BZ #11640]
469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
470         Properly check family and model.
472 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
474         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
476 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
478         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
480 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
482         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
483         symbol reference.
485 2010-05-19  Andreas Schwab  <schwab@redhat.com>
487         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
488         symbol reference.
490 2010-05-21  Andreas Schwab  <schwab@redhat.com>
492         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
493         and internal_recvmmsg.
494         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
495         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
496         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
497         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
499         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
500         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
501         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
503 2010-05-20  Andreas Schwab  <schwab@redhat.com>
505         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
507 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
509         POWER7 optimizations.
510         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
511         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
513 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
515         * version.h: Update for 2.13 development version.
517 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
519         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
520         exceptions.  Return 0.
522 2010-05-07  Roland McGrath  <roland@redhat.com>
524         * elf/ldconfig.c (main): Add a const.
526 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
528         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
529         (args_options): Add no-idn option.
530         (ahosts_keys_int): Add idn_flags to ai_flags.
531         (parse_option): Handle 'i' option to clear idn_flags.
533         * malloc/malloc.c (_int_free): Possible race in the most recently
534         added check.  Only act on the data if no current modification
535         happened.
537 See ChangeLog.17 for earlier changes.