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