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