Verify in ttyname() that the symlink is valid.
[glibc.git] / ChangeLog
blobafed643aa8b729869201189d7e2c86486751fd4a
1 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
3         [BZ #12167]
4         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
5         of inacessible symlinks.  Verify result of symlink before returning it.
6         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9 2010-10-28  Erich Ritz  <erichritz@gmail.com>
11         * math/math.h (isinf): Fix typo in comment.
13 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
15         * po/da.po: Update from translation team.
17 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
19         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20         is added to the list.
22 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23             Ulrich Drepper  <drepper@gmail.com>
25         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26         the global list here.  Move code to...
27         (_dl_add_to_namespace_list): ...here.  New function.
28         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30         * elf/dl-load.c (lose): Don't remove the element from the list.
31         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32         (_dl_map_object): Likewise.
34 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36         [BZ #12159]
37         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38         into all bytes of SSE register.
39         Patch by Richard Li <richardpku@gmail.com>.
41 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43         [BZ #12140]
44         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45         perturbing.
47 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54         submachine.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59         * include/dlfcn.h (__RTLD_SECURE): Define.
60         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61         mode & __RTLD_SECURE instead.
62         (open_path): Rename preloaded parameter to secure.
63         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65         * elf/dl-deps.c (openaux): Likewise.
66         * elf/rtld.c (struct map_args): Remove is_preloaded.
67         (map_doit): Don't use it.
68         (dl_main): Likewise.
69         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75         (sysd-rules-targets): Remove duplicates.
76         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77         rtld-%.$o dependency.
79 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82         _dl_map_object do it.
84 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
86         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87         fast fma builtins, define the macros in the C99 standard.
88         (FP_FAST_FMAF): Likewise.
89         (FP_FAST_FMAL): Likewise.
90         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92         * bits/mathdef.h: Update copyright year.
93         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
97         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
98         builtins, define the macros in the C99 standard.
99         (FP_FAST_FMAF): Likewise.
100         (FP_FAST_FMAL): Likewise.
101         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
102         multiply/add.
103         (FP_FAST_FMAF): Likewise.
105 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
107         [BZ #3268]
108         * math/libm-test.inc (fma_test): Some new testcases.
109         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
110         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
111         y and infinite z.  Do multiplication by C already in long double.
112         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
114         y and infinite z.  Do bitwise or of inexact bit into u.d.
115         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
116         * sysdeps/i386/fpu/s_fmaf.S: Removed.
117         * sysdeps/i386/fpu/s_fma.S: Removed.
118         * sysdeps/i386/fpu/s_fmal.S: Removed.
120 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
122         [BZ #3268]
123         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
125         computation is not scheduled after fetestexcept.  Fix value
126         of minimum denormal long double.
128 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
130         [BZ #3268]
131         * math/libm-test.inc (fma_test): Add some more tests.
132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
133         correctly.
135 2010-10-15  Andreas Schwab  <schwab@redhat.com>
137         * scripts/data/localplt-s390-linux-gnu.data: New file.
138         * scripts/data/localplt-s390x-linux-gnu.data: New file.
140 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
142         [BZ #3268]
143         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
144         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
145         instead of dbl-64.
146         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
147         inlines.
148         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
150         if one of x and y is very large and the other is subnormal.
151         * sysdeps/s390/fpu/s_fmaf.c: New file.
152         * sysdeps/s390/fpu/s_fma.c: New file.
153         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
154         * sysdeps/powerpc/fpu/s_fma.S: New file.
155         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
156         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
157         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
159 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
161         [BZ #3268]
162         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
163         fma tests.
164         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
165         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
166         * sysdeps/i386/i686/multiarch/s_fma.c: Include
167         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
168         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
169         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
170         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
172 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
174         [BZ #12078]
175         * posix/regcomp.c (parse_branch): One more memory leak plugged.
176         * posix/bug-regex31.input: Add test case.
178 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
180         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
181         * posix/bug-regex31.input: New file.
183         [BZ #12078]
184         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
185         (parse_sub_exp): Fix last change, use postorder.
187         * posix/bug-regex31.c: New file.
188         * posix/Makefile: Add rules to build and run bug-regex31.
190         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
192         [BZ #12078]
193         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
195         [BZ #12108]
196         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
197         to have entries in sys_siglist.
199         [BZ #12093]
200         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
201         be NULL.
203 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
205         [BZ #3268]
206         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
207         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
208         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
209         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
210         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
211         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
212         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
213         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
214         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
215         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
216         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
217         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
218         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
219         * math/ftestexcept.c (fetestexcept): Likewise.
220         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
221         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
222         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
223         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
224         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
225         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
226         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
228 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
230         [BZ #12107]
231         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
232         newline.
234 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
236         * string/bug-strstr1.c: New file.
237         * string/Makefile: Add rules to build and run bug-strstr1.
239 2010-10-05  Eric Blake  <eblake@redhat.com>
241         [BZ #12092]
242         * string/str-two-way.h (two_way_long_needle): Always clear memory
243         when skipping input due to the shift table.
245 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
247         [BZ #12005]
248         * malloc/mcheck.c: Handle large requests.
250         [BZ #12077]
251         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
252         for strncmp and strncasecmp.
253         * string/stratcliff.c: Add tests for strcmp and strncmp.
254         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
256 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
258         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
259         __set_fpscr.
261 2010-09-30  Andreas Jaeger  <aj@suse.de>
263         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
264         (CGROUP_SUPER_MAGIC): Define.
265         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
266         Handle btrfs and cgroup file systems.
267         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
268         Likewise.
270 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
272         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
273         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
275 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
277         [BZ #12067]
278         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
279         trying to locate the ELF header.
281 2010-09-27  Andreas Schwab  <schwab@redhat.com>
283         [BZ #11611]
284         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
285         Mask out sign-bit copies when constructing f_fsid.
287 2010-09-24  Petr Baudis <pasky@suse.cz>
289         * debug/stack_chk_fail_local.c: Add missing licence exception.
290         * debug/warning-nop.c: Likewise.
292 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
294         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
295         implementing getdents64 using getdents syscall, set d_type if
296         __ASSUME_GETDENTS32_D_TYPE.
298 2010-09-16  Andreas Schwab  <schwab@redhat.com>
300         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
301         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
303 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
305         [BZ #12037]
306         * posix/unistd.h: Undo change of feature selection for ftruncate from
307         2010-01-11.
309 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
311         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
312         detection.
314 2010-09-20  Andreas Schwab  <schwab@redhat.com>
316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
317         fanotify_mark.
318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
320 2010-09-14  Andreas Schwab  <schwab@redhat.com>
322         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
323         variables after CHECK_SP call.
324         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
326 2010-09-13  Andreas Schwab  <schwab@redhat.com>
327             Ulrich Drepper  <drepper@redhat.com>
329         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
330         re-relocationg ld.so.
331         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
332         _dl_init_paths call.
333         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
334         here anymore.
336 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
338         * resolv/res_init.c (__res_vinit): Count the default server we added.
340 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
341             Ulrich Drepper  <drepper@redhat.com>
343         [BZ #11968]
344         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
345         (____longjmp_chk): Use %ebx for saving value across system call.
346         Add unwind info.
348 2010-09-06  Andreas Schwab  <schwab@redhat.com>
350         * manual/Makefile: Don't mix pattern rules with normal rules.
352 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
354         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
355         operation.
356         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
357         * libio/iofopncook.c (_IO_cookie_init): Likewise.
358         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
359         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
361         Likewise.
363 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
365         [BZ #11979]
366         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
367         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
369 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
371         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
372         * sysdeps/x86_64/addmul_1.S: Likewise.
373         * sysdeps/x86_64/lshift.S: Likewise.
374         * sysdeps/x86_64/mul_1.S: Likewise.
375         * sysdeps/x86_64/rshift.S: Likewise.
376         * sysdeps/x86_64/sub_n.S: Likewise.
377         * sysdeps/x86_64/submul_1.S: Likewise.
379 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
381         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
382         Define __sched_param instead of SCHED_* and sched_param when
383         <bits/sched.h> is included with __need_schedparam defined.
384         * bits/sched.h [__need_schedparam]
385         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
386         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
387         (__defined_schedparam): Define to 1.
388         (__sched_param): New structure, identical to sched_param.
389         (__need_schedparam): Undefine.
391 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
393         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
394         (epoll_create1): Declare.
396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
398 2010-08-31  Andreas Schwab  <schwab@redhat.com>
400         [BZ #7066]
401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
402         shifting retval into place.
404 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
406         * nis/rpcsvc/nis.h: Update copyright notice.
407         * nis/rpcsvc/nis.x: Likewise.
408         * nis/rpcsvc/nis_callback.h: Likewise.
409         * nis/rpcsvc/nis_callback.x: Likewise.
410         * nis/rpcsvc/nis_object.x: Likewise.
411         * nis/rpcsvc/nis_tags.h: Likewise.
412         * nis/rpcsvc/yp.h: Likewise.
413         * nis/rpcsvc/yp.x: Likewise.
414         * nis/rpcsvc/ypupd.h: Likewise.
415         * nis/yp_xdr.c: Likewise.
416         * nis/ypupdate_xdr.c: Likewise.
418         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
419         mainly the body of pmap_getport.  Add parameters to specify timeouts.
420         (pmap_getport): Use __libc_rpc_getport.
421         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
422         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
423         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
425 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
428         fanotify_mark.
430 2010-08-27  Roland McGrath  <roland@redhat.com>
432         * sysdeps/i386/i686/multiarch/Makefile
433         (CFLAGS-varshift.c): New variable.
435 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
437         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
438         * sysdeps/i386/i686/multiarch/varshift.c: New file.
440         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
442         * sysdeps/x86_64/strlen.S: Minimal code improvement.
444 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
446         * sysdeps/x86_64/strlen.S: Unroll the loop.
447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
448         strlen-sse2 strlen-sse2-bsf.
449         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
450         __strlen_no_bsf if bit_Slow_BSF is set.
451         (__strlen_sse42): Removed.
452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
453         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
455 2010-08-25  Roland McGrath  <roland@redhat.com>
457         * sysdeps/x86_64/multiarch/varshift.S: File removed.
458         * sysdeps/x86_64/multiarch/varshift.c: New file.
459         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
460         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
461         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
462         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
464 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
466         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
467         strlen-sse2 strlen-sse2-bsf.
468         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
469         __strlen_sse2_bsf if bit_Slow_BSF is unset.
470         (__strlen_sse2): Removed.
471         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
474         bit_Slow_BSF for Atom.
475         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
476         (index_Slow_BSF): Define.
477         (HAS_SLOW_BSF): Define.
479 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
481         [BZ #10851]
482         * resolv/res_init.c (__res_vinit): When no server address at all
483         is given default to loopback.
485 2010-08-24  Roland McGrath  <roland@redhat.com>
487         * configure.in: Remove config-name.h generation.
488         * configure: Regenerated.
489         * config-name.in: File removed.
490         * scripts/config-uname.sh: New file.
491         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
492         ($(objdir)config-name.h): New target.
494         * sunrpc/rpc_parse.h: Avoid nested comment.
496 2010-08-24  Richard Henderson  <rth@redhat.com>
497             Ulrich Drepper  <drepper@redhat.com>
498             H.J. Lu  <hongjiu.lu@intel.com>
500         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
502         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
503         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
504         _mm_alignr_epi8 with _mm_loadu_si128.
505         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
506         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
507         (__m128i_shift_right): Removed.
508         * sysdeps/i386/i686/multiarch/varshift.h: New file.
509         * sysdeps/i386/i686/multiarch/varshift.S: New file.
510         * sysdeps/x86_64/multiarch/varshift.h: New file.
511         * sysdeps/x86_64/multiarch/varshift.S: New file.
513 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
515         * configure.in: Move assembler checks to before sysdep dir checking.
517 2010-08-20  Petr Baudis  <pasky@suse.cz>
519         * LICENSES: Sync the sunrpc license.
521 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
523         * sunrpc/auth_des.c: Update copyright notice once again.
524         * sunrpc/auth_none.c: Likewise.
525         * sunrpc/auth_unix.c: Likewise.
526         * sunrpc/authdes_prot.c: Likewise.
527         * sunrpc/authuxprot.c: Likewise.
528         * sunrpc/bindrsvprt.c: Likewise.
529         * sunrpc/clnt_gen.c: Likewise.
530         * sunrpc/clnt_perr.c: Likewise.
531         * sunrpc/clnt_raw.c: Likewise.
532         * sunrpc/clnt_simp.c: Likewise.
533         * sunrpc/clnt_tcp.c: Likewise.
534         * sunrpc/clnt_udp.c: Likewise.
535         * sunrpc/clnt_unix.c: Likewise.
536         * sunrpc/des_crypt.c: Likewise.
537         * sunrpc/des_soft.c: Likewise.
538         * sunrpc/get_myaddr.c: Likewise.
539         * sunrpc/getrpcport.c: Likewise.
540         * sunrpc/key_call.c: Likewise.
541         * sunrpc/key_prot.c: Likewise.
542         * sunrpc/openchild.c: Likewise.
543         * sunrpc/pm_getmaps.c: Likewise.
544         * sunrpc/pm_getport.c: Likewise.
545         * sunrpc/pmap_clnt.c: Likewise.
546         * sunrpc/pmap_prot.c: Likewise.
547         * sunrpc/pmap_prot2.c: Likewise.
548         * sunrpc/pmap_rmt.c: Likewise.
549         * sunrpc/rpc/auth.h: Likewise.
550         * sunrpc/rpc/auth_unix.h: Likewise.
551         * sunrpc/rpc/clnt.h: Likewise.
552         * sunrpc/rpc/des_crypt.h: Likewise.
553         * sunrpc/rpc/key_prot.h: Likewise.
554         * sunrpc/rpc/netdb.h: Likewise.
555         * sunrpc/rpc/pmap_clnt.h: Likewise.
556         * sunrpc/rpc/pmap_prot.h: Likewise.
557         * sunrpc/rpc/pmap_rmt.h: Likewise.
558         * sunrpc/rpc/rpc.h: Likewise.
559         * sunrpc/rpc/rpc_des.h: Likewise.
560         * sunrpc/rpc/rpc_msg.h: Likewise.
561         * sunrpc/rpc/svc.h: Likewise.
562         * sunrpc/rpc/svc_auth.h: Likewise.
563         * sunrpc/rpc/types.h: Likewise.
564         * sunrpc/rpc/xdr.h: Likewise.
565         * sunrpc/rpc_clntout.c: Likewise.
566         * sunrpc/rpc_cmsg.c: Likewise.
567         * sunrpc/rpc_common.c: Likewise.
568         * sunrpc/rpc_cout.c: Likewise.
569         * sunrpc/rpc_dtable.c: Likewise.
570         * sunrpc/rpc_hout.c: Likewise.
571         * sunrpc/rpc_main.c: Likewise.
572         * sunrpc/rpc_parse.c: Likewise.
573         * sunrpc/rpc_parse.h: Likewise.
574         * sunrpc/rpc_prot.c: Likewise.
575         * sunrpc/rpc_sample.c: Likewise.
576         * sunrpc/rpc_scan.c: Likewise.
577         * sunrpc/rpc_scan.h: Likewise.
578         * sunrpc/rpc_svcout.c: Likewise.
579         * sunrpc/rpc_tblout.c: Likewise.
580         * sunrpc/rpc_util.c: Likewise.
581         * sunrpc/rpc_util.h: Likewise.
582         * sunrpc/rpcinfo.c: Likewise.
583         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
584         * sunrpc/rpcsvc/key_prot.x: Likewise.
585         * sunrpc/rpcsvc/klm_prot.x: Likewise.
586         * sunrpc/rpcsvc/mount.x: Likewise.
587         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
588         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
589         * sunrpc/rpcsvc/rex.x: Likewise.
590         * sunrpc/rpcsvc/rstat.x: Likewise.
591         * sunrpc/rpcsvc/rusers.x: Likewise.
592         * sunrpc/rpcsvc/sm_inter.x: Likewise.
593         * sunrpc/rpcsvc/spray.x: Likewise.
594         * sunrpc/rpcsvc/yppasswd.x: Likewise.
595         * sunrpc/rtime.c: Likewise.
596         * sunrpc/svc.c: Likewise.
597         * sunrpc/svc_auth.c: Likewise.
598         * sunrpc/svc_authux.c: Likewise.
599         * sunrpc/svc_raw.c: Likewise.
600         * sunrpc/svc_run.c: Likewise.
601         * sunrpc/svc_simple.c: Likewise.
602         * sunrpc/svc_tcp.c: Likewise.
603         * sunrpc/svc_udp.c: Likewise.
604         * sunrpc/svc_unix.c: Likewise.
605         * sunrpc/svcauth_des.c: Likewise.
606         * sunrpc/xcrypt.c: Likewise.
607         * sunrpc/xdr.c: Likewise.
608         * sunrpc/xdr_array.c: Likewise.
609         * sunrpc/xdr_float.c: Likewise.
610         * sunrpc/xdr_mem.c: Likewise.
611         * sunrpc/xdr_rec.c: Likewise.
612         * sunrpc/xdr_ref.c: Likewise.
613         * sunrpc/xdr_sizeof.c: Likewise.
614         * sunrpc/xdr_stdio.c: Likewise.
616         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
617         handling.
619 2010-08-19  Andreas Schwab  <schwab@redhat.com>
621         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
623 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
625         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
626         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
627         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
628         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
629         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
630         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
631         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
632         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
634         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
635         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
636         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
637         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
638         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
640 2010-07-26  Anton Blanchard  <anton@samba.org>
642         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
643         * malloc/arena.c (heap_trim): Likewise.
645 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
647         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
648         here.  Not...
649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
650         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
652 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
654         * sysdeps/i386/elf/Makefile: New file.
656 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
658         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
659         from fanotify_init.
660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
663 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
665         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
666         of strncasecmp_l.
667         * sysdeps/multiarch/strcmp.S: Likewise.
669 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
671         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
672         strncase_l-nonascii.
673         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
674         Add strncase_l-ssse3.
675         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
676         * sysdeps/x86_64/strcmp.S: Likewise.
677         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
678         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
679         * sysdeps/x86_64/strncase.S: New file.
680         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
681         * sysdeps/x86_64/strncase_l.S: New file.
682         * string/Makefile (strop-tests): Add strncasecmp.
683         * string/test-strncasecmp.c: New file.
685         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
686         warning.
688         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
689         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
691 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
693         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
695 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
697         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
698         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
699         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
701 2010-05-01  Alan Modra  <amodra@gmail.com>
703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
704         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
705         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
706         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
707         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
708         tidying.  Don't tail-call __sigjmp_save for static lib.
709         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
710         save location.
711         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
712         (CALL_MCOUNT): Add eh info, and nop after bl.
713         (TAIL_CALL_SYSCALL_ERROR): New macro.
714         (PSEUDO_RET): Use it.
715         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
716         Correct save location of integer regs and cr.
717         (_dl_profile_resolve): Correct cr save location.  Delete nops
718         after bl when SHARED.  Reduce cfi size a little by better
719         placement of cfi directives.
720         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
721         make a stack frame.  Instead use parm save area as a temp.
722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
723         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
725         Don't make a stack frame for parent, use parm save area.
726         Increase child stack frame to 112 bytes.  Don't save unused reg,
727         and adjust reg usage.  Set up cfi on error recovery and
728         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
730         (__makecontext): Add dummy nop after jump to exit.
731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
732         Use correct parm save area and cr save, reduce stack frame.
733         Correct cfi for possible PSEUDO_RET frame setup.
734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
735         Branch to local label emitted by PSEUDO_RET rather than
736         __syscall_error.
738 2010-08-12  Andreas Schwab  <schwab@redhat.com>
740         [BZ #11904]
741         * locale/programs/locale.c (print_assignment): New function.
742         (show_locale_vars): Use it.
744 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
746         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
747         field.
748         (struct statfs64): Likewise.
749         (_STATFS_F_FLAGS): Define.
750         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
751         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
752         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
753         (ST_VALID): Define locally.
754         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
755         __statvfs_getflags, use the provided value.
756         * sysdeps/unix/sysv/linux/kernel-features.h: Define
757         __ASSUME_STATFS_F_FLAGS.
759         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
761         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
762         Add sys/fanotify.h.
763         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
764         fanotify_mask for GLIBC_2.13.
765         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
766         fanotify_init and fanotify_mark.
767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
768         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
770         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
771         Add prlimit.
772         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
773         prlimit64 for GLIBC_2.13.
774         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
775         prlimit64.
776         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
777         syscall.
778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
780         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
781         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
782         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
783         add prlimit alias.
784         * sysdeps/unix/sysv/linux/prlimit.c: New file.
786         [BZ #11903]
787         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
788         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
790         * nss/Makefile: Add rules to build and run tst-nss-test1.
791         * shlib-versions: Add entry for libnss_test1.
792         * nss/nss_test1.c: New file.
793         * nss/tst-nss-test1.c: New file.
795         * nss/nsswitch.c (__nss_database_custom): Define new variable.
796         (__nss_configure_lookup): Set appropriate entry in
797         __nss_configure_lookup to true.
798         * nss/nsswitch.h: Define enum with indeces of databases in
799         databases and __nss_database_custom arrays.  Declare
800         __nss_database_custom.
801         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
802         to avoid using nscd when custom rules are installed.
803         * nss/getXXbyYY_r.c: Likewise.
804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
806         * nss/nss_files/files-parse.c: Whitespace fixes.
808 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
810         [BZ #11883]
811         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
812         * posix/fnmatch_loop.c: Likewise.
814 2010-07-17  Andi Kleen  <ak@linux.intel.com>
816         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
817         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
818         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
819         * Versions.def [GLIBC_2.13]: Add.
821 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
823         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
824         Also fail if tpwd after pwuid call is NULL.
826 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
828         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
829         when converting to ms.
831 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
833         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
834         EOPNOTSUPP errors with ENOTTY.
835         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
836         EOPNOTSUPP errors with ENOTTY.
838 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
840         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
841         Add strcasecmp_l-ssse3.
842         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
843         strcasecmp.
844         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
845         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
846         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
848 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
850         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
852         * string/Makefile (strop-tests): Add strcasecmp.
853         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
854         strcasecmp_l-nonascii.
855         (gen-as-const-headers): Add locale-defines.sym.
856         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
857         * sysdeps/x86_64/strcasecmp.S: New file.
858         * sysdeps/x86_64/strcasecmp_l.S: New file.
859         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
860         * sysdeps/x86_64/locale-defines.sym: New file.
861         * string/test-strcasecmp.c: New file.
863         * string/test-strcasestr.c: Test both ends of the range of characters.
864         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
866 2010-07-29  Roland McGrath  <roland@redhat.com>
868         [BZ #11856]
869         * manual/locale.texi (Yes-or-No Questions): Fix example code.
871 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
873         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
874         for ld.so.
876 2010-07-27  Andreas Schwab  <schwab@redhat.com>
878         * manual/memory.texi (Malloc Tunable Parameters): Document
879         M_PERTURB.
881 2010-07-26  Roland McGrath  <roland@redhat.com>
883         [BZ #11840]
884         * configure.in (-fgnu89-inline check): Set and substitute
885         gnu89_inline, not libc_cv_gnu89_inline.
886         * configure: Regenerated.
887         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
889 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
891         * string/test-strnlen.c: New file.
892         * string/Makefile (strop-tests): Add strnlen.
893         * string/tester.c (test_strnlen): Add a few more test cases.
894         * string/tst-strlen.c: Better error reporting.
896         * sysdeps/x86_64/strnlen.S: New file.
898 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
900         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
901         lower-latency instructions.
903 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
905         * string/test-strcasestr.c: New file.
906         * string/test-strstr.c: New file.
907         * string/Makefile (strop-tests): Add strstr and strcasestr.
908         * string/str-two-way.h: Don't undefine MAX.
909         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
911 2010-07-21  Andreas Schwab  <schwab@redhat.com>
913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
914         strcasestr-nonascii.
915         (CFLAGS-strcasestr-nonascii.c): Define.
916         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
917         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
918         Remove unused attribute.
920 2010-07-20  Roland McGrath  <roland@redhat.com>
922         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
923         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
924         ld.so.cache was broken.  With it, there is no way to disable dsocaps
925         like LD_HWCAP_MASK can disable hwcaps.
927 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
929         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
931 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
933         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
934         call in strcasestr.
935         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
936         __strcasestr_sse42_nonascii.
937         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
938         strcasestr-nonascii.c.
939         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
941 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
943         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
944         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
945         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
946         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
948 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
950         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
951         fcntl.
953 2010-07-06  Andreas Schwab  <schwab@redhat.com>
955         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
956         dl_signal_cerror.
958 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
960         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
961         _PC_PIPE_BUF using F_GETPIPE_SZ.
963 2010-07-05  Roland McGrath  <roland@redhat.com>
965         * manual/arith.texi (Rounding Functions): Fix rint description
966         implicit in round description.
968 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
970         * elf/Makefile: Fix linking for a few tests to make recent linker
971         happy.
973 2010-06-30  Andreas Schwab  <schwab@redhat.com>
975         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
976         $(common-objpfx)libc_nonshared.a.
978 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
980         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
981         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
982         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
983         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
984         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
985         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
986         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
987         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
1002         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
1003         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
1004         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
1005         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
1006         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
1007         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
1008         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
1009         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
1010         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
1011         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
1012         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
1013         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
1015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
1017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
1021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
1027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
1029 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
1031         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
1032         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
1033         * string/memmove.c (memmove): Renamed to ...
1034         (MEMMOVE): ...this.  Default to memmove.
1035         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
1036         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
1037         (END_CHK): Define.
1038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1039         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
1040         mempcpy-ssse3-back memmove-ssse3-back.
1041         * sysdeps/x86_64/multiarch/bcopy.S: New file .
1042         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
1043         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
1044         * sysdeps/x86_64/multiarch/memcpy.S: New file.
1045         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
1046         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
1047         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
1048         * sysdeps/x86_64/multiarch/memmove.c: New file.
1049         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
1050         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
1051         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
1052         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
1053         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
1054         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
1055         Define.
1056         (index_Fast_Copy_Backward): Define.
1057         (HAS_ARCH_FEATURE): Define.
1058         (HAS_FAST_REP_STRING): Define.
1059         (HAS_FAST_COPY_BACKWARD): Define.
1061 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1063         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1064         Restore proper fallback handling.
1066 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1068         [BZ #11701]
1069         * posix/group_member.c (__group_member): Correct checking loop.
1071         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1072         OOM in getpwuid_r correctly.  Return error number when the caller
1073         should return, otherwise -1.
1074         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1075         call returning > 0 value.
1076         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1078 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1080         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1081         libc_nonshared.a from targets in modules-names.
1083 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1085         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1086         requires it.
1088 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1090         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1091         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1092         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1095 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1097         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1099 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1101         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1102         and F_GETPIPE_SZ.
1103         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1104         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1107         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1108         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1110 2010-06-14  Roland McGrath  <roland@redhat.com>
1112         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1114 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1116         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1117         __REDIRECT followed by __THROW.
1118         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1119         * posix/getopt.h (getopt): Likewise.
1121 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1123         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1124         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1125         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1126         in AT_FLAGS.
1127         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1128         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1130 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1132         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1134 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1136         [BZ #11640]
1137         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1138         Properly check family and model.
1140 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1142         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1144 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1146         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1148 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1150         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1151         symbol reference.
1153 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1155         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1156         symbol reference.
1158 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1160         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1161         and internal_recvmmsg.
1162         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1163         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1164         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1165         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1167         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1168         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1169         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1171 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1173         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1175 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1177         POWER7 optimizations.
1178         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1179         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1181 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1183         * version.h: Update for 2.13 development version.
1185 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1187         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1188         exceptions.  Return 0.
1190 2010-05-07  Roland McGrath  <roland@redhat.com>
1192         * elf/ldconfig.c (main): Add a const.
1194 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1196         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1197         (args_options): Add no-idn option.
1198         (ahosts_keys_int): Add idn_flags to ai_flags.
1199         (parse_option): Handle 'i' option to clear idn_flags.
1201         * malloc/malloc.c (_int_free): Possible race in the most recently
1202         added check.  Only act on the data if no current modification
1203         happened.
1205 See ChangeLog.17 for earlier changes.