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