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