Don't use removed rpc headers
[glibc.git] / ChangeLog
blob7f2e75c4f4817f4809c25368ba7913451aba0cf9
1 2011-05-05  Andreas Schwab  <schwab@redhat.com>
3         * resolv/netdb.h: Don't include <rpc/netdb.h>.
4         * nis/Makefile: Don't install rpcsvc/*.
5         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6         instead of <rpc/types.h>.
7         (MAXHOSTNAMELEN): Define.
9 2011-05-03  Andreas Schwab  <schwab@redhat.com>
11         * elf/ldconfig.c (add_dir): Don't crash on empty path.
13 2011-04-28  Maciej Babinski  <mbabinski@google.com>
15         [BZ #12714]
16         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
17         gethostbyname4_r when IPv6 results are possible.
19 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21         [BZ #12723]
22         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
23         _PC_PIPE_BUF handling.
25 2011-04-30  Bruno Haible  <bruno@clisp.org>
27         [BZ #12717]
28         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29         * resolv/netdb.h (getnameinfo): Change type of flags parameter
30         to 'int'.
31         * inet/getnameinfo.c (getnameinfo): Likewise.
33 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36         to groups setting in database lookup.
37         * nss/nsswitch.conf: Add initgroups entry.
39 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
41         [BZ #12685]
42         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43         mode string.
44         Patch by Eric Blake <eblake@redhat.com>.
46 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48         * sunrpc/Makefile (need-export-routines): Add svc_run.
49         (routines): Remove svc_run.
50         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52         * sunrpc/svc_run.c (svc_run): Likewise.
53         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
57         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58         problem in reallocation in last patch.
60 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62         * sunrpc/Makefile: Move inclusion of Rules.
64 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
66         * nss/nss_files/files-initgroups.c: New file.
67         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69         _nss_files_initgroups_dyn.
71 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73         * elf/elf.h (R_ARM_IRELATIVE): Define.
75 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77         * po/ru.po: Update from translation team.
79 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
82         dependencies.
84 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86         [BZ #12653]
87         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
89         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
90         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
95         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
96         differing bytes.
97         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
98         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
99         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
101 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
103         [BZ #12420]
104         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
105         storing it.
106         * stdlib/bug-getcontext.c: New file.
107         * stdlib/Makefile: Add rules to build and run bug-getcontext.
109 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
111         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
112         instructions into .machine "z9-109".
113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
114         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
116 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
118         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
119         between environment variables and auxiliary vector.
121 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
123         * Makefile: Add rules to build linkobj/libc.so.
124         * include/libc-symbols.h: Define libc_hidden_nolink.
125         * include/rpc/auth.h: Mark functions which are to be hidden.
126         * include/rpc/auth_des.h: Likewise.
127         * include/rpc/auth_unix.h: Likewise.
128         * include/rpc/clnt.h: Likewise.
129         * include/rpc/des_crypt.h: Likewise.
130         * include/rpc/key_prot.h: Likewise.
131         * include/rpc/pmap_clnt.h: Likewise.
132         * include/rpc/pmap_prot.h: Likewise.
133         * include/rpc/pmap_rmt.h: Likewise.
134         * include/rpc/rpc_msg.h: Likewise.
135         * include/rpc/svc.h: Likewise.
136         * include/rpc/svc_auth.h: Likewise.
137         * include/rpc/xdr.h: Likewise.
138         * nis/Makefile: Link all DSOs against linkobj/libc.so.
139         * nss/Makefile: Likewise.
140         * sunrpc/Makefile: Don't install headers.  Build library with normal
141         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
142         * sunrpc/auth_des.c: Hide exported symbols by default, export some
143         for the compat linking library.  Remove use of INTDEF/INTUSE.
144         * sunrpc/auth_none.c: Likewise.
145         * sunrpc/auth_unix.c: Likewise.
146         * sunrpc/authdes_prot.c: Likewise.
147         * sunrpc/authuxprot.c: Likewise.
148         * sunrpc/clnt_gen.c: Likewise.
149         * sunrpc/clnt_perr.c: Likewise.
150         * sunrpc/clnt_raw.c: Likewise.
151         * sunrpc/clnt_simp.c: Likewise.
152         * sunrpc/clnt_tcp.c: Likewise.
153         * sunrpc/clnt_udp.c: Likewise.
154         * sunrpc/clnt_unix.c: Likewise.
155         * sunrpc/des_crypt.c: Likewise.
156         * sunrpc/des_soft.c: Likewise.
157         * sunrpc/get_myaddr.c: Likewise.
158         * sunrpc/key_call.c: Likewise.
159         * sunrpc/key_prot.c: Likewise.
160         * sunrpc/netname.c: Likewise.
161         * sunrpc/pm_getmaps.c: Likewise.
162         * sunrpc/pm_getport.c: Likewise.
163         * sunrpc/pmap_clnt.c: Likewise.
164         * sunrpc/pmap_prot.c: Likewise.
165         * sunrpc/pmap_prot2.c: Likewise.
166         * sunrpc/pmap_rmt.c: Likewise.
167         * sunrpc/publickey.c: Likewise.
168         * sunrpc/rpc_cmsg.c: Likewise.
169         * sunrpc/rpc_common.c: Likewise.
170         * sunrpc/rpc_dtable.c: Likewise.
171         * sunrpc/rpc_prot.c: Likewise.
172         * sunrpc/rpc_thread.c: Likewise.
173         * sunrpc/rtime.c: Likewise.
174         * sunrpc/svc.c: Likewise.
175         * sunrpc/svc_auth.c: Likewise.
176         * sunrpc/svc_authux.c: Likewise.
177         * sunrpc/svc_raw.c: Likewise.
178         * sunrpc/svc_run.c: Likewise.
179         * sunrpc/svc_simple.c: Likewise.
180         * sunrpc/svc_tcp.c: Likewise.
181         * sunrpc/svc_udp.c: Likewise.
182         * sunrpc/svc_unix.c: Likewise.
183         * sunrpc/svcauth_des.c: Likewise.
184         * sunrpc/xcrypt.c: Likewise.
185         * sunrpc/xdr.c: Likewise.
186         * sunrpc/xdr_array.c: Likewise.
187         * sunrpc/xdr_float.c: Likewise.
188         * sunrpc/xdr_intXX_t.c: Likewise.
189         * sunrpc/xdr_mem.c: Likewise.
190         * sunrpc/xdr_rec.c: Likewise.
191         * sunrpc/xdr_ref.c: Likewise.
192         * sunrpc/xdr_sizeof.c: Likewise.
193         * sunrpc/xdr_stdio.c: Likewise.
195 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
197         [BZ #12650]
198         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
199         * sysdeps/ia64/dl-tls.h: Likewise.
200         * sysdeps/powerpc/dl-tls.h: Likewise.
201         * sysdeps/s390/dl-tls.h: Likewise.
202         * sysdeps/sh/dl-tls.h: Likewise.
203         * sysdeps/sparc/dl-tls.h: Likewise.
204         * sysdeps/x86_64/dl-tls.h: Likewise.
205         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
207 2011-03-14  Andreas Schwab  <schwab@redhat.com>
209         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
210         rpath element also skip the following colon.
211         (expand_dynamic_string_token): Add is_path parameter and pass
212         down to DL_DST_REQUIRED and _dl_dst_substitute.
213         (decompose_rpath): Call expand_dynamic_string_token with
214         non-zero is_path.  Ignore empty rpaths.
215         (_dl_map_object_from_fd): Call expand_dynamic_string_token
216         with zero is_path.
218 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
221         Make cancelable.
223 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
225         [BZ #12655]
226         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
227         Patch by Filipe David Manana <fdmanana@apache.org>.
229 2011-04-07  Andreas Schwab  <schwab@redhat.com>
231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
232         Maintain aligned stack.
233         (CHECK_RSP): Remove unused macro.
235 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
237         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
238         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
240 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
242         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
244         * include/features.h: Mention __USE_XOPEN2K8 in comment.
246 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
248         [BZ #12518]
249         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
250         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
251         * sysdeps/x86_64/memmove.c: New file.
252         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
253         (memcpy): Renamed to ...
254         (__new_memcpy): This.
255         (memcpy): Provide GLIBC_2_14 memcpy.
256         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
257         (memcpy): Provide GLIBC_2_2_5 memcpy.
259 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
261         [BZ #12631]
262         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
264 2011-03-30  Andreas Schwab  <schwab@redhat.com>
266         * misc/syncfs.c: New file.
267         * misc/Makefile (routines): Add syncfs.
268         * posix/unistd.h: Declare syncfs.
269         * sysdeps/unix/syscalls.list: Add syncfs.
271 2011-04-01  Andreas Schwab  <schwab@redhat.com>
273         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
274         open_by_handle_at.
275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
276         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
278         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
280         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
281         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
285         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
286         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
287         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
289         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
290         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
291         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
293         * io/Makefile: Compile fallocate.c, fallocate64.c, and
294         sync_file_range.c with -fexceptions.
295         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
296         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
297         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
298         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
299         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
300         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
302         sync_file_range as cancellation point
303         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
304         now a wrapper around __call_sync_file_range with cancellation handling.
305         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
306         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
307         function name to __call_sync_file_range.
308         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
309         Add call_sync_file_range.
311 2011-04-01  Andreas Schwab  <schwab@redhat.com>
313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
314         bits/timex.h.
316 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
318         * iconv/iconv.h: Fix typo in comment.
319         * io/fcntl.h: Likewise.
320         * libio/stdio.h: Likewise.
321         * posix/spawn.h: Likewise.
322         * posix/unistd.h: Likewise.
323         * stdlib/stdlib.h: Likewise.
324         * time/time.h: Likewise.
325         * wcsmbs/wchar.h: Likewise.
327         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
328         open_by_handle): Add.
329         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
330         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
331         Augment a few comments.
332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
334         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
337         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
338         open_by_handle.
340         * io/fcntl.h (AT_EMPTY_PATH): Define.
342 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
344         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
345         * sysdeps/unix/sysv/linux/bits/time.h: New file.
346         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
347         to...
348         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
349         * Versions.def: Add GLIBC_2.14.
350         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
351         Export.
353 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
355         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
356         round counter.
357         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
359 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
361         [BZ #12597]
362         * string/test-strncmp.c (do_page_test): New function.
363         (check2): Likewise.
364         (test_main): Call check2.
365         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
367 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
369         [BZ #12587]
370         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
371         Handle cache information in CPU leaf 4.
372         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
374 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
376         [BZ #12583]
377         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
378         character representation.
379         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
381 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
383         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
384         END(__isnan) to END(__isnanf) to match function entry point/label
385         EALIGN(__isnanf,...).
387 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
389         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
391 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
393         [BZ #12510]
394         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
395         copy from the symbol referenced in the relocation to initialize the
396         used variable.
397         Patch by Piotr Bury <pbury@goahead.com>.
398         * elf/Makefile: Add rules to build and tst-unique3.
399         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
400         * elf/tst-unique3.cc: New file.
401         * elf/tst-unique3.h: New file.
402         * elf/tst-unique3lib.cc: New file.
403         * elf/tst-unique3lib2.cc: New file.
405         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
407 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
409         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
410         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
411         to _start.
413 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
415         * elf/dl-load.c (_dl_map_object): If we are looking for the first
416         to-be-loaded object along a path to loader is ld.so.
418 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
419             Ulrich Drepper  <drepper@gmail.com>
421         * sysdeps/x86_64/memset.S: After aligning destination, code
422         branches to different locations depending on the value of
423         misalignment, when multiarch is enabled. Fix this.
425 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
427         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
428         Set _x86_64_preferred_memory_instruction for AMD processsors.
429         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
430         Set bit_Prefer_SSE_for_memop for AMD processors.
432 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
434         * libio/fmemopen.c (fmemopen): Optimize a bit.
436 2011-03-03  Andreas Schwab  <schwab@redhat.com>
438         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
440 2011-03-03  Roland McGrath  <roland@redhat.com>
442         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
444 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
446         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
447         __bzero_ultra1 instead of __memset_ultra1.
449 2011-02-23  Andreas Schwab  <schwab@redhat.com>
450             Ulrich Drepper  <drepper@gmail.com>
452         [BZ #12509]
453         * include/link.h (struct link_map): Add l_orig_initfini.
454         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
455         returning unsuccessfully.
456         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
457         close of a file loaded at startup, restore the original l_initfini
458         list.
459         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
460         list, store the pointer.
461         * elf/Makefile ($(objpfx)noload-mem): New rule.
462         (noload-ENV): Define.
463         (tests): Add $(objpfx)noload-mem.
464         * elf/noload.c: Include <memcheck.h>.
465         (main): Call mtrace.  Close all opened handles.
467 2011-02-17  Andreas Schwab  <schwab@redhat.com>
469         [BZ #12454]
470         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
471         dependencies are missing.
473 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
475         Fix __if_freereq crash: Unlike the generic version which uses free,
476         Hurd needs munmap.
477         * sysdeps/mach/hurd/ifreq.h: New file.
479 2011-01-27  Petr Baudis  <pasky@suse.cz>
480             Ulrich Drepper  <drepper@gmail.com>
482         [BZ 12445]#
483         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
484         to extend_alloca().
485         * stdio-common/bug23.c: New file.
486         * stdio-common/Makefile (tests): Add bug23.
488 2010-09-28  Andreas Schwab  <schwab@redhat.com>
489             Ulrich Drepper  <drepper@gmail.com>
491         [BZ #12489]
492         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
493         before performing relro protection.  At old place add assertion
494         to make sure nothing changed.
496 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
497             Glauber de Oliveira Costa  <glommer@gmail.com>
499         * elf/elf.h: Add new ARM TLS relocs.
501 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
504         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
505         cast from r3.
506         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
507         'tests' variable.
508         * sysdeps/wordsize-64/tst-writev.c: New file.
510 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
512         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
513         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
514         insns in _dl_start to prevent a TOC reference before relocs are
515         resolved.
517 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
519         [BZ #12469]
520         * Makeconfig: Remove RANLIB definition.
521         * Makerules: Don't use RANLIB.
522         * aclocal.m4: Remove ranlib test.
523         * configure.in: No need to check for ranlib.
524         * elf/rtld-Rules: Don't use RANLIB.
526 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
528         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
529         protection macro.
530         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
531         inclusion protection macro.
533         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
534         SIGRTMIN and SIGRTMAX and print information in that case only when
535         SIGRTMIN is defined.
537 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
539         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
540         arginfo fn returning -1.
542         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
543         and thousands string is zero terminated.
545 2011-02-03  Andreas Schwab  <schwab@redhat.com>
547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
548         sysdeps/unix/sysv/linux/bits/socket.h.
550 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
552         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
553         (__CPU_COUNT): Remove old macros.
554         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
555         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
556         (__CPU_ALLOC, __CPU_FREE): Add macros.
557         (__sched_cpualloc, __sched_cpufree): Add declarations.
559 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
561         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
562         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
563         * nscd/aicache.c (addhstaiX): Return timeout of added value.
564         (readdhstai): Return value of addhstaiX call.
565         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
566         (addgrbyX): Return value returned by cache_addgr.
567         (readdgrbyname): Return value returned by addgrbyX.
568         (readdgrbygid): Likewise.
569         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
570         (addpwbyX): Return value returned by cache_addpw.
571         (readdpwbyname): Return value returned by addhstbyX.
572         (readdpwbyuid): Likewise.
573         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
574         (addservbyX): Return value returned by cache_addserv.
575         (readdservbyname): Return value returned by addservbyX:
576         (readdservbyport): Likewise.
577         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
578         (addhstbyX): Return value returned by cache_addhst.
579         (readdhstbyname): Return value returned by addhstbyX.
580         (readdhstbyaddr): Likewise.
581         (readdhstbynamev6): Likewise.
582         (readdhstbyaddrv6): Likewise.
583         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
584         (readdinitgroups): Return value returned by addinitgroupsX.
585         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
586         (prune_cache): Keep track of timeout value of re-added entries.
587         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
588         * nscd/nscd.h: Adjust prototypes of readd* functions.
590 2011-02-04  Roland McGrath  <roland@redhat.com>
592         * nis/nis_server.c (nis_servstate): Use the right name for 0.
593         (nis_stats): Likewise.
594         * nis/nis_modify.c (nis_modify): Likewise.
595         * nis/nis_remove.c (nis_remove): Likewise.
596         * nis/nis_add.c (nis_add): Likewise.
598         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
600         * posix/fnmatch_loop.c: Add some consts.
602         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
604 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
606         [BZ #12460]
607         * config.make.in (config-cflags-novzeroupper): Define.
608         * configure.in: Substitute libc_cv_cc_novzeroupper.
609         * elf/Makefile (AVX-CFLAGS): Define.
610         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
611         (CFLAGS-tst-auditmod4a.c): Likewise.
612         (CFLAGS-tst-auditmod4b.c): Likewise.
613         (CFLAGS-tst-auditmod6b.c): Likewise.
614         (CFLAGS-tst-auditmod6c.c): Likewise.
615         (CFLAGS-tst-auditmod7b.c): Likewise.
616         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
618 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
620         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
621         function to the callback.
622         Patch partly by Jiri Olsa <jolsa@redhat.com>.
624 2011-02-02  Andreas Schwab  <schwab@redhat.com>
626         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
627         of errno.
629 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
631         [BZ #11724]
632         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
633         of constructors.
634         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
635         of destructors.
636         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
638         [BZ #11724]
639         * elf/Makefile: Add rules to build and run new test.
640         * elf/tst-initorder.c: New file.
641         * elf/tst-initorder.exp: New file.
642         * elf/tst-initordera1.c: New file.
643         * elf/tst-initordera2.c: New file.
644         * elf/tst-initordera3.c: New file.
645         * elf/tst-initordera4.c: New file.
646         * elf/tst-initorderb1.c: New file.
647         * elf/tst-initorderb2.c: New file.
648         * elf/tst-order-a1.c: New file.
649         * elf/tst-order-a2.c: New file.
650         * elf/tst-order-a3.c: New file.
651         * elf/tst-order-a4.c: New file.
652         * elf/tst-order-b1.c: New file.
653         * elf/tst-order-b2.c: New file.
654         * elf/tst-order-main.c: New file.
655         New test case by George Gensure <werkt0@gmail.com>.
657 2010-10-01  Andreas Schwab  <schwab@redhat.com>
659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
660         decoding ACE if AI_CANONIDN.
662 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
664         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
666 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
668         * version.h (RELEASE): Bump for 2.13 release.
669         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
671         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
673         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
674         MADV_NOHUGEPAGE.
675         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
676         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
677         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
678         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
679         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
680         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
682         * posix/getconf.c: Update copyright year.
683         * catgets/gencat.c: Likewise.
684         * csu/version.c: Likewise.
685         * debug/catchsegv.sh: Likewise.
686         * debug/xtrace.sh: Likewise.
687         * elf/ldconfig.c: Likewise.
688         * elf/ldd.bash.in: Likewise.
689         * elf/sprof.c (print_version): Likewise.
690         * iconv/iconv_prog.c: Likewise.
691         * iconv/iconvconfig.c: Likewise.
692         * locale/programs/locale.c: Likewise.
693         * locale/programs/localedef.c: Likewise.
694         * malloc/memusage.sh: Likewise.
695         * malloc/mtrace.pl: Likewise.
696         * nscd/nscd.c (print_version): Likewise.
697         * nss/getent.c: Likewise.
699         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
700         PF_CAIF, and PF_ALG.
701         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
703 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
705         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
706         (modules-names): Use them.
707         (ifunc-test-modules, ifunc-pie-tests): Define.
708         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
709         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
710         (test-extras): Likewise.
711         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
712         $(compile-command.c).
713         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
714         (all-built-dso): Define.
715         (check-textrel.out, check-execstack.out): Depend on it.
717         * configure.in: Don't override --enable-multi-arch.
719 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
721         [BZ #6812]
722         * nscd/hstcache.c (tryagain): Define.
723         (cache_addhst): Return tryagain not notfound for temporary errors.
724         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
725         failed.
727 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
729         [BZ #10563]
730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
731         to make the syscall.
732         * sysdeps/unix/sysv/linux/setgroups.c: New file.
734         [BZ #12378]
735         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
736         and fall back to matching as normal character if the string ends before
737         the matching ']' is found.  This is what POSIX requires.
738         * posix/testfnm.c: Adjust test result.
739         * posix/globtest.sh: Adjust test result.  Add new test.
740         * posix/tst-fnmatch.input: Likewise.
741         * posix/tst-fnmatch2.c: Add new test.
743 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
745         * elf/Makefile (check-execstack): Revert last change.  Depend on
746         check-execstack.h.
747         (check-execstack.h): New target.
748         (generated): Add check-execstack.h.
749         * elf/check-execstack.c: Include "check-execstack.h".
750         (main): Revert last change.
751         (handle_file): Return zero if GNU_STACK is absent and
752         DEFAULT_STACK_PERMS doesn't include PF_X.
754 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
756         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
757         in child fails because the descriptor is already closed.
758         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
759         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
760         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
762         [BZ #12397]
763         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
764         syscall.
766         [BZ #10484]
767         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
768         temporary buffer used to handle multi lookups locally.
769         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
771 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
773         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
774         loader is ld.so.
776 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
778         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
779         alignment for SSE2.
781 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
783         [BZ #12394]
784         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
785         characters.  When rounding increased number of integer digits recompute
786         number of groups.
787         * stdio-common/tst-grouping.c: New file.
788         * stdio-common/Makefile: Add rules to build and run tst-grouping.
790 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
792         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
793         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
795         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
796         void.
797         * bits/select.h: Likewise.
799 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
801         * po/ja.po: Update from translation team.
803 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
805         [BZ #11155]
806         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
807         implementation just like for lxstat, fxstatat, et al.
809 2010-12-27  Jim Meyering  <meyering@redhat.com>
811         [BZ #12348]
812         * posix/regexec.c (build_trtable): Return failure indication upon
813         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
815 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
817         [BZ #12201]
818         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
819         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
820         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
821         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
823         [BZ #12207]
824         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
826         [BZ #12204]
827         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
828         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
830 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
832         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
833         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
834         script has SORT_BY_INIT_PRIORITY.
835         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
836         NO_CTORS_DTORS_SECTIONS is defined.
837         * elf/soinit.c: Likewise.
838         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
839         NO_CTORS_DTORS_SECTIONS is defined.
840         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
841         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
842         * sysdeps/sh/init-first.c: Likewise.
843         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
845 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
847         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
848         always use the slow path.
850 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
852         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
853         similar rule which adds the sysdep directories to the header search in
854         order to pick up the correct platform stackinfo.h.
855         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
856         perform test if it is, otherwise return successfully without testing.
857         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
858         DEFAULT_STACK_PERMS define in stackinfo.h.
859         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
860         defined in stackinfo.h.
861         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
862         DEFAULT_STACK_PERMS defined in stackinfo.h.
863         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
864         * sysdeps/ia64/stackinfo.h: Likewise.
865         * sysdeps/s390/stackinfo.h: Likewise.
866         * sysdeps/sh/stackinfo.h: Likewise.
867         * sysdeps/sparc/stackinfo.h: Likewise.
868         * sysdeps/x86_64/stackinfo.h: Likewise.
869         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
870         PF_X for powerpc64.  Retain PF_X for powerpc32.
872 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
874         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
875         accurately.
876         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
877         GETDENTS_64BIT_ALIGNED.
879 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
881         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
883 2010-12-10  Andreas Schwab  <schwab@redhat.com>
885         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
886         _GNU_SOURCE.
888         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
889         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
890         Remove __restrict.
891         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
892         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
894 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
896         [BZ #11655]
897         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
898         are initialized.
900 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
902         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
904 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
906         * po/it.po: Update from translation team.
908 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
911         unused codes.
913 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
915         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
917 2010-11-24  Andreas Schwab  <schwab@redhat.com>
919         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
920         specially.
921         (gaih_getanswer_slice): Likewise.
923 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
927 2010-05-31  Petr Baudis  <pasky@suse.cz>
929         [BZ #11149]
930         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
931         silently even in the chroot mode.
933 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
935         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
936         last patch a bit.  Pretty printing
938 2010-05-31  Petr Baudis <pasky@suse.cz>
940         [BZ #10085]
941         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
942         initialization of skip_initgroups_dyn.
944 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
946         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
947         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
949 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
951         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
953 2010-11-11  Andreas Schwab  <schwab@redhat.com>
955         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
956         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
957         (tst-fnmatch-ENV): Set MALLOC_TRACE.
958         ($(objpfx)tst-fnmatch-mem): New rule.
959         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
960         * posix/tst-fnmatch.c (main): Call mtrace.
962 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
965         Support Intel processor model 6 and model 0x2c.
967 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
969         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
970           signed comparison.
972 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
974         [BZ #12205]
975         * string/test-strncasecmp.c (check_result): New function.
976         (do_one_test): Use it.
977         (check1): New function.
978         (test_main): Use it.
979         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
980         Support strcasecmp and strncasecmp.
982 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
984         [BZ #12194]
985         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
986         * sysdeps/x86_64/bits/byteswap.h: Likewise.
988 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
990         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
991         IFUNC support.
992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
993         memset-x86-64.
994         * sysdeps/x86_64/multiarch/bzero.S: New file.
995         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
996         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
997         * sysdeps/x86_64/multiarch/memset.S: New file.
998         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1000         Set bit_Prefer_SSE_for_memop for Intel processors.
1001         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
1002         Define.
1003         (index_Prefer_SSE_for_memop): Define.
1004         (HAS_PREFER_SSE_FOR_MEMOP): Define.
1006 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
1008         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
1009         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
1011 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
1013         [BZ #12191]
1014         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1015         (__x86_64_raw_data_cache_size_half): Likewise.
1016         (__x86_64_raw_shared_cache_size): Likewise.
1017         (__x86_64_raw_shared_cache_size_half): Likewise.
1019         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
1020         (__x86_64_raw_data_cache_size_half): Likewise.
1021         (__x86_64_raw_shared_cache_size): Likewise.
1022         (__x86_64_raw_shared_cache_size_half): Likewise.
1023         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
1024         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
1025         and __x86_64_raw_shared_cache_size_half.  Round
1026         __x86_64_data_cache_size_half, __x86_64_data_cache_size
1027         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
1028         to multiple of 256 bytes.
1030 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
1032         [BZ #12167]
1033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
1034         of inacessible symlinks.  Verify result of symlink before returning it.
1035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1036         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
1038 2010-10-28  Erich Ritz  <erichritz@gmail.com>
1040         * math/math.h (isinf): Fix typo in comment.
1042 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
1044         * po/da.po: Update from translation team.
1046 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
1048         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
1049         is added to the list.
1051 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1052             Ulrich Drepper  <drepper@gmail.com>
1054         * elf/dl-object.c (_dl_new_object): Don't append the new object to
1055         the global list here.  Move code to...
1056         (_dl_add_to_namespace_list): ...here.  New function.
1057         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
1058         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
1059         * elf/dl-load.c (lose): Don't remove the element from the list.
1060         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
1061         (_dl_map_object): Likewise.
1063 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
1065         [BZ #12159]
1066         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
1067         into all bytes of SSE register.
1068         Patch by Richard Li <richardpku@gmail.com>.
1070 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
1072         [BZ #12140]
1073         * malloc/malloc.c (_int_free): Fill correct number of bytes when
1074         perturbing.
1076 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
1078         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
1079         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
1080         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
1081         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
1083         submachine.
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
1086 2010-10-22  Andreas Schwab  <schwab@redhat.com>
1088         * include/dlfcn.h (__RTLD_SECURE): Define.
1089         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
1090         mode & __RTLD_SECURE instead.
1091         (open_path): Rename preloaded parameter to secure.
1092         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
1093         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
1094         * elf/dl-deps.c (openaux): Likewise.
1095         * elf/rtld.c (struct map_args): Remove is_preloaded.
1096         (map_doit): Don't use it.
1097         (dl_main): Likewise.
1098         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
1099         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
1101 2010-09-09  Andreas Schwab  <schwab@redhat.com>
1103         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
1104         (sysd-rules-targets): Remove duplicates.
1105         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
1106         rtld-%.$o dependency.
1108 2010-10-18  Andreas Schwab  <schwab@redhat.com>
1110         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
1111         _dl_map_object do it.
1113 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
1115         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
1116         fast fma builtins, define the macros in the C99 standard.
1117         (FP_FAST_FMAF): Likewise.
1118         (FP_FAST_FMAL): Likewise.
1119         * sysdeps/x86_64/bits/mathdef.h: Likewise.
1121         * bits/mathdef.h: Update copyright year.
1122         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1124 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
1126         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
1127         builtins, define the macros in the C99 standard.
1128         (FP_FAST_FMAF): Likewise.
1129         (FP_FAST_FMAL): Likewise.
1130         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
1131         multiply/add.
1132         (FP_FAST_FMAF): Likewise.
1134 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
1136         [BZ #3268]
1137         * math/libm-test.inc (fma_test): Some new testcases.
1138         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
1139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
1140         y and infinite z.  Do multiplication by C already in long double.
1141         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
1142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
1143         y and infinite z.  Do bitwise or of inexact bit into u.d.
1144         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
1145         * sysdeps/i386/fpu/s_fmaf.S: Removed.
1146         * sysdeps/i386/fpu/s_fma.S: Removed.
1147         * sysdeps/i386/fpu/s_fmal.S: Removed.
1149 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
1151         [BZ #3268]
1152         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
1153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
1154         computation is not scheduled after fetestexcept.  Fix value
1155         of minimum denormal long double.
1157 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
1159         [BZ #3268]
1160         * math/libm-test.inc (fma_test): Add some more tests.
1161         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
1162         correctly.
1164 2010-10-15  Andreas Schwab  <schwab@redhat.com>
1166         * scripts/data/localplt-s390-linux-gnu.data: New file.
1167         * scripts/data/localplt-s390x-linux-gnu.data: New file.
1169 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
1171         [BZ #3268]
1172         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
1173         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
1174         instead of dbl-64.
1175         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
1176         inlines.
1177         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
1178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
1179         if one of x and y is very large and the other is subnormal.
1180         * sysdeps/s390/fpu/s_fmaf.c: New file.
1181         * sysdeps/s390/fpu/s_fma.c: New file.
1182         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
1183         * sysdeps/powerpc/fpu/s_fma.S: New file.
1184         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
1185         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
1186         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
1188 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
1190         [BZ #3268]
1191         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
1192         fma tests.
1193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
1194         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
1195         * sysdeps/i386/i686/multiarch/s_fma.c: Include
1196         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
1197         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
1198         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
1199         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
1201 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
1203         [BZ #12078]
1204         * posix/regcomp.c (parse_branch): One more memory leak plugged.
1205         * posix/bug-regex31.input: Add test case.
1207 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
1209         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
1210         * posix/bug-regex31.input: New file.
1212         [BZ #12078]
1213         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
1214         (parse_sub_exp): Fix last change, use postorder.
1216         * posix/bug-regex31.c: New file.
1217         * posix/Makefile: Add rules to build and run bug-regex31.
1219         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
1221         [BZ #12078]
1222         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
1224         [BZ #12108]
1225         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
1226         to have entries in sys_siglist.
1228         [BZ #12093]
1229         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
1230         be NULL.
1232 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
1234         [BZ #3268]
1235         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
1236         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
1237         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
1238         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
1239         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
1240         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
1241         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
1242         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
1243         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
1244         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
1245         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
1246         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
1247         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1248         * math/ftestexcept.c (fetestexcept): Likewise.
1249         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
1250         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1251         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1252         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
1253         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
1254         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
1255         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
1259         [BZ #12107]
1260         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
1261         newline.
1263 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
1265         * string/bug-strstr1.c: New file.
1266         * string/Makefile: Add rules to build and run bug-strstr1.
1268 2010-10-05  Eric Blake  <eblake@redhat.com>
1270         [BZ #12092]
1271         * string/str-two-way.h (two_way_long_needle): Always clear memory
1272         when skipping input due to the shift table.
1274 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
1276         [BZ #12005]
1277         * malloc/mcheck.c: Handle large requests.
1279         [BZ #12077]
1280         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
1281         for strncmp and strncasecmp.
1282         * string/stratcliff.c: Add tests for strcmp and strncmp.
1283         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
1285 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
1287         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
1288         __set_fpscr.
1290 2010-09-30  Andreas Jaeger  <aj@suse.de>
1292         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
1293         (CGROUP_SUPER_MAGIC): Define.
1294         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1295         Handle btrfs and cgroup file systems.
1296         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1297         Likewise.
1299 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
1301         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
1302         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
1304 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1306         [BZ #12067]
1307         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
1308         trying to locate the ELF header.
1310 2010-09-27  Andreas Schwab  <schwab@redhat.com>
1312         [BZ #11611]
1313         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
1314         Mask out sign-bit copies when constructing f_fsid.
1316 2010-09-24  Petr Baudis <pasky@suse.cz>
1318         * debug/stack_chk_fail_local.c: Add missing licence exception.
1319         * debug/warning-nop.c: Likewise.
1321 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
1323         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
1324         implementing getdents64 using getdents syscall, set d_type if
1325         __ASSUME_GETDENTS32_D_TYPE.
1327 2010-09-16  Andreas Schwab  <schwab@redhat.com>
1329         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
1330         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
1332 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
1334         [BZ #12037]
1335         * posix/unistd.h: Undo change of feature selection for ftruncate from
1336         2010-01-11.
1338 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
1340         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
1341         detection.
1343 2010-09-20  Andreas Schwab  <schwab@redhat.com>
1345         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
1346         fanotify_mark.
1347         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1349 2010-09-14  Andreas Schwab  <schwab@redhat.com>
1351         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
1352         variables after CHECK_SP call.
1353         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1355 2010-09-13  Andreas Schwab  <schwab@redhat.com>
1356             Ulrich Drepper  <drepper@redhat.com>
1358         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
1359         re-relocationg ld.so.
1360         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
1361         _dl_init_paths call.
1362         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
1363         here anymore.
1365 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
1367         * resolv/res_init.c (__res_vinit): Count the default server we added.
1369 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
1370             Ulrich Drepper  <drepper@redhat.com>
1372         [BZ #11968]
1373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1374         (____longjmp_chk): Use %ebx for saving value across system call.
1375         Add unwind info.
1377 2010-09-06  Andreas Schwab  <schwab@redhat.com>
1379         * manual/Makefile: Don't mix pattern rules with normal rules.
1381 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
1383         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
1384         operation.
1385         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1386         * libio/iofopncook.c (_IO_cookie_init): Likewise.
1387         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1388         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1390         Likewise.
1392 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
1394         [BZ #11979]
1395         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
1396         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
1398 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
1400         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
1401         * sysdeps/x86_64/addmul_1.S: Likewise.
1402         * sysdeps/x86_64/lshift.S: Likewise.
1403         * sysdeps/x86_64/mul_1.S: Likewise.
1404         * sysdeps/x86_64/rshift.S: Likewise.
1405         * sysdeps/x86_64/sub_n.S: Likewise.
1406         * sysdeps/x86_64/submul_1.S: Likewise.
1408 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1410         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
1411         Define __sched_param instead of SCHED_* and sched_param when
1412         <bits/sched.h> is included with __need_schedparam defined.
1413         * bits/sched.h [__need_schedparam]
1414         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
1415         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
1416         (__defined_schedparam): Define to 1.
1417         (__sched_param): New structure, identical to sched_param.
1418         (__need_schedparam): Undefine.
1420 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
1422         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
1423         (epoll_create1): Declare.
1425         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
1427 2010-08-31  Andreas Schwab  <schwab@redhat.com>
1429         [BZ #7066]
1430         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
1431         shifting retval into place.
1433 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
1435         * nis/rpcsvc/nis.h: Update copyright notice.
1436         * nis/rpcsvc/nis.x: Likewise.
1437         * nis/rpcsvc/nis_callback.h: Likewise.
1438         * nis/rpcsvc/nis_callback.x: Likewise.
1439         * nis/rpcsvc/nis_object.x: Likewise.
1440         * nis/rpcsvc/nis_tags.h: Likewise.
1441         * nis/rpcsvc/yp.h: Likewise.
1442         * nis/rpcsvc/yp.x: Likewise.
1443         * nis/rpcsvc/ypupd.h: Likewise.
1444         * nis/yp_xdr.c: Likewise.
1445         * nis/ypupdate_xdr.c: Likewise.
1447         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
1448         mainly the body of pmap_getport.  Add parameters to specify timeouts.
1449         (pmap_getport): Use __libc_rpc_getport.
1450         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
1451         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
1452         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
1454 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
1457         fanotify_mark.
1459 2010-08-27  Roland McGrath  <roland@redhat.com>
1461         * sysdeps/i386/i686/multiarch/Makefile
1462         (CFLAGS-varshift.c): New variable.
1464 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
1466         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
1467         * sysdeps/i386/i686/multiarch/varshift.c: New file.
1469         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
1471         * sysdeps/x86_64/strlen.S: Minimal code improvement.
1473 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1475         * sysdeps/x86_64/strlen.S: Unroll the loop.
1476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1477         strlen-sse2 strlen-sse2-bsf.
1478         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
1479         __strlen_no_bsf if bit_Slow_BSF is set.
1480         (__strlen_sse42): Removed.
1481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
1482         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
1484 2010-08-25  Roland McGrath  <roland@redhat.com>
1486         * sysdeps/x86_64/multiarch/varshift.S: File removed.
1487         * sysdeps/x86_64/multiarch/varshift.c: New file.
1488         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
1489         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
1490         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
1491         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1493 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1495         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1496         strlen-sse2 strlen-sse2-bsf.
1497         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
1498         __strlen_sse2_bsf if bit_Slow_BSF is unset.
1499         (__strlen_sse2): Removed.
1500         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
1501         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
1502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1503         bit_Slow_BSF for Atom.
1504         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
1505         (index_Slow_BSF): Define.
1506         (HAS_SLOW_BSF): Define.
1508 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
1510         [BZ #10851]
1511         * resolv/res_init.c (__res_vinit): When no server address at all
1512         is given default to loopback.
1514 2010-08-24  Roland McGrath  <roland@redhat.com>
1516         * configure.in: Remove config-name.h generation.
1517         * configure: Regenerated.
1518         * config-name.in: File removed.
1519         * scripts/config-uname.sh: New file.
1520         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
1521         ($(objdir)config-name.h): New target.
1523         * sunrpc/rpc_parse.h: Avoid nested comment.
1525 2010-08-24  Richard Henderson  <rth@redhat.com>
1526             Ulrich Drepper  <drepper@redhat.com>
1527             H.J. Lu  <hongjiu.lu@intel.com>
1529         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
1530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
1531         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
1532         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
1533         _mm_alignr_epi8 with _mm_loadu_si128.
1534         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
1535         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
1536         (__m128i_shift_right): Removed.
1537         * sysdeps/i386/i686/multiarch/varshift.h: New file.
1538         * sysdeps/i386/i686/multiarch/varshift.S: New file.
1539         * sysdeps/x86_64/multiarch/varshift.h: New file.
1540         * sysdeps/x86_64/multiarch/varshift.S: New file.
1542 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
1544         * configure.in: Move assembler checks to before sysdep dir checking.
1546 2010-08-20  Petr Baudis  <pasky@suse.cz>
1548         * LICENSES: Sync the sunrpc license.
1550 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
1552         * sunrpc/auth_des.c: Update copyright notice once again.
1553         * sunrpc/auth_none.c: Likewise.
1554         * sunrpc/auth_unix.c: Likewise.
1555         * sunrpc/authdes_prot.c: Likewise.
1556         * sunrpc/authuxprot.c: Likewise.
1557         * sunrpc/bindrsvprt.c: Likewise.
1558         * sunrpc/clnt_gen.c: Likewise.
1559         * sunrpc/clnt_perr.c: Likewise.
1560         * sunrpc/clnt_raw.c: Likewise.
1561         * sunrpc/clnt_simp.c: Likewise.
1562         * sunrpc/clnt_tcp.c: Likewise.
1563         * sunrpc/clnt_udp.c: Likewise.
1564         * sunrpc/clnt_unix.c: Likewise.
1565         * sunrpc/des_crypt.c: Likewise.
1566         * sunrpc/des_soft.c: Likewise.
1567         * sunrpc/get_myaddr.c: Likewise.
1568         * sunrpc/getrpcport.c: Likewise.
1569         * sunrpc/key_call.c: Likewise.
1570         * sunrpc/key_prot.c: Likewise.
1571         * sunrpc/openchild.c: Likewise.
1572         * sunrpc/pm_getmaps.c: Likewise.
1573         * sunrpc/pm_getport.c: Likewise.
1574         * sunrpc/pmap_clnt.c: Likewise.
1575         * sunrpc/pmap_prot.c: Likewise.
1576         * sunrpc/pmap_prot2.c: Likewise.
1577         * sunrpc/pmap_rmt.c: Likewise.
1578         * sunrpc/rpc/auth.h: Likewise.
1579         * sunrpc/rpc/auth_unix.h: Likewise.
1580         * sunrpc/rpc/clnt.h: Likewise.
1581         * sunrpc/rpc/des_crypt.h: Likewise.
1582         * sunrpc/rpc/key_prot.h: Likewise.
1583         * sunrpc/rpc/netdb.h: Likewise.
1584         * sunrpc/rpc/pmap_clnt.h: Likewise.
1585         * sunrpc/rpc/pmap_prot.h: Likewise.
1586         * sunrpc/rpc/pmap_rmt.h: Likewise.
1587         * sunrpc/rpc/rpc.h: Likewise.
1588         * sunrpc/rpc/rpc_des.h: Likewise.
1589         * sunrpc/rpc/rpc_msg.h: Likewise.
1590         * sunrpc/rpc/svc.h: Likewise.
1591         * sunrpc/rpc/svc_auth.h: Likewise.
1592         * sunrpc/rpc/types.h: Likewise.
1593         * sunrpc/rpc/xdr.h: Likewise.
1594         * sunrpc/rpc_clntout.c: Likewise.
1595         * sunrpc/rpc_cmsg.c: Likewise.
1596         * sunrpc/rpc_common.c: Likewise.
1597         * sunrpc/rpc_cout.c: Likewise.
1598         * sunrpc/rpc_dtable.c: Likewise.
1599         * sunrpc/rpc_hout.c: Likewise.
1600         * sunrpc/rpc_main.c: Likewise.
1601         * sunrpc/rpc_parse.c: Likewise.
1602         * sunrpc/rpc_parse.h: Likewise.
1603         * sunrpc/rpc_prot.c: Likewise.
1604         * sunrpc/rpc_sample.c: Likewise.
1605         * sunrpc/rpc_scan.c: Likewise.
1606         * sunrpc/rpc_scan.h: Likewise.
1607         * sunrpc/rpc_svcout.c: Likewise.
1608         * sunrpc/rpc_tblout.c: Likewise.
1609         * sunrpc/rpc_util.c: Likewise.
1610         * sunrpc/rpc_util.h: Likewise.
1611         * sunrpc/rpcinfo.c: Likewise.
1612         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
1613         * sunrpc/rpcsvc/key_prot.x: Likewise.
1614         * sunrpc/rpcsvc/klm_prot.x: Likewise.
1615         * sunrpc/rpcsvc/mount.x: Likewise.
1616         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
1617         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
1618         * sunrpc/rpcsvc/rex.x: Likewise.
1619         * sunrpc/rpcsvc/rstat.x: Likewise.
1620         * sunrpc/rpcsvc/rusers.x: Likewise.
1621         * sunrpc/rpcsvc/sm_inter.x: Likewise.
1622         * sunrpc/rpcsvc/spray.x: Likewise.
1623         * sunrpc/rpcsvc/yppasswd.x: Likewise.
1624         * sunrpc/rtime.c: Likewise.
1625         * sunrpc/svc.c: Likewise.
1626         * sunrpc/svc_auth.c: Likewise.
1627         * sunrpc/svc_authux.c: Likewise.
1628         * sunrpc/svc_raw.c: Likewise.
1629         * sunrpc/svc_run.c: Likewise.
1630         * sunrpc/svc_simple.c: Likewise.
1631         * sunrpc/svc_tcp.c: Likewise.
1632         * sunrpc/svc_udp.c: Likewise.
1633         * sunrpc/svc_unix.c: Likewise.
1634         * sunrpc/svcauth_des.c: Likewise.
1635         * sunrpc/xcrypt.c: Likewise.
1636         * sunrpc/xdr.c: Likewise.
1637         * sunrpc/xdr_array.c: Likewise.
1638         * sunrpc/xdr_float.c: Likewise.
1639         * sunrpc/xdr_mem.c: Likewise.
1640         * sunrpc/xdr_rec.c: Likewise.
1641         * sunrpc/xdr_ref.c: Likewise.
1642         * sunrpc/xdr_sizeof.c: Likewise.
1643         * sunrpc/xdr_stdio.c: Likewise.
1645         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
1646         handling.
1648 2010-08-19  Andreas Schwab  <schwab@redhat.com>
1650         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
1652 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
1654         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
1655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
1656         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
1657         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
1658         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
1659         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
1660         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
1661         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
1662         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
1663         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
1664         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
1665         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
1666         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
1667         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
1669 2010-07-26  Anton Blanchard  <anton@samba.org>
1671         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
1672         * malloc/arena.c (heap_trim): Likewise.
1674 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
1676         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
1677         here.  Not...
1678         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
1679         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
1681 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1683         * sysdeps/i386/elf/Makefile: New file.
1685 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1687         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
1688         from fanotify_init.
1689         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1690         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1692 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
1694         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
1695         of strncasecmp_l.
1696         * sysdeps/multiarch/strcmp.S: Likewise.
1698 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
1700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1701         strncase_l-nonascii.
1702         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1703         Add strncase_l-ssse3.
1704         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
1705         * sysdeps/x86_64/strcmp.S: Likewise.
1706         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
1707         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
1708         * sysdeps/x86_64/strncase.S: New file.
1709         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
1710         * sysdeps/x86_64/strncase_l.S: New file.
1711         * string/Makefile (strop-tests): Add strncasecmp.
1712         * string/test-strncasecmp.c: New file.
1714         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
1715         warning.
1717         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
1718         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
1720 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1722         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
1724 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
1726         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
1727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
1730 2010-05-01  Alan Modra  <amodra@gmail.com>
1732         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
1733         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
1734         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
1735         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
1736         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
1737         tidying.  Don't tail-call __sigjmp_save for static lib.
1738         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
1739         save location.
1740         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
1741         (CALL_MCOUNT): Add eh info, and nop after bl.
1742         (TAIL_CALL_SYSCALL_ERROR): New macro.
1743         (PSEUDO_RET): Use it.
1744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1745         Correct save location of integer regs and cr.
1746         (_dl_profile_resolve): Correct cr save location.  Delete nops
1747         after bl when SHARED.  Reduce cfi size a little by better
1748         placement of cfi directives.
1749         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
1750         make a stack frame.  Instead use parm save area as a temp.
1751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
1752         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
1753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1754         Don't make a stack frame for parent, use parm save area.
1755         Increase child stack frame to 112 bytes.  Don't save unused reg,
1756         and adjust reg usage.  Set up cfi on error recovery and
1757         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
1758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1759         (__makecontext): Add dummy nop after jump to exit.
1760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
1761         Use correct parm save area and cr save, reduce stack frame.
1762         Correct cfi for possible PSEUDO_RET frame setup.
1763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
1764         Branch to local label emitted by PSEUDO_RET rather than
1765         __syscall_error.
1767 2010-08-12  Andreas Schwab  <schwab@redhat.com>
1769         [BZ #11904]
1770         * locale/programs/locale.c (print_assignment): New function.
1771         (show_locale_vars): Use it.
1773 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
1775         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
1776         field.
1777         (struct statfs64): Likewise.
1778         (_STATFS_F_FLAGS): Define.
1779         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
1780         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1781         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
1782         (ST_VALID): Define locally.
1783         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
1784         __statvfs_getflags, use the provided value.
1785         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1786         __ASSUME_STATFS_F_FLAGS.
1788         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
1790         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
1791         Add sys/fanotify.h.
1792         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
1793         fanotify_mask for GLIBC_2.13.
1794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
1795         fanotify_init and fanotify_mark.
1796         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1797         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
1799         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
1800         Add prlimit.
1801         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
1802         prlimit64 for GLIBC_2.13.
1803         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
1804         prlimit64.
1805         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
1806         syscall.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1809         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
1811         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
1812         add prlimit alias.
1813         * sysdeps/unix/sysv/linux/prlimit.c: New file.
1815         [BZ #11903]
1816         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
1817         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
1819         * nss/Makefile: Add rules to build and run tst-nss-test1.
1820         * shlib-versions: Add entry for libnss_test1.
1821         * nss/nss_test1.c: New file.
1822         * nss/tst-nss-test1.c: New file.
1824         * nss/nsswitch.c (__nss_database_custom): Define new variable.
1825         (__nss_configure_lookup): Set appropriate entry in
1826         __nss_configure_lookup to true.
1827         * nss/nsswitch.h: Define enum with indeces of databases in
1828         databases and __nss_database_custom arrays.  Declare
1829         __nss_database_custom.
1830         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
1831         to avoid using nscd when custom rules are installed.
1832         * nss/getXXbyYY_r.c: Likewise.
1833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1835         * nss/nss_files/files-parse.c: Whitespace fixes.
1837 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
1839         [BZ #11883]
1840         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
1841         * posix/fnmatch_loop.c: Likewise.
1843 2010-07-17  Andi Kleen  <ak@linux.intel.com>
1845         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
1846         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
1847         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
1848         * Versions.def [GLIBC_2.13]: Add.
1850 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
1852         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1853         Also fail if tpwd after pwuid call is NULL.
1855 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1857         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
1858         when converting to ms.
1860 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1862         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
1863         EOPNOTSUPP errors with ENOTTY.
1864         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
1865         EOPNOTSUPP errors with ENOTTY.
1867 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
1869         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
1870         Add strcasecmp_l-ssse3.
1871         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
1872         strcasecmp.
1873         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
1874         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
1875         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
1877 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
1879         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
1881         * string/Makefile (strop-tests): Add strcasecmp.
1882         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
1883         strcasecmp_l-nonascii.
1884         (gen-as-const-headers): Add locale-defines.sym.
1885         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
1886         * sysdeps/x86_64/strcasecmp.S: New file.
1887         * sysdeps/x86_64/strcasecmp_l.S: New file.
1888         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
1889         * sysdeps/x86_64/locale-defines.sym: New file.
1890         * string/test-strcasecmp.c: New file.
1892         * string/test-strcasestr.c: Test both ends of the range of characters.
1893         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
1895 2010-07-29  Roland McGrath  <roland@redhat.com>
1897         [BZ #11856]
1898         * manual/locale.texi (Yes-or-No Questions): Fix example code.
1900 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
1902         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
1903         for ld.so.
1905 2010-07-27  Andreas Schwab  <schwab@redhat.com>
1907         * manual/memory.texi (Malloc Tunable Parameters): Document
1908         M_PERTURB.
1910 2010-07-26  Roland McGrath  <roland@redhat.com>
1912         [BZ #11840]
1913         * configure.in (-fgnu89-inline check): Set and substitute
1914         gnu89_inline, not libc_cv_gnu89_inline.
1915         * configure: Regenerated.
1916         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
1918 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
1920         * string/test-strnlen.c: New file.
1921         * string/Makefile (strop-tests): Add strnlen.
1922         * string/tester.c (test_strnlen): Add a few more test cases.
1923         * string/tst-strlen.c: Better error reporting.
1925         * sysdeps/x86_64/strnlen.S: New file.
1927 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
1929         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
1930         lower-latency instructions.
1932 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
1934         * string/test-strcasestr.c: New file.
1935         * string/test-strstr.c: New file.
1936         * string/Makefile (strop-tests): Add strstr and strcasestr.
1937         * string/str-two-way.h: Don't undefine MAX.
1938         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
1940 2010-07-21  Andreas Schwab  <schwab@redhat.com>
1942         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1943         strcasestr-nonascii.
1944         (CFLAGS-strcasestr-nonascii.c): Define.
1945         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
1946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
1947         Remove unused attribute.
1949 2010-07-20  Roland McGrath  <roland@redhat.com>
1951         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
1952         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
1953         ld.so.cache was broken.  With it, there is no way to disable dsocaps
1954         like LD_HWCAP_MASK can disable hwcaps.
1956 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
1958         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
1960 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
1962         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
1963         call in strcasestr.
1964         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
1965         __strcasestr_sse42_nonascii.
1966         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
1967         strcasestr-nonascii.c.
1968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
1970 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
1972         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
1973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
1974         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
1975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
1977 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
1979         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
1980         fcntl.
1982 2010-07-06  Andreas Schwab  <schwab@redhat.com>
1984         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
1985         dl_signal_cerror.
1987 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
1989         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
1990         _PC_PIPE_BUF using F_GETPIPE_SZ.
1992 2010-07-05  Roland McGrath  <roland@redhat.com>
1994         * manual/arith.texi (Rounding Functions): Fix rint description
1995         implicit in round description.
1997 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
1999         * elf/Makefile: Fix linking for a few tests to make recent linker
2000         happy.
2002 2010-06-30  Andreas Schwab  <schwab@redhat.com>
2004         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2005         $(common-objpfx)libc_nonshared.a.
2007 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
2009         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
2010         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
2011         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2012         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2013         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
2014         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
2015         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2016         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
2019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
2021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
2023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
2024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
2025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
2026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
2027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
2028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
2030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
2031         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
2032         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
2033         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
2034         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
2035         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
2036         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
2037         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
2038         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
2039         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
2040         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
2041         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
2042         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
2043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
2045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
2047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
2049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
2050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
2051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
2052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
2054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
2056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
2058 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2060         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
2061         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
2062         * string/memmove.c (memmove): Renamed to ...
2063         (MEMMOVE): ...this.  Default to memmove.
2064         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
2065         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
2066         (END_CHK): Define.
2067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2068         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
2069         mempcpy-ssse3-back memmove-ssse3-back.
2070         * sysdeps/x86_64/multiarch/bcopy.S: New file .
2071         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
2072         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
2073         * sysdeps/x86_64/multiarch/memcpy.S: New file.
2074         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
2075         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
2076         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
2077         * sysdeps/x86_64/multiarch/memmove.c: New file.
2078         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
2079         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
2080         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
2081         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
2082         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
2083         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
2084         Define.
2085         (index_Fast_Copy_Backward): Define.
2086         (HAS_ARCH_FEATURE): Define.
2087         (HAS_FAST_REP_STRING): Define.
2088         (HAS_FAST_COPY_BACKWARD): Define.
2090 2010-06-21  Andreas Schwab  <schwab@redhat.com>
2092         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2093         Restore proper fallback handling.
2095 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
2097         [BZ #11701]
2098         * posix/group_member.c (__group_member): Correct checking loop.
2100         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
2101         OOM in getpwuid_r correctly.  Return error number when the caller
2102         should return, otherwise -1.
2103         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
2104         call returning > 0 value.
2105         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
2107 2010-06-07  Andreas Schwab  <schwab@redhat.com>
2109         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
2110         libc_nonshared.a from targets in modules-names.
2112 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
2114         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
2115         requires it.
2117 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
2119         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
2120         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
2121         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
2122         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
2124 2010-06-02  Andreas Schwab  <schwab@redhat.com>
2126         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
2128 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
2130         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
2131         and F_GETPIPE_SZ.
2132         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
2133         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
2134         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2136         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
2137         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
2139 2010-06-14  Roland McGrath  <roland@redhat.com>
2141         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
2143 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
2145         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
2146         __REDIRECT followed by __THROW.
2147         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
2148         * posix/getopt.h (getopt): Likewise.
2150 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
2152         * hurd/lookup-at.c (__file_name_lookup_at): Accept
2153         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
2154         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
2155         in AT_FLAGS.
2156         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
2157         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
2159 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
2161         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
2163 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
2165         [BZ #11640]
2166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2167         Properly check family and model.
2169 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
2171         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
2173 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
2175         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
2177 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
2179         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
2180         symbol reference.
2182 2010-05-19  Andreas Schwab  <schwab@redhat.com>
2184         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
2185         symbol reference.
2187 2010-05-21  Andreas Schwab  <schwab@redhat.com>
2189         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
2190         and internal_recvmmsg.
2191         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
2192         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
2193         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
2194         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
2196         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
2197         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2198         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2200 2010-05-20  Andreas Schwab  <schwab@redhat.com>
2202         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
2204 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
2206         POWER7 optimizations.
2207         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
2208         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
2210 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
2212         * version.h: Update for 2.13 development version.
2214 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
2216         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
2217         exceptions.  Return 0.
2219 2010-05-07  Roland McGrath  <roland@redhat.com>
2221         * elf/ldconfig.c (main): Add a const.
2223 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
2225         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
2226         (args_options): Add no-idn option.
2227         (ahosts_keys_int): Add idn_flags to ai_flags.
2228         (parse_option): Handle 'i' option to clear idn_flags.
2230         * malloc/malloc.c (_int_free): Possible race in the most recently
2231         added check.  Only act on the data if no current modification
2232         happened.
2234 See ChangeLog.17 for earlier changes.