FIx handling of unterminated [ expression in fnmatch.
[glibc.git] / ChangeLog
blob59d1a94803d8c7a557de6b5834f60cee670b6f5a
1 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
3         [BZ #12378]
4         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
5         and fall back to matching as normal character if the string ends before
6         the matching ']' is found.  This is what POSIX requires.
7         * posix/testfnm.c: Adjust test result.
8         * posix/globtest.sh: Adjust test result.  Add new test.
9         * posix/tst-fnmatch.input: Likewise.
10         * posix/tst-fnmatch2.c: Add new test.
12 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
14         * elf/Makefile (check-execstack): Revert last change.  Depend on
15         check-execstack.h.
16         (check-execstack.h): New target.
17         (generated): Add check-execstack.h.
18         * elf/check-execstack.c: Include "check-execstack.h".
19         (main): Revert last change.
20         (handle_file): Return zero if GNU_STACK is absent and
21         DEFAULT_STACK_PERMS doesn't include PF_X.
23 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
25         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26         in child fails because the descriptor is already closed.
27         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
28         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31         [BZ #12397]
32         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33         syscall.
35         [BZ #10484]
36         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37         temporary buffer used to handle multi lookups locally.
38         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
42         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43         loader is ld.so.
45 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48         alignment for SSE2.
50 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52         [BZ #12394]
53         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54         characters.  When rounding increased number of integer digits recompute
55         number of groups.
56         * stdio-common/tst-grouping.c: New file.
57         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
64         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65         void.
66         * bits/select.h: Likewise.
68 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70         * po/ja.po: Update from translation team.
72 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74         [BZ #11155]
75         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76         implementation just like for lxstat, fxstatat, et al.
78 2010-12-27  Jim Meyering  <meyering@redhat.com>
80         [BZ #12348]
81         * posix/regexec.c (build_trtable): Return failure indication upon
82         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
86         [BZ #12201]
87         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
90         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92         [BZ #12207]
93         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95         [BZ #12204]
96         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
97         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
99 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
101         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
102         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
103         script has SORT_BY_INIT_PRIORITY.
104         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
105         NO_CTORS_DTORS_SECTIONS is defined.
106         * elf/soinit.c: Likewise.
107         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
108         NO_CTORS_DTORS_SECTIONS is defined.
109         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
110         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
111         * sysdeps/sh/init-first.c: Likewise.
112         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
114 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
116         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
117         always use the slow path.
119 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
121         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
122         similar rule which adds the sysdep directories to the header search in
123         order to pick up the correct platform stackinfo.h.
124         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
125         perform test if it is, otherwise return successfully without testing.
126         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
127         DEFAULT_STACK_PERMS define in stackinfo.h.
128         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
129         defined in stackinfo.h.
130         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
131         DEFAULT_STACK_PERMS defined in stackinfo.h.
132         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
133         * sysdeps/ia64/stackinfo.h: Likewise.
134         * sysdeps/s390/stackinfo.h: Likewise.
135         * sysdeps/sh/stackinfo.h: Likewise.
136         * sysdeps/sparc/stackinfo.h: Likewise.
137         * sysdeps/x86_64/stackinfo.h: Likewise.
138         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
139         PF_X for powerpc64.  Retain PF_X for powerpc32.
141 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
143         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
144         accurately.
145         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
146         GETDENTS_64BIT_ALIGNED.
148 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
150         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
152 2010-12-10  Andreas Schwab  <schwab@redhat.com>
154         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
155         _GNU_SOURCE.
157         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
158         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
159         Remove __restrict.
160         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
161         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
163 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
165         [BZ #11655]
166         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
167         are initialized.
169 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
171         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
173 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
175         * po/it.po: Update from translation team.
177 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
180         unused codes.
182 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
184         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
186 2010-11-24  Andreas Schwab  <schwab@redhat.com>
188         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
189         specially.
190         (gaih_getanswer_slice): Likewise.
192 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
196 2010-05-31  Petr Baudis  <pasky@suse.cz>
198         [BZ #11149]
199         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
200         silently even in the chroot mode.
202 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
204         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
205         last patch a bit.  Pretty printing
207 2010-05-31  Petr Baudis <pasky@suse.cz>
209         [BZ #10085]
210         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
211         initialization of skip_initgroups_dyn.
213 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
215         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
216         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
218 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
220         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
222 2010-11-11  Andreas Schwab  <schwab@redhat.com>
224         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
225         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
226         (tst-fnmatch-ENV): Set MALLOC_TRACE.
227         ($(objpfx)tst-fnmatch-mem): New rule.
228         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
229         * posix/tst-fnmatch.c (main): Call mtrace.
231 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
233         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
234         Support Intel processor model 6 and model 0x2c.
236 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
238         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
239           signed comparison.
241 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
243         [BZ #12205]
244         * string/test-strncasecmp.c (check_result): New function.
245         (do_one_test): Use it.
246         (check1): New function.
247         (test_main): Use it.
248         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
249         Support strcasecmp and strncasecmp.
251 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
253         [BZ #12194]
254         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
255         * sysdeps/x86_64/bits/byteswap.h: Likewise.
257 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
259         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
260         IFUNC support.
261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
262         memset-x86-64.
263         * sysdeps/x86_64/multiarch/bzero.S: New file.
264         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
265         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
266         * sysdeps/x86_64/multiarch/memset.S: New file.
267         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
269         Set bit_Prefer_SSE_for_memop for Intel processors.
270         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
271         Define.
272         (index_Prefer_SSE_for_memop): Define.
273         (HAS_PREFER_SSE_FOR_MEMOP): Define.
275 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
277         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
278         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
280 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #12191]
283         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
284         (__x86_64_raw_data_cache_size_half): Likewise.
285         (__x86_64_raw_shared_cache_size): Likewise.
286         (__x86_64_raw_shared_cache_size_half): Likewise.
288         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
289         (__x86_64_raw_data_cache_size_half): Likewise.
290         (__x86_64_raw_shared_cache_size): Likewise.
291         (__x86_64_raw_shared_cache_size_half): Likewise.
292         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
293         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
294         and __x86_64_raw_shared_cache_size_half.  Round
295         __x86_64_data_cache_size_half, __x86_64_data_cache_size
296         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
297         to multiple of 256 bytes.
299 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
301         [BZ #12167]
302         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
303         of inacessible symlinks.  Verify result of symlink before returning it.
304         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
305         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
307 2010-10-28  Erich Ritz  <erichritz@gmail.com>
309         * math/math.h (isinf): Fix typo in comment.
311 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
313         * po/da.po: Update from translation team.
315 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
317         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
318         is added to the list.
320 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
321             Ulrich Drepper  <drepper@gmail.com>
323         * elf/dl-object.c (_dl_new_object): Don't append the new object to
324         the global list here.  Move code to...
325         (_dl_add_to_namespace_list): ...here.  New function.
326         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
327         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
328         * elf/dl-load.c (lose): Don't remove the element from the list.
329         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
330         (_dl_map_object): Likewise.
332 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
334         [BZ #12159]
335         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
336         into all bytes of SSE register.
337         Patch by Richard Li <richardpku@gmail.com>.
339 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
341         [BZ #12140]
342         * malloc/malloc.c (_int_free): Fill correct number of bytes when
343         perturbing.
345 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
347         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
348         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
349         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
350         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
352         submachine.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
355 2010-10-22  Andreas Schwab  <schwab@redhat.com>
357         * include/dlfcn.h (__RTLD_SECURE): Define.
358         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
359         mode & __RTLD_SECURE instead.
360         (open_path): Rename preloaded parameter to secure.
361         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
362         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
363         * elf/dl-deps.c (openaux): Likewise.
364         * elf/rtld.c (struct map_args): Remove is_preloaded.
365         (map_doit): Don't use it.
366         (dl_main): Likewise.
367         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
368         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
370 2010-09-09  Andreas Schwab  <schwab@redhat.com>
372         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
373         (sysd-rules-targets): Remove duplicates.
374         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
375         rtld-%.$o dependency.
377 2010-10-18  Andreas Schwab  <schwab@redhat.com>
379         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
380         _dl_map_object do it.
382 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
384         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
385         fast fma builtins, define the macros in the C99 standard.
386         (FP_FAST_FMAF): Likewise.
387         (FP_FAST_FMAL): Likewise.
388         * sysdeps/x86_64/bits/mathdef.h: Likewise.
390         * bits/mathdef.h: Update copyright year.
391         * sysdeps/powerpc/bits/mathdef.h: Likewise.
393 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
395         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
396         builtins, define the macros in the C99 standard.
397         (FP_FAST_FMAF): Likewise.
398         (FP_FAST_FMAL): Likewise.
399         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
400         multiply/add.
401         (FP_FAST_FMAF): Likewise.
403 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
405         [BZ #3268]
406         * math/libm-test.inc (fma_test): Some new testcases.
407         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
408         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
409         y and infinite z.  Do multiplication by C already in long double.
410         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
411         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
412         y and infinite z.  Do bitwise or of inexact bit into u.d.
413         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
414         * sysdeps/i386/fpu/s_fmaf.S: Removed.
415         * sysdeps/i386/fpu/s_fma.S: Removed.
416         * sysdeps/i386/fpu/s_fmal.S: Removed.
418 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
420         [BZ #3268]
421         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
422         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
423         computation is not scheduled after fetestexcept.  Fix value
424         of minimum denormal long double.
426 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
428         [BZ #3268]
429         * math/libm-test.inc (fma_test): Add some more tests.
430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
431         correctly.
433 2010-10-15  Andreas Schwab  <schwab@redhat.com>
435         * scripts/data/localplt-s390-linux-gnu.data: New file.
436         * scripts/data/localplt-s390x-linux-gnu.data: New file.
438 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
440         [BZ #3268]
441         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
442         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
443         instead of dbl-64.
444         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
445         inlines.
446         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
448         if one of x and y is very large and the other is subnormal.
449         * sysdeps/s390/fpu/s_fmaf.c: New file.
450         * sysdeps/s390/fpu/s_fma.c: New file.
451         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
452         * sysdeps/powerpc/fpu/s_fma.S: New file.
453         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
454         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
455         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
457 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
459         [BZ #3268]
460         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
461         fma tests.
462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
463         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
464         * sysdeps/i386/i686/multiarch/s_fma.c: Include
465         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
466         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
467         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
468         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
470 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
472         [BZ #12078]
473         * posix/regcomp.c (parse_branch): One more memory leak plugged.
474         * posix/bug-regex31.input: Add test case.
476 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
478         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
479         * posix/bug-regex31.input: New file.
481         [BZ #12078]
482         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
483         (parse_sub_exp): Fix last change, use postorder.
485         * posix/bug-regex31.c: New file.
486         * posix/Makefile: Add rules to build and run bug-regex31.
488         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
490         [BZ #12078]
491         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
493         [BZ #12108]
494         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
495         to have entries in sys_siglist.
497         [BZ #12093]
498         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
499         be NULL.
501 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
503         [BZ #3268]
504         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
505         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
506         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
507         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
508         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
509         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
510         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
511         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
512         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
513         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
514         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
515         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
516         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
517         * math/ftestexcept.c (fetestexcept): Likewise.
518         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
519         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
520         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
521         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
522         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
523         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
524         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
526 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
528         [BZ #12107]
529         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
530         newline.
532 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
534         * string/bug-strstr1.c: New file.
535         * string/Makefile: Add rules to build and run bug-strstr1.
537 2010-10-05  Eric Blake  <eblake@redhat.com>
539         [BZ #12092]
540         * string/str-two-way.h (two_way_long_needle): Always clear memory
541         when skipping input due to the shift table.
543 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
545         [BZ #12005]
546         * malloc/mcheck.c: Handle large requests.
548         [BZ #12077]
549         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
550         for strncmp and strncasecmp.
551         * string/stratcliff.c: Add tests for strcmp and strncmp.
552         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
554 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
556         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
557         __set_fpscr.
559 2010-09-30  Andreas Jaeger  <aj@suse.de>
561         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
562         (CGROUP_SUPER_MAGIC): Define.
563         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
564         Handle btrfs and cgroup file systems.
565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
566         Likewise.
568 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
570         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
571         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
573 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
575         [BZ #12067]
576         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
577         trying to locate the ELF header.
579 2010-09-27  Andreas Schwab  <schwab@redhat.com>
581         [BZ #11611]
582         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
583         Mask out sign-bit copies when constructing f_fsid.
585 2010-09-24  Petr Baudis <pasky@suse.cz>
587         * debug/stack_chk_fail_local.c: Add missing licence exception.
588         * debug/warning-nop.c: Likewise.
590 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
592         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
593         implementing getdents64 using getdents syscall, set d_type if
594         __ASSUME_GETDENTS32_D_TYPE.
596 2010-09-16  Andreas Schwab  <schwab@redhat.com>
598         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
599         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
601 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
603         [BZ #12037]
604         * posix/unistd.h: Undo change of feature selection for ftruncate from
605         2010-01-11.
607 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
609         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
610         detection.
612 2010-09-20  Andreas Schwab  <schwab@redhat.com>
614         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
615         fanotify_mark.
616         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
618 2010-09-14  Andreas Schwab  <schwab@redhat.com>
620         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
621         variables after CHECK_SP call.
622         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
624 2010-09-13  Andreas Schwab  <schwab@redhat.com>
625             Ulrich Drepper  <drepper@redhat.com>
627         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
628         re-relocationg ld.so.
629         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
630         _dl_init_paths call.
631         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
632         here anymore.
634 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
636         * resolv/res_init.c (__res_vinit): Count the default server we added.
638 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
639             Ulrich Drepper  <drepper@redhat.com>
641         [BZ #11968]
642         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
643         (____longjmp_chk): Use %ebx for saving value across system call.
644         Add unwind info.
646 2010-09-06  Andreas Schwab  <schwab@redhat.com>
648         * manual/Makefile: Don't mix pattern rules with normal rules.
650 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
652         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
653         operation.
654         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
655         * libio/iofopncook.c (_IO_cookie_init): Likewise.
656         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
657         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
659         Likewise.
661 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
663         [BZ #11979]
664         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
665         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
667 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
669         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
670         * sysdeps/x86_64/addmul_1.S: Likewise.
671         * sysdeps/x86_64/lshift.S: Likewise.
672         * sysdeps/x86_64/mul_1.S: Likewise.
673         * sysdeps/x86_64/rshift.S: Likewise.
674         * sysdeps/x86_64/sub_n.S: Likewise.
675         * sysdeps/x86_64/submul_1.S: Likewise.
677 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
679         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
680         Define __sched_param instead of SCHED_* and sched_param when
681         <bits/sched.h> is included with __need_schedparam defined.
682         * bits/sched.h [__need_schedparam]
683         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
684         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
685         (__defined_schedparam): Define to 1.
686         (__sched_param): New structure, identical to sched_param.
687         (__need_schedparam): Undefine.
689 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
691         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
692         (epoll_create1): Declare.
694         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
696 2010-08-31  Andreas Schwab  <schwab@redhat.com>
698         [BZ #7066]
699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
700         shifting retval into place.
702 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
704         * nis/rpcsvc/nis.h: Update copyright notice.
705         * nis/rpcsvc/nis.x: Likewise.
706         * nis/rpcsvc/nis_callback.h: Likewise.
707         * nis/rpcsvc/nis_callback.x: Likewise.
708         * nis/rpcsvc/nis_object.x: Likewise.
709         * nis/rpcsvc/nis_tags.h: Likewise.
710         * nis/rpcsvc/yp.h: Likewise.
711         * nis/rpcsvc/yp.x: Likewise.
712         * nis/rpcsvc/ypupd.h: Likewise.
713         * nis/yp_xdr.c: Likewise.
714         * nis/ypupdate_xdr.c: Likewise.
716         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
717         mainly the body of pmap_getport.  Add parameters to specify timeouts.
718         (pmap_getport): Use __libc_rpc_getport.
719         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
720         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
721         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
723 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
726         fanotify_mark.
728 2010-08-27  Roland McGrath  <roland@redhat.com>
730         * sysdeps/i386/i686/multiarch/Makefile
731         (CFLAGS-varshift.c): New variable.
733 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
735         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
736         * sysdeps/i386/i686/multiarch/varshift.c: New file.
738         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
740         * sysdeps/x86_64/strlen.S: Minimal code improvement.
742 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
744         * sysdeps/x86_64/strlen.S: Unroll the loop.
745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
746         strlen-sse2 strlen-sse2-bsf.
747         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
748         __strlen_no_bsf if bit_Slow_BSF is set.
749         (__strlen_sse42): Removed.
750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
751         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
753 2010-08-25  Roland McGrath  <roland@redhat.com>
755         * sysdeps/x86_64/multiarch/varshift.S: File removed.
756         * sysdeps/x86_64/multiarch/varshift.c: New file.
757         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
758         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
759         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
760         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
762 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
764         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
765         strlen-sse2 strlen-sse2-bsf.
766         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
767         __strlen_sse2_bsf if bit_Slow_BSF is unset.
768         (__strlen_sse2): Removed.
769         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
770         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
772         bit_Slow_BSF for Atom.
773         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
774         (index_Slow_BSF): Define.
775         (HAS_SLOW_BSF): Define.
777 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
779         [BZ #10851]
780         * resolv/res_init.c (__res_vinit): When no server address at all
781         is given default to loopback.
783 2010-08-24  Roland McGrath  <roland@redhat.com>
785         * configure.in: Remove config-name.h generation.
786         * configure: Regenerated.
787         * config-name.in: File removed.
788         * scripts/config-uname.sh: New file.
789         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
790         ($(objdir)config-name.h): New target.
792         * sunrpc/rpc_parse.h: Avoid nested comment.
794 2010-08-24  Richard Henderson  <rth@redhat.com>
795             Ulrich Drepper  <drepper@redhat.com>
796             H.J. Lu  <hongjiu.lu@intel.com>
798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
800         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
801         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
802         _mm_alignr_epi8 with _mm_loadu_si128.
803         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
804         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
805         (__m128i_shift_right): Removed.
806         * sysdeps/i386/i686/multiarch/varshift.h: New file.
807         * sysdeps/i386/i686/multiarch/varshift.S: New file.
808         * sysdeps/x86_64/multiarch/varshift.h: New file.
809         * sysdeps/x86_64/multiarch/varshift.S: New file.
811 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
813         * configure.in: Move assembler checks to before sysdep dir checking.
815 2010-08-20  Petr Baudis  <pasky@suse.cz>
817         * LICENSES: Sync the sunrpc license.
819 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
821         * sunrpc/auth_des.c: Update copyright notice once again.
822         * sunrpc/auth_none.c: Likewise.
823         * sunrpc/auth_unix.c: Likewise.
824         * sunrpc/authdes_prot.c: Likewise.
825         * sunrpc/authuxprot.c: Likewise.
826         * sunrpc/bindrsvprt.c: Likewise.
827         * sunrpc/clnt_gen.c: Likewise.
828         * sunrpc/clnt_perr.c: Likewise.
829         * sunrpc/clnt_raw.c: Likewise.
830         * sunrpc/clnt_simp.c: Likewise.
831         * sunrpc/clnt_tcp.c: Likewise.
832         * sunrpc/clnt_udp.c: Likewise.
833         * sunrpc/clnt_unix.c: Likewise.
834         * sunrpc/des_crypt.c: Likewise.
835         * sunrpc/des_soft.c: Likewise.
836         * sunrpc/get_myaddr.c: Likewise.
837         * sunrpc/getrpcport.c: Likewise.
838         * sunrpc/key_call.c: Likewise.
839         * sunrpc/key_prot.c: Likewise.
840         * sunrpc/openchild.c: Likewise.
841         * sunrpc/pm_getmaps.c: Likewise.
842         * sunrpc/pm_getport.c: Likewise.
843         * sunrpc/pmap_clnt.c: Likewise.
844         * sunrpc/pmap_prot.c: Likewise.
845         * sunrpc/pmap_prot2.c: Likewise.
846         * sunrpc/pmap_rmt.c: Likewise.
847         * sunrpc/rpc/auth.h: Likewise.
848         * sunrpc/rpc/auth_unix.h: Likewise.
849         * sunrpc/rpc/clnt.h: Likewise.
850         * sunrpc/rpc/des_crypt.h: Likewise.
851         * sunrpc/rpc/key_prot.h: Likewise.
852         * sunrpc/rpc/netdb.h: Likewise.
853         * sunrpc/rpc/pmap_clnt.h: Likewise.
854         * sunrpc/rpc/pmap_prot.h: Likewise.
855         * sunrpc/rpc/pmap_rmt.h: Likewise.
856         * sunrpc/rpc/rpc.h: Likewise.
857         * sunrpc/rpc/rpc_des.h: Likewise.
858         * sunrpc/rpc/rpc_msg.h: Likewise.
859         * sunrpc/rpc/svc.h: Likewise.
860         * sunrpc/rpc/svc_auth.h: Likewise.
861         * sunrpc/rpc/types.h: Likewise.
862         * sunrpc/rpc/xdr.h: Likewise.
863         * sunrpc/rpc_clntout.c: Likewise.
864         * sunrpc/rpc_cmsg.c: Likewise.
865         * sunrpc/rpc_common.c: Likewise.
866         * sunrpc/rpc_cout.c: Likewise.
867         * sunrpc/rpc_dtable.c: Likewise.
868         * sunrpc/rpc_hout.c: Likewise.
869         * sunrpc/rpc_main.c: Likewise.
870         * sunrpc/rpc_parse.c: Likewise.
871         * sunrpc/rpc_parse.h: Likewise.
872         * sunrpc/rpc_prot.c: Likewise.
873         * sunrpc/rpc_sample.c: Likewise.
874         * sunrpc/rpc_scan.c: Likewise.
875         * sunrpc/rpc_scan.h: Likewise.
876         * sunrpc/rpc_svcout.c: Likewise.
877         * sunrpc/rpc_tblout.c: Likewise.
878         * sunrpc/rpc_util.c: Likewise.
879         * sunrpc/rpc_util.h: Likewise.
880         * sunrpc/rpcinfo.c: Likewise.
881         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
882         * sunrpc/rpcsvc/key_prot.x: Likewise.
883         * sunrpc/rpcsvc/klm_prot.x: Likewise.
884         * sunrpc/rpcsvc/mount.x: Likewise.
885         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
886         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
887         * sunrpc/rpcsvc/rex.x: Likewise.
888         * sunrpc/rpcsvc/rstat.x: Likewise.
889         * sunrpc/rpcsvc/rusers.x: Likewise.
890         * sunrpc/rpcsvc/sm_inter.x: Likewise.
891         * sunrpc/rpcsvc/spray.x: Likewise.
892         * sunrpc/rpcsvc/yppasswd.x: Likewise.
893         * sunrpc/rtime.c: Likewise.
894         * sunrpc/svc.c: Likewise.
895         * sunrpc/svc_auth.c: Likewise.
896         * sunrpc/svc_authux.c: Likewise.
897         * sunrpc/svc_raw.c: Likewise.
898         * sunrpc/svc_run.c: Likewise.
899         * sunrpc/svc_simple.c: Likewise.
900         * sunrpc/svc_tcp.c: Likewise.
901         * sunrpc/svc_udp.c: Likewise.
902         * sunrpc/svc_unix.c: Likewise.
903         * sunrpc/svcauth_des.c: Likewise.
904         * sunrpc/xcrypt.c: Likewise.
905         * sunrpc/xdr.c: Likewise.
906         * sunrpc/xdr_array.c: Likewise.
907         * sunrpc/xdr_float.c: Likewise.
908         * sunrpc/xdr_mem.c: Likewise.
909         * sunrpc/xdr_rec.c: Likewise.
910         * sunrpc/xdr_ref.c: Likewise.
911         * sunrpc/xdr_sizeof.c: Likewise.
912         * sunrpc/xdr_stdio.c: Likewise.
914         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
915         handling.
917 2010-08-19  Andreas Schwab  <schwab@redhat.com>
919         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
921 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
923         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
924         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
925         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
926         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
927         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
928         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
929         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
930         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
931         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
932         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
933         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
934         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
935         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
936         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
938 2010-07-26  Anton Blanchard  <anton@samba.org>
940         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
941         * malloc/arena.c (heap_trim): Likewise.
943 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
945         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
946         here.  Not...
947         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
948         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
950 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
952         * sysdeps/i386/elf/Makefile: New file.
954 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
956         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
957         from fanotify_init.
958         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
961 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
963         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
964         of strncasecmp_l.
965         * sysdeps/multiarch/strcmp.S: Likewise.
967 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
969         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
970         strncase_l-nonascii.
971         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
972         Add strncase_l-ssse3.
973         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
974         * sysdeps/x86_64/strcmp.S: Likewise.
975         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
976         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
977         * sysdeps/x86_64/strncase.S: New file.
978         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
979         * sysdeps/x86_64/strncase_l.S: New file.
980         * string/Makefile (strop-tests): Add strncasecmp.
981         * string/test-strncasecmp.c: New file.
983         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
984         warning.
986         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
987         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
989 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
991         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
993 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
995         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
996         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
997         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
999 2010-05-01  Alan Modra  <amodra@gmail.com>
1001         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1002         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1003         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1004         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1005         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1006         tidying.  Don't tail-call __sigjmp_save for static lib.
1007         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1008         save location.
1009         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1010         (CALL_MCOUNT): Add eh info, and nop after bl.
1011         (TAIL_CALL_SYSCALL_ERROR): New macro.
1012         (PSEUDO_RET): Use it.
1013         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1014         Correct save location of integer regs and cr.
1015         (_dl_profile_resolve): Correct cr save location.  Delete nops
1016         after bl when SHARED.  Reduce cfi size a little by better
1017         placement of cfi directives.
1018         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1019         make a stack frame.  Instead use parm save area as a temp.
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1021         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1023         Don't make a stack frame for parent, use parm save area.
1024         Increase child stack frame to 112 bytes.  Don't save unused reg,
1025         and adjust reg usage.  Set up cfi on error recovery and
1026         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1028         (__makecontext): Add dummy nop after jump to exit.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1030         Use correct parm save area and cr save, reduce stack frame.
1031         Correct cfi for possible PSEUDO_RET frame setup.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1033         Branch to local label emitted by PSEUDO_RET rather than
1034         __syscall_error.
1036 2010-08-12  Andreas Schwab  <schwab@redhat.com>
1038         [BZ #11904]
1039         * locale/programs/locale.c (print_assignment): New function.
1040         (show_locale_vars): Use it.
1042 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
1044         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1045         field.
1046         (struct statfs64): Likewise.
1047         (_STATFS_F_FLAGS): Define.
1048         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1049         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1050         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1051         (ST_VALID): Define locally.
1052         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1053         __statvfs_getflags, use the provided value.
1054         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1055         __ASSUME_STATFS_F_FLAGS.
1057         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1059         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1060         Add sys/fanotify.h.
1061         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1062         fanotify_mask for GLIBC_2.13.
1063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1064         fanotify_init and fanotify_mark.
1065         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1066         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1068         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1069         Add prlimit.
1070         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1071         prlimit64 for GLIBC_2.13.
1072         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1073         prlimit64.
1074         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1075         syscall.
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1077         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1078         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1079         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1080         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
1081         add prlimit alias.
1082         * sysdeps/unix/sysv/linux/prlimit.c: New file.
1084         [BZ #11903]
1085         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1086         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1088         * nss/Makefile: Add rules to build and run tst-nss-test1.
1089         * shlib-versions: Add entry for libnss_test1.
1090         * nss/nss_test1.c: New file.
1091         * nss/tst-nss-test1.c: New file.
1093         * nss/nsswitch.c (__nss_database_custom): Define new variable.
1094         (__nss_configure_lookup): Set appropriate entry in
1095         __nss_configure_lookup to true.
1096         * nss/nsswitch.h: Define enum with indeces of databases in
1097         databases and __nss_database_custom arrays.  Declare
1098         __nss_database_custom.
1099         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1100         to avoid using nscd when custom rules are installed.
1101         * nss/getXXbyYY_r.c: Likewise.
1102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1104         * nss/nss_files/files-parse.c: Whitespace fixes.
1106 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
1108         [BZ #11883]
1109         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1110         * posix/fnmatch_loop.c: Likewise.
1112 2010-07-17  Andi Kleen  <ak@linux.intel.com>
1114         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1115         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1116         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1117         * Versions.def [GLIBC_2.13]: Add.
1119 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
1121         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1122         Also fail if tpwd after pwuid call is NULL.
1124 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1126         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1127         when converting to ms.
1129 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1131         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1132         EOPNOTSUPP errors with ENOTTY.
1133         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1134         EOPNOTSUPP errors with ENOTTY.
1136 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
1138         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1139         Add strcasecmp_l-ssse3.
1140         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1141         strcasecmp.
1142         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1143         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1144         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1146 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
1148         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1150         * string/Makefile (strop-tests): Add strcasecmp.
1151         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1152         strcasecmp_l-nonascii.
1153         (gen-as-const-headers): Add locale-defines.sym.
1154         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1155         * sysdeps/x86_64/strcasecmp.S: New file.
1156         * sysdeps/x86_64/strcasecmp_l.S: New file.
1157         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1158         * sysdeps/x86_64/locale-defines.sym: New file.
1159         * string/test-strcasecmp.c: New file.
1161         * string/test-strcasestr.c: Test both ends of the range of characters.
1162         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1164 2010-07-29  Roland McGrath  <roland@redhat.com>
1166         [BZ #11856]
1167         * manual/locale.texi (Yes-or-No Questions): Fix example code.
1169 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
1171         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1172         for ld.so.
1174 2010-07-27  Andreas Schwab  <schwab@redhat.com>
1176         * manual/memory.texi (Malloc Tunable Parameters): Document
1177         M_PERTURB.
1179 2010-07-26  Roland McGrath  <roland@redhat.com>
1181         [BZ #11840]
1182         * configure.in (-fgnu89-inline check): Set and substitute
1183         gnu89_inline, not libc_cv_gnu89_inline.
1184         * configure: Regenerated.
1185         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1187 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
1189         * string/test-strnlen.c: New file.
1190         * string/Makefile (strop-tests): Add strnlen.
1191         * string/tester.c (test_strnlen): Add a few more test cases.
1192         * string/tst-strlen.c: Better error reporting.
1194         * sysdeps/x86_64/strnlen.S: New file.
1196 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
1198         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1199         lower-latency instructions.
1201 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
1203         * string/test-strcasestr.c: New file.
1204         * string/test-strstr.c: New file.
1205         * string/Makefile (strop-tests): Add strstr and strcasestr.
1206         * string/str-two-way.h: Don't undefine MAX.
1207         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1209 2010-07-21  Andreas Schwab  <schwab@redhat.com>
1211         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1212         strcasestr-nonascii.
1213         (CFLAGS-strcasestr-nonascii.c): Define.
1214         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1216         Remove unused attribute.
1218 2010-07-20  Roland McGrath  <roland@redhat.com>
1220         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1221         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
1222         ld.so.cache was broken.  With it, there is no way to disable dsocaps
1223         like LD_HWCAP_MASK can disable hwcaps.
1225 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1227         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1229 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
1231         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1232         call in strcasestr.
1233         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1234         __strcasestr_sse42_nonascii.
1235         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1236         strcasestr-nonascii.c.
1237         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1239 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
1241         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1242         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1243         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1244         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1246 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
1248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1249         fcntl.
1251 2010-07-06  Andreas Schwab  <schwab@redhat.com>
1253         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1254         dl_signal_cerror.
1256 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
1258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1259         _PC_PIPE_BUF using F_GETPIPE_SZ.
1261 2010-07-05  Roland McGrath  <roland@redhat.com>
1263         * manual/arith.texi (Rounding Functions): Fix rint description
1264         implicit in round description.
1266 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
1268         * elf/Makefile: Fix linking for a few tests to make recent linker
1269         happy.
1271 2010-06-30  Andreas Schwab  <schwab@redhat.com>
1273         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1274         $(common-objpfx)libc_nonshared.a.
1276 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
1278         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
1279         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
1280         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1281         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1282         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
1283         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
1284         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1285         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
1287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
1288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
1289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
1290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
1291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
1292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
1294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
1295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1300         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1301         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1302         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1303         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1304         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1305         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1306         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1307         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1308         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1309         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1310         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1311         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1327 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1329         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1330         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
1331         * string/memmove.c (memmove): Renamed to ...
1332         (MEMMOVE): ...this.  Default to memmove.
1333         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1334         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1335         (END_CHK): Define.
1336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1337         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1338         mempcpy-ssse3-back memmove-ssse3-back.
1339         * sysdeps/x86_64/multiarch/bcopy.S: New file .
1340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1342         * sysdeps/x86_64/multiarch/memcpy.S: New file.
1343         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1344         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1345         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1346         * sysdeps/x86_64/multiarch/memmove.c: New file.
1347         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1348         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1349         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1350         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1351         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1352         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1353         Define.
1354         (index_Fast_Copy_Backward): Define.
1355         (HAS_ARCH_FEATURE): Define.
1356         (HAS_FAST_REP_STRING): Define.
1357         (HAS_FAST_COPY_BACKWARD): Define.
1359 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1361         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1362         Restore proper fallback handling.
1364 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1366         [BZ #11701]
1367         * posix/group_member.c (__group_member): Correct checking loop.
1369         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1370         OOM in getpwuid_r correctly.  Return error number when the caller
1371         should return, otherwise -1.
1372         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1373         call returning > 0 value.
1374         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1376 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1378         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1379         libc_nonshared.a from targets in modules-names.
1381 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1383         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1384         requires it.
1386 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1388         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1389         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1391         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1393 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1395         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1397 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1399         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1400         and F_GETPIPE_SZ.
1401         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1402         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1405         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1406         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1408 2010-06-14  Roland McGrath  <roland@redhat.com>
1410         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1412 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1414         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1415         __REDIRECT followed by __THROW.
1416         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1417         * posix/getopt.h (getopt): Likewise.
1419 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1421         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1422         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1423         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1424         in AT_FLAGS.
1425         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1426         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1428 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1430         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1432 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1434         [BZ #11640]
1435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1436         Properly check family and model.
1438 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1440         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1442 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1444         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1446 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1448         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1449         symbol reference.
1451 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1453         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1454         symbol reference.
1456 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1458         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1459         and internal_recvmmsg.
1460         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1462         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1463         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1465         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1466         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1467         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1469 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1471         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1473 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1475         POWER7 optimizations.
1476         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1477         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1479 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1481         * version.h: Update for 2.13 development version.
1483 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1485         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1486         exceptions.  Return 0.
1488 2010-05-07  Roland McGrath  <roland@redhat.com>
1490         * elf/ldconfig.c (main): Add a const.
1492 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1494         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1495         (args_options): Add no-idn option.
1496         (ahosts_keys_int): Add idn_flags to ai_flags.
1497         (parse_option): Handle 'i' option to clear idn_flags.
1499         * malloc/malloc.c (_int_free): Possible race in the most recently
1500         added check.  Only act on the data if no current modification
1501         happened.
1503 See ChangeLog.17 for earlier changes.