Require suid bit on audit objects in privileged programs
[glibc.git] / ChangeLog
blob0b58beb289cb300e396e0b756257d786e8bd4eba
1 2010-10-22  Andreas Schwab  <schwab@redhat.com>
3         * include/dlfcn.h (__RTLD_SECURE): Define.
4         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
5         mode & __RTLD_SECURE instead.
6         (open_path): Remove preloaded parameter to secure.
7         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
8         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9         * elf/dl-deps.c (openaux): Likewise.
10         * elf/rtld.c (struct map_args): Remove is_preloaded.
11         (map_doit): Don't use it.
12         (dl_main): Likewise.
13         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
18         [BZ #3268]
19         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21         computation is not scheduled after fetestexcept.  Fix value
22         of minimum denormal long double.
24 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26         [BZ #3268]
27         * math/libm-test.inc (fma_test): Add some more tests.
28         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29         correctly.
31 2010-10-15  Andreas Schwab  <schwab@redhat.com>
33         * scripts/data/localplt-s390-linux-gnu.data: New file.
34         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38         * elf/dl-load.c (is_dst): Remove last parameter.
39         (_dl_dst_count): Ignore $ORIGIN in privileged programs.
40         (_dl_dst_substitute): Likewise.
42 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
44         [BZ #3268]
45         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47         instead of dbl-64.
48         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49         inlines.
50         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52         if one of x and y is very large and the other is subnormal.
53         * sysdeps/s390/fpu/s_fmaf.c: New file.
54         * sysdeps/s390/fpu/s_fma.c: New file.
55         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56         * sysdeps/powerpc/fpu/s_fma.S: New file.
57         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63         [BZ #3268]
64         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65         fma tests.
66         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
67         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
71         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76         [BZ #12078]
77         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78         * posix/bug-regex31.input: Add test case.
80 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
83         * posix/bug-regex31.input: New file.
85         [BZ #12078]
86         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87         (parse_sub_exp): Fix last change, use postorder.
89         * posix/bug-regex31.c: New file.
90         * posix/Makefile: Add rules to build and run bug-regex31.
92         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94         [BZ #12078]
95         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
97         [BZ #12108]
98         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
99         to have entries in sys_siglist.
101         [BZ #12093]
102         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
103         be NULL.
105 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
107         [BZ #3268]
108         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
109         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
110         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
111         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
112         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
113         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
114         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
115         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
116         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
117         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
118         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
119         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
120         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
121         * math/ftestexcept.c (fetestexcept): Likewise.
122         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
123         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
124         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
125         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
126         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
127         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
128         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
130 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
132         [BZ #12107]
133         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
134         newline.
136 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
138         * string/bug-strstr1.c: New file.
139         * string/Makefile: Add rules to build and run bug-strstr1.
141 2010-10-05  Eric Blake  <eblake@redhat.com>
143         [BZ #12092]
144         * string/str-two-way.h (two_way_long_needle): Always clear memory
145         when skipping input due to the shift table.
147 2010-10-05  Andreas Schwab  <schwab@redhat.com>
149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
150         decoding ACE if AI_CANONIDN.
152 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
154         [BZ #12005]
155         * malloc/mcheck.c: Handle large requests.
157         [BZ #12077]
158         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
159         for strncmp and strncasecmp.
160         * string/stratcliff.c: Add tests for strcmp and strncmp.
161         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
163 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
165         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
166         __set_fpscr.
168 2010-09-30  Andreas Jaeger  <aj@suse.de>
170         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
171         (CGROUP_SUPER_MAGIC): Define.
172         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
173         Handle btrfs and cgroup file systems.
174         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
175         Likewise.
177 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
179         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
180         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
182 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
184         [BZ #12067]
185         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
186         trying to locate the ELF header.
188 2010-09-27  Andreas Schwab  <schwab@redhat.com>
190         [BZ #11611]
191         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
192         Mask out sign-bit copies when constructing f_fsid.
194 2010-09-28  Andreas Schwab  <schwab@redhat.com>
196         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
197         before performing relro protection.
199 2010-09-27  Andreas Schwab  <schwab@redhat.com>
201         * include/link.h (struct link_map): Add l_free_initfini.
202         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
203         l_initfini.
204         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
205         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
206         set.
208         [BZ #11561]
209         * posix/regcomp.c (parse_bracket_exp): When looking up collating
210         elements compare against the byte sequence of it, not its name.
212         [BZ #6530]
213         * stdio-common/vfprintf.c (process_string_arg): Revert 2000-07-22
214         change.
216         * nss/nss_files/files-XXX.c (internal_getent): Declare linebuflen
217         as size_t.
219         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
220         backslash.
222 2010-09-24  Petr Baudis <pasky@suse.cz>
224         * debug/stack_chk_fail_local.c: Add missing licence exception.
225         * debug/warning-nop.c: Likewise.
227 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
229         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
230         implementing getdents64 using getdents syscall, set d_type if
231         __ASSUME_GETDENTS32_D_TYPE.
233 2010-09-16  Andreas Schwab  <schwab@redhat.com>
235         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
236         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
238 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
240         [BZ #12037]
241         * posix/unistd.h: Undo change of feature selection for ftruncate from
242         2010-01-11.
244 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
246         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
247         detection.
249 2010-09-20  Andreas Schwab  <schwab@redhat.com>
251         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
252         fanotify_mark.
253         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
255 2010-09-14  Andreas Schwab  <schwab@redhat.com>
257         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
258         variables after CHECK_SP call.
259         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
261 2010-09-13  Andreas Schwab  <schwab@redhat.com>
262             Ulrich Drepper  <drepper@redhat.com>
264         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
265         re-relocationg ld.so.
266         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
267         _dl_init_paths call.
268         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
269         here anymore.
271 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
273         * resolv/res_init.c (__res_vinit): Count the default server we added.
275 2010-09-13  Andreas Schwab  <schwab@redhat.com>
277         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
278         (sysd-rules-targets): Remove duplicates.
279         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
280         rtld-%.$o dependency.
282 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
283             Ulrich Drepper  <drepper@redhat.com>
285         [BZ #11968]
286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
287         (____longjmp_chk): Use %ebx for saving value across system call.
288         Add unwind info.
290 2010-09-06  Andreas Schwab  <schwab@redhat.com>
292         * manual/Makefile: Don't mix pattern rules with normal rules.
294 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
296         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
297         operation.
298         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
299         * libio/iofopncook.c (_IO_cookie_init): Likewise.
300         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
301         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
302         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
303         Likewise.
305 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
307         [BZ #11979]
308         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
309         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
311 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
313         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
314         * sysdeps/x86_64/addmul_1.S: Likewise.
315         * sysdeps/x86_64/lshift.S: Likewise.
316         * sysdeps/x86_64/mul_1.S: Likewise.
317         * sysdeps/x86_64/rshift.S: Likewise.
318         * sysdeps/x86_64/sub_n.S: Likewise.
319         * sysdeps/x86_64/submul_1.S: Likewise.
321 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
323         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
324         Define __sched_param instead of SCHED_* and sched_param when
325         <bits/sched.h> is included with __need_schedparam defined.
326         * bits/sched.h [__need_schedparam]
327         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
328         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
329         (__defined_schedparam): Define to 1.
330         (__sched_param): New structure, identical to sched_param.
331         (__need_schedparam): Undefine.
333 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
335         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
336         (epoll_create1): Declare.
338         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
340 2010-08-31  Andreas Schwab  <schwab@redhat.com>
342         [BZ #7066]
343         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
344         shifting retval into place.
346 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
348         * nis/rpcsvc/nis.h: Update copyright notice.
349         * nis/rpcsvc/nis.x: Likewise.
350         * nis/rpcsvc/nis_callback.h: Likewise.
351         * nis/rpcsvc/nis_callback.x: Likewise.
352         * nis/rpcsvc/nis_object.x: Likewise.
353         * nis/rpcsvc/nis_tags.h: Likewise.
354         * nis/rpcsvc/yp.h: Likewise.
355         * nis/rpcsvc/yp.x: Likewise.
356         * nis/rpcsvc/ypupd.h: Likewise.
357         * nis/yp_xdr.c: Likewise.
358         * nis/ypupdate_xdr.c: Likewise.
360         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
361         mainly the body of pmap_getport.  Add parameters to specify timeouts.
362         (pmap_getport): Use __libc_rpc_getport.
363         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
364         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
365         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
367 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
370         fanotify_mark.
372 2010-08-27  Roland McGrath  <roland@redhat.com>
374         * sysdeps/i386/i686/multiarch/Makefile
375         (CFLAGS-varshift.c): New variable.
377 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
379         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
380         * sysdeps/i386/i686/multiarch/varshift.c: New file.
382         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
384         * sysdeps/x86_64/strlen.S: Minimal code improvement.
386 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
388         * sysdeps/x86_64/strlen.S: Unroll the loop.
389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
390         strlen-sse2 strlen-sse2-bsf.
391         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
392         __strlen_no_bsf if bit_Slow_BSF is set.
393         (__strlen_sse42): Removed.
394         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
395         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
397 2010-08-25  Roland McGrath  <roland@redhat.com>
399         * sysdeps/x86_64/multiarch/varshift.S: File removed.
400         * sysdeps/x86_64/multiarch/varshift.c: New file.
401         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
402         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
403         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
404         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
406 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
409         strlen-sse2 strlen-sse2-bsf.
410         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
411         __strlen_sse2_bsf if bit_Slow_BSF is unset.
412         (__strlen_sse2): Removed.
413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
414         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
416         bit_Slow_BSF for Atom.
417         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
418         (index_Slow_BSF): Define.
419         (HAS_SLOW_BSF): Define.
421 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
423         [BZ #10851]
424         * resolv/res_init.c (__res_vinit): When no server address at all
425         is given default to loopback.
427 2010-08-24  Roland McGrath  <roland@redhat.com>
429         * configure.in: Remove config-name.h generation.
430         * configure: Regenerated.
431         * config-name.in: File removed.
432         * scripts/config-uname.sh: New file.
433         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
434         ($(objdir)config-name.h): New target.
436         * sunrpc/rpc_parse.h: Avoid nested comment.
438 2010-08-24  Richard Henderson  <rth@redhat.com>
439             Ulrich Drepper  <drepper@redhat.com>
440             H.J. Lu  <hongjiu.lu@intel.com>
442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
444         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
445         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
446         _mm_alignr_epi8 with _mm_loadu_si128.
447         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
448         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
449         (__m128i_shift_right): Removed.
450         * sysdeps/i386/i686/multiarch/varshift.h: New file.
451         * sysdeps/i386/i686/multiarch/varshift.S: New file.
452         * sysdeps/x86_64/multiarch/varshift.h: New file.
453         * sysdeps/x86_64/multiarch/varshift.S: New file.
455 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
457         * configure.in: Move assembler checks to before sysdep dir checking.
459 2010-08-20  Petr Baudis  <pasky@suse.cz>
461         * LICENSES: Sync the sunrpc license.
463 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
465         * sunrpc/auth_des.c: Update copyright notice once again.
466         * sunrpc/auth_none.c: Likewise.
467         * sunrpc/auth_unix.c: Likewise.
468         * sunrpc/authdes_prot.c: Likewise.
469         * sunrpc/authuxprot.c: Likewise.
470         * sunrpc/bindrsvprt.c: Likewise.
471         * sunrpc/clnt_gen.c: Likewise.
472         * sunrpc/clnt_perr.c: Likewise.
473         * sunrpc/clnt_raw.c: Likewise.
474         * sunrpc/clnt_simp.c: Likewise.
475         * sunrpc/clnt_tcp.c: Likewise.
476         * sunrpc/clnt_udp.c: Likewise.
477         * sunrpc/clnt_unix.c: Likewise.
478         * sunrpc/des_crypt.c: Likewise.
479         * sunrpc/des_soft.c: Likewise.
480         * sunrpc/get_myaddr.c: Likewise.
481         * sunrpc/getrpcport.c: Likewise.
482         * sunrpc/key_call.c: Likewise.
483         * sunrpc/key_prot.c: Likewise.
484         * sunrpc/openchild.c: Likewise.
485         * sunrpc/pm_getmaps.c: Likewise.
486         * sunrpc/pm_getport.c: Likewise.
487         * sunrpc/pmap_clnt.c: Likewise.
488         * sunrpc/pmap_prot.c: Likewise.
489         * sunrpc/pmap_prot2.c: Likewise.
490         * sunrpc/pmap_rmt.c: Likewise.
491         * sunrpc/rpc/auth.h: Likewise.
492         * sunrpc/rpc/auth_unix.h: Likewise.
493         * sunrpc/rpc/clnt.h: Likewise.
494         * sunrpc/rpc/des_crypt.h: Likewise.
495         * sunrpc/rpc/key_prot.h: Likewise.
496         * sunrpc/rpc/netdb.h: Likewise.
497         * sunrpc/rpc/pmap_clnt.h: Likewise.
498         * sunrpc/rpc/pmap_prot.h: Likewise.
499         * sunrpc/rpc/pmap_rmt.h: Likewise.
500         * sunrpc/rpc/rpc.h: Likewise.
501         * sunrpc/rpc/rpc_des.h: Likewise.
502         * sunrpc/rpc/rpc_msg.h: Likewise.
503         * sunrpc/rpc/svc.h: Likewise.
504         * sunrpc/rpc/svc_auth.h: Likewise.
505         * sunrpc/rpc/types.h: Likewise.
506         * sunrpc/rpc/xdr.h: Likewise.
507         * sunrpc/rpc_clntout.c: Likewise.
508         * sunrpc/rpc_cmsg.c: Likewise.
509         * sunrpc/rpc_common.c: Likewise.
510         * sunrpc/rpc_cout.c: Likewise.
511         * sunrpc/rpc_dtable.c: Likewise.
512         * sunrpc/rpc_hout.c: Likewise.
513         * sunrpc/rpc_main.c: Likewise.
514         * sunrpc/rpc_parse.c: Likewise.
515         * sunrpc/rpc_parse.h: Likewise.
516         * sunrpc/rpc_prot.c: Likewise.
517         * sunrpc/rpc_sample.c: Likewise.
518         * sunrpc/rpc_scan.c: Likewise.
519         * sunrpc/rpc_scan.h: Likewise.
520         * sunrpc/rpc_svcout.c: Likewise.
521         * sunrpc/rpc_tblout.c: Likewise.
522         * sunrpc/rpc_util.c: Likewise.
523         * sunrpc/rpc_util.h: Likewise.
524         * sunrpc/rpcinfo.c: Likewise.
525         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
526         * sunrpc/rpcsvc/key_prot.x: Likewise.
527         * sunrpc/rpcsvc/klm_prot.x: Likewise.
528         * sunrpc/rpcsvc/mount.x: Likewise.
529         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
530         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
531         * sunrpc/rpcsvc/rex.x: Likewise.
532         * sunrpc/rpcsvc/rstat.x: Likewise.
533         * sunrpc/rpcsvc/rusers.x: Likewise.
534         * sunrpc/rpcsvc/sm_inter.x: Likewise.
535         * sunrpc/rpcsvc/spray.x: Likewise.
536         * sunrpc/rpcsvc/yppasswd.x: Likewise.
537         * sunrpc/rtime.c: Likewise.
538         * sunrpc/svc.c: Likewise.
539         * sunrpc/svc_auth.c: Likewise.
540         * sunrpc/svc_authux.c: Likewise.
541         * sunrpc/svc_raw.c: Likewise.
542         * sunrpc/svc_run.c: Likewise.
543         * sunrpc/svc_simple.c: Likewise.
544         * sunrpc/svc_tcp.c: Likewise.
545         * sunrpc/svc_udp.c: Likewise.
546         * sunrpc/svc_unix.c: Likewise.
547         * sunrpc/svcauth_des.c: Likewise.
548         * sunrpc/xcrypt.c: Likewise.
549         * sunrpc/xdr.c: Likewise.
550         * sunrpc/xdr_array.c: Likewise.
551         * sunrpc/xdr_float.c: Likewise.
552         * sunrpc/xdr_mem.c: Likewise.
553         * sunrpc/xdr_rec.c: Likewise.
554         * sunrpc/xdr_ref.c: Likewise.
555         * sunrpc/xdr_sizeof.c: Likewise.
556         * sunrpc/xdr_stdio.c: Likewise.
558         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
559         handling.
561 2010-08-19  Andreas Schwab  <schwab@redhat.com>
563         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
565 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
567         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
568         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
569         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
570         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
571         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
572         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
573         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
574         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
575         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
576         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
577         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
578         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
579         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
580         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
582 2010-07-26  Anton Blanchard  <anton@samba.org>
584         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
585         * malloc/arena.c (heap_trim): Likewise.
587 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
589         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
590         here.  Not...
591         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
592         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
594 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
596         * sysdeps/i386/elf/Makefile: New file.
598 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
600         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
601         from fanotify_init.
602         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
605 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
607         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
608         of strncasecmp_l.
609         * sysdeps/multiarch/strcmp.S: Likewise.
611 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
613         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
614         strncase_l-nonascii.
615         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
616         Add strncase_l-ssse3.
617         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
618         * sysdeps/x86_64/strcmp.S: Likewise.
619         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
620         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
621         * sysdeps/x86_64/strncase.S: New file.
622         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
623         * sysdeps/x86_64/strncase_l.S: New file.
624         * string/Makefile (strop-tests): Add strncasecmp.
625         * string/test-strncasecmp.c: New file.
627         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
628         warning.
630         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
631         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
633 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
635         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
637 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
639         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
640         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
641         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
643 2010-05-01  Alan Modra  <amodra@gmail.com>
645         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
646         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
647         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
648         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
649         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
650         tidying.  Don't tail-call __sigjmp_save for static lib.
651         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
652         save location.
653         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
654         (CALL_MCOUNT): Add eh info, and nop after bl.
655         (TAIL_CALL_SYSCALL_ERROR): New macro.
656         (PSEUDO_RET): Use it.
657         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
658         Correct save location of integer regs and cr.
659         (_dl_profile_resolve): Correct cr save location.  Delete nops
660         after bl when SHARED.  Reduce cfi size a little by better
661         placement of cfi directives.
662         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
663         make a stack frame.  Instead use parm save area as a temp.
664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
665         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
667         Don't make a stack frame for parent, use parm save area.
668         Increase child stack frame to 112 bytes.  Don't save unused reg,
669         and adjust reg usage.  Set up cfi on error recovery and
670         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
672         (__makecontext): Add dummy nop after jump to exit.
673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
674         Use correct parm save area and cr save, reduce stack frame.
675         Correct cfi for possible PSEUDO_RET frame setup.
676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
677         Branch to local label emitted by PSEUDO_RET rather than
678         __syscall_error.
680 2010-08-12  Andreas Schwab  <schwab@redhat.com>
682         [BZ #11904]
683         * locale/programs/locale.c (print_assignment): New function.
684         (show_locale_vars): Use it.
686 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
688         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
689         field.
690         (struct statfs64): Likewise.
691         (_STATFS_F_FLAGS): Define.
692         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
693         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
694         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
695         (ST_VALID): Define locally.
696         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
697         __statvfs_getflags, use the provided value.
698         * sysdeps/unix/sysv/linux/kernel-features.h: Define
699         __ASSUME_STATFS_F_FLAGS.
701         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
703         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
704         Add sys/fanotify.h.
705         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
706         fanotify_mask for GLIBC_2.13.
707         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
708         fanotify_init and fanotify_mark.
709         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
710         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
712         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
713         Add prlimit.
714         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
715         prlimit64 for GLIBC_2.13.
716         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
717         prlimit64.
718         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
719         syscall.
720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
721         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
723         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
724         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
725         add prlimit alias.
726         * sysdeps/unix/sysv/linux/prlimit.c: New file.
728         [BZ #11903]
729         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
730         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
732         * nss/Makefile: Add rules to build and run tst-nss-test1.
733         * shlib-versions: Add entry for libnss_test1.
734         * nss/nss_test1.c: New file.
735         * nss/tst-nss-test1.c: New file.
737         * nss/nsswitch.c (__nss_database_custom): Define new variable.
738         (__nss_configure_lookup): Set appropriate entry in
739         __nss_configure_lookup to true.
740         * nss/nsswitch.h: Define enum with indeces of databases in
741         databases and __nss_database_custom arrays.  Declare
742         __nss_database_custom.
743         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
744         to avoid using nscd when custom rules are installed.
745         * nss/getXXbyYY_r.c: Likewise.
746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
748         * nss/nss_files/files-parse.c: Whitespace fixes.
750 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
752         [BZ #11883]
753         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
754         * posix/fnmatch_loop.c: Likewise.
756 2010-07-17  Andi Kleen  <ak@linux.intel.com>
758         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
759         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
760         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
761         * Versions.def [GLIBC_2.13]: Add.
763 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
765         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
766         Also fail if tpwd after pwuid call is NULL.
768 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
770         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
771         when converting to ms.
773 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
775         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
776         EOPNOTSUPP errors with ENOTTY.
777         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
778         EOPNOTSUPP errors with ENOTTY.
780 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
782         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
783         Add strcasecmp_l-ssse3.
784         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
785         strcasecmp.
786         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
787         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
788         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
790 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
792         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
794         * string/Makefile (strop-tests): Add strcasecmp.
795         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
796         strcasecmp_l-nonascii.
797         (gen-as-const-headers): Add locale-defines.sym.
798         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
799         * sysdeps/x86_64/strcasecmp.S: New file.
800         * sysdeps/x86_64/strcasecmp_l.S: New file.
801         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
802         * sysdeps/x86_64/locale-defines.sym: New file.
803         * string/test-strcasecmp.c: New file.
805         * string/test-strcasestr.c: Test both ends of the range of characters.
806         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
808 2010-07-29  Roland McGrath  <roland@redhat.com>
810         [BZ #11856]
811         * manual/locale.texi (Yes-or-No Questions): Fix example code.
813 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
815         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
816         for ld.so.
818 2010-07-27  Andreas Schwab  <schwab@redhat.com>
820         * manual/memory.texi (Malloc Tunable Parameters): Document
821         M_PERTURB.
823 2010-07-26  Roland McGrath  <roland@redhat.com>
825         [BZ #11840]
826         * configure.in (-fgnu89-inline check): Set and substitute
827         gnu89_inline, not libc_cv_gnu89_inline.
828         * configure: Regenerated.
829         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
831 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
833         * string/test-strnlen.c: New file.
834         * string/Makefile (strop-tests): Add strnlen.
835         * string/tester.c (test_strnlen): Add a few more test cases.
836         * string/tst-strlen.c: Better error reporting.
838         * sysdeps/x86_64/strnlen.S: New file.
840 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
842         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
843         lower-latency instructions.
845 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
847         * string/test-strcasestr.c: New file.
848         * string/test-strstr.c: New file.
849         * string/Makefile (strop-tests): Add strstr and strcasestr.
850         * string/str-two-way.h: Don't undefine MAX.
851         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
853 2010-07-21  Andreas Schwab  <schwab@redhat.com>
855         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
856         strcasestr-nonascii.
857         (CFLAGS-strcasestr-nonascii.c): Define.
858         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
859         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
860         Remove unused attribute.
862 2010-07-20  Roland McGrath  <roland@redhat.com>
864         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
865         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
866         ld.so.cache was broken.  With it, there is no way to disable dsocaps
867         like LD_HWCAP_MASK can disable hwcaps.
869 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
871         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
873 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
875         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
876         call in strcasestr.
877         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
878         __strcasestr_sse42_nonascii.
879         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
880         strcasestr-nonascii.c.
881         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
883 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
885         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
886         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
887         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
888         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
890 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
892         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
893         fcntl.
895 2010-07-06  Andreas Schwab  <schwab@redhat.com>
897         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
898         dl_signal_cerror.
900 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
903         _PC_PIPE_BUF using F_GETPIPE_SZ.
905 2010-07-05  Roland McGrath  <roland@redhat.com>
907         * manual/arith.texi (Rounding Functions): Fix rint description
908         implicit in round description.
910 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
912         * elf/Makefile: Fix linking for a few tests to make recent linker
913         happy.
915 2010-06-30  Andreas Schwab  <schwab@redhat.com>
917         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
918         $(common-objpfx)libc_nonshared.a.
920 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
922         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
923         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
924         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
925         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
926         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
927         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
928         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
929         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
944         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
945         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
946         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
947         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
948         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
949         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
950         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
951         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
952         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
953         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
954         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
955         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
971 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
973         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
974         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
975         * string/memmove.c (memmove): Renamed to ...
976         (MEMMOVE): ...this.  Default to memmove.
977         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
978         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
979         (END_CHK): Define.
980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
981         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
982         mempcpy-ssse3-back memmove-ssse3-back.
983         * sysdeps/x86_64/multiarch/bcopy.S: New file .
984         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
985         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
986         * sysdeps/x86_64/multiarch/memcpy.S: New file.
987         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
988         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
989         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
990         * sysdeps/x86_64/multiarch/memmove.c: New file.
991         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
992         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
993         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
994         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
996         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
997         Define.
998         (index_Fast_Copy_Backward): Define.
999         (HAS_ARCH_FEATURE): Define.
1000         (HAS_FAST_REP_STRING): Define.
1001         (HAS_FAST_COPY_BACKWARD): Define.
1003 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1005         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1006         Restore proper fallback handling.
1008 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
1010         [BZ #11701]
1011         * posix/group_member.c (__group_member): Correct checking loop.
1013         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
1014         OOM in getpwuid_r correctly.  Return error number when the caller
1015         should return, otherwise -1.
1016         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
1017         call returning > 0 value.
1018         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
1020 2010-07-01  Andreas Schwab  <schwab@redhat.com>
1022         * include/sys/resource.h (__getrlimit): Add hidden proto.
1023         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add libc_hidden_weak.
1024         * sysdeps/mach/hurd/getrlimit.c: Add libc_hidden_def.
1025         * resource/getrlimit.c: Likewise.
1027 2010-06-28  Andreas Schwab  <schwab@redhat.com>
1029         * allocatestack.c (setxid_mark_thread): Ensure that the exiting
1030         thread is woken up.
1032         * elf/Makefile: Add rules to build and run unload8 test.
1033         * elf/unload8.c: New file.
1034         * elf/unload8mod1.c: New file.
1035         * elf/unload8mod1x.c: New file.
1036         * elf/unload8mod2.c: New file.
1037         * elf/unload8mod3.c: New file.
1039         * elf/dl-close.c (_dl_close_worker): Reset private search list if
1040         it wasn't used.
1042 2010-06-21  Andreas Schwab  <schwab@redhat.com>
1044         * sysdeps/i386/i686/Makefile: Don't pass -mtune to assembler.
1046 2010-06-07  Andreas Schwab  <schwab@redhat.com>
1048         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
1049         libc_nonshared.a from targets in modules-names.
1051 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
1053         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
1054         requires it.
1056 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
1058         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
1059         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
1060         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
1061         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
1063 2010-06-02  Andreas Schwab  <schwab@redhat.com>
1065         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
1067 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
1069         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
1070         and F_GETPIPE_SZ.
1071         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
1072         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
1073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1075         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
1076         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
1078 2010-06-14  Roland McGrath  <roland@redhat.com>
1080         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
1082 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
1084         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
1085         __REDIRECT followed by __THROW.
1086         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
1087         * posix/getopt.h (getopt): Likewise.
1089 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1091         * hurd/lookup-at.c (__file_name_lookup_at): Accept
1092         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
1093         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
1094         in AT_FLAGS.
1095         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
1096         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
1098 2010-06-11  Andreas Schwab  <schwab@redhat.com>
1100         * elf/rtld.c (_dl_starting_up): Always define.
1101         (dl_main): Always set _dl_starting_up.
1102         * elf/dl-support.c (_dl_starting_up): Always define.
1103         * elf/dl-init.c (_dl_init): Always clear _dl_starting_up.
1105 2010-06-10  Andreas Schwab  <schwab@redhat.com>
1107         * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE
1108         is always available.
1110         * sysdeps/unix/sysv/linux/i386/Versions: Export __uname under
1111         GLIBC_PRIVATE.
1112         * nptl/Versions: Export __getrlimit under GLIBC_PRIVATE.
1113         * sysdeps/unix/sysv/linux/i386/smp.h: Call __uname instead of uname.
1114         * nptl/nptl-init.c: Call __getrlimit instead of getrlimit.
1116 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
1118         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
1120 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
1122         [BZ #11640]
1123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1124         Properly check family and model.
1126 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
1128         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
1130 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
1132         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
1134 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
1136         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
1137         symbol reference.
1139 2010-05-19  Andreas Schwab  <schwab@redhat.com>
1141         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
1142         symbol reference.
1144 2010-05-21  Andreas Schwab  <schwab@redhat.com>
1146         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
1147         and internal_recvmmsg.
1148         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
1149         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
1150         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
1151         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
1153         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
1154         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1155         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1157 2010-05-20  Andreas Schwab  <schwab@redhat.com>
1159         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
1161 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
1163         POWER7 optimizations.
1164         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
1165         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
1167 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
1169         * version.h: Update for 2.13 development version.
1171 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
1173         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
1174         exceptions.  Return 0.
1176 2010-05-07  Roland McGrath  <roland@redhat.com>
1178         * elf/ldconfig.c (main): Add a const.
1180 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
1182         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
1183         (args_options): Add no-idn option.
1184         (ahosts_keys_int): Add idn_flags to ai_flags.
1185         (parse_option): Handle 'i' option to clear idn_flags.
1187         * malloc/malloc.c (_int_free): Possible race in the most recently
1188         added check.  Only act on the data if no current modification
1189         happened.
1191 See ChangeLog.17 for earlier changes.