1 2010-08-11 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
5 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
6 prlimit64 for GLIBC_2.13.
7 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
21 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23 * nss/Makefile: Add rules to build and run tst-nss-test1.
24 * shlib-versions: Add entry for libnss_test1.
25 * nss/nss_test1.c: New file.
26 * nss/tst-nss-test1.c: New file.
28 * nss/nsswitch.c (__nss_database_custom): Define new variable.
29 (__nss_configure_lookup): Set appropriate entry in
30 __nss_configure_lookup to true.
31 * nss/nsswitch.h: Define enum with indeces of databases in
32 databases and __nss_database_custom arrays. Declare
33 __nss_database_custom.
34 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35 to avoid using nscd when custom rules are installed.
36 * nss/getXXbyYY_r.c: Likewise.
37 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39 * nss/nss_files/files-parse.c: Whitespace fixes.
41 2010-08-09 Ulrich Drepper <drepper@redhat.com>
44 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45 * posix/fnmatch_loop.c: Likewise.
47 2010-07-17 Andi Kleen <ak@linux.intel.com>
49 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52 * Versions.def [GLIBC_2.13]: Add.
54 2010-08-06 Ulrich Drepper <drepper@redhat.com>
56 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57 Also fail if tpwd after pwuid call is NULL.
59 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
61 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62 when converting to ms.
64 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
67 EOPNOTSUPP errors with ENOTTY.
68 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69 EOPNOTSUPP errors with ENOTTY.
71 2010-07-31 Ulrich Drepper <drepper@redhat.com>
73 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74 Add strcasecmp_l-ssse3.
75 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81 2010-07-30 Ulrich Drepper <drepper@redhat.com>
83 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85 * string/Makefile (strop-tests): Add strcasecmp.
86 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
87 strcasecmp_l-nonascii.
88 (gen-as-const-headers): Add locale-defines.sym.
89 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90 * sysdeps/x86_64/strcasecmp.S: New file.
91 * sysdeps/x86_64/strcasecmp_l.S: New file.
92 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93 * sysdeps/x86_64/locale-defines.sym: New file.
94 * string/test-strcasecmp.c: New file.
96 * string/test-strcasestr.c: Test both ends of the range of characters.
97 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
99 2010-07-29 Roland McGrath <roland@redhat.com>
102 * manual/locale.texi (Yes-or-No Questions): Fix example code.
104 2010-07-27 Ulrich Drepper <drepper@redhat.com>
106 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
109 2010-07-27 Andreas Schwab <schwab@redhat.com>
111 * manual/memory.texi (Malloc Tunable Parameters): Document
114 2010-07-26 Roland McGrath <roland@redhat.com>
117 * configure.in (-fgnu89-inline check): Set and substitute
118 gnu89_inline, not libc_cv_gnu89_inline.
119 * configure: Regenerated.
120 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
122 2010-07-26 Ulrich Drepper <drepper@redhat.com>
124 * string/test-strnlen.c: New file.
125 * string/Makefile (strop-tests): Add strnlen.
126 * string/tester.c (test_strnlen): Add a few more test cases.
127 * string/tst-strlen.c: Better error reporting.
129 * sysdeps/x86_64/strnlen.S: New file.
131 2010-07-24 Ulrich Drepper <drepper@redhat.com>
133 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
134 lower-latency instructions.
136 2010-07-23 Ulrich Drepper <drepper@redhat.com>
138 * string/test-strcasestr.c: New file.
139 * string/test-strstr.c: New file.
140 * string/Makefile (strop-tests): Add strstr and strcasestr.
141 * string/str-two-way.h: Don't undefine MAX.
142 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
144 2010-07-21 Andreas Schwab <schwab@redhat.com>
146 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
148 (CFLAGS-strcasestr-nonascii.c): Define.
149 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
151 Remove unused attribute.
153 2010-07-20 Roland McGrath <roland@redhat.com>
155 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
156 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
157 ld.so.cache was broken. With it, there is no way to disable dsocaps
158 like LD_HWCAP_MASK can disable hwcaps.
160 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
162 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
164 2010-07-16 Ulrich Drepper <drepper@redhat.com>
166 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
168 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
169 __strcasestr_sse42_nonascii.
170 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
171 strcasestr-nonascii.c.
172 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
174 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
176 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
179 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
181 2010-07-09 Ulrich Drepper <drepper@redhat.com>
183 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
186 2010-07-06 Andreas Schwab <schwab@redhat.com>
188 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
191 2010-07-06 Ulrich Drepper <drepper@redhat.com>
193 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
194 _PC_PIPE_BUF using F_GETPIPE_SZ.
196 2010-07-05 Roland McGrath <roland@redhat.com>
198 * manual/arith.texi (Rounding Functions): Fix rint description
199 implicit in round description.
201 2010-07-02 Ulrich Drepper <drepper@redhat.com>
203 * elf/Makefile: Fix linking for a few tests to make recent linker
206 2010-06-30 Andreas Schwab <schwab@redhat.com>
208 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
209 $(common-objpfx)libc_nonshared.a.
211 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
213 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
214 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
215 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
216 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
217 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
218 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
219 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
220 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
235 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
236 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
237 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
238 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
239 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
240 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
241 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
242 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
243 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
244 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
245 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
246 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
262 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
264 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
265 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
266 * string/memmove.c (memmove): Renamed to ...
267 (MEMMOVE): ...this. Default to memmove.
268 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
269 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
272 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
273 mempcpy-ssse3-back memmove-ssse3-back.
274 * sysdeps/x86_64/multiarch/bcopy.S: New file .
275 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
276 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
277 * sysdeps/x86_64/multiarch/memcpy.S: New file.
278 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
279 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
280 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
281 * sysdeps/x86_64/multiarch/memmove.c: New file.
282 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
283 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
284 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
285 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
286 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
289 (index_Fast_Copy_Backward): Define.
290 (HAS_ARCH_FEATURE): Define.
291 (HAS_FAST_REP_STRING): Define.
292 (HAS_FAST_COPY_BACKWARD): Define.
294 2010-06-21 Andreas Schwab <schwab@redhat.com>
296 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
297 Restore proper fallback handling.
299 2010-06-19 Ulrich Drepper <drepper@redhat.com>
302 * posix/group_member.c (__group_member): Correct checking loop.
304 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
305 OOM in getpwuid_r correctly. Return error number when the caller
306 should return, otherwise -1.
307 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
308 call returning > 0 value.
309 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
311 2010-06-07 Andreas Schwab <schwab@redhat.com>
313 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
314 libc_nonshared.a from targets in modules-names.
316 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
318 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
321 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
323 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
324 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
328 2010-06-02 Andreas Schwab <schwab@redhat.com>
330 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
332 2010-06-14 Ulrich Drepper <drepper@redhat.com>
334 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
336 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
337 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
340 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
343 2010-06-14 Roland McGrath <roland@redhat.com>
345 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
347 2010-06-07 Jakub Jelinek <jakub@redhat.com>
349 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
350 __REDIRECT followed by __THROW.
351 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
352 * posix/getopt.h (getopt): Likewise.
354 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
356 * hurd/lookup-at.c (__file_name_lookup_at): Accept
357 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
358 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
360 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
361 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
363 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
367 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
371 Properly check family and model.
373 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
375 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
377 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
379 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
381 2010-05-21 Ulrich Drepper <drepper@redhat.com>
383 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
386 2010-05-19 Andreas Schwab <schwab@redhat.com>
388 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
391 2010-05-21 Andreas Schwab <schwab@redhat.com>
393 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
394 and internal_recvmmsg.
395 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
396 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
398 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
400 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
401 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
402 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
404 2010-05-20 Andreas Schwab <schwab@redhat.com>
406 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
408 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
410 POWER7 optimizations.
411 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
412 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
414 2010-05-19 Ulrich Drepper <drepper@redhat.com>
416 * version.h: Update for 2.13 development version.
418 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
420 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
421 exceptions. Return 0.
423 2010-05-07 Roland McGrath <roland@redhat.com>
425 * elf/ldconfig.c (main): Add a const.
427 2010-05-06 Ulrich Drepper <drepper@redhat.com>
429 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
430 (args_options): Add no-idn option.
431 (ahosts_keys_int): Add idn_flags to ai_flags.
432 (parse_option): Handle 'i' option to clear idn_flags.
434 * malloc/malloc.c (_int_free): Possible race in the most recently
435 added check. Only act on the data if no current modification
438 See ChangeLog.17 for earlier changes.