1 2010-08-11 Ulrich Drepper <drepper@redhat.com>
3 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
5 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8 fanotify_mask for GLIBC_2.13.
9 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10 fanotify_init and fanotify_mark.
11 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17 prlimit64 for GLIBC_2.13.
18 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
25 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34 * nss/Makefile: Add rules to build and run tst-nss-test1.
35 * shlib-versions: Add entry for libnss_test1.
36 * nss/nss_test1.c: New file.
37 * nss/tst-nss-test1.c: New file.
39 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40 (__nss_configure_lookup): Set appropriate entry in
41 __nss_configure_lookup to true.
42 * nss/nsswitch.h: Define enum with indeces of databases in
43 databases and __nss_database_custom arrays. Declare
44 __nss_database_custom.
45 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46 to avoid using nscd when custom rules are installed.
47 * nss/getXXbyYY_r.c: Likewise.
48 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50 * nss/nss_files/files-parse.c: Whitespace fixes.
52 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56 * posix/fnmatch_loop.c: Likewise.
58 2010-07-17 Andi Kleen <ak@linux.intel.com>
60 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63 * Versions.def [GLIBC_2.13]: Add.
65 2010-08-06 Ulrich Drepper <drepper@redhat.com>
67 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
68 Also fail if tpwd after pwuid call is NULL.
70 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
72 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73 when converting to ms.
75 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78 EOPNOTSUPP errors with ENOTTY.
79 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80 EOPNOTSUPP errors with ENOTTY.
82 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85 Add strcasecmp_l-ssse3.
86 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92 2010-07-30 Ulrich Drepper <drepper@redhat.com>
94 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96 * string/Makefile (strop-tests): Add strcasecmp.
97 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
98 strcasecmp_l-nonascii.
99 (gen-as-const-headers): Add locale-defines.sym.
100 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
101 * sysdeps/x86_64/strcasecmp.S: New file.
102 * sysdeps/x86_64/strcasecmp_l.S: New file.
103 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
104 * sysdeps/x86_64/locale-defines.sym: New file.
105 * string/test-strcasecmp.c: New file.
107 * string/test-strcasestr.c: Test both ends of the range of characters.
108 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
110 2010-07-29 Roland McGrath <roland@redhat.com>
113 * manual/locale.texi (Yes-or-No Questions): Fix example code.
115 2010-07-27 Ulrich Drepper <drepper@redhat.com>
117 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
120 2010-07-27 Andreas Schwab <schwab@redhat.com>
122 * manual/memory.texi (Malloc Tunable Parameters): Document
125 2010-07-26 Roland McGrath <roland@redhat.com>
128 * configure.in (-fgnu89-inline check): Set and substitute
129 gnu89_inline, not libc_cv_gnu89_inline.
130 * configure: Regenerated.
131 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
133 2010-07-26 Ulrich Drepper <drepper@redhat.com>
135 * string/test-strnlen.c: New file.
136 * string/Makefile (strop-tests): Add strnlen.
137 * string/tester.c (test_strnlen): Add a few more test cases.
138 * string/tst-strlen.c: Better error reporting.
140 * sysdeps/x86_64/strnlen.S: New file.
142 2010-07-24 Ulrich Drepper <drepper@redhat.com>
144 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
145 lower-latency instructions.
147 2010-07-23 Ulrich Drepper <drepper@redhat.com>
149 * string/test-strcasestr.c: New file.
150 * string/test-strstr.c: New file.
151 * string/Makefile (strop-tests): Add strstr and strcasestr.
152 * string/str-two-way.h: Don't undefine MAX.
153 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
155 2010-07-21 Andreas Schwab <schwab@redhat.com>
157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
159 (CFLAGS-strcasestr-nonascii.c): Define.
160 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
161 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
162 Remove unused attribute.
164 2010-07-20 Roland McGrath <roland@redhat.com>
166 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
167 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
168 ld.so.cache was broken. With it, there is no way to disable dsocaps
169 like LD_HWCAP_MASK can disable hwcaps.
171 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
173 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
175 2010-07-16 Ulrich Drepper <drepper@redhat.com>
177 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
179 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
180 __strcasestr_sse42_nonascii.
181 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
182 strcasestr-nonascii.c.
183 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
185 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
189 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
190 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
192 2010-07-09 Ulrich Drepper <drepper@redhat.com>
194 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
197 2010-07-06 Andreas Schwab <schwab@redhat.com>
199 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
202 2010-07-06 Ulrich Drepper <drepper@redhat.com>
204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
205 _PC_PIPE_BUF using F_GETPIPE_SZ.
207 2010-07-05 Roland McGrath <roland@redhat.com>
209 * manual/arith.texi (Rounding Functions): Fix rint description
210 implicit in round description.
212 2010-07-02 Ulrich Drepper <drepper@redhat.com>
214 * elf/Makefile: Fix linking for a few tests to make recent linker
217 2010-06-30 Andreas Schwab <schwab@redhat.com>
219 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
220 $(common-objpfx)libc_nonshared.a.
222 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
224 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
225 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
226 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
227 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
228 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
229 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
230 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
231 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
246 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
247 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
248 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
249 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
250 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
251 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
252 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
253 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
254 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
255 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
256 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
257 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
273 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
275 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
276 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
277 * string/memmove.c (memmove): Renamed to ...
278 (MEMMOVE): ...this. Default to memmove.
279 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
280 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
283 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
284 mempcpy-ssse3-back memmove-ssse3-back.
285 * sysdeps/x86_64/multiarch/bcopy.S: New file .
286 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
288 * sysdeps/x86_64/multiarch/memcpy.S: New file.
289 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
290 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
291 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
292 * sysdeps/x86_64/multiarch/memmove.c: New file.
293 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
294 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
295 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
296 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
300 (index_Fast_Copy_Backward): Define.
301 (HAS_ARCH_FEATURE): Define.
302 (HAS_FAST_REP_STRING): Define.
303 (HAS_FAST_COPY_BACKWARD): Define.
305 2010-06-21 Andreas Schwab <schwab@redhat.com>
307 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
308 Restore proper fallback handling.
310 2010-06-19 Ulrich Drepper <drepper@redhat.com>
313 * posix/group_member.c (__group_member): Correct checking loop.
315 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
316 OOM in getpwuid_r correctly. Return error number when the caller
317 should return, otherwise -1.
318 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
319 call returning > 0 value.
320 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
322 2010-06-07 Andreas Schwab <schwab@redhat.com>
324 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
325 libc_nonshared.a from targets in modules-names.
327 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
329 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
332 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
335 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
337 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
339 2010-06-02 Andreas Schwab <schwab@redhat.com>
341 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
343 2010-06-14 Ulrich Drepper <drepper@redhat.com>
345 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
347 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
354 2010-06-14 Roland McGrath <roland@redhat.com>
356 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
358 2010-06-07 Jakub Jelinek <jakub@redhat.com>
360 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
361 __REDIRECT followed by __THROW.
362 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
363 * posix/getopt.h (getopt): Likewise.
365 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
367 * hurd/lookup-at.c (__file_name_lookup_at): Accept
368 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
369 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
371 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
372 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
374 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
376 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
378 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
382 Properly check family and model.
384 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
386 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
388 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
390 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
392 2010-05-21 Ulrich Drepper <drepper@redhat.com>
394 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
397 2010-05-19 Andreas Schwab <schwab@redhat.com>
399 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
402 2010-05-21 Andreas Schwab <schwab@redhat.com>
404 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
405 and internal_recvmmsg.
406 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
407 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
408 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
409 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
411 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
412 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
413 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
415 2010-05-20 Andreas Schwab <schwab@redhat.com>
417 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
419 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
421 POWER7 optimizations.
422 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
423 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
425 2010-05-19 Ulrich Drepper <drepper@redhat.com>
427 * version.h: Update for 2.13 development version.
429 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
431 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
432 exceptions. Return 0.
434 2010-05-07 Roland McGrath <roland@redhat.com>
436 * elf/ldconfig.c (main): Add a const.
438 2010-05-06 Ulrich Drepper <drepper@redhat.com>
440 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
441 (args_options): Add no-idn option.
442 (ahosts_keys_int): Add idn_flags to ai_flags.
443 (parse_option): Handle 'i' option to clear idn_flags.
445 * malloc/malloc.c (_int_free): Possible race in the most recently
446 added check. Only act on the data if no current modification
449 See ChangeLog.17 for earlier changes.