Merge branch 'master' of ssh://sourceware.org/git/glibc
[glibc.git] / ChangeLog
blob97044ae451030486ca791e803c77f459f9af48b3
1 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
4         for ld.so.
6 2010-07-27  Andreas Schwab  <schwab@redhat.com>
8         * manual/memory.texi (Malloc Tunable Parameters): Document
9         M_PERTURB.
11 2010-07-26  Roland McGrath  <roland@redhat.com>
13         [BZ #11840]
14         * configure.in (-fgnu89-inline check): Set and substitute
15         gnu89_inline, not libc_cv_gnu89_inline.
16         * configure: Regenerated.
17         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
21         * string/test-strnlen.c: New file.
22         * string/Makefile (strop-tests): Add strnlen.
23         * string/tester.c (test_strnlen): Add a few more test cases.
24         * string/tst-strlen.c: Better error reporting.
26         * sysdeps/x86_64/strnlen.S: New file.
28 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
30         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31         lower-latency instructions.
33 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
35         * string/test-strcasestr.c: New file.
36         * string/test-strstr.c: New file.
37         * string/Makefile (strop-tests): Add strstr and strcasestr.
38         * string/str-two-way.h: Don't undefine MAX.
39         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41 2010-07-21  Andreas Schwab  <schwab@redhat.com>
43         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44         strcasestr-nonascii.
45         (CFLAGS-strcasestr-nonascii.c): Define.
46         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48         Remove unused attribute.
50 2010-07-20  Roland McGrath  <roland@redhat.com>
52         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54         ld.so.cache was broken.  With it, there is no way to disable dsocaps
55         like LD_HWCAP_MASK can disable hwcaps.
57 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64         call in strcasestr.
65         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66         __strcasestr_sse42_nonascii.
67         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
68         strcasestr-nonascii.c.
69         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81         fcntl.
83 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86         dl_signal_cerror.
88 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
91         _PC_PIPE_BUF using F_GETPIPE_SZ.
93 2010-07-05  Roland McGrath  <roland@redhat.com>
95         * manual/arith.texi (Rounding Functions): Fix rint description
96         implicit in round description.
98 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
100         * elf/Makefile: Fix linking for a few tests to make recent linker
101         happy.
103 2010-06-30  Andreas Schwab  <schwab@redhat.com>
105         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
106         $(common-objpfx)libc_nonshared.a.
108 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
110         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
111         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
112         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
113         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
114         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
115         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
116         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
117         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
132         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
133         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
134         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
135         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
136         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
137         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
138         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
139         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
140         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
141         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
142         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
143         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
159 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
161         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
162         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
163         * string/memmove.c (memmove): Renamed to ...
164         (MEMMOVE): ...this.  Default to memmove.
165         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
166         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
167         (END_CHK): Define.
168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
169         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
170         mempcpy-ssse3-back memmove-ssse3-back.
171         * sysdeps/x86_64/multiarch/bcopy.S: New file .
172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
173         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
174         * sysdeps/x86_64/multiarch/memcpy.S: New file.
175         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
176         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
177         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
178         * sysdeps/x86_64/multiarch/memmove.c: New file.
179         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
180         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
181         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
182         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
183         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
184         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
185         Define.
186         (index_Fast_Copy_Backward): Define.
187         (HAS_ARCH_FEATURE): Define.
188         (HAS_FAST_REP_STRING): Define.
189         (HAS_FAST_COPY_BACKWARD): Define.
191 2010-06-21  Andreas Schwab  <schwab@redhat.com>
193         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
194         Restore proper fallback handling.
196 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
198         [BZ #11701]
199         * posix/group_member.c (__group_member): Correct checking loop.
201         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
202         OOM in getpwuid_r correctly.  Return error number when the caller
203         should return, otherwise -1.
204         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
205         call returning > 0 value.
206         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
208 2010-06-07  Andreas Schwab  <schwab@redhat.com>
210         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
211         libc_nonshared.a from targets in modules-names.
213 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
215         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
216         requires it.
218 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
220         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
221         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
223         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
225 2010-06-02  Andreas Schwab  <schwab@redhat.com>
227         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
229 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
231         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
232         and F_GETPIPE_SZ.
233         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
237         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
238         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
240 2010-06-14  Roland McGrath  <roland@redhat.com>
242         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
244 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
246         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
247         __REDIRECT followed by __THROW.
248         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
249         * posix/getopt.h (getopt): Likewise.
251 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
253         * hurd/lookup-at.c (__file_name_lookup_at): Accept
254         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
255         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
256         in AT_FLAGS.
257         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
258         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
260 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
262         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
264 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
266         [BZ #11640]
267         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
268         Properly check family and model.
270 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
272         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
274 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
276         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
278 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
280         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
281         symbol reference.
283 2010-05-19  Andreas Schwab  <schwab@redhat.com>
285         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
286         symbol reference.
288 2010-05-21  Andreas Schwab  <schwab@redhat.com>
290         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
291         and internal_recvmmsg.
292         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
293         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
294         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
295         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
297         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
298         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
299         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
301 2010-05-20  Andreas Schwab  <schwab@redhat.com>
303         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
305 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
307         POWER7 optimizations.
308         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
309         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
311 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
313         * version.h: Update for 2.13 development version.
315 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
317         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
318         exceptions.  Return 0.
320 2010-05-07  Roland McGrath  <roland@redhat.com>
322         * elf/ldconfig.c (main): Add a const.
324 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
326         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
327         (args_options): Add no-idn option.
328         (ahosts_keys_int): Add idn_flags to ai_flags.
329         (parse_option): Handle 'i' option to clear idn_flags.
331         * malloc/malloc.c (_int_free): Possible race in the most recently
332         added check.  Only act on the data if no current modification
333         happened.
335 See ChangeLog.17 for earlier changes.